void * FUN_0041774c(void)
{
void *pvVar1;
int iVar2;
pvVar1 = malloc(0x34) //possible issue identified - semgrep
if (pvVar1 != (void *)0x0) {
ixmlDocument_init(pvVar1);
iVar2 = ixmlNode_setNodeName(pvVar1,"#document");
if (iVar2 == 0) {
*(undefined4 *)((int)pvVar1 + 8) = 9;
}
else {
ixmlDocument_free(pvVar1);
pvVar1 = (void *)0x0;
}
}
return pvVar1;
}