
/* WARNING: Removing unreachable block (ram,0x00026df4) */

char * proper_name_utf8(char *name_ascii,char *name_utf8)

{
  undefined *puVar1;
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  undefined3 extraout_var_01;
  char *string;
  char *pcVar2;
  int iVar3;
  _Bool _Var5;
  int iVar4;
  char *pcVar6;
  
  puVar1 = PTR_DAT_0005b2cc;
  string = (char *)(*(code *)PTR_dcgettext_0005b568)(0,name_ascii,5);
  pcVar2 = locale_charset();
  iVar3 = c_strcasecmp(pcVar2,puVar1 + -0x7cc4);
  if (iVar3 != 0) {
    xstr_iconv(name_utf8,puVar1 + -0x7cc4,pcVar2);
    iVar3 = (*(code *)PTR_strlen_0005b4e4)(pcVar2);
                    /* WARNING: Subroutine does not return */
    xmalloc(iVar3 + 0xb);
  }
  pcVar2 = (char *)0x0;
  pcVar6 = name_ascii;
  if (name_utf8 != (char *)0x0) {
    pcVar2 = name_utf8;
    pcVar6 = name_utf8;
  }
  iVar3 = (*(code *)PTR_strcmp_0005b5c4)(string,name_ascii);
  if (iVar3 == 0) {
    return pcVar6;
  }
  _Var5 = mbsstr_trimmed_wordbounded(string,name_ascii);
  if (CONCAT31(extraout_var,_Var5) != 0) {
    return string;
  }
  if (name_utf8 != (char *)0x0) {
    _Var5 = mbsstr_trimmed_wordbounded(string,name_utf8);
    name_utf8 = (char *)0x0;
    if (CONCAT31(extraout_var_01,_Var5) != 0) goto LAB_00026dec;
  }
  if ((pcVar2 == (char *)0x0) ||
     (_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0)) {
    iVar3 = (*(code *)PTR_strlen_0005b4e4)(string);
    iVar4 = (*(code *)PTR_strlen_0005b4e4)(pcVar6);
                    /* WARNING: Subroutine does not return */
    xmalloc(iVar3 + iVar4 + 4);
  }
LAB_00026dec:
  if (name_utf8 == (char *)0x0) {
    return string;
  }
  (*(code *)PTR_free_0005b59c)(name_utf8);
  return string;
}



int FUN_00026ad0(int param_1,int param_2)

{
  undefined1 uVar1;
  undefined1 uVar2;
  undefined1 uVar3;
  undefined *puVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  undefined4 *puVar10;
  int iVar11;
  int iVar12;
  
  puVar4 = PTR_DAT_0005b2cc;
  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);
  uVar6 = locale_charset();
  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);
  if (iVar7 == 0) {
    iVar7 = 0;
    iVar9 = param_1;
    if (param_2 != 0) {
      iVar7 = param_2;
      iVar9 = param_2;
    }
LAB_00026b68:
    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);
    if (iVar8 == 0) {
      return iVar9;
    }
    iVar8 = FUN_00025fcc(iVar5,param_1);
    if (iVar8 != 0) {
      return iVar5;
    }
    iVar12 = 0;
    if (param_2 == 0) {
LAB_00026bac:
      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {
        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);
        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);
        iVar7 = xmalloc(iVar7 + iVar8 + 4);
        (*(code *)PTR___sprintf_chk_0005b404)
                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);
        if (iVar12 != 0) {
          (*(code *)PTR_free_0005b59c)(iVar12);
        }
        if (param_2 != 0) {
          (*(code *)PTR_free_0005b59c)(param_2);
        }
        return iVar7;
      }
    }
    else {
      iVar8 = param_2;
      param_2 = 0;
LAB_00026dd0:
      iVar11 = FUN_00025fcc(iVar5,iVar8);
      iVar8 = iVar12;
      if (iVar11 == 0) goto LAB_00026bac;
    }
    iVar7 = param_2;
    if (iVar8 == 0) goto LAB_00026e04;
  }
  else {
    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);
    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);
    iVar9 = xmalloc(iVar7 + 0xb);
    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);
    puVar10 = (undefined4 *)(iVar9 + iVar7);
    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);
    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];
    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];
    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];
    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);
    puVar10[1] = uVar6;
    *(undefined1 *)(puVar10 + 2) = uVar1;
    *(undefined1 *)((int)puVar10 + 9) = uVar2;
    *(undefined1 *)((int)puVar10 + 10) = uVar3;
    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);
    (*(code *)PTR_free_0005b59c)(iVar9);
    iVar9 = iVar8;
    iVar12 = iVar8;
    if (iVar7 == 0) {
LAB_00026d78:
      if (iVar8 == 0) {
        iVar7 = 0;
        param_2 = 0;
        iVar9 = param_1;
        goto LAB_00026b68;
      }
      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);
      if (iVar7 == 0) {
        return iVar8;
      }
      iVar7 = FUN_00025fcc(iVar5,param_1);
      if (iVar7 != 0) {
        iVar7 = 0;
        goto LAB_00026df4;
      }
      iVar7 = 0;
      param_2 = iVar7;
      goto LAB_00026dd0;
    }
    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);
    if (iVar11 != 0) {
      (*(code *)PTR_free_0005b59c)(iVar7);
      goto LAB_00026d78;
    }
    param_2 = iVar7;
    if (iVar8 == 0) {
      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);
      if (iVar9 == 0) {
        return iVar7;
      }
      iVar9 = FUN_00025fcc(iVar5,param_1);
      if (iVar9 != 0) goto LAB_00026e04;
      iVar12 = 0;
      iVar9 = iVar7;
      goto LAB_00026bac;
    }
    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();
    if (iVar11 == 0) {
      if (iVar8 == iVar7) {
        return iVar8;
      }
      (*(code *)PTR_free_0005b59c)(iVar7);
      return iVar8;
    }
    iVar11 = FUN_00025fcc(iVar5,param_1);
    if (iVar11 == 0) goto LAB_00026dd0;
  }
LAB_00026df4:
  (*(code *)PTR_free_0005b59c)(iVar8);
LAB_00026e04:
  if (iVar7 == 0) {
    return iVar5;
  }
  (*(code *)PTR_free_0005b59c)(iVar7);
  return iVar5;
}


lui gp,0x4
addiu gp,gp,-0x39e0
addu gp,gp,t9
addiu sp,sp,-0x48
lw t9,-0x7b88(gp)
li a2,0x5
sw s2,0x2c(sp)
or s2,a0,zero
or a0,zero,zero
sw ra,0x44(sp)
sw gp,0x18(sp)
sw s6,0x3c(sp)
sw s4,0x34(sp)
sw s3,0x30(sp)
sw s1,0x28(sp)
or s1,a1,zero
sw s7,0x40(sp)
or a1,s2,zero
sw s5,0x38(sp)
lw s6,-0x7e24(gp)
jalr t9
_sw s0,0x24(sp)
lw gp,0x18(sp)
lw t9,-0x7d9c(gp)
bal 0x0003e470
_or s3,v0,zero
addiu a1,s6,-0x7cc4
lw gp,0x18(sp)
or a0,v0,zero
lw t9,-0x7d98(gp)
bal 0x0003e150
_or s4,v0,zero
bne v0,zero,0x00026c88
_lw gp,0x18(sp)
beq s1,zero,0x00026c80
_or s0,zero,zero
or s0,s1,zero
or s4,s1,zero
lw t9,-0x7b2c(gp)
or a1,s2,zero
or a0,s3,zero
jalr t9
_or s5,s4,zero
beq v0,zero,0x00026c50
_lw gp,0x18(sp)
lw t9,-0x7fb4(gp)
or a1,s2,zero
addiu s2,t9,0x5fcc
or t9,s2,zero
bal 0x00025fcc
_or a0,s3,zero
bne v0,zero,0x00026eb8
_lw gp,0x18(sp)
bne s1,zero,0x00026dcc
_or s6,zero,zero
beq s0,zero,0x00026bc8
_or a1,s0,zero
or t9,s2,zero
bal 0x00025fcc
_or a0,s3,zero
bne v0,zero,0x00026dec
_lw gp,0x18(sp)
lw t9,-0x7c0c(gp)
jalr t9
_or a0,s3,zero
or a0,s4,zero
lw gp,0x18(sp)
lw t9,-0x7c0c(gp)
jalr t9
_or s0,v0,zero
lw gp,0x18(sp)
addu v0,s0,v0
lw t9,-0x7fb8(gp)
bal 0x00028080
_addiu a0,v0,0x4
li a2,-0x1
lw gp,0x18(sp)
li a1,0x1
sw s4,0x14(sp)
or a0,v0,zero
sw s3,0x10(sp)
or s5,v0,zero
lw a3,-0x7e24(gp)
lw t9,-0x7cec(gp)
jalr t9
_addiu a3,a3,-0x7ccc
beq s6,zero,0x00026c40
_lw gp,0x18(sp)
lw t9,-0x7b54(gp)
jalr t9
_or a0,s6,zero
lw gp,0x18(sp)
beq s1,zero,0x00026c50
_lw t9,-0x7b54(gp)
jalr t9
_or a0,s1,zero
lw ra,0x44(sp)
or v0,s5,zero
lw s7,0x40(sp)
lw s6,0x3c(sp)
lw s5,0x38(sp)
lw s4,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x48
b 0x00026b68
_or s4,s2,zero
lw t9,-0x7d94(gp)
addiu a1,s6,-0x7cc4
or a2,s4,zero
bal 0x00028664
_or a0,s1,zero
or a0,s4,zero
lw gp,0x18(sp)
lw t9,-0x7c0c(gp)
jalr t9
_or s5,v0,zero
lw gp,0x18(sp)
addiu a0,v0,0xb
lw t9,-0x7fb8(gp)
bal 0x00028080
_or s0,v0,zero
or a2,s0,zero
lw gp,0x18(sp)
or a1,s4,zero
or a0,v0,zero
lw t9,-0x7b60(gp)
jalr t9
_or s7,v0,zero
addu v0,s7,s0
lw gp,0x18(sp)
addiu a1,s6,-0x7cc4
or a0,s1,zero
or a2,s7,zero
lw a3,-0x7e24(gp)
lw t9,-0x7d94(gp)
addiu v1,a3,-0x7cbc
lw t0,-0x7cbc(a3)
lw a3,0x4(v1)
lbu t2,0x8(v1)
lbu t1,0x9(v1)
lbu v1,0xa(v1)
swl t0,0x0(v0)
swr t0,0x3(v0)
swl a3,0x4(v0)
swr a3,0x7(v0)
sb t2,0x8(v0)
sb t1,0x9(v0)
bal 0x00028664
_sb v1,0xa(v0)
or a0,s7,zero
lw gp,0x18(sp)
lw t9,-0x7b54(gp)
jalr t9
_or s0,v0,zero
beq s0,zero,0x00026d78
_lw gp,0x18(sp)
lw t9,-0x7c08(gp)
li a1,0x3f
jalr t9
_or a0,s0,zero
beq v0,zero,0x00026e48
_lw gp,0x18(sp)
lw t9,-0x7b54(gp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
beq s5,zero,0x00026ea8
_lw t9,-0x7b2c(gp)
or a1,s2,zero
jalr t9
_or a0,s3,zero
beq v0,zero,0x00026c50
_lw gp,0x18(sp)
lw t9,-0x7fb4(gp)
or a1,s2,zero
addiu s2,t9,0x5fcc
or t9,s2,zero
bal 0x00025fcc
_or a0,s3,zero
bne v0,zero,0x00026f2c
_lw gp,0x18(sp)
or s7,zero,zero
or s0,zero,zero
or s1,s5,zero
or s6,s5,zero
b 0x00026dd0
_or s4,s5,zero
or s7,zero,zero
or a1,s1,zero
or t9,s2,zero
bal 0x00025fcc
_or a0,s3,zero
or s1,s7,zero
beq v0,zero,0x00026bac
_lw gp,0x18(sp)
beq s6,zero,0x00026e04
_nop
lw t9,-0x7b54(gp)
jalr t9
_or a0,s6,zero
lw gp,0x18(sp)
beq s1,zero,0x00026eb8
_lw t9,-0x7b54(gp)
or a0,s1,zero
jalr t9
_or s5,s3,zero
or v0,s5,zero
lw ra,0x44(sp)
lw s7,0x40(sp)
lw s6,0x3c(sp)
lw s5,0x38(sp)
lw s4,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x48
lw t9,-0x7b2c(gp)
or a1,s2,zero
beq s5,zero,0x00026eec
_or a0,s3,zero
jalr t9
_nop
bne v0,zero,0x00026f04
_lw gp,0x18(sp)
beq s5,s0,0x00026c50
_lw t9,-0x7b54(gp)
jalr t9
_or a0,s0,zero
or v0,s5,zero
lw ra,0x44(sp)
lw s7,0x40(sp)
lw s6,0x3c(sp)
lw s5,0x38(sp)
lw s4,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x48
or s4,s2,zero
or s0,zero,zero
b 0x00026b68
_or s1,zero,zero
lw ra,0x44(sp)
or s5,s3,zero
or v0,s5,zero
lw s7,0x40(sp)
lw s6,0x3c(sp)
lw s5,0x38(sp)
lw s4,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x48
jalr t9
_nop
bne v0,zero,0x00026f44
_lw gp,0x18(sp)
b 0x00026c50
_or s5,s0,zero
lw t9,-0x7fb4(gp)
or a1,s2,zero
addiu s2,t9,0x5fcc
or t9,s2,zero
bal 0x00025fcc
_or a0,s3,zero
bne v0,zero,0x00026f38
_lw gp,0x18(sp)
b 0x00026dbc
_or s7,s0,zero
or s6,s5,zero
b 0x00026df4
_or s1,zero,zero
or s6,s5,zero
b 0x00026df4
_or s1,s0,zero
lw t9,-0x7fb4(gp)
or a1,s2,zero
addiu s2,t9,0x5fcc
or t9,s2,zero
bal 0x00025fcc
_or a0,s3,zero
bne v0,zero,0x00026f74
_lw gp,0x18(sp)
or s6,zero,zero
or s1,s0,zero
b 0x00026bac
_or s4,s0,zero
b 0x00026e04
_or s1,s0,zero
(translation_unit "int FUN_00026ad0(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  undefined1 uVar3;\n  undefined *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  \n  puVar4 = PTR_DAT_0005b2cc;\n  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);\n  uVar6 = locale_charset();\n  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);\n  if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }\nLAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);\nLAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }\n  (*(code *)PTR_free_0005b59c)(iVar7);\n  return iVar5;\n}\n\n" (function_definition "int FUN_00026ad0(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  undefined1 uVar3;\n  undefined *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  \n  puVar4 = PTR_DAT_0005b2cc;\n  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);\n  uVar6 = locale_charset();\n  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);\n  if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }\nLAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);\nLAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }\n  (*(code *)PTR_free_0005b59c)(iVar7);\n  return iVar5;\n}" primitive_type (function_declarator "FUN_00026ad0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  undefined1 uVar3;\n  undefined *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  \n  puVar4 = PTR_DAT_0005b2cc;\n  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);\n  uVar6 = locale_charset();\n  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);\n  if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }\nLAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);\nLAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }\n  (*(code *)PTR_free_0005b59c)(iVar7);\n  return iVar5;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined1 uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (expression_statement "puVar4 = PTR_DAT_0005b2cc;" (assignment_expression "puVar4 = PTR_DAT_0005b2cc" identifier = identifier) ;) (expression_statement "iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);" (assignment_expression "iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0005b568)(0,param_1,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0005b568)" ( (pointer_expression "*(code *)PTR_dcgettext_0005b568" * (cast_expression "(code *)PTR_dcgettext_0005b568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,param_1,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "uVar6 = locale_charset();" (assignment_expression "uVar6 = locale_charset()" identifier = (call_expression "locale_charset()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);" (assignment_expression "iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4)" identifier = (call_expression "c_strcasecmp(uVar6,puVar4 + -0x7cc4)" identifier (argument_list "(uVar6,puVar4 + -0x7cc4)" ( identifier , (binary_expression "puVar4 + -0x7cc4" identifier + number_literal) )))) ;) (if_statement "if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = param_1;" (assignment_expression "iVar9 = param_1" identifier = identifier) ;) (if_statement "if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }" { (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (expression_statement "iVar9 = param_2;" (assignment_expression "iVar9 = param_2" identifier = identifier) ;) })) (labeled_statement "LAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" statement_identifier : (expression_statement "iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;)) (if_statement "if (iVar8 == 0) {\n      return iVar9;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar9;\n    }" { (return_statement "return iVar9;" return identifier ;) })) (expression_statement "iVar8 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar8 = FUN_00025fcc(iVar5,param_1)" identifier = (call_expression "FUN_00025fcc(iVar5,param_1)" identifier (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar8 != 0) {\n      return iVar5;\n    }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      return iVar5;\n    }" { (return_statement "return iVar5;" return identifier ;) })) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (if_statement "if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }" { (labeled_statement "LAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" statement_identifier : (if_statement "if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" if (parenthesized_expression "((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0))" ( (binary_expression "(iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)" ( (comma_expression "iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0" (assignment_expression "iVar7 = FUN_00025fcc(iVar5,iVar7)" identifier = (call_expression "FUN_00025fcc(iVar5,iVar7)" identifier (argument_list "(iVar5,iVar7)" ( identifier , identifier )))) , (comma_expression "iVar8 = iVar12, iVar7 == 0" (assignment_expression "iVar8 = iVar12" identifier = identifier) , (binary_expression "iVar7 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(iVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(iVar9)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9)" ( identifier )))) ;) (expression_statement "iVar7 = xmalloc(iVar7 + iVar8 + 4);" (assignment_expression "iVar7 = xmalloc(iVar7 + iVar8 + 4)" identifier = (call_expression "xmalloc(iVar7 + iVar8 + 4)" identifier (argument_list "(iVar7 + iVar8 + 4)" ( (binary_expression "iVar7 + iVar8 + 4" (binary_expression "iVar7 + iVar8" identifier + identifier) + number_literal) )))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);" (call_expression "(*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_0005b404)" ( (pointer_expression "*(code *)PTR___sprintf_chk_0005b404" * (cast_expression "(code *)PTR___sprintf_chk_0005b404" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9)" ( identifier , number_literal , number_literal , (binary_expression "PTR_DAT_0005b2cc + -0x7ccc" identifier + number_literal) , identifier , identifier ))) ;) (if_statement "if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }" { (expression_statement "(*(code *)PTR_free_0005b59c)(iVar12);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar12)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12)" ( identifier ))) ;) })) (if_statement "if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }" { (expression_statement "(*(code *)PTR_free_0005b59c)(param_2);" (call_expression "(*(code *)PTR_free_0005b59c)(param_2)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier ))) ;) })) (return_statement "return iVar7;" return identifier ;) }))) }) (else_clause "else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" else (compound_statement "{\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" { (expression_statement "iVar8 = param_2;" (assignment_expression "iVar8 = param_2" identifier = identifier) ;) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);" statement_identifier : (expression_statement "iVar11 = FUN_00025fcc(iVar5,iVar8);" (assignment_expression "iVar11 = FUN_00025fcc(iVar5,iVar8)" identifier = (call_expression "FUN_00025fcc(iVar5,iVar8)" identifier (argument_list "(iVar5,iVar8)" ( identifier , identifier )))) ;)) (expression_statement "iVar8 = iVar12;" (assignment_expression "iVar8 = iVar12" identifier = identifier) ;) (if_statement "if (iVar11 == 0) goto LAB_00026bac;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00026bac;" goto statement_identifier ;)) }))) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (if_statement "if (iVar8 == 0) goto LAB_00026e04;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00026e04;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" else (compound_statement "{\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" { (expression_statement "iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);" (assignment_expression "iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6)" identifier = (call_expression "xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6)" identifier (argument_list "(param_2,puVar4 + -0x7cc4,uVar6)" ( identifier , (binary_expression "puVar4 + -0x7cc4" identifier + number_literal) , identifier )))) ;) (expression_statement "iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(uVar6)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "iVar9 = xmalloc(iVar7 + 0xb);" (assignment_expression "iVar9 = xmalloc(iVar7 + 0xb)" identifier = (call_expression "xmalloc(iVar7 + 0xb)" identifier (argument_list "(iVar7 + 0xb)" ( (binary_expression "iVar7 + 0xb" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);" (call_expression "(*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7)" (parenthesized_expression "(*(code *)PTR_memcpy_0005b590)" ( (pointer_expression "*(code *)PTR_memcpy_0005b590" * (cast_expression "(code *)PTR_memcpy_0005b590" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,uVar6,iVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar10 = (undefined4 *)(iVar9 + iVar7);" (assignment_expression "puVar10 = (undefined4 *)(iVar9 + iVar7)" identifier = (cast_expression "(undefined4 *)(iVar9 + iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar7)" ( (binary_expression "iVar9 + iVar7" identifier + identifier) )))) ;) (expression_statement "uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);" (assignment_expression "uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" * (cast_expression "(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005b2cc + -0x7cb8)" ( (binary_expression "PTR_DAT_0005b2cc + -0x7cb8" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = PTR_DAT_0005b2cc[-0x7cb4];" (assignment_expression "uVar1 = PTR_DAT_0005b2cc[-0x7cb4]" identifier = (subscript_expression "PTR_DAT_0005b2cc[-0x7cb4]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = PTR_DAT_0005b2cc[-0x7cb3];" (assignment_expression "uVar2 = PTR_DAT_0005b2cc[-0x7cb3]" identifier = (subscript_expression "PTR_DAT_0005b2cc[-0x7cb3]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = PTR_DAT_0005b2cc[-0x7cb2];" (assignment_expression "uVar3 = PTR_DAT_0005b2cc[-0x7cb2]" identifier = (subscript_expression "PTR_DAT_0005b2cc[-0x7cb2]" identifier [ number_literal ])) ;) (expression_statement "*puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);" (assignment_expression "*puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" (pointer_expression "*puVar10" * identifier) = (pointer_expression "*(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" * (cast_expression "(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005b2cc + -0x7cbc)" ( (binary_expression "PTR_DAT_0005b2cc + -0x7cbc" identifier + number_literal) ))))) ;) (expression_statement "puVar10[1] = uVar6;" (assignment_expression "puVar10[1] = uVar6" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar10 + 2) = uVar1;" (assignment_expression "*(undefined1 *)(puVar10 + 2) = uVar1" (pointer_expression "*(undefined1 *)(puVar10 + 2)" * (cast_expression "(undefined1 *)(puVar10 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar10 + 9) = uVar2;" (assignment_expression "*(undefined1 *)((int)puVar10 + 9) = uVar2" (pointer_expression "*(undefined1 *)((int)puVar10 + 9)" * (cast_expression "(undefined1 *)((int)puVar10 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 9)" ( (binary_expression "(int)puVar10 + 9" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar10 + 10) = uVar3;" (assignment_expression "*(undefined1 *)((int)puVar10 + 10) = uVar3" (pointer_expression "*(undefined1 *)((int)puVar10 + 10)" * (cast_expression "(undefined1 *)((int)puVar10 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 10)" ( (binary_expression "(int)puVar10 + 10" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);" (assignment_expression "iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9)" identifier = (call_expression "xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9)" identifier (argument_list "(param_2,puVar4 + -0x7cc4,iVar9)" ( identifier , (binary_expression "puVar4 + -0x7cc4" identifier + number_literal) , identifier )))) ;) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar9);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar9)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9)" ( identifier ))) ;) (expression_statement "iVar9 = iVar8;" (assignment_expression "iVar9 = iVar8" identifier = identifier) ;) (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) (if_statement "if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }" { (labeled_statement "LAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" statement_identifier : (if_statement "if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = param_1;" (assignment_expression "iVar9 = param_1" identifier = identifier) ;) (goto_statement "goto LAB_00026b68;" goto statement_identifier ;) }))) (expression_statement "iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        return iVar8;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        return iVar8;\n      }" { (return_statement "return iVar8;" return identifier ;) })) (expression_statement "iVar7 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar7 = FUN_00025fcc(iVar5,param_1)" identifier = (call_expression "FUN_00025fcc(iVar5,param_1)" identifier (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00026df4;" goto statement_identifier ;) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" identifier = identifier) ;) (goto_statement "goto LAB_00026dd0;" goto statement_identifier ;) })) (expression_statement "iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f)" identifier = (call_expression "(*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f)" (parenthesized_expression "(*(code *)PTR_strchr_0005b4e8)" ( (pointer_expression "*(code *)PTR_strchr_0005b4e8" * (cast_expression "(code *)PTR_strchr_0005b4e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7,0x3f)" ( identifier , number_literal )))) ;) (if_statement "if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }" { (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier ))) ;) (goto_statement "goto LAB_00026d78;" goto statement_identifier ;) })) (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" identifier = identifier) ;) (if_statement "if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }" { (expression_statement "iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar9 == 0) {\n        return iVar7;\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        return iVar7;\n      }" { (return_statement "return iVar7;" return identifier ;) })) (expression_statement "iVar9 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar9 = FUN_00025fcc(iVar5,param_1)" identifier = (call_expression "FUN_00025fcc(iVar5,param_1)" identifier (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar9 != 0) goto LAB_00026e04;" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00026e04;" goto statement_identifier ;)) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" identifier = identifier) ;) (goto_statement "goto LAB_00026bac;" goto statement_identifier ;) })) (expression_statement "iVar11 = (*(code *)PTR_strcmp_0005b5c4)();" (assignment_expression "iVar11 = (*(code *)PTR_strcmp_0005b5c4)()" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)()" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }" { (if_statement "if (iVar8 == iVar7) {\n        return iVar8;\n      }" if (parenthesized_expression "(iVar8 == iVar7)" ( (binary_expression "iVar8 == iVar7" identifier == identifier) )) (compound_statement "{\n        return iVar8;\n      }" { (return_statement "return iVar8;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier ))) ;) (return_statement "return iVar8;" return identifier ;) })) (expression_statement "iVar11 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar11 = FUN_00025fcc(iVar5,param_1)" identifier = (call_expression "FUN_00025fcc(iVar5,param_1)" identifier (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar11 == 0) goto LAB_00026dd0;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00026dd0;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);" statement_identifier : (expression_statement "(*(code *)PTR_free_0005b59c)(iVar8);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar8)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier ))) ;)) (labeled_statement "LAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (iVar7 == 0) {\n    return iVar5;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier ))) ;) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x00026df4) */\n\nchar * proper_name_utf8(char *name_ascii,char *name_utf8)\n\n{\n  undefined *puVar1;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  char *string;\n  char *pcVar2;\n  int iVar3;\n  _Bool _Var5;\n  int iVar4;\n  char *pcVar6;\n  \n  puVar1 = PTR_DAT_0005b2cc;\n  string = (char *)(*(code *)PTR_dcgettext_0005b568)(0,name_ascii,5);\n  pcVar2 = locale_charset();\n  iVar3 = c_strcasecmp(pcVar2,puVar1 + -0x7cc4);\n  if (iVar3 != 0) {\n    xstr_iconv(name_utf8,puVar1 + -0x7cc4,pcVar2);\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(pcVar2);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + 0xb);\n  }\n  pcVar2 = (char *)0x0;\n  pcVar6 = name_ascii;\n  if (name_utf8 != (char *)0x0) {\n    pcVar2 = name_utf8;\n    pcVar6 = name_utf8;\n  }\n  iVar3 = (*(code *)PTR_strcmp_0005b5c4)(string,name_ascii);\n  if (iVar3 == 0) {\n    return pcVar6;\n  }\n  _Var5 = mbsstr_trimmed_wordbounded(string,name_ascii);\n  if (CONCAT31(extraout_var,_Var5) != 0) {\n    return string;\n  }\n  if (name_utf8 != (char *)0x0) {\n    _Var5 = mbsstr_trimmed_wordbounded(string,name_utf8);\n    name_utf8 = (char *)0x0;\n    if (CONCAT31(extraout_var_01,_Var5) != 0) goto LAB_00026dec;\n  }\n  if ((pcVar2 == (char *)0x0) ||\n     (_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0)) {\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(string);\n    iVar4 = (*(code *)PTR_strlen_0005b4e4)(pcVar6);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + iVar4 + 4);\n  }\nLAB_00026dec:\n  if (name_utf8 == (char *)0x0) {\n    return string;\n  }\n  (*(code *)PTR_free_0005b59c)(name_utf8);\n  return string;\n}\n\n" comment (function_definition "char * proper_name_utf8(char *name_ascii,char *name_utf8)\n\n{\n  undefined *puVar1;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  char *string;\n  char *pcVar2;\n  int iVar3;\n  _Bool _Var5;\n  int iVar4;\n  char *pcVar6;\n  \n  puVar1 = PTR_DAT_0005b2cc;\n  string = (char *)(*(code *)PTR_dcgettext_0005b568)(0,name_ascii,5);\n  pcVar2 = locale_charset();\n  iVar3 = c_strcasecmp(pcVar2,puVar1 + -0x7cc4);\n  if (iVar3 != 0) {\n    xstr_iconv(name_utf8,puVar1 + -0x7cc4,pcVar2);\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(pcVar2);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + 0xb);\n  }\n  pcVar2 = (char *)0x0;\n  pcVar6 = name_ascii;\n  if (name_utf8 != (char *)0x0) {\n    pcVar2 = name_utf8;\n    pcVar6 = name_utf8;\n  }\n  iVar3 = (*(code *)PTR_strcmp_0005b5c4)(string,name_ascii);\n  if (iVar3 == 0) {\n    return pcVar6;\n  }\n  _Var5 = mbsstr_trimmed_wordbounded(string,name_ascii);\n  if (CONCAT31(extraout_var,_Var5) != 0) {\n    return string;\n  }\n  if (name_utf8 != (char *)0x0) {\n    _Var5 = mbsstr_trimmed_wordbounded(string,name_utf8);\n    name_utf8 = (char *)0x0;\n    if (CONCAT31(extraout_var_01,_Var5) != 0) goto LAB_00026dec;\n  }\n  if ((pcVar2 == (char *)0x0) ||\n     (_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0)) {\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(string);\n    iVar4 = (*(code *)PTR_strlen_0005b4e4)(pcVar6);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + iVar4 + 4);\n  }\nLAB_00026dec:\n  if (name_utf8 == (char *)0x0) {\n    return string;\n  }\n  (*(code *)PTR_free_0005b59c)(name_utf8);\n  return string;\n}" primitive_type (pointer_declarator "* proper_name_utf8(char *name_ascii,char *name_utf8)" * (function_declarator "proper_name_utf8(char *name_ascii,char *name_utf8)" identifier (parameter_list "(char *name_ascii,char *name_utf8)" ( (parameter_declaration "char *name_ascii" primitive_type (pointer_declarator "*name_ascii" * identifier)) , (parameter_declaration "char *name_utf8" primitive_type (pointer_declarator "*name_utf8" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  char *string;\n  char *pcVar2;\n  int iVar3;\n  _Bool _Var5;\n  int iVar4;\n  char *pcVar6;\n  \n  puVar1 = PTR_DAT_0005b2cc;\n  string = (char *)(*(code *)PTR_dcgettext_0005b568)(0,name_ascii,5);\n  pcVar2 = locale_charset();\n  iVar3 = c_strcasecmp(pcVar2,puVar1 + -0x7cc4);\n  if (iVar3 != 0) {\n    xstr_iconv(name_utf8,puVar1 + -0x7cc4,pcVar2);\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(pcVar2);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + 0xb);\n  }\n  pcVar2 = (char *)0x0;\n  pcVar6 = name_ascii;\n  if (name_utf8 != (char *)0x0) {\n    pcVar2 = name_utf8;\n    pcVar6 = name_utf8;\n  }\n  iVar3 = (*(code *)PTR_strcmp_0005b5c4)(string,name_ascii);\n  if (iVar3 == 0) {\n    return pcVar6;\n  }\n  _Var5 = mbsstr_trimmed_wordbounded(string,name_ascii);\n  if (CONCAT31(extraout_var,_Var5) != 0) {\n    return string;\n  }\n  if (name_utf8 != (char *)0x0) {\n    _Var5 = mbsstr_trimmed_wordbounded(string,name_utf8);\n    name_utf8 = (char *)0x0;\n    if (CONCAT31(extraout_var_01,_Var5) != 0) goto LAB_00026dec;\n  }\n  if ((pcVar2 == (char *)0x0) ||\n     (_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0)) {\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(string);\n    iVar4 = (*(code *)PTR_strlen_0005b4e4)(pcVar6);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + iVar4 + 4);\n  }\nLAB_00026dec:\n  if (name_utf8 == (char *)0x0) {\n    return string;\n  }\n  (*(code *)PTR_free_0005b59c)(name_utf8);\n  return string;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "undefined3 extraout_var_01;" type_identifier identifier ;) (declaration "char *string;" primitive_type (pointer_declarator "*string" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "_Bool _Var5;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_0005b2cc;" (assignment_expression "puVar1 = PTR_DAT_0005b2cc" identifier = identifier) ;) (expression_statement "string = (char *)(*(code *)PTR_dcgettext_0005b568)(0,name_ascii,5);" (assignment_expression "string = (char *)(*(code *)PTR_dcgettext_0005b568)(0,name_ascii,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0005b568)(0,name_ascii,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0005b568)(0,name_ascii,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0005b568)" ( (pointer_expression "*(code *)PTR_dcgettext_0005b568" * (cast_expression "(code *)PTR_dcgettext_0005b568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,name_ascii,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "pcVar2 = locale_charset();" (assignment_expression "pcVar2 = locale_charset()" identifier = (call_expression "locale_charset()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = c_strcasecmp(pcVar2,puVar1 + -0x7cc4);" (assignment_expression "iVar3 = c_strcasecmp(pcVar2,puVar1 + -0x7cc4)" identifier = (call_expression "c_strcasecmp(pcVar2,puVar1 + -0x7cc4)" identifier (argument_list "(pcVar2,puVar1 + -0x7cc4)" ( identifier , (binary_expression "puVar1 + -0x7cc4" identifier + number_literal) )))) ;) (if_statement "if (iVar3 != 0) {\n    xstr_iconv(name_utf8,puVar1 + -0x7cc4,pcVar2);\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(pcVar2);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + 0xb);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    xstr_iconv(name_utf8,puVar1 + -0x7cc4,pcVar2);\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(pcVar2);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + 0xb);\n  }" { (expression_statement "xstr_iconv(name_utf8,puVar1 + -0x7cc4,pcVar2);" (call_expression "xstr_iconv(name_utf8,puVar1 + -0x7cc4,pcVar2)" identifier (argument_list "(name_utf8,puVar1 + -0x7cc4,pcVar2)" ( identifier , (binary_expression "puVar1 + -0x7cc4" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_0005b4e4)(pcVar2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_0005b4e4)(pcVar2)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(pcVar2)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2)" ( identifier )))) ;) comment (expression_statement "xmalloc(iVar3 + 0xb);" (call_expression "xmalloc(iVar3 + 0xb)" identifier (argument_list "(iVar3 + 0xb)" ( (binary_expression "iVar3 + 0xb" identifier + number_literal) ))) ;) })) (expression_statement "pcVar2 = (char *)0x0;" (assignment_expression "pcVar2 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar6 = name_ascii;" (assignment_expression "pcVar6 = name_ascii" identifier = identifier) ;) (if_statement "if (name_utf8 != (char *)0x0) {\n    pcVar2 = name_utf8;\n    pcVar6 = name_utf8;\n  }" if (parenthesized_expression "(name_utf8 != (char *)0x0)" ( (binary_expression "name_utf8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar2 = name_utf8;\n    pcVar6 = name_utf8;\n  }" { (expression_statement "pcVar2 = name_utf8;" (assignment_expression "pcVar2 = name_utf8" identifier = identifier) ;) (expression_statement "pcVar6 = name_utf8;" (assignment_expression "pcVar6 = name_utf8" identifier = identifier) ;) })) (expression_statement "iVar3 = (*(code *)PTR_strcmp_0005b5c4)(string,name_ascii);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_0005b5c4)(string,name_ascii)" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)(string,name_ascii)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string,name_ascii)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    return pcVar6;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return pcVar6;\n  }" { (return_statement "return pcVar6;" return identifier ;) })) (expression_statement "_Var5 = mbsstr_trimmed_wordbounded(string,name_ascii);" (assignment_expression "_Var5 = mbsstr_trimmed_wordbounded(string,name_ascii)" identifier = (call_expression "mbsstr_trimmed_wordbounded(string,name_ascii)" identifier (argument_list "(string,name_ascii)" ( identifier , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var,_Var5) != 0) {\n    return string;\n  }" if (parenthesized_expression "(CONCAT31(extraout_var,_Var5) != 0)" ( (binary_expression "CONCAT31(extraout_var,_Var5) != 0" (call_expression "CONCAT31(extraout_var,_Var5)" identifier (argument_list "(extraout_var,_Var5)" ( identifier , identifier ))) != number_literal) )) (compound_statement "{\n    return string;\n  }" { (return_statement "return string;" return identifier ;) })) (if_statement "if (name_utf8 != (char *)0x0) {\n    _Var5 = mbsstr_trimmed_wordbounded(string,name_utf8);\n    name_utf8 = (char *)0x0;\n    if (CONCAT31(extraout_var_01,_Var5) != 0) goto LAB_00026dec;\n  }" if (parenthesized_expression "(name_utf8 != (char *)0x0)" ( (binary_expression "name_utf8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    _Var5 = mbsstr_trimmed_wordbounded(string,name_utf8);\n    name_utf8 = (char *)0x0;\n    if (CONCAT31(extraout_var_01,_Var5) != 0) goto LAB_00026dec;\n  }" { (expression_statement "_Var5 = mbsstr_trimmed_wordbounded(string,name_utf8);" (assignment_expression "_Var5 = mbsstr_trimmed_wordbounded(string,name_utf8)" identifier = (call_expression "mbsstr_trimmed_wordbounded(string,name_utf8)" identifier (argument_list "(string,name_utf8)" ( identifier , identifier )))) ;) (expression_statement "name_utf8 = (char *)0x0;" (assignment_expression "name_utf8 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (CONCAT31(extraout_var_01,_Var5) != 0) goto LAB_00026dec;" if (parenthesized_expression "(CONCAT31(extraout_var_01,_Var5) != 0)" ( (binary_expression "CONCAT31(extraout_var_01,_Var5) != 0" (call_expression "CONCAT31(extraout_var_01,_Var5)" identifier (argument_list "(extraout_var_01,_Var5)" ( identifier , identifier ))) != number_literal) )) (goto_statement "goto LAB_00026dec;" goto statement_identifier ;)) })) (if_statement "if ((pcVar2 == (char *)0x0) ||\n     (_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0)) {\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(string);\n    iVar4 = (*(code *)PTR_strlen_0005b4e4)(pcVar6);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + iVar4 + 4);\n  }" if (parenthesized_expression "((pcVar2 == (char *)0x0) ||\n     (_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0))" ( (binary_expression "(pcVar2 == (char *)0x0) ||\n     (_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0)" (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0)" ( (comma_expression "_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2), CONCAT31(extraout_var_00,_Var5) == 0" (assignment_expression "_Var5 = mbsstr_trimmed_wordbounded(string,pcVar2)" identifier = (call_expression "mbsstr_trimmed_wordbounded(string,pcVar2)" identifier (argument_list "(string,pcVar2)" ( identifier , identifier )))) , (binary_expression "CONCAT31(extraout_var_00,_Var5) == 0" (call_expression "CONCAT31(extraout_var_00,_Var5)" identifier (argument_list "(extraout_var_00,_Var5)" ( identifier , identifier ))) == number_literal)) ))) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_0005b4e4)(string);\n    iVar4 = (*(code *)PTR_strlen_0005b4e4)(pcVar6);\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar3 + iVar4 + 4);\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_0005b4e4)(string);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_0005b4e4)(string)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(string)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string)" ( identifier )))) ;) (expression_statement "iVar4 = (*(code *)PTR_strlen_0005b4e4)(pcVar6);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_0005b4e4)(pcVar6)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier )))) ;) comment (expression_statement "xmalloc(iVar3 + iVar4 + 4);" (call_expression "xmalloc(iVar3 + iVar4 + 4)" identifier (argument_list "(iVar3 + iVar4 + 4)" ( (binary_expression "iVar3 + iVar4 + 4" (binary_expression "iVar3 + iVar4" identifier + identifier) + number_literal) ))) ;) })) (labeled_statement "LAB_00026dec:\n  if (name_utf8 == (char *)0x0) {\n    return string;\n  }" statement_identifier : (if_statement "if (name_utf8 == (char *)0x0) {\n    return string;\n  }" if (parenthesized_expression "(name_utf8 == (char *)0x0)" ( (binary_expression "name_utf8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return string;\n  }" { (return_statement "return string;" return identifier ;) }))) (expression_statement "(*(code *)PTR_free_0005b59c)(name_utf8);" (call_expression "(*(code *)PTR_free_0005b59c)(name_utf8)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(name_utf8)" ( identifier ))) ;) (return_statement "return string;" return identifier ;) })))
(translation_unit "int FUN_00026ad0(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  undefined1 uVar3;\n  undefined *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  \n  puVar4 = PTR_DAT_0005b2cc;\n  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);\n  uVar6 = locale_charset();\n  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);\n  if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }\nLAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);\nLAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }\n  (*(code *)PTR_free_0005b59c)(iVar7);\n  return iVar5;\n}\n\n" (function_definition "int FUN_00026ad0(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  undefined1 uVar3;\n  undefined *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  \n  puVar4 = PTR_DAT_0005b2cc;\n  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);\n  uVar6 = locale_charset();\n  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);\n  if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }\nLAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);\nLAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }\n  (*(code *)PTR_free_0005b59c)(iVar7);\n  return iVar5;\n}" primitive_type (function_declarator "FUN_00026ad0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  undefined1 uVar3;\n  undefined *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  \n  puVar4 = PTR_DAT_0005b2cc;\n  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);\n  uVar6 = locale_charset();\n  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);\n  if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }\nLAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);\nLAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }\n  (*(code *)PTR_free_0005b59c)(iVar7);\n  return iVar5;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined1 uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (expression_statement "puVar4 = PTR_DAT_0005b2cc;" (assignment_expression "puVar4 = PTR_DAT_0005b2cc" identifier = identifier) ;) (expression_statement "iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);" (assignment_expression "iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0005b568)(0,param_1,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0005b568)" ( (pointer_expression "*(code *)PTR_dcgettext_0005b568" * (cast_expression "(code *)PTR_dcgettext_0005b568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,param_1,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "uVar6 = locale_charset();" (assignment_expression "uVar6 = locale_charset()" identifier = (call_expression "locale_charset()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);" (assignment_expression "iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4)" identifier = (call_expression "c_strcasecmp(uVar6,puVar4 + -0x7cc4)" identifier (argument_list "(uVar6,puVar4 + -0x7cc4)" ( identifier , (binary_expression "puVar4 + -0x7cc4" identifier + number_literal) )))) ;) (if_statement "if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = param_1;" (assignment_expression "iVar9 = param_1" identifier = identifier) ;) (if_statement "if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }" { (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (expression_statement "iVar9 = param_2;" (assignment_expression "iVar9 = param_2" identifier = identifier) ;) })) (labeled_statement "LAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" statement_identifier : (expression_statement "iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;)) (if_statement "if (iVar8 == 0) {\n      return iVar9;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar9;\n    }" { (return_statement "return iVar9;" return identifier ;) })) (expression_statement "iVar8 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar8 = FUN_00025fcc(iVar5,param_1)" identifier = (call_expression "FUN_00025fcc(iVar5,param_1)" identifier (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar8 != 0) {\n      return iVar5;\n    }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      return iVar5;\n    }" { (return_statement "return iVar5;" return identifier ;) })) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (if_statement "if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }" { (labeled_statement "LAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" statement_identifier : (if_statement "if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" if (parenthesized_expression "((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0))" ( (binary_expression "(iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)" ( (comma_expression "iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0" (assignment_expression "iVar7 = FUN_00025fcc(iVar5,iVar7)" identifier = (call_expression "FUN_00025fcc(iVar5,iVar7)" identifier (argument_list "(iVar5,iVar7)" ( identifier , identifier )))) , (comma_expression "iVar8 = iVar12, iVar7 == 0" (assignment_expression "iVar8 = iVar12" identifier = identifier) , (binary_expression "iVar7 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(iVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(iVar9)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9)" ( identifier )))) ;) (expression_statement "iVar7 = xmalloc(iVar7 + iVar8 + 4);" (assignment_expression "iVar7 = xmalloc(iVar7 + iVar8 + 4)" identifier = (call_expression "xmalloc(iVar7 + iVar8 + 4)" identifier (argument_list "(iVar7 + iVar8 + 4)" ( (binary_expression "iVar7 + iVar8 + 4" (binary_expression "iVar7 + iVar8" identifier + identifier) + number_literal) )))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);" (call_expression "(*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_0005b404)" ( (pointer_expression "*(code *)PTR___sprintf_chk_0005b404" * (cast_expression "(code *)PTR___sprintf_chk_0005b404" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9)" ( identifier , number_literal , number_literal , (binary_expression "PTR_DAT_0005b2cc + -0x7ccc" identifier + number_literal) , identifier , identifier ))) ;) (if_statement "if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }" { (expression_statement "(*(code *)PTR_free_0005b59c)(iVar12);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar12)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12)" ( identifier ))) ;) })) (if_statement "if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }" { (expression_statement "(*(code *)PTR_free_0005b59c)(param_2);" (call_expression "(*(code *)PTR_free_0005b59c)(param_2)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier ))) ;) })) (return_statement "return iVar7;" return identifier ;) }))) }) (else_clause "else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" else (compound_statement "{\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" { (expression_statement "iVar8 = param_2;" (assignment_expression "iVar8 = param_2" identifier = identifier) ;) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);" statement_identifier : (expression_statement "iVar11 = FUN_00025fcc(iVar5,iVar8);" (assignment_expression "iVar11 = FUN_00025fcc(iVar5,iVar8)" identifier = (call_expression "FUN_00025fcc(iVar5,iVar8)" identifier (argument_list "(iVar5,iVar8)" ( identifier , identifier )))) ;)) (expression_statement "iVar8 = iVar12;" (assignment_expression "iVar8 = iVar12" identifier = identifier) ;) (if_statement "if (iVar11 == 0) goto LAB_00026bac;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00026bac;" goto statement_identifier ;)) }))) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (if_statement "if (iVar8 == 0) goto LAB_00026e04;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00026e04;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" else (compound_statement "{\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" { (expression_statement "iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);" (assignment_expression "iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6)" identifier = (call_expression "xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6)" identifier (argument_list "(param_2,puVar4 + -0x7cc4,uVar6)" ( identifier , (binary_expression "puVar4 + -0x7cc4" identifier + number_literal) , identifier )))) ;) (expression_statement "iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(uVar6)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "iVar9 = xmalloc(iVar7 + 0xb);" (assignment_expression "iVar9 = xmalloc(iVar7 + 0xb)" identifier = (call_expression "xmalloc(iVar7 + 0xb)" identifier (argument_list "(iVar7 + 0xb)" ( (binary_expression "iVar7 + 0xb" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);" (call_expression "(*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7)" (parenthesized_expression "(*(code *)PTR_memcpy_0005b590)" ( (pointer_expression "*(code *)PTR_memcpy_0005b590" * (cast_expression "(code *)PTR_memcpy_0005b590" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,uVar6,iVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar10 = (undefined4 *)(iVar9 + iVar7);" (assignment_expression "puVar10 = (undefined4 *)(iVar9 + iVar7)" identifier = (cast_expression "(undefined4 *)(iVar9 + iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar7)" ( (binary_expression "iVar9 + iVar7" identifier + identifier) )))) ;) (expression_statement "uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);" (assignment_expression "uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" * (cast_expression "(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005b2cc + -0x7cb8)" ( (binary_expression "PTR_DAT_0005b2cc + -0x7cb8" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = PTR_DAT_0005b2cc[-0x7cb4];" (assignment_expression "uVar1 = PTR_DAT_0005b2cc[-0x7cb4]" identifier = (subscript_expression "PTR_DAT_0005b2cc[-0x7cb4]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = PTR_DAT_0005b2cc[-0x7cb3];" (assignment_expression "uVar2 = PTR_DAT_0005b2cc[-0x7cb3]" identifier = (subscript_expression "PTR_DAT_0005b2cc[-0x7cb3]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = PTR_DAT_0005b2cc[-0x7cb2];" (assignment_expression "uVar3 = PTR_DAT_0005b2cc[-0x7cb2]" identifier = (subscript_expression "PTR_DAT_0005b2cc[-0x7cb2]" identifier [ number_literal ])) ;) (expression_statement "*puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);" (assignment_expression "*puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" (pointer_expression "*puVar10" * identifier) = (pointer_expression "*(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" * (cast_expression "(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005b2cc + -0x7cbc)" ( (binary_expression "PTR_DAT_0005b2cc + -0x7cbc" identifier + number_literal) ))))) ;) (expression_statement "puVar10[1] = uVar6;" (assignment_expression "puVar10[1] = uVar6" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar10 + 2) = uVar1;" (assignment_expression "*(undefined1 *)(puVar10 + 2) = uVar1" (pointer_expression "*(undefined1 *)(puVar10 + 2)" * (cast_expression "(undefined1 *)(puVar10 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar10 + 9) = uVar2;" (assignment_expression "*(undefined1 *)((int)puVar10 + 9) = uVar2" (pointer_expression "*(undefined1 *)((int)puVar10 + 9)" * (cast_expression "(undefined1 *)((int)puVar10 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 9)" ( (binary_expression "(int)puVar10 + 9" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar10 + 10) = uVar3;" (assignment_expression "*(undefined1 *)((int)puVar10 + 10) = uVar3" (pointer_expression "*(undefined1 *)((int)puVar10 + 10)" * (cast_expression "(undefined1 *)((int)puVar10 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 10)" ( (binary_expression "(int)puVar10 + 10" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);" (assignment_expression "iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9)" identifier = (call_expression "xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9)" identifier (argument_list "(param_2,puVar4 + -0x7cc4,iVar9)" ( identifier , (binary_expression "puVar4 + -0x7cc4" identifier + number_literal) , identifier )))) ;) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar9);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar9)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9)" ( identifier ))) ;) (expression_statement "iVar9 = iVar8;" (assignment_expression "iVar9 = iVar8" identifier = identifier) ;) (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) (if_statement "if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }" { (labeled_statement "LAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" statement_identifier : (if_statement "if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = param_1;" (assignment_expression "iVar9 = param_1" identifier = identifier) ;) (goto_statement "goto LAB_00026b68;" goto statement_identifier ;) }))) (expression_statement "iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        return iVar8;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        return iVar8;\n      }" { (return_statement "return iVar8;" return identifier ;) })) (expression_statement "iVar7 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar7 = FUN_00025fcc(iVar5,param_1)" identifier = (call_expression "FUN_00025fcc(iVar5,param_1)" identifier (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00026df4;" goto statement_identifier ;) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" identifier = identifier) ;) (goto_statement "goto LAB_00026dd0;" goto statement_identifier ;) })) (expression_statement "iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f)" identifier = (call_expression "(*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f)" (parenthesized_expression "(*(code *)PTR_strchr_0005b4e8)" ( (pointer_expression "*(code *)PTR_strchr_0005b4e8" * (cast_expression "(code *)PTR_strchr_0005b4e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7,0x3f)" ( identifier , number_literal )))) ;) (if_statement "if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }" { (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier ))) ;) (goto_statement "goto LAB_00026d78;" goto statement_identifier ;) })) (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" identifier = identifier) ;) (if_statement "if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }" { (expression_statement "iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar9 == 0) {\n        return iVar7;\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        return iVar7;\n      }" { (return_statement "return iVar7;" return identifier ;) })) (expression_statement "iVar9 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar9 = FUN_00025fcc(iVar5,param_1)" identifier = (call_expression "FUN_00025fcc(iVar5,param_1)" identifier (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar9 != 0) goto LAB_00026e04;" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00026e04;" goto statement_identifier ;)) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" identifier = identifier) ;) (goto_statement "goto LAB_00026bac;" goto statement_identifier ;) })) (expression_statement "iVar11 = (*(code *)PTR_strcmp_0005b5c4)();" (assignment_expression "iVar11 = (*(code *)PTR_strcmp_0005b5c4)()" identifier = (call_expression "(*(code *)PTR_strcmp_0005b5c4)()" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" ( (pointer_expression "*(code *)PTR_strcmp_0005b5c4" * (cast_expression "(code *)PTR_strcmp_0005b5c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }" { (if_statement "if (iVar8 == iVar7) {\n        return iVar8;\n      }" if (parenthesized_expression "(iVar8 == iVar7)" ( (binary_expression "iVar8 == iVar7" identifier == identifier) )) (compound_statement "{\n        return iVar8;\n      }" { (return_statement "return iVar8;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier ))) ;) (return_statement "return iVar8;" return identifier ;) })) (expression_statement "iVar11 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar11 = FUN_00025fcc(iVar5,param_1)" identifier = (call_expression "FUN_00025fcc(iVar5,param_1)" identifier (argument_list "(iVar5,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar11 == 0) goto LAB_00026dd0;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00026dd0;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);" statement_identifier : (expression_statement "(*(code *)PTR_free_0005b59c)(iVar8);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar8)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier ))) ;)) (labeled_statement "LAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (iVar7 == 0) {\n    return iVar5;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" ( (pointer_expression "*(code *)PTR_free_0005b59c" * (cast_expression "(code *)PTR_free_0005b59c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7)" ( identifier ))) ;) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00026ad0(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  undefined1 uVar3;\n  undefined *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  \n  puVar4 = PTR_DAT_0005b2cc;\n  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);\n  uVar6 = locale_charset();\n  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);\n  if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }\nLAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);\nLAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }\n  (*(code *)PTR_free_0005b59c)(iVar7);\n  return iVar5;\n}" (primitive_type "int") (function_declarator "FUN_00026ad0(int param_1,int param_2)" (identifier "FUN_00026ad0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  undefined1 uVar2;\n  undefined1 uVar3;\n  undefined *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  \n  puVar4 = PTR_DAT_0005b2cc;\n  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);\n  uVar6 = locale_charset();\n  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);\n  if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }\nLAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);\nLAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }\n  (*(code *)PTR_free_0005b59c)(iVar7);\n  return iVar5;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "undefined1 uVar3;" (type_identifier "undefined1") (identifier "uVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (expression_statement "puVar4 = PTR_DAT_0005b2cc;" (assignment_expression "puVar4 = PTR_DAT_0005b2cc" (identifier "puVar4") (= "=") (identifier "PTR_DAT_0005b2cc")) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);" (assignment_expression "iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_0005b568)(0,param_1,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0005b568)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0005b568" (* "*") (cast_expression "(code *)PTR_dcgettext_0005b568" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0005b568"))) () ")")) (argument_list "(0,param_1,5)" (( "(") (number_literal "0") (, ",") (identifier "param_1") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar6 = locale_charset();" (assignment_expression "uVar6 = locale_charset()" (identifier "uVar6") (= "=") (call_expression "locale_charset()" (identifier "locale_charset") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);" (assignment_expression "iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4)" (identifier "iVar7") (= "=") (call_expression "c_strcasecmp(uVar6,puVar4 + -0x7cc4)" (identifier "c_strcasecmp") (argument_list "(uVar6,puVar4 + -0x7cc4)" (( "(") (identifier "uVar6") (, ",") (binary_expression "puVar4 + -0x7cc4" (identifier "puVar4") (+ "+") (number_literal "-0x7cc4")) () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }\n  else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar7 = 0;\n    iVar9 = param_1;\n    if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }\nLAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n    if (iVar8 == 0) {\n      return iVar9;\n    }\n    iVar8 = FUN_00025fcc(iVar5,param_1);\n    if (iVar8 != 0) {\n      return iVar5;\n    }\n    iVar12 = 0;\n    if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }\n    iVar7 = param_2;\n    if (iVar8 == 0) goto LAB_00026e04;\n  }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = param_1;" (assignment_expression "iVar9 = param_1" (identifier "iVar9") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (param_2 != 0) {\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar7 = param_2;\n      iVar9 = param_2;\n    }" ({ "{") (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" (identifier "iVar7") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar9 = param_2;" (assignment_expression "iVar9 = param_2" (identifier "iVar9") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (labeled_statement "LAB_00026b68:\n    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (statement_identifier "LAB_00026b68") (: ":") (expression_statement "iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_0005b5c4" (* "*") (cast_expression "(code *)PTR_strcmp_0005b5c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_0005b5c4"))) () ")")) (argument_list "(iVar5,param_1)" (( "(") (identifier "iVar5") (, ",") (identifier "param_1") () ")")))) (; ";"))) (if_statement "if (iVar8 == 0) {\n      return iVar9;\n    }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return iVar9;\n    }" ({ "{") (return_statement "return iVar9;" (return "return") (identifier "iVar9") (; ";")) (} "}"))) (expression_statement "iVar8 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar8 = FUN_00025fcc(iVar5,param_1)" (identifier "iVar8") (= "=") (call_expression "FUN_00025fcc(iVar5,param_1)" (identifier "FUN_00025fcc") (argument_list "(iVar5,param_1)" (( "(") (identifier "iVar5") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar8 != 0) {\n      return iVar5;\n    }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return iVar5;\n    }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}"))) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_2 == 0) {\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }\n    else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }\n    }" ({ "{") (labeled_statement "LAB_00026bac:\n      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" (statement_identifier "LAB_00026bac") (: ":") (if_statement "if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" (if "if") (parenthesized_expression "((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0))" (( "(") (binary_expression "(iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)" (( "(") (comma_expression "iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0" (assignment_expression "iVar7 = FUN_00025fcc(iVar5,iVar7)" (identifier "iVar7") (= "=") (call_expression "FUN_00025fcc(iVar5,iVar7)" (identifier "FUN_00025fcc") (argument_list "(iVar5,iVar7)" (( "(") (identifier "iVar5") (, ",") (identifier "iVar7") () ")")))) (, ",") (comma_expression "iVar8 = iVar12, iVar7 == 0" (assignment_expression "iVar8 = iVar12" (identifier "iVar8") (= "=") (identifier "iVar12")) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);\n        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);\n        iVar7 = xmalloc(iVar7 + iVar8 + 4);\n        (*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);\n        if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }\n        if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }\n        return iVar7;\n      }" ({ "{") (expression_statement "iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strlen_0005b4e4)(iVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" (( "(") (pointer_expression "*(code *)PTR_strlen_0005b4e4" (* "*") (cast_expression "(code *)PTR_strlen_0005b4e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0005b4e4"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (expression_statement "iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_strlen_0005b4e4)(iVar9)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" (( "(") (pointer_expression "*(code *)PTR_strlen_0005b4e4" (* "*") (cast_expression "(code *)PTR_strlen_0005b4e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0005b4e4"))) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")")))) (; ";")) (expression_statement "iVar7 = xmalloc(iVar7 + iVar8 + 4);" (assignment_expression "iVar7 = xmalloc(iVar7 + iVar8 + 4)" (identifier "iVar7") (= "=") (call_expression "xmalloc(iVar7 + iVar8 + 4)" (identifier "xmalloc") (argument_list "(iVar7 + iVar8 + 4)" (( "(") (binary_expression "iVar7 + iVar8 + 4" (binary_expression "iVar7 + iVar8" (identifier "iVar7") (+ "+") (identifier "iVar8")) (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);" (call_expression "(*(code *)PTR___sprintf_chk_0005b404)\n                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_0005b404)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_0005b404" (* "*") (cast_expression "(code *)PTR___sprintf_chk_0005b404" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_0005b404"))) () ")")) (argument_list "(iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9)" (( "(") (identifier "iVar7") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (binary_expression "PTR_DAT_0005b2cc + -0x7ccc" (identifier "PTR_DAT_0005b2cc") (+ "+") (number_literal "-0x7ccc")) (, ",") (identifier "iVar5") (, ",") (identifier "iVar9") () ")"))) (; ";")) (if_statement "if (iVar12 != 0) {\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }" (if "if") (parenthesized_expression "(iVar12 != 0)" (( "(") (binary_expression "iVar12 != 0" (identifier "iVar12") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_free_0005b59c)(iVar12);\n        }" ({ "{") (expression_statement "(*(code *)PTR_free_0005b59c)(iVar12);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar12)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" (( "(") (pointer_expression "*(code *)PTR_free_0005b59c" (* "*") (cast_expression "(code *)PTR_free_0005b59c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0005b59c"))) () ")")) (argument_list "(iVar12)" (( "(") (identifier "iVar12") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_free_0005b59c)(param_2);\n        }" ({ "{") (expression_statement "(*(code *)PTR_free_0005b59c)(param_2);" (call_expression "(*(code *)PTR_free_0005b59c)(param_2)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" (( "(") (pointer_expression "*(code *)PTR_free_0005b59c" (* "*") (cast_expression "(code *)PTR_free_0005b59c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0005b59c"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (return_statement "return iVar7;" (return "return") (identifier "iVar7") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" (else "else") (compound_statement "{\n      iVar8 = param_2;\n      param_2 = 0;\nLAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);\n      iVar8 = iVar12;\n      if (iVar11 == 0) goto LAB_00026bac;\n    }" ({ "{") (expression_statement "iVar8 = param_2;" (assignment_expression "iVar8 = param_2" (identifier "iVar8") (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" (identifier "param_2") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00026dd0:\n      iVar11 = FUN_00025fcc(iVar5,iVar8);" (statement_identifier "LAB_00026dd0") (: ":") (expression_statement "iVar11 = FUN_00025fcc(iVar5,iVar8);" (assignment_expression "iVar11 = FUN_00025fcc(iVar5,iVar8)" (identifier "iVar11") (= "=") (call_expression "FUN_00025fcc(iVar5,iVar8)" (identifier "FUN_00025fcc") (argument_list "(iVar5,iVar8)" (( "(") (identifier "iVar5") (, ",") (identifier "iVar8") () ")")))) (; ";"))) (expression_statement "iVar8 = iVar12;" (assignment_expression "iVar8 = iVar12" (identifier "iVar8") (= "=") (identifier "iVar12")) (; ";")) (if_statement "if (iVar11 == 0) goto LAB_00026bac;" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00026bac;" (goto "goto") (statement_identifier "LAB_00026bac") (; ";"))) (} "}")))) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" (identifier "iVar7") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (iVar8 == 0) goto LAB_00026e04;" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00026e04;" (goto "goto") (statement_identifier "LAB_00026e04") (; ";"))) (} "}")) (else_clause "else {\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" (else "else") (compound_statement "{\n    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);\n    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);\n    iVar9 = xmalloc(iVar7 + 0xb);\n    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);\n    puVar10 = (undefined4 *)(iVar9 + iVar7);\n    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);\n    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];\n    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];\n    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];\n    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);\n    puVar10[1] = uVar6;\n    *(undefined1 *)(puVar10 + 2) = uVar1;\n    *(undefined1 *)((int)puVar10 + 9) = uVar2;\n    *(undefined1 *)((int)puVar10 + 10) = uVar3;\n    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);\n    (*(code *)PTR_free_0005b59c)(iVar9);\n    iVar9 = iVar8;\n    iVar12 = iVar8;\n    if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }\n    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);\n    if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }\n    param_2 = iVar7;\n    if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }\n    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();\n    if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }\n    iVar11 = FUN_00025fcc(iVar5,param_1);\n    if (iVar11 == 0) goto LAB_00026dd0;\n  }" ({ "{") (expression_statement "iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);" (assignment_expression "iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6)" (identifier "iVar8") (= "=") (call_expression "xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6)" (identifier "xstr_iconv") (argument_list "(param_2,puVar4 + -0x7cc4,uVar6)" (( "(") (identifier "param_2") (, ",") (binary_expression "puVar4 + -0x7cc4" (identifier "puVar4") (+ "+") (number_literal "-0x7cc4")) (, ",") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strlen_0005b4e4)(uVar6)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" (( "(") (pointer_expression "*(code *)PTR_strlen_0005b4e4" (* "*") (cast_expression "(code *)PTR_strlen_0005b4e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0005b4e4"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "iVar9 = xmalloc(iVar7 + 0xb);" (assignment_expression "iVar9 = xmalloc(iVar7 + 0xb)" (identifier "iVar9") (= "=") (call_expression "xmalloc(iVar7 + 0xb)" (identifier "xmalloc") (argument_list "(iVar7 + 0xb)" (( "(") (binary_expression "iVar7 + 0xb" (identifier "iVar7") (+ "+") (number_literal "0xb")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);" (call_expression "(*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7)" (parenthesized_expression "(*(code *)PTR_memcpy_0005b590)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0005b590" (* "*") (cast_expression "(code *)PTR_memcpy_0005b590" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0005b590"))) () ")")) (argument_list "(iVar9,uVar6,iVar7)" (( "(") (identifier "iVar9") (, ",") (identifier "uVar6") (, ",") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "puVar10 = (undefined4 *)(iVar9 + iVar7);" (assignment_expression "puVar10 = (undefined4 *)(iVar9 + iVar7)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(iVar9 + iVar7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar7)" (( "(") (binary_expression "iVar9 + iVar7" (identifier "iVar9") (+ "+") (identifier "iVar7")) () ")")))) (; ";")) (expression_statement "uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);" (assignment_expression "uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0005b2cc + -0x7cb8)" (( "(") (binary_expression "PTR_DAT_0005b2cc + -0x7cb8" (identifier "PTR_DAT_0005b2cc") (+ "+") (number_literal "-0x7cb8")) () ")"))))) (; ";")) (expression_statement "uVar1 = PTR_DAT_0005b2cc[-0x7cb4];" (assignment_expression "uVar1 = PTR_DAT_0005b2cc[-0x7cb4]" (identifier "uVar1") (= "=") (subscript_expression "PTR_DAT_0005b2cc[-0x7cb4]" (identifier "PTR_DAT_0005b2cc") ([ "[") (number_literal "-0x7cb4") (] "]"))) (; ";")) (expression_statement "uVar2 = PTR_DAT_0005b2cc[-0x7cb3];" (assignment_expression "uVar2 = PTR_DAT_0005b2cc[-0x7cb3]" (identifier "uVar2") (= "=") (subscript_expression "PTR_DAT_0005b2cc[-0x7cb3]" (identifier "PTR_DAT_0005b2cc") ([ "[") (number_literal "-0x7cb3") (] "]"))) (; ";")) (expression_statement "uVar3 = PTR_DAT_0005b2cc[-0x7cb2];" (assignment_expression "uVar3 = PTR_DAT_0005b2cc[-0x7cb2]" (identifier "uVar3") (= "=") (subscript_expression "PTR_DAT_0005b2cc[-0x7cb2]" (identifier "PTR_DAT_0005b2cc") ([ "[") (number_literal "-0x7cb2") (] "]"))) (; ";")) (expression_statement "*puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);" (assignment_expression "*puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0005b2cc + -0x7cbc)" (( "(") (binary_expression "PTR_DAT_0005b2cc + -0x7cbc" (identifier "PTR_DAT_0005b2cc") (+ "+") (number_literal "-0x7cbc")) () ")"))))) (; ";")) (expression_statement "puVar10[1] = uVar6;" (assignment_expression "puVar10[1] = uVar6" (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "*(undefined1 *)(puVar10 + 2) = uVar1;" (assignment_expression "*(undefined1 *)(puVar10 + 2) = uVar1" (pointer_expression "*(undefined1 *)(puVar10 + 2)" (* "*") (cast_expression "(undefined1 *)(puVar10 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar10 + 9) = uVar2;" (assignment_expression "*(undefined1 *)((int)puVar10 + 9) = uVar2" (pointer_expression "*(undefined1 *)((int)puVar10 + 9)" (* "*") (cast_expression "(undefined1 *)((int)puVar10 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar10 + 9)" (( "(") (binary_expression "(int)puVar10 + 9" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "9")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar10 + 10) = uVar3;" (assignment_expression "*(undefined1 *)((int)puVar10 + 10) = uVar3" (pointer_expression "*(undefined1 *)((int)puVar10 + 10)" (* "*") (cast_expression "(undefined1 *)((int)puVar10 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar10 + 10)" (( "(") (binary_expression "(int)puVar10 + 10" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "10")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);" (assignment_expression "iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9)" (identifier "iVar7") (= "=") (call_expression "xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9)" (identifier "xstr_iconv") (argument_list "(param_2,puVar4 + -0x7cc4,iVar9)" (( "(") (identifier "param_2") (, ",") (binary_expression "puVar4 + -0x7cc4" (identifier "puVar4") (+ "+") (number_literal "-0x7cc4")) (, ",") (identifier "iVar9") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar9);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar9)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" (( "(") (pointer_expression "*(code *)PTR_free_0005b59c" (* "*") (cast_expression "(code *)PTR_free_0005b59c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0005b59c"))) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (expression_statement "iVar9 = iVar8;" (assignment_expression "iVar9 = iVar8" (identifier "iVar9") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" (identifier "iVar12") (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (iVar7 == 0) {\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }\n      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar7 == 0) {\n        return iVar8;\n      }\n      iVar7 = FUN_00025fcc(iVar5,param_1);\n      if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }\n      iVar7 = 0;\n      param_2 = iVar7;\n      goto LAB_00026dd0;\n    }" ({ "{") (labeled_statement "LAB_00026d78:\n      if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" (statement_identifier "LAB_00026d78") (: ":") (if_statement "if (iVar8 == 0) {\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = 0;\n        param_2 = 0;\n        iVar9 = param_1;\n        goto LAB_00026b68;\n      }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" (identifier "param_2") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = param_1;" (assignment_expression "iVar9 = param_1" (identifier "iVar9") (= "=") (identifier "param_1")) (; ";")) (goto_statement "goto LAB_00026b68;" (goto "goto") (statement_identifier "LAB_00026b68") (; ";")) (} "}")))) (expression_statement "iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_0005b5c4" (* "*") (cast_expression "(code *)PTR_strcmp_0005b5c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_0005b5c4"))) () ")")) (argument_list "(iVar5,param_1)" (( "(") (identifier "iVar5") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n        return iVar8;\n      }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return iVar8;\n      }" ({ "{") (return_statement "return iVar8;" (return "return") (identifier "iVar8") (; ";")) (} "}"))) (expression_statement "iVar7 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar7 = FUN_00025fcc(iVar5,param_1)" (identifier "iVar7") (= "=") (call_expression "FUN_00025fcc(iVar5,param_1)" (identifier "FUN_00025fcc") (argument_list "(iVar5,param_1)" (( "(") (identifier "iVar5") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = 0;\n        goto LAB_00026df4;\n      }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00026df4;" (goto "goto") (statement_identifier "LAB_00026df4") (; ";")) (} "}"))) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" (identifier "param_2") (= "=") (identifier "iVar7")) (; ";")) (goto_statement "goto LAB_00026dd0;" (goto "goto") (statement_identifier "LAB_00026dd0") (; ";")) (} "}"))) (expression_statement "iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f)" (parenthesized_expression "(*(code *)PTR_strchr_0005b4e8)" (( "(") (pointer_expression "*(code *)PTR_strchr_0005b4e8" (* "*") (cast_expression "(code *)PTR_strchr_0005b4e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0005b4e8"))) () ")")) (argument_list "(iVar7,0x3f)" (( "(") (identifier "iVar7") (, ",") (number_literal "0x3f") () ")")))) (; ";")) (if_statement "if (iVar11 != 0) {\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      goto LAB_00026d78;\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" (( "(") (pointer_expression "*(code *)PTR_free_0005b59c" (* "*") (cast_expression "(code *)PTR_free_0005b59c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0005b59c"))) () ")")) (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (goto_statement "goto LAB_00026d78;" (goto "goto") (statement_identifier "LAB_00026d78") (; ";")) (} "}"))) (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" (identifier "param_2") (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (iVar8 == 0) {\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);\n      if (iVar9 == 0) {\n        return iVar7;\n      }\n      iVar9 = FUN_00025fcc(iVar5,param_1);\n      if (iVar9 != 0) goto LAB_00026e04;\n      iVar12 = 0;\n      iVar9 = iVar7;\n      goto LAB_00026bac;\n    }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);" (assignment_expression "iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_0005b5c4" (* "*") (cast_expression "(code *)PTR_strcmp_0005b5c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_0005b5c4"))) () ")")) (argument_list "(iVar5,param_1)" (( "(") (identifier "iVar5") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n        return iVar7;\n      }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return iVar7;\n      }" ({ "{") (return_statement "return iVar7;" (return "return") (identifier "iVar7") (; ";")) (} "}"))) (expression_statement "iVar9 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar9 = FUN_00025fcc(iVar5,param_1)" (identifier "iVar9") (= "=") (call_expression "FUN_00025fcc(iVar5,param_1)" (identifier "FUN_00025fcc") (argument_list "(iVar5,param_1)" (( "(") (identifier "iVar5") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar9 != 0) goto LAB_00026e04;" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00026e04;" (goto "goto") (statement_identifier "LAB_00026e04") (; ";"))) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" (identifier "iVar9") (= "=") (identifier "iVar7")) (; ";")) (goto_statement "goto LAB_00026bac;" (goto "goto") (statement_identifier "LAB_00026bac") (; ";")) (} "}"))) (expression_statement "iVar11 = (*(code *)PTR_strcmp_0005b5c4)();" (assignment_expression "iVar11 = (*(code *)PTR_strcmp_0005b5c4)()" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_strcmp_0005b5c4)()" (parenthesized_expression "(*(code *)PTR_strcmp_0005b5c4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_0005b5c4" (* "*") (cast_expression "(code *)PTR_strcmp_0005b5c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_0005b5c4"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar11 == 0) {\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar8 == iVar7) {\n        return iVar8;\n      }\n      (*(code *)PTR_free_0005b59c)(iVar7);\n      return iVar8;\n    }" ({ "{") (if_statement "if (iVar8 == iVar7) {\n        return iVar8;\n      }" (if "if") (parenthesized_expression "(iVar8 == iVar7)" (( "(") (binary_expression "iVar8 == iVar7" (identifier "iVar8") (== "==") (identifier "iVar7")) () ")")) (compound_statement "{\n        return iVar8;\n      }" ({ "{") (return_statement "return iVar8;" (return "return") (identifier "iVar8") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" (( "(") (pointer_expression "*(code *)PTR_free_0005b59c" (* "*") (cast_expression "(code *)PTR_free_0005b59c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0005b59c"))) () ")")) (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (return_statement "return iVar8;" (return "return") (identifier "iVar8") (; ";")) (} "}"))) (expression_statement "iVar11 = FUN_00025fcc(iVar5,param_1);" (assignment_expression "iVar11 = FUN_00025fcc(iVar5,param_1)" (identifier "iVar11") (= "=") (call_expression "FUN_00025fcc(iVar5,param_1)" (identifier "FUN_00025fcc") (argument_list "(iVar5,param_1)" (( "(") (identifier "iVar5") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar11 == 0) goto LAB_00026dd0;" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00026dd0;" (goto "goto") (statement_identifier "LAB_00026dd0") (; ";"))) (} "}")))) (labeled_statement "LAB_00026df4:\n  (*(code *)PTR_free_0005b59c)(iVar8);" (statement_identifier "LAB_00026df4") (: ":") (expression_statement "(*(code *)PTR_free_0005b59c)(iVar8);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar8)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" (( "(") (pointer_expression "*(code *)PTR_free_0005b59c" (* "*") (cast_expression "(code *)PTR_free_0005b59c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0005b59c"))) () ")")) (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")"))) (; ";"))) (labeled_statement "LAB_00026e04:\n  if (iVar7 == 0) {\n    return iVar5;\n  }" (statement_identifier "LAB_00026e04") (: ":") (if_statement "if (iVar7 == 0) {\n    return iVar5;\n  }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return iVar5;\n  }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_free_0005b59c)(iVar7);" (call_expression "(*(code *)PTR_free_0005b59c)(iVar7)" (parenthesized_expression "(*(code *)PTR_free_0005b59c)" (( "(") (pointer_expression "*(code *)PTR_free_0005b59c" (* "*") (cast_expression "(code *)PTR_free_0005b59c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0005b59c"))) () ")")) (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x00026df4) */

char * function_1(char *name_ascii,char *var_7)

{
  type_1 *var_3;
  type_2 extraout_var;
  type_2 extraout_var_00;
  type_2 extraout_var_01;
  char *string;
  char *var_10;
  int var_4;
  type_3 _Var5;
  int var_11;
  char *pcVar6;
  
  var_3 = PTR_DAT_0005b2cc;
  string = (char *)(*(type_4 *)PTR_dcgettext_0005b568)(0,name_ascii,5);
  var_10 = var_1();
  var_4 = var_2(var_10,var_3 + -0x7cc4);
  if (var_4 != 0) {
    var_5(var_7,var_3 + -0x7cc4,var_10);
    var_4 = (*(type_4 *)PTR_strlen_0005b4e4)(var_10);
                    /* WARNING: Subroutine does not return */
    var_6(var_4 + 0xb);
  }
  var_10 = (char *)0x0;
  pcVar6 = name_ascii;
  if (var_7 != (char *)0x0) {
    var_10 = var_7;
    pcVar6 = var_7;
  }
  var_4 = (*(type_4 *)PTR_strcmp_0005b5c4)(string,name_ascii);
  if (var_4 == 0) {
    return pcVar6;
  }
  _Var5 = var_8(string,name_ascii);
  if (var_9(extraout_var,_Var5) != 0) {
    return string;
  }
  if (var_7 != (char *)0x0) {
    _Var5 = var_8(string,var_7);
    var_7 = (char *)0x0;
    if (var_9(extraout_var_01,_Var5) != 0) goto LAB_00026dec;
  }
  if ((var_10 == (char *)0x0) ||
     (_Var5 = var_8(string,var_10), var_9(extraout_var_00,_Var5) == 0)) {
    var_4 = (*(type_4 *)PTR_strlen_0005b4e4)(string);
    var_11 = (*(type_4 *)PTR_strlen_0005b4e4)(pcVar6);
                    /* WARNING: Subroutine does not return */
    var_6(var_4 + var_11 + 4);
  }
LAB_00026dec:
  if (var_7 == (char *)0x0) {
    return string;
  }
  (*(type_4 *)PTR_free_0005b59c)(var_7);
  return string;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (return_statement (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

int MASKED(int param_1,int param_2)

{
  undefined1 uVar1;
  undefined1 uVar2;
  undefined1 uVar3;
  undefined *puVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  undefined4 *puVar10;
  int iVar11;
  int iVar12;
  
  puVar4 = PTR_DAT_0005b2cc;
  iVar5 = (*(code *)PTR_dcgettext_0005b568)(0,param_1,5);
  uVar6 = locale_charset();
  iVar7 = c_strcasecmp(uVar6,puVar4 + -0x7cc4);
  if (iVar7 == 0) {
    iVar7 = 0;
    iVar9 = param_1;
    if (param_2 != 0) {
      iVar7 = param_2;
      iVar9 = param_2;
    }
LAB_00026b68:
    iVar8 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);
    if (iVar8 == 0) {
      return iVar9;
    }
    iVar8 = FUN_00025fcc(iVar5,param_1);
    if (iVar8 != 0) {
      return iVar5;
    }
    iVar12 = 0;
    if (param_2 == 0) {
LAB_00026bac:
      if ((iVar7 == 0) || (iVar7 = FUN_00025fcc(iVar5,iVar7), iVar8 = iVar12, iVar7 == 0)) {
        iVar7 = (*(code *)PTR_strlen_0005b4e4)(iVar5);
        iVar8 = (*(code *)PTR_strlen_0005b4e4)(iVar9);
        iVar7 = xmalloc(iVar7 + iVar8 + 4);
        (*(code *)PTR___sprintf_chk_0005b404)
                  (iVar7,1,0xffffffff,PTR_DAT_0005b2cc + -0x7ccc,iVar5,iVar9);
        if (iVar12 != 0) {
          (*(code *)PTR_free_0005b59c)(iVar12);
        }
        if (param_2 != 0) {
          (*(code *)PTR_free_0005b59c)(param_2);
        }
        return iVar7;
      }
    }
    else {
      iVar8 = param_2;
      param_2 = 0;
LAB_00026dd0:
      iVar11 = FUN_00025fcc(iVar5,iVar8);
      iVar8 = iVar12;
      if (iVar11 == 0) goto LAB_00026bac;
    }
    iVar7 = param_2;
    if (iVar8 == 0) goto LAB_00026e04;
  }
  else {
    iVar8 = xstr_iconv(param_2,puVar4 + -0x7cc4,uVar6);
    iVar7 = (*(code *)PTR_strlen_0005b4e4)(uVar6);
    iVar9 = xmalloc(iVar7 + 0xb);
    (*(code *)PTR_memcpy_0005b590)(iVar9,uVar6,iVar7);
    puVar10 = (undefined4 *)(iVar9 + iVar7);
    uVar6 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cb8);
    uVar1 = PTR_DAT_0005b2cc[-0x7cb4];
    uVar2 = PTR_DAT_0005b2cc[-0x7cb3];
    uVar3 = PTR_DAT_0005b2cc[-0x7cb2];
    *puVar10 = *(undefined4 *)(PTR_DAT_0005b2cc + -0x7cbc);
    puVar10[1] = uVar6;
    *(undefined1 *)(puVar10 + 2) = uVar1;
    *(undefined1 *)((int)puVar10 + 9) = uVar2;
    *(undefined1 *)((int)puVar10 + 10) = uVar3;
    iVar7 = xstr_iconv(param_2,puVar4 + -0x7cc4,iVar9);
    (*(code *)PTR_free_0005b59c)(iVar9);
    iVar9 = iVar8;
    iVar12 = iVar8;
    if (iVar7 == 0) {
LAB_00026d78:
      if (iVar8 == 0) {
        iVar7 = 0;
        param_2 = 0;
        iVar9 = param_1;
        goto LAB_00026b68;
      }
      iVar7 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);
      if (iVar7 == 0) {
        return iVar8;
      }
      iVar7 = FUN_00025fcc(iVar5,param_1);
      if (iVar7 != 0) {
        iVar7 = 0;
        goto LAB_00026df4;
      }
      iVar7 = 0;
      param_2 = iVar7;
      goto LAB_00026dd0;
    }
    iVar11 = (*(code *)PTR_strchr_0005b4e8)(iVar7,0x3f);
    if (iVar11 != 0) {
      (*(code *)PTR_free_0005b59c)(iVar7);
      goto LAB_00026d78;
    }
    param_2 = iVar7;
    if (iVar8 == 0) {
      iVar9 = (*(code *)PTR_strcmp_0005b5c4)(iVar5,param_1);
      if (iVar9 == 0) {
        return iVar7;
      }
      iVar9 = FUN_00025fcc(iVar5,param_1);
      if (iVar9 != 0) goto LAB_00026e04;
      iVar12 = 0;
      iVar9 = iVar7;
      goto LAB_00026bac;
    }
    iVar11 = (*(code *)PTR_strcmp_0005b5c4)();
    if (iVar11 == 0) {
      if (iVar8 == iVar7) {
        return iVar8;
      }
      (*(code *)PTR_free_0005b59c)(iVar7);
      return iVar8;
    }
    iVar11 = FUN_00025fcc(iVar5,param_1);
    if (iVar11 == 0) goto LAB_00026dd0;
  }
LAB_00026df4:
  (*(code *)PTR_free_0005b59c)(iVar8);
LAB_00026e04:
  if (iVar7 == 0) {
    return iVar5;
  }
  (*(code *)PTR_free_0005b59c)(iVar7);
  return iVar5;
}

