
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* std::locale::name() const */

string * std::locale::name(void)

{
  undefined4 *puVar1;
  char *pcVar2;
  char *__s2;
  int iVar3;
  undefined *puVar4;
  undefined *puVar5;
  int iVar6;
  size_t sVar7;
  char *__s1;
  uint uVar8;
  string *in_stack_00000004;
  int *in_stack_00000008;
  int local_34;
  
  *(undefined **)in_stack_00000004 = &DAT_00309e0c;
  puVar1 = *(undefined4 **)(*in_stack_00000008 + 0x10);
  pcVar2 = (char *)*puVar1;
  if (pcVar2 == (char *)0x0) {
    std::string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');
    return in_stack_00000004;
  }
  if (puVar1[1] != 0) {
    uVar8 = 0;
    __s1 = pcVar2;
    do {
      uVar8 = uVar8 + 1;
      __s2 = (char *)puVar1[uVar8];
      iVar6 = strcmp(__s1,__s2);
      __s1 = __s2;
    } while (uVar8 < 0xb && iVar6 == 0);
    if (iVar6 != 0) {
                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */
      std::string::reserve(in_stack_00000004,0x80);
      puVar5 = _S_categories;
      pcVar2 = *(char **)_S_categories;
      sVar7 = strlen(pcVar2);
      std::string::append(in_stack_00000004,pcVar2,sVar7);
      iVar6 = *(int *)in_stack_00000004;
      iVar3 = *(int *)(iVar6 + -0xc);
      uVar8 = iVar3 + 1;
      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
        std::string::reserve(in_stack_00000004,uVar8);
      }
      *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d
      ;
      puVar4 = *(undefined **)in_stack_00000004;
      if (puVar4 != &DAT_00309e0c) {
        *(undefined4 *)(puVar4 + -4) = 0;
        *(uint *)(puVar4 + -0xc) = uVar8;
        puVar4[iVar3 + 1] = 0;
      }
      pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);
      sVar7 = strlen(pcVar2);
      std::string::append(in_stack_00000004,pcVar2,sVar7);
      local_34 = 4;
      do {
        iVar6 = *(int *)in_stack_00000004;
        iVar3 = *(int *)(iVar6 + -0xc);
        uVar8 = iVar3 + 1;
        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
          std::string::reserve(in_stack_00000004,uVar8);
        }
        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =
             0x3b;
        puVar4 = *(undefined **)in_stack_00000004;
        if (puVar4 != &DAT_00309e0c) {
          *(undefined4 *)(puVar4 + -4) = 0;
          *(uint *)(puVar4 + -0xc) = uVar8;
          puVar4[iVar3 + 1] = 0;
        }
        pcVar2 = *(char **)(puVar5 + local_34);
        sVar7 = strlen(pcVar2);
        std::string::append(in_stack_00000004,pcVar2,sVar7);
        iVar6 = *(int *)in_stack_00000004;
        iVar3 = *(int *)(iVar6 + -0xc);
        uVar8 = iVar3 + 1;
        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
          std::string::reserve(in_stack_00000004,uVar8);
        }
        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =
             0x3d;
        puVar4 = *(undefined **)in_stack_00000004;
        if (puVar4 != &DAT_00309e0c) {
          *(undefined4 *)(puVar4 + -4) = 0;
          *(uint *)(puVar4 + -0xc) = uVar8;
          puVar4[iVar3 + 1] = 0;
        }
        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);
        sVar7 = strlen(pcVar2);
        std::string::append(in_stack_00000004,pcVar2,sVar7);
        local_34 = local_34 + 4;
      } while (local_34 != 0x30);
      return in_stack_00000004;
    }
  }
  sVar7 = strlen(pcVar2);
  std::string::assign(in_stack_00000004,pcVar2,sVar7);
  return in_stack_00000004;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int * FUN_00206d90(int *param_1,int *param_2)

{
  undefined4 *puVar1;
  char *pcVar2;
  char *__s2;
  int iVar3;
  undefined *puVar4;
  undefined *puVar5;
  int iVar6;
  size_t sVar7;
  char *__s1;
  uint uVar8;
  int local_34;
  
  *param_1 = (int)&DAT_00309e0c;
  puVar1 = *(undefined4 **)(*param_2 + 0x10);
  pcVar2 = (char *)*puVar1;
  if (pcVar2 == (char *)0x0) {
    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);
    return param_1;
  }
  if (puVar1[1] != 0) {
    uVar8 = 0;
    __s1 = pcVar2;
    do {
      uVar8 = uVar8 + 1;
      __s2 = (char *)puVar1[uVar8];
      iVar6 = strcmp(__s1,__s2);
      __s1 = __s2;
    } while (uVar8 < 0xb && iVar6 == 0);
    if (iVar6 != 0) {
                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */
      FUN_001b9450(param_1,0x80);
      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;
      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;
      sVar7 = strlen(pcVar2);
      FUN_001b9740(param_1,pcVar2,sVar7);
      iVar6 = *param_1;
      iVar3 = *(int *)(iVar6 + -0xc);
      uVar8 = iVar3 + 1;
      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
        FUN_001b9450(param_1,uVar8);
      }
      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;
      puVar4 = (undefined *)*param_1;
      if (puVar4 != &DAT_00309e0c) {
        *(undefined4 *)(puVar4 + -4) = 0;
        *(uint *)(puVar4 + -0xc) = uVar8;
        puVar4[iVar3 + 1] = 0;
      }
      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);
      sVar7 = strlen(pcVar2);
      FUN_001b9740(param_1,pcVar2,sVar7);
      local_34 = 4;
      do {
        iVar6 = *param_1;
        iVar3 = *(int *)(iVar6 + -0xc);
        uVar8 = iVar3 + 1;
        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
          FUN_001b9450(param_1,uVar8);
        }
        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;
        puVar4 = (undefined *)*param_1;
        if (puVar4 != &DAT_00309e0c) {
          *(undefined4 *)(puVar4 + -4) = 0;
          *(uint *)(puVar4 + -0xc) = uVar8;
          puVar4[iVar3 + 1] = 0;
        }
        pcVar2 = *(char **)(puVar5 + local_34);
        sVar7 = strlen(pcVar2);
        FUN_001b9740(param_1,pcVar2,sVar7);
        iVar6 = *param_1;
        iVar3 = *(int *)(iVar6 + -0xc);
        uVar8 = iVar3 + 1;
        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
          FUN_001b9450(param_1,uVar8);
        }
        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;
        puVar4 = (undefined *)*param_1;
        if (puVar4 != &DAT_00309e0c) {
          *(undefined4 *)(puVar4 + -4) = 0;
          *(uint *)(puVar4 + -0xc) = uVar8;
          puVar4[iVar3 + 1] = 0;
        }
        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);
        sVar7 = strlen(pcVar2);
        FUN_001b9740(param_1,pcVar2,sVar7);
        local_34 = local_34 + 4;
      } while (local_34 != 0x30);
      return param_1;
    }
  }
  sVar7 = strlen(pcVar2);
  FUN_001b8e90(param_1,pcVar2,sVar7);
  return param_1;
}


CALL 0x0004fb76
ADD EAX,0xfb26b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x3c
MOV dword ptr [EBP + -0x2c],EAX
LEA EAX,[EAX + 0x7e00]
MOV ESI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x34],EAX
ADD EAX,0xc
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBP + 0xc]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x10]
MOV EDI,EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [EBP + -0x38],EAX
TEST EAX,EAX
JZ 0x00207020
MOV ECX,dword ptr [EDI + 0x4]
MOV EAX,EDI
TEST ECX,ECX
JZ 0x00206fd0
MOV dword ptr [EBP + -0x30],EAX
MOV EDX,dword ptr [EBP + -0x38]
XOR EDI,EDI
MOV dword ptr [EBP + 0x8],ESI
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV EAX,dword ptr [EBP + -0x30]
ADD EDI,0x1
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x2c]
MOV ESI,dword ptr [EAX + EDI*0x4]
PUSH ESI
PUSH EDX
CALL 0x00026b10
ADD ESP,0x10
CMP EDI,0xa
MOV EDX,ESI
SETA BL
TEST EAX,EAX
SETNZ CL
OR BL,CL
JZ 0x00206df0
MOV ESI,dword ptr [EBP + 0x8]
TEST EAX,EAX
JZ 0x00206fd0
SUB ESP,0x8
MOV EDI,dword ptr [EBP + -0x2c]
PUSH 0x80
PUSH ESI
MOV EBX,EDI
CALL 0x001b9450
LEA EAX,[EDI + 0xffff92a0]
MOV dword ptr [EBP + -0x2c],EBX
MOV EAX,dword ptr [EAX]
MOV EDI,dword ptr [EAX]
MOV dword ptr [EBP + -0x3c],EAX
MOV dword ptr [ESP],EDI
CALL 0x000265f0
ADD ESP,0xc
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x001b9740
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
MOV EDI,dword ptr [EAX + -0xc]
MOV dword ptr [EBP + -0x30],EDI
ADD EDI,0x1
CMP EDI,dword ptr [EAX + -0x8]
JBE 0x00206fc0
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x2c]
PUSH EDI
PUSH ESI
CALL 0x001b9450
ADD ESP,0x10
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [EAX + -0xc]
MOV byte ptr [EAX + EDX*0x1],0x3d
MOV EAX,dword ptr [ESI]
LEA EDX,[EAX + -0xc]
CMP EDX,dword ptr [EBP + -0x34]
JNZ 0x00207046
MOV EAX,dword ptr [EBP + 0xc]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x2c]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x10]
MOV EDI,dword ptr [EAX]
PUSH EDI
CALL 0x000265f0
ADD ESP,0xc
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x001b9740
ADD ESP,0x10
MOV dword ptr [EBP + -0x30],0x4
JMP 0x00206f69
MOV EAX,dword ptr [EBP + -0x3c]
MOV ECX,dword ptr [EBP + -0x30]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x2c]
MOV EDI,dword ptr [EAX + ECX*0x1]
PUSH EDI
CALL 0x000265f0
ADD ESP,0xc
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x001b9740
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
MOV EBX,dword ptr [EAX + -0xc]
MOV dword ptr [EBP + -0x38],EBX
LEA EDI,[EBX + 0x1]
CMP EDI,dword ptr [EAX + -0x8]
JA 0x00206f0a
MOV EAX,dword ptr [EAX + -0x4]
TEST EAX,EAX
JLE 0x00206f1a
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x2c]
PUSH EDI
PUSH ESI
CALL 0x001b9450
ADD ESP,0x10
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [EAX + -0xc]
MOV byte ptr [EAX + EDX*0x1],0x3d
MOV EAX,dword ptr [ESI]
LEA EDX,[EAX + -0xc]
CMP EDX,dword ptr [EBP + -0x34]
JNZ 0x00207000
MOV EAX,dword ptr [EBP + 0xc]
MOV ECX,dword ptr [EBP + -0x30]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x2c]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x10]
MOV EDI,dword ptr [EAX + ECX*0x1]
PUSH EDI
CALL 0x000265f0
ADD ESP,0xc
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x001b9740
ADD dword ptr [EBP + -0x30],0x4
MOV ECX,dword ptr [EBP + -0x30]
ADD ESP,0x10
CMP ECX,0x30
JZ 0x00206ff0
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [EAX + -0xc]
MOV dword ptr [EBP + -0x38],EDX
LEA EDI,[EDX + 0x1]
CMP EDI,dword ptr [EAX + -0x8]
JA 0x00206f80
MOV EAX,dword ptr [EAX + -0x4]
TEST EAX,EAX
JLE 0x00206f90
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x2c]
PUSH EDI
PUSH ESI
CALL 0x001b9450
ADD ESP,0x10
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [EAX + -0xc]
MOV byte ptr [EAX + EDX*0x1],0x3b
MOV EAX,dword ptr [ESI]
LEA EDX,[EAX + -0xc]
CMP EDX,dword ptr [EBP + -0x34]
JZ 0x00206ed0
MOV dword ptr [EAX + -0x4],0x0
MOV dword ptr [EAX + -0xc],EDI
MOV EAX,dword ptr [EBP + -0x38]
MOV byte ptr [EDX + EAX*0x1 + 0xd],0x0
JMP 0x00206ed0
MOV EAX,dword ptr [EAX + -0x4]
TEST EAX,EAX
JG 0x00206e72
JMP 0x00206e82
SUB ESP,0xc
MOV EDI,dword ptr [EBP + -0x2c]
PUSH dword ptr [EBP + -0x38]
MOV EBX,EDI
CALL 0x000265f0
ADD ESP,0xc
PUSH EAX
PUSH dword ptr [EBP + -0x38]
PUSH ESI
CALL 0x001b8e90
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV dword ptr [EAX + -0x4],0x0
MOV dword ptr [EAX + -0xc],EDI
MOV EAX,dword ptr [EBP + -0x38]
MOV byte ptr [EDX + EAX*0x1 + 0xd],0x0
JMP 0x00206f31
MOV EAX,dword ptr [EBP + -0x34]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x2c]
PUSH 0x2a
PUSH 0x1
PUSH dword ptr [EAX]
PUSH 0x0
PUSH ESI
CALL 0x001b8b80
ADD ESP,0x20
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV dword ptr [EAX + -0x4],0x0
MOV dword ptr [EAX + -0xc],EDI
MOV EAX,dword ptr [EBP + -0x30]
MOV byte ptr [EDX + EAX*0x1 + 0xd],0x0
JMP 0x00206e99
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint * FUN_00206d90(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  int local_34;\n  \n  *param_1 = (int)&DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*param_2 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  FUN_001b8e90(param_1,pcVar2,sVar7);\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_00206d90(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  int local_34;\n  \n  *param_1 = (int)&DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*param_2 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  FUN_001b8e90(param_1,pcVar2,sVar7);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00206d90(int *param_1,int *param_2)" * (function_declarator "FUN_00206d90(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  int local_34;\n  \n  *param_1 = (int)&DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*param_2 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  FUN_001b8e90(param_1,pcVar2,sVar7);\n  return param_1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (expression_statement "*param_1 = (int)&DAT_00309e0c;" (assignment_expression "*param_1 = (int)&DAT_00309e0c" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)&DAT_00309e0c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_00309e0c" & identifier))) ;) (expression_statement "puVar1 = *(undefined4 **)(*param_2 + 0x10);" (assignment_expression "puVar1 = *(undefined4 **)(*param_2 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" * (cast_expression "(undefined4 **)(*param_2 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "pcVar2 = (char *)*puVar1;" (assignment_expression "pcVar2 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }" if (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)) )) (compound_statement "{\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }" { (expression_statement "FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);" (call_expression "FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a)" identifier (argument_list "(param_1,0,DAT_00309e00,1,0x2a)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })) (if_statement "if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }" if (parenthesized_expression "(puVar1[1] != 0)" ( (binary_expression "puVar1[1] != 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "__s1 = pcVar2;" (assignment_expression "__s1 = pcVar2" identifier = identifier) ;) (do_statement "do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);" do (compound_statement "{\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    }" { (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "__s2 = (char *)puVar1[uVar8];" (assignment_expression "__s2 = (char *)puVar1[uVar8]" identifier = (cast_expression "(char *)puVar1[uVar8]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[uVar8]" identifier [ identifier ]))) ;) (expression_statement "iVar6 = strcmp(__s1,__s2);" (assignment_expression "iVar6 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (expression_statement "__s1 = __s2;" (assignment_expression "__s1 = __s2" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 < 0xb && iVar6 == 0)" ( (binary_expression "uVar8 < 0xb && iVar6 == 0" (binary_expression "uVar8 < 0xb" identifier < number_literal) && (binary_expression "iVar6 == 0" identifier == number_literal)) )) ;) (if_statement "if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }" { comment (expression_statement "FUN_001b9450(param_1,0x80);" (call_expression "FUN_001b9450(param_1,0x80)" identifier (argument_list "(param_1,0x80)" ( identifier , number_literal ))) ;) (expression_statement "puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;" (assignment_expression "puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0" identifier = identifier) ;) (expression_statement "pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;" (assignment_expression "pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" identifier = (pointer_expression "*(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" * (cast_expression "(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n        FUN_001b9450(param_1,uVar8);\n      }" { (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" identifier (argument_list "(param_1,uVar8)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" * (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" * identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" identifier = (cast_expression "(undefined *)*param_1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);" (assignment_expression "pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10)" identifier = (cast_expression "(char *)**(undefined4 **)(*param_2 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(*param_2 + 0x10)" * (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" * (cast_expression "(undefined4 **)(*param_2 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) ))))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_34 = 4;" (assignment_expression "local_34 = 4" identifier = number_literal) ;) (do_statement "do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);" do (compound_statement "{\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      }" { (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          FUN_001b9450(param_1,uVar8);\n        }" { (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" identifier (argument_list "(param_1,uVar8)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" * (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" * identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" identifier = (cast_expression "(undefined *)*param_1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = *(char **)(puVar5 + local_34);" (assignment_expression "pcVar2 = *(char **)(puVar5 + local_34)" identifier = (pointer_expression "*(char **)(puVar5 + local_34)" * (cast_expression "(char **)(puVar5 + local_34)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + local_34)" ( (binary_expression "puVar5 + local_34" identifier + identifier) ))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          FUN_001b9450(param_1,uVar8);\n        }" { (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" identifier (argument_list "(param_1,uVar8)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" * (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" * identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" identifier = (cast_expression "(undefined *)*param_1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);" (assignment_expression "pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34)" identifier = (pointer_expression "*(char **)(*(int *)(*param_2 + 0x10) + local_34)" * (cast_expression "(char **)(*(int *)(*param_2 + 0x10) + local_34)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(*param_2 + 0x10) + local_34)" ( (binary_expression "*(int *)(*param_2 + 0x10) + local_34" (pointer_expression "*(int *)(*param_2 + 0x10)" * (cast_expression "(int *)(*param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) )))) + identifier) ))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_34 = local_34 + 4;" (assignment_expression "local_34 = local_34 + 4" identifier = (binary_expression "local_34 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_34 != 0x30)" ( (binary_expression "local_34 != 0x30" identifier != number_literal) )) ;) (return_statement "return param_1;" return identifier ;) })) })) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b8e90(param_1,pcVar2,sVar7);" (call_expression "FUN_001b8e90(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* std::locale::name() const */\n\nstring * std::locale::name(void)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  string *in_stack_00000004;\n  int *in_stack_00000008;\n  int local_34;\n  \n  *(undefined **)in_stack_00000004 = &DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*in_stack_00000008 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    std::string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');\n    return in_stack_00000004;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      std::string::reserve(in_stack_00000004,0x80);\n      puVar5 = _S_categories;\n      pcVar2 = *(char **)_S_categories;\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      iVar6 = *(int *)in_stack_00000004;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        std::string::reserve(in_stack_00000004,uVar8);\n      }\n      *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d\n      ;\n      puVar4 = *(undefined **)in_stack_00000004;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return in_stack_00000004;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  std::string::assign(in_stack_00000004,pcVar2,sVar7);\n  return in_stack_00000004;\n}\n\n" comment comment (ERROR "string * std::" (binary_expression "string * std" identifier * identifier) : :) (labeled_statement "locale::name(void)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  string *in_stack_00000004;\n  int *in_stack_00000008;\n  int local_34;\n  \n  *(undefined **)in_stack_00000004 = &DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*in_stack_00000008 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    std::string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');\n    return in_stack_00000004;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      std::string::reserve(in_stack_00000004,0x80);\n      puVar5 = _S_categories;\n      pcVar2 = *(char **)_S_categories;\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      iVar6 = *(int *)in_stack_00000004;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        std::string::reserve(in_stack_00000004,uVar8);\n      }\n      *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d\n      ;\n      puVar4 = *(undefined **)in_stack_00000004;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return in_stack_00000004;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  std::string::assign(in_stack_00000004,pcVar2,sVar7);\n  return in_stack_00000004;\n}" statement_identifier : (ERROR ":name(void)" : (macro_type_specifier "name(void)" identifier ( (type_descriptor "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  string *in_stack_00000004;\n  int *in_stack_00000008;\n  int local_34;\n  \n  *(undefined **)in_stack_00000004 = &DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*in_stack_00000008 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    std::string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');\n    return in_stack_00000004;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      std::string::reserve(in_stack_00000004,0x80);\n      puVar5 = _S_categories;\n      pcVar2 = *(char **)_S_categories;\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      iVar6 = *(int *)in_stack_00000004;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        std::string::reserve(in_stack_00000004,uVar8);\n      }\n      *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d\n      ;\n      puVar4 = *(undefined **)in_stack_00000004;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return in_stack_00000004;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  std::string::assign(in_stack_00000004,pcVar2,sVar7);\n  return in_stack_00000004;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "string *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "int *in_stack_00000008;" primitive_type (pointer_declarator "*in_stack_00000008" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (expression_statement "*(undefined **)in_stack_00000004 = &DAT_00309e0c;" (assignment_expression "*(undefined **)in_stack_00000004 = &DAT_00309e0c" (pointer_expression "*(undefined **)in_stack_00000004" * (cast_expression "(undefined **)in_stack_00000004" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (pointer_expression "&DAT_00309e0c" & identifier)) ;) (expression_statement "puVar1 = *(undefined4 **)(*in_stack_00000008 + 0x10);" (assignment_expression "puVar1 = *(undefined4 **)(*in_stack_00000008 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*in_stack_00000008 + 0x10)" * (cast_expression "(undefined4 **)(*in_stack_00000008 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*in_stack_00000008 + 0x10)" ( (binary_expression "*in_stack_00000008 + 0x10" (pointer_expression "*in_stack_00000008" * identifier) + number_literal) ))))) ;) (expression_statement "pcVar2 = (char *)*puVar1;" (assignment_expression "pcVar2 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    std::string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');\n    return in_stack_00000004;\n  }" if (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)) )) (compound_statement "{\n    std::string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');\n    return in_stack_00000004;\n  }" { (labeled_statement "std::string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');" statement_identifier (ERROR "::_M_replace_aux(in_stack_00000004,0,std:" : : identifier ( identifier , number_literal , identifier :) : (labeled_statement "string::_Rep::_S_empty_rep_storage,1,'*');" statement_identifier : (ERROR ":" :) (labeled_statement "_Rep::_S_empty_rep_storage,1,'*');" statement_identifier : (ERROR ":" :) (expression_statement "_S_empty_rep_storage,1,'*');" (comma_expression "_S_empty_rep_storage,1,'*'" identifier , (comma_expression "1,'*'" number_literal , (char_literal "'*'" ' character '))) (ERROR ")" )) ;))))) (return_statement "return in_stack_00000004;" return identifier ;) })) (if_statement "if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      std::string::reserve(in_stack_00000004,0x80);\n      puVar5 = _S_categories;\n      pcVar2 = *(char **)_S_categories;\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      iVar6 = *(int *)in_stack_00000004;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        std::string::reserve(in_stack_00000004,uVar8);\n      }\n      *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d\n      ;\n      puVar4 = *(undefined **)in_stack_00000004;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return in_stack_00000004;\n    }\n  }" if (parenthesized_expression "(puVar1[1] != 0)" ( (binary_expression "puVar1[1] != 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      std::string::reserve(in_stack_00000004,0x80);\n      puVar5 = _S_categories;\n      pcVar2 = *(char **)_S_categories;\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      iVar6 = *(int *)in_stack_00000004;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        std::string::reserve(in_stack_00000004,uVar8);\n      }\n      *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d\n      ;\n      puVar4 = *(undefined **)in_stack_00000004;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return in_stack_00000004;\n    }\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "__s1 = pcVar2;" (assignment_expression "__s1 = pcVar2" identifier = identifier) ;) (do_statement "do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);" do (compound_statement "{\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    }" { (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "__s2 = (char *)puVar1[uVar8];" (assignment_expression "__s2 = (char *)puVar1[uVar8]" identifier = (cast_expression "(char *)puVar1[uVar8]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[uVar8]" identifier [ identifier ]))) ;) (expression_statement "iVar6 = strcmp(__s1,__s2);" (assignment_expression "iVar6 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (expression_statement "__s1 = __s2;" (assignment_expression "__s1 = __s2" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 < 0xb && iVar6 == 0)" ( (binary_expression "uVar8 < 0xb && iVar6 == 0" (binary_expression "uVar8 < 0xb" identifier < number_literal) && (binary_expression "iVar6 == 0" identifier == number_literal)) )) ;) (if_statement "if (iVar6 != 0) {\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      std::string::reserve(in_stack_00000004,0x80);\n      puVar5 = _S_categories;\n      pcVar2 = *(char **)_S_categories;\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      iVar6 = *(int *)in_stack_00000004;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        std::string::reserve(in_stack_00000004,uVar8);\n      }\n      *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d\n      ;\n      puVar4 = *(undefined **)in_stack_00000004;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return in_stack_00000004;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */\n      std::string::reserve(in_stack_00000004,0x80);\n      puVar5 = _S_categories;\n      pcVar2 = *(char **)_S_categories;\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      iVar6 = *(int *)in_stack_00000004;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        std::string::reserve(in_stack_00000004,uVar8);\n      }\n      *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d\n      ;\n      puVar4 = *(undefined **)in_stack_00000004;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);\n      sVar7 = strlen(pcVar2);\n      std::string::append(in_stack_00000004,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return in_stack_00000004;\n    }" { comment (labeled_statement "std::string::reserve(in_stack_00000004,0x80);" statement_identifier : (ERROR ":" :) (labeled_statement "string::reserve(in_stack_00000004,0x80);" statement_identifier : (ERROR ":" :) (expression_statement "reserve(in_stack_00000004,0x80);" (call_expression "reserve(in_stack_00000004,0x80)" identifier (argument_list "(in_stack_00000004,0x80)" ( identifier , number_literal ))) ;))) (expression_statement "puVar5 = _S_categories;" (assignment_expression "puVar5 = _S_categories" identifier = identifier) ;) (expression_statement "pcVar2 = *(char **)_S_categories;" (assignment_expression "pcVar2 = *(char **)_S_categories" identifier = (pointer_expression "*(char **)_S_categories" * (cast_expression "(char **)_S_categories" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (labeled_statement "std::string::append(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (expression_statement "append(in_stack_00000004,pcVar2,sVar7);" (call_expression "append(in_stack_00000004,pcVar2,sVar7)" identifier (argument_list "(in_stack_00000004,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;))) (expression_statement "iVar6 = *(int *)in_stack_00000004;" (assignment_expression "iVar6 = *(int *)in_stack_00000004" identifier = (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        std::string::reserve(in_stack_00000004,uVar8);\n      }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n        std::string::reserve(in_stack_00000004,uVar8);\n      }" { (labeled_statement "std::string::reserve(in_stack_00000004,uVar8);" statement_identifier : (ERROR ":" :) (labeled_statement "string::reserve(in_stack_00000004,uVar8);" statement_identifier : (ERROR ":" :) (expression_statement "reserve(in_stack_00000004,uVar8);" (call_expression "reserve(in_stack_00000004,uVar8)" identifier (argument_list "(in_stack_00000004,uVar8)" ( identifier , identifier ))) ;))) })) (expression_statement "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d\n      ;" (assignment_expression "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d" (pointer_expression "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" * (cast_expression "(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" ( (binary_expression "*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)" (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (pointer_expression "*(int *)(*(int *)in_stack_00000004 + -0xc)" * (cast_expression "(int *)(*(int *)in_stack_00000004 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)in_stack_00000004 + -0xc)" ( (binary_expression "*(int *)in_stack_00000004 + -0xc" (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = *(undefined **)in_stack_00000004;" (assignment_expression "puVar4 = *(undefined **)in_stack_00000004" identifier = (pointer_expression "*(undefined **)in_stack_00000004" * (cast_expression "(undefined **)in_stack_00000004" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10);" (assignment_expression "pcVar2 = (char *)**(undefined4 **)(*in_stack_00000008 + 0x10)" identifier = (cast_expression "(char *)**(undefined4 **)(*in_stack_00000008 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(*in_stack_00000008 + 0x10)" * (pointer_expression "*(undefined4 **)(*in_stack_00000008 + 0x10)" * (cast_expression "(undefined4 **)(*in_stack_00000008 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*in_stack_00000008 + 0x10)" ( (binary_expression "*in_stack_00000008 + 0x10" (pointer_expression "*in_stack_00000008" * identifier) + number_literal) ))))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (labeled_statement "std::string::append(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (expression_statement "append(in_stack_00000004,pcVar2,sVar7);" (call_expression "append(in_stack_00000004,pcVar2,sVar7)" identifier (argument_list "(in_stack_00000004,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;))) (expression_statement "local_34 = 4;" (assignment_expression "local_34 = 4" identifier = number_literal) ;) (do_statement "do {\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);" do (compound_statement "{\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        iVar6 = *(int *)in_stack_00000004;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }\n        *(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;\n        puVar4 = *(undefined **)in_stack_00000004;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        std::string::append(in_stack_00000004,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      }" { (expression_statement "iVar6 = *(int *)in_stack_00000004;" (assignment_expression "iVar6 = *(int *)in_stack_00000004" identifier = (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          std::string::reserve(in_stack_00000004,uVar8);\n        }" { (labeled_statement "std::string::reserve(in_stack_00000004,uVar8);" statement_identifier : (ERROR ":" :) (labeled_statement "string::reserve(in_stack_00000004,uVar8);" statement_identifier : (ERROR ":" :) (expression_statement "reserve(in_stack_00000004,uVar8);" (call_expression "reserve(in_stack_00000004,uVar8)" identifier (argument_list "(in_stack_00000004,uVar8)" ( identifier , identifier ))) ;))) })) (expression_statement "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b;" (assignment_expression "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3b" (pointer_expression "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" * (cast_expression "(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" ( (binary_expression "*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)" (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (pointer_expression "*(int *)(*(int *)in_stack_00000004 + -0xc)" * (cast_expression "(int *)(*(int *)in_stack_00000004 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)in_stack_00000004 + -0xc)" ( (binary_expression "*(int *)in_stack_00000004 + -0xc" (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = *(undefined **)in_stack_00000004;" (assignment_expression "puVar4 = *(undefined **)in_stack_00000004" identifier = (pointer_expression "*(undefined **)in_stack_00000004" * (cast_expression "(undefined **)in_stack_00000004" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = *(char **)(puVar5 + local_34);" (assignment_expression "pcVar2 = *(char **)(puVar5 + local_34)" identifier = (pointer_expression "*(char **)(puVar5 + local_34)" * (cast_expression "(char **)(puVar5 + local_34)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + local_34)" ( (binary_expression "puVar5 + local_34" identifier + identifier) ))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (labeled_statement "std::string::append(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (expression_statement "append(in_stack_00000004,pcVar2,sVar7);" (call_expression "append(in_stack_00000004,pcVar2,sVar7)" identifier (argument_list "(in_stack_00000004,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;))) (expression_statement "iVar6 = *(int *)in_stack_00000004;" (assignment_expression "iVar6 = *(int *)in_stack_00000004" identifier = (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          std::string::reserve(in_stack_00000004,uVar8);\n        }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          std::string::reserve(in_stack_00000004,uVar8);\n        }" { (labeled_statement "std::string::reserve(in_stack_00000004,uVar8);" statement_identifier : (ERROR ":" :) (labeled_statement "string::reserve(in_stack_00000004,uVar8);" statement_identifier : (ERROR ":" :) (expression_statement "reserve(in_stack_00000004,uVar8);" (call_expression "reserve(in_stack_00000004,uVar8)" identifier (argument_list "(in_stack_00000004,uVar8)" ( identifier , identifier ))) ;))) })) (expression_statement "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d;" (assignment_expression "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =\n             0x3d" (pointer_expression "*(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" * (cast_expression "(undefined1 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc))" ( (binary_expression "*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)" (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (pointer_expression "*(int *)(*(int *)in_stack_00000004 + -0xc)" * (cast_expression "(int *)(*(int *)in_stack_00000004 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)in_stack_00000004 + -0xc)" ( (binary_expression "*(int *)in_stack_00000004 + -0xc" (pointer_expression "*(int *)in_stack_00000004" * (cast_expression "(int *)in_stack_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = *(undefined **)in_stack_00000004;" (assignment_expression "puVar4 = *(undefined **)in_stack_00000004" identifier = (pointer_expression "*(undefined **)in_stack_00000004" * (cast_expression "(undefined **)in_stack_00000004" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34);" (assignment_expression "pcVar2 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34)" identifier = (pointer_expression "*(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34)" * (cast_expression "(char **)(*(int *)(*in_stack_00000008 + 0x10) + local_34)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(*in_stack_00000008 + 0x10) + local_34)" ( (binary_expression "*(int *)(*in_stack_00000008 + 0x10) + local_34" (pointer_expression "*(int *)(*in_stack_00000008 + 0x10)" * (cast_expression "(int *)(*in_stack_00000008 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*in_stack_00000008 + 0x10)" ( (binary_expression "*in_stack_00000008 + 0x10" (pointer_expression "*in_stack_00000008" * identifier) + number_literal) )))) + identifier) ))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (labeled_statement "std::string::append(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (expression_statement "append(in_stack_00000004,pcVar2,sVar7);" (call_expression "append(in_stack_00000004,pcVar2,sVar7)" identifier (argument_list "(in_stack_00000004,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;))) (expression_statement "local_34 = local_34 + 4;" (assignment_expression "local_34 = local_34 + 4" identifier = (binary_expression "local_34 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_34 != 0x30)" ( (binary_expression "local_34 != 0x30" identifier != number_literal) )) ;) (return_statement "return in_stack_00000004;" return identifier ;) })) })) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (labeled_statement "std::string::assign(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (labeled_statement "string::assign(in_stack_00000004,pcVar2,sVar7);" statement_identifier : (ERROR ":" :) (expression_statement "assign(in_stack_00000004,pcVar2,sVar7);" (call_expression "assign(in_stack_00000004,pcVar2,sVar7)" identifier (argument_list "(in_stack_00000004,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;))) (return_statement "return in_stack_00000004;" return identifier ;) })))
(translation_unit "int * FUN_00206d90(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  int local_34;\n  \n  *param_1 = (int)&DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*param_2 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  FUN_001b8e90(param_1,pcVar2,sVar7);\n  return param_1;\n}\n\n" (function_definition "int * FUN_00206d90(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  int local_34;\n  \n  *param_1 = (int)&DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*param_2 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  FUN_001b8e90(param_1,pcVar2,sVar7);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00206d90(int *param_1,int *param_2)" * (function_declarator "FUN_00206d90(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  int local_34;\n  \n  *param_1 = (int)&DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*param_2 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  FUN_001b8e90(param_1,pcVar2,sVar7);\n  return param_1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (expression_statement "*param_1 = (int)&DAT_00309e0c;" (assignment_expression "*param_1 = (int)&DAT_00309e0c" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)&DAT_00309e0c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_00309e0c" & identifier))) ;) (expression_statement "puVar1 = *(undefined4 **)(*param_2 + 0x10);" (assignment_expression "puVar1 = *(undefined4 **)(*param_2 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" * (cast_expression "(undefined4 **)(*param_2 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "pcVar2 = (char *)*puVar1;" (assignment_expression "pcVar2 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }" if (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)) )) (compound_statement "{\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }" { (expression_statement "FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);" (call_expression "FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a)" identifier (argument_list "(param_1,0,DAT_00309e00,1,0x2a)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })) (if_statement "if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }" if (parenthesized_expression "(puVar1[1] != 0)" ( (binary_expression "puVar1[1] != 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "__s1 = pcVar2;" (assignment_expression "__s1 = pcVar2" identifier = identifier) ;) (do_statement "do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);" do (compound_statement "{\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    }" { (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "__s2 = (char *)puVar1[uVar8];" (assignment_expression "__s2 = (char *)puVar1[uVar8]" identifier = (cast_expression "(char *)puVar1[uVar8]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[uVar8]" identifier [ identifier ]))) ;) (expression_statement "iVar6 = strcmp(__s1,__s2);" (assignment_expression "iVar6 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (expression_statement "__s1 = __s2;" (assignment_expression "__s1 = __s2" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 < 0xb && iVar6 == 0)" ( (binary_expression "uVar8 < 0xb && iVar6 == 0" (binary_expression "uVar8 < 0xb" identifier < number_literal) && (binary_expression "iVar6 == 0" identifier == number_literal)) )) ;) (if_statement "if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }" { (expression_statement "FUN_001b9450(param_1,0x80);" (call_expression "FUN_001b9450(param_1,0x80)" identifier (argument_list "(param_1,0x80)" ( identifier , number_literal ))) ;) (expression_statement "puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;" (assignment_expression "puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0" identifier = identifier) ;) (expression_statement "pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;" (assignment_expression "pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" identifier = (pointer_expression "*(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" * (cast_expression "(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n        FUN_001b9450(param_1,uVar8);\n      }" { (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" identifier (argument_list "(param_1,uVar8)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" * (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" * identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" identifier = (cast_expression "(undefined *)*param_1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);" (assignment_expression "pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10)" identifier = (cast_expression "(char *)**(undefined4 **)(*param_2 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(*param_2 + 0x10)" * (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" * (cast_expression "(undefined4 **)(*param_2 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) ))))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_34 = 4;" (assignment_expression "local_34 = 4" identifier = number_literal) ;) (do_statement "do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);" do (compound_statement "{\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      }" { (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          FUN_001b9450(param_1,uVar8);\n        }" { (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" identifier (argument_list "(param_1,uVar8)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" * (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" * identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" identifier = (cast_expression "(undefined *)*param_1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = *(char **)(puVar5 + local_34);" (assignment_expression "pcVar2 = *(char **)(puVar5 + local_34)" identifier = (pointer_expression "*(char **)(puVar5 + local_34)" * (cast_expression "(char **)(puVar5 + local_34)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + local_34)" ( (binary_expression "puVar5 + local_34" identifier + identifier) ))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" identifier = (pointer_expression "*(int *)(iVar6 + -0xc)" * (cast_expression "(int *)(iVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -0xc)" ( (binary_expression "iVar6 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }" if (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" ( (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" ( (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" * (cast_expression "(uint *)(iVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -8)" ( (binary_expression "iVar6 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" ( (binary_expression "0 < *(int *)(iVar6 + -4)" number_literal < (pointer_expression "*(int *)(iVar6 + -4)" * (cast_expression "(int *)(iVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4)" ( (binary_expression "iVar6 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          FUN_001b9450(param_1,uVar8);\n        }" { (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" identifier (argument_list "(param_1,uVar8)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" * (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" * identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )))) = number_literal) ;) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" identifier = (cast_expression "(undefined *)*param_1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" if (parenthesized_expression "(puVar4 != &DAT_00309e0c)" ( (binary_expression "puVar4 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" { (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" * (cast_expression "(undefined4 *)(puVar4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" * (cast_expression "(uint *)(puVar4 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" identifier [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = number_literal) ;) })) (expression_statement "pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);" (assignment_expression "pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34)" identifier = (pointer_expression "*(char **)(*(int *)(*param_2 + 0x10) + local_34)" * (cast_expression "(char **)(*(int *)(*param_2 + 0x10) + local_34)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(*param_2 + 0x10) + local_34)" ( (binary_expression "*(int *)(*param_2 + 0x10) + local_34" (pointer_expression "*(int *)(*param_2 + 0x10)" * (cast_expression "(int *)(*param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x10)" ( (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" * identifier) + number_literal) )))) + identifier) ))))) ;) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_34 = local_34 + 4;" (assignment_expression "local_34 = local_34 + 4" identifier = (binary_expression "local_34 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_34 != 0x30)" ( (binary_expression "local_34 != 0x30" identifier != number_literal) )) ;) (return_statement "return param_1;" return identifier ;) })) })) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "FUN_001b8e90(param_1,pcVar2,sVar7);" (call_expression "FUN_001b8e90(param_1,pcVar2,sVar7)" identifier (argument_list "(param_1,pcVar2,sVar7)" ( identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , LIT , LIT ))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ IDENT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT < LIT) && (binary_expression IDENT == LIT)) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) || (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * 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 = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) || (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) || (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00206d90(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  int local_34;\n  \n  *param_1 = (int)&DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*param_2 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  FUN_001b8e90(param_1,pcVar2,sVar7);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00206d90(int *param_1,int *param_2)" (* "*") (function_declarator "FUN_00206d90(int *param_1,int *param_2)" (identifier "FUN_00206d90") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  char *__s2;\n  int iVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  size_t sVar7;\n  char *__s1;\n  uint uVar8;\n  int local_34;\n  \n  *param_1 = (int)&DAT_00309e0c;\n  puVar1 = *(undefined4 **)(*param_2 + 0x10);\n  pcVar2 = (char *)*puVar1;\n  if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }\n  if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }\n  sVar7 = strlen(pcVar2);\n  FUN_001b8e90(param_1,pcVar2,sVar7);\n  return param_1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "size_t sVar7;" (primitive_type "size_t") (identifier "sVar7") (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (expression_statement "*param_1 = (int)&DAT_00309e0c;" (assignment_expression "*param_1 = (int)&DAT_00309e0c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)&DAT_00309e0c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_00309e0c" (& "&") (identifier "DAT_00309e0c")))) (; ";")) (expression_statement "puVar1 = *(undefined4 **)(*param_2 + 0x10);" (assignment_expression "puVar1 = *(undefined4 **)(*param_2 + 0x10)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" (* "*") (cast_expression "(undefined4 **)(*param_2 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x10)" (( "(") (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "pcVar2 = (char *)*puVar1;" (assignment_expression "pcVar2 = (char *)*puVar1" (identifier "pcVar2") (= "=") (cast_expression "(char *)*puVar1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (if_statement "if (pcVar2 == (char *)0x0) {\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(pcVar2 == (char *)0x0)" (( "(") (binary_expression "pcVar2 == (char *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);\n    return param_1;\n  }" ({ "{") (expression_statement "FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);" (call_expression "FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a)" (identifier "FUN_001b8b80") (argument_list "(param_1,0,DAT_00309e00,1,0x2a)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (identifier "DAT_00309e00") (, ",") (number_literal "1") (, ",") (number_literal "0x2a") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (if_statement "if (puVar1[1] != 0) {\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }" (if "if") (parenthesized_expression "(puVar1[1] != 0)" (( "(") (binary_expression "puVar1[1] != 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar8 = 0;\n    __s1 = pcVar2;\n    do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);\n    if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }\n  }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "__s1 = pcVar2;" (assignment_expression "__s1 = pcVar2" (identifier "__s1") (= "=") (identifier "pcVar2")) (; ";")) (do_statement "do {\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    } while (uVar8 < 0xb && iVar6 == 0);" (do "do") (compound_statement "{\n      uVar8 = uVar8 + 1;\n      __s2 = (char *)puVar1[uVar8];\n      iVar6 = strcmp(__s1,__s2);\n      __s1 = __s2;\n    }" ({ "{") (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__s2 = (char *)puVar1[uVar8];" (assignment_expression "__s2 = (char *)puVar1[uVar8]" (identifier "__s2") (= "=") (cast_expression "(char *)puVar1[uVar8]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[uVar8]" (identifier "puVar1") ([ "[") (identifier "uVar8") (] "]")))) (; ";")) (expression_statement "iVar6 = strcmp(__s1,__s2);" (assignment_expression "iVar6 = strcmp(__s1,__s2)" (identifier "iVar6") (= "=") (call_expression "strcmp(__s1,__s2)" (identifier "strcmp") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")")))) (; ";")) (expression_statement "__s1 = __s2;" (assignment_expression "__s1 = __s2" (identifier "__s1") (= "=") (identifier "__s2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 < 0xb && iVar6 == 0)" (( "(") (binary_expression "uVar8 < 0xb && iVar6 == 0" (binary_expression "uVar8 < 0xb" (identifier "uVar8") (< "<") (number_literal "0xb")) (&& "&&") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")")) (; ";")) (if_statement "if (iVar6 != 0) {\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_001b9450(param_1,0x80);\n      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;\n      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      iVar6 = *param_1;\n      iVar3 = *(int *)(iVar6 + -0xc);\n      uVar8 = iVar3 + 1;\n      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }\n      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n      puVar4 = (undefined *)*param_1;\n      if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }\n      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);\n      sVar7 = strlen(pcVar2);\n      FUN_001b9740(param_1,pcVar2,sVar7);\n      local_34 = 4;\n      do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);\n      return param_1;\n    }" ({ "{") (expression_statement "FUN_001b9450(param_1,0x80);" (call_expression "FUN_001b9450(param_1,0x80)" (identifier "FUN_001b9450") (argument_list "(param_1,0x80)" (( "(") (identifier "param_1") (, ",") (number_literal "0x80") () ")"))) (; ";")) (expression_statement "puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;" (assignment_expression "puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0" (identifier "puVar5") (= "=") (identifier "PTR_PTR_s_LC_CTYPE_002fb2a0")) (; ";")) (expression_statement "pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;" (assignment_expression "pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" (identifier "pcVar2") (= "=") (pointer_expression "*(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" (* "*") (cast_expression "(char **)PTR_PTR_s_LC_CTYPE_002fb2a0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_PTR_s_LC_CTYPE_002fb2a0")))) (; ";")) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" (identifier "sVar7") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" (identifier "FUN_001b9740") (argument_list "(param_1,pcVar2,sVar7)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar2") (, ",") (identifier "sVar7") () ")"))) (; ";")) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" (identifier "iVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar6 + -0xc)" (* "*") (cast_expression "(int *)(iVar6 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -0xc)" (( "(") (binary_expression "iVar6 + -0xc" (identifier "iVar6") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" (identifier "uVar8") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n        FUN_001b9450(param_1,uVar8);\n      }" (if "if") (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" (( "(") (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" (( "(") (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" (* "*") (cast_expression "(uint *)(iVar6 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -8)" (( "(") (binary_expression "iVar6 + -8" (identifier "iVar6") (+ "+") (number_literal "-8")) () ")")))) (< "<") (identifier "uVar8")) () ")")) (|| "||") (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" (( "(") (binary_expression "0 < *(int *)(iVar6 + -4)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar6 + -4)" (* "*") (cast_expression "(int *)(iVar6 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -4)" (( "(") (binary_expression "iVar6 + -4" (identifier "iVar6") (+ "+") (number_literal "-4")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n        FUN_001b9450(param_1,uVar8);\n      }" ({ "{") (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" (identifier "FUN_001b9450") (argument_list "(param_1,uVar8)" (( "(") (identifier "param_1") (, ",") (identifier "uVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" (* "*") (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" (( "(") (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (number_literal "0x3d")) (; ";")) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" (identifier "puVar4") (= "=") (cast_expression "(undefined *)*param_1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (puVar4 != &DAT_00309e0c) {\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }" (if "if") (parenthesized_expression "(puVar4 != &DAT_00309e0c)" (( "(") (binary_expression "puVar4 != &DAT_00309e0c" (identifier "puVar4") (!= "!=") (pointer_expression "&DAT_00309e0c" (& "&") (identifier "DAT_00309e0c"))) () ")")) (compound_statement "{\n        *(undefined4 *)(puVar4 + -4) = 0;\n        *(uint *)(puVar4 + -0xc) = uVar8;\n        puVar4[iVar3 + 1] = 0;\n      }" ({ "{") (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -4)" (( "(") (binary_expression "puVar4 + -4" (identifier "puVar4") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" (* "*") (cast_expression "(uint *)(puVar4 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0xc)" (( "(") (binary_expression "puVar4 + -0xc" (identifier "puVar4") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);" (assignment_expression "pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10)" (identifier "pcVar2") (= "=") (cast_expression "(char *)**(undefined4 **)(*param_2 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(*param_2 + 0x10)" (* "*") (pointer_expression "*(undefined4 **)(*param_2 + 0x10)" (* "*") (cast_expression "(undefined4 **)(*param_2 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x10)" (( "(") (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x10")) () ")"))))))) (; ";")) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" (identifier "sVar7") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" (identifier "FUN_001b9740") (argument_list "(param_1,pcVar2,sVar7)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar2") (, ",") (identifier "sVar7") () ")"))) (; ";")) (expression_statement "local_34 = 4;" (assignment_expression "local_34 = 4" (identifier "local_34") (= "=") (number_literal "4")) (; ";")) (do_statement "do {\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      } while (local_34 != 0x30);" (do "do") (compound_statement "{\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(puVar5 + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        iVar6 = *param_1;\n        iVar3 = *(int *)(iVar6 + -0xc);\n        uVar8 = iVar3 + 1;\n        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }\n        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;\n        puVar4 = (undefined *)*param_1;\n        if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }\n        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);\n        sVar7 = strlen(pcVar2);\n        FUN_001b9740(param_1,pcVar2,sVar7);\n        local_34 = local_34 + 4;\n      }" ({ "{") (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" (identifier "iVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar6 + -0xc)" (* "*") (cast_expression "(int *)(iVar6 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -0xc)" (( "(") (binary_expression "iVar6 + -0xc" (identifier "iVar6") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" (identifier "uVar8") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }" (if "if") (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" (( "(") (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" (( "(") (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" (* "*") (cast_expression "(uint *)(iVar6 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -8)" (( "(") (binary_expression "iVar6 + -8" (identifier "iVar6") (+ "+") (number_literal "-8")) () ")")))) (< "<") (identifier "uVar8")) () ")")) (|| "||") (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" (( "(") (binary_expression "0 < *(int *)(iVar6 + -4)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar6 + -4)" (* "*") (cast_expression "(int *)(iVar6 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -4)" (( "(") (binary_expression "iVar6 + -4" (identifier "iVar6") (+ "+") (number_literal "-4")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n          FUN_001b9450(param_1,uVar8);\n        }" ({ "{") (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" (identifier "FUN_001b9450") (argument_list "(param_1,uVar8)" (( "(") (identifier "param_1") (, ",") (identifier "uVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" (* "*") (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" (( "(") (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (number_literal "0x3b")) (; ";")) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" (identifier "puVar4") (= "=") (cast_expression "(undefined *)*param_1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" (if "if") (parenthesized_expression "(puVar4 != &DAT_00309e0c)" (( "(") (binary_expression "puVar4 != &DAT_00309e0c" (identifier "puVar4") (!= "!=") (pointer_expression "&DAT_00309e0c" (& "&") (identifier "DAT_00309e0c"))) () ")")) (compound_statement "{\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" ({ "{") (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -4)" (( "(") (binary_expression "puVar4 + -4" (identifier "puVar4") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" (* "*") (cast_expression "(uint *)(puVar4 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0xc)" (( "(") (binary_expression "puVar4 + -0xc" (identifier "puVar4") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "pcVar2 = *(char **)(puVar5 + local_34);" (assignment_expression "pcVar2 = *(char **)(puVar5 + local_34)" (identifier "pcVar2") (= "=") (pointer_expression "*(char **)(puVar5 + local_34)" (* "*") (cast_expression "(char **)(puVar5 + local_34)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + local_34)" (( "(") (binary_expression "puVar5 + local_34" (identifier "puVar5") (+ "+") (identifier "local_34")) () ")"))))) (; ";")) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" (identifier "sVar7") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" (identifier "FUN_001b9740") (argument_list "(param_1,pcVar2,sVar7)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar2") (, ",") (identifier "sVar7") () ")"))) (; ";")) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" (identifier "iVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar6 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar6 + -0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar6 + -0xc)" (* "*") (cast_expression "(int *)(iVar6 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -0xc)" (( "(") (binary_expression "iVar6 + -0xc" (identifier "iVar6") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "uVar8 = iVar3 + 1;" (assignment_expression "uVar8 = iVar3 + 1" (identifier "uVar8") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {\n          FUN_001b9450(param_1,uVar8);\n        }" (if "if") (parenthesized_expression "((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4)))" (( "(") (binary_expression "(*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))" (parenthesized_expression "(*(uint *)(iVar6 + -8) < uVar8)" (( "(") (binary_expression "*(uint *)(iVar6 + -8) < uVar8" (pointer_expression "*(uint *)(iVar6 + -8)" (* "*") (cast_expression "(uint *)(iVar6 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -8)" (( "(") (binary_expression "iVar6 + -8" (identifier "iVar6") (+ "+") (number_literal "-8")) () ")")))) (< "<") (identifier "uVar8")) () ")")) (|| "||") (parenthesized_expression "(0 < *(int *)(iVar6 + -4))" (( "(") (binary_expression "0 < *(int *)(iVar6 + -4)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar6 + -4)" (* "*") (cast_expression "(int *)(iVar6 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -4)" (( "(") (binary_expression "iVar6 + -4" (identifier "iVar6") (+ "+") (number_literal "-4")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n          FUN_001b9450(param_1,uVar8);\n        }" ({ "{") (expression_statement "FUN_001b9450(param_1,uVar8);" (call_expression "FUN_001b9450(param_1,uVar8)" (identifier "FUN_001b9450") (argument_list "(param_1,uVar8)" (( "(") (identifier "param_1") (, ",") (identifier "uVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" (* "*") (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" (( "(") (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (number_literal "0x3d")) (; ";")) (expression_statement "puVar4 = (undefined *)*param_1;" (assignment_expression "puVar4 = (undefined *)*param_1" (identifier "puVar4") (= "=") (cast_expression "(undefined *)*param_1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (puVar4 != &DAT_00309e0c) {\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" (if "if") (parenthesized_expression "(puVar4 != &DAT_00309e0c)" (( "(") (binary_expression "puVar4 != &DAT_00309e0c" (identifier "puVar4") (!= "!=") (pointer_expression "&DAT_00309e0c" (& "&") (identifier "DAT_00309e0c"))) () ")")) (compound_statement "{\n          *(undefined4 *)(puVar4 + -4) = 0;\n          *(uint *)(puVar4 + -0xc) = uVar8;\n          puVar4[iVar3 + 1] = 0;\n        }" ({ "{") (expression_statement "*(undefined4 *)(puVar4 + -4) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -4) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -4)" (( "(") (binary_expression "puVar4 + -4" (identifier "puVar4") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(puVar4 + -0xc) = uVar8;" (assignment_expression "*(uint *)(puVar4 + -0xc) = uVar8" (pointer_expression "*(uint *)(puVar4 + -0xc)" (* "*") (cast_expression "(uint *)(puVar4 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0xc)" (( "(") (binary_expression "puVar4 + -0xc" (identifier "puVar4") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar4[iVar3 + 1] = 0;" (assignment_expression "puVar4[iVar3 + 1] = 0" (subscript_expression "puVar4[iVar3 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);" (assignment_expression "pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34)" (identifier "pcVar2") (= "=") (pointer_expression "*(char **)(*(int *)(*param_2 + 0x10) + local_34)" (* "*") (cast_expression "(char **)(*(int *)(*param_2 + 0x10) + local_34)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(*param_2 + 0x10) + local_34)" (( "(") (binary_expression "*(int *)(*param_2 + 0x10) + local_34" (pointer_expression "*(int *)(*param_2 + 0x10)" (* "*") (cast_expression "(int *)(*param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0x10)" (( "(") (binary_expression "*param_2 + 0x10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "local_34")) () ")"))))) (; ";")) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" (identifier "sVar7") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "FUN_001b9740(param_1,pcVar2,sVar7);" (call_expression "FUN_001b9740(param_1,pcVar2,sVar7)" (identifier "FUN_001b9740") (argument_list "(param_1,pcVar2,sVar7)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar2") (, ",") (identifier "sVar7") () ")"))) (; ";")) (expression_statement "local_34 = local_34 + 4;" (assignment_expression "local_34 = local_34 + 4" (identifier "local_34") (= "=") (binary_expression "local_34 + 4" (identifier "local_34") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_34 != 0x30)" (( "(") (binary_expression "local_34 != 0x30" (identifier "local_34") (!= "!=") (number_literal "0x30")) () ")")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}"))) (expression_statement "sVar7 = strlen(pcVar2);" (assignment_expression "sVar7 = strlen(pcVar2)" (identifier "sVar7") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "FUN_001b8e90(param_1,pcVar2,sVar7);" (call_expression "FUN_001b8e90(param_1,pcVar2,sVar7)" (identifier "FUN_001b8e90") (argument_list "(param_1,pcVar2,sVar7)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar2") (, ",") (identifier "sVar7") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* std::locale::name() const */

type_4 * std::locale::name(void)

{
  type_1 *puVar1;
  char *var_1;
  char *__s2;
  int var_8;
  type_2 *var_9;
  type_2 *var_10;
  int var_4;
  size_t sVar7;
  char *__s1;
  type_3 var_2;
  type_4 *in_stack_00000004;
  int *in_stack_00000008;
  int var_11;
  
  *(type_2 **)in_stack_00000004 = &DAT_00309e0c;
  puVar1 = *(type_1 **)(*in_stack_00000008 + 0x10);
  var_1 = (char *)*puVar1;
  if (var_1 == (char *)0x0) {
    std::string::_M_replace_aux(in_stack_00000004,0,std::string::_Rep::_S_empty_rep_storage,1,'*');
    return in_stack_00000004;
  }
  if (puVar1[1] != 0) {
    var_2 = 0;
    __s1 = var_1;
    do {
      var_2 = var_2 + 1;
      __s2 = (char *)puVar1[var_2];
      var_4 = var_3(__s1,__s2);
      __s1 = __s2;
    } while (var_2 < 0xb && var_4 == 0);
    if (var_4 != 0) {
                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */
      std::string::var_5(in_stack_00000004,0x80);
      var_10 = _S_categories;
      var_1 = *(char **)_S_categories;
      sVar7 = var_6(var_1);
      std::string::var_7(in_stack_00000004,var_1,sVar7);
      var_4 = *(int *)in_stack_00000004;
      var_8 = *(int *)(var_4 + -0xc);
      var_2 = var_8 + 1;
      if ((*(type_3 *)(var_4 + -8) < var_2) || (0 < *(int *)(var_4 + -4))) {
        std::string::var_5(in_stack_00000004,var_2);
      }
      *(type_5 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) = 0x3d
      ;
      var_9 = *(type_2 **)in_stack_00000004;
      if (var_9 != &DAT_00309e0c) {
        *(type_1 *)(var_9 + -4) = 0;
        *(type_3 *)(var_9 + -0xc) = var_2;
        var_9[var_8 + 1] = 0;
      }
      var_1 = (char *)**(type_1 **)(*in_stack_00000008 + 0x10);
      sVar7 = var_6(var_1);
      std::string::var_7(in_stack_00000004,var_1,sVar7);
      var_11 = 4;
      do {
        var_4 = *(int *)in_stack_00000004;
        var_8 = *(int *)(var_4 + -0xc);
        var_2 = var_8 + 1;
        if ((*(type_3 *)(var_4 + -8) < var_2) || (0 < *(int *)(var_4 + -4))) {
          std::string::var_5(in_stack_00000004,var_2);
        }
        *(type_5 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =
             0x3b;
        var_9 = *(type_2 **)in_stack_00000004;
        if (var_9 != &DAT_00309e0c) {
          *(type_1 *)(var_9 + -4) = 0;
          *(type_3 *)(var_9 + -0xc) = var_2;
          var_9[var_8 + 1] = 0;
        }
        var_1 = *(char **)(var_10 + var_11);
        sVar7 = var_6(var_1);
        std::string::var_7(in_stack_00000004,var_1,sVar7);
        var_4 = *(int *)in_stack_00000004;
        var_8 = *(int *)(var_4 + -0xc);
        var_2 = var_8 + 1;
        if ((*(type_3 *)(var_4 + -8) < var_2) || (0 < *(int *)(var_4 + -4))) {
          std::string::var_5(in_stack_00000004,var_2);
        }
        *(type_5 *)(*(int *)in_stack_00000004 + *(int *)(*(int *)in_stack_00000004 + -0xc)) =
             0x3d;
        var_9 = *(type_2 **)in_stack_00000004;
        if (var_9 != &DAT_00309e0c) {
          *(type_1 *)(var_9 + -4) = 0;
          *(type_3 *)(var_9 + -0xc) = var_2;
          var_9[var_8 + 1] = 0;
        }
        var_1 = *(char **)(*(int *)(*in_stack_00000008 + 0x10) + var_11);
        sVar7 = var_6(var_1);
        std::string::var_7(in_stack_00000004,var_1,sVar7);
        var_11 = var_11 + 4;
      } while (var_11 != 0x30);
      return in_stack_00000004;
    }
  }
  sVar7 = var_6(var_1);
  std::string::var_12(in_stack_00000004,var_1,sVar7);
  return in_stack_00000004;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (number_literal) (number_literal)))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (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)))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (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: (number_literal))) (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: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (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: (number_literal))) (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: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (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: (number_literal))) (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: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (return_statement (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int * MASKED(int *param_1,int *param_2)

{
  undefined4 *puVar1;
  char *pcVar2;
  char *__s2;
  int iVar3;
  undefined *puVar4;
  undefined *puVar5;
  int iVar6;
  size_t sVar7;
  char *__s1;
  uint uVar8;
  int local_34;
  
  *param_1 = (int)&DAT_00309e0c;
  puVar1 = *(undefined4 **)(*param_2 + 0x10);
  pcVar2 = (char *)*puVar1;
  if (pcVar2 == (char *)0x0) {
    FUN_001b8b80(param_1,0,DAT_00309e00,1,0x2a);
    return param_1;
  }
  if (puVar1[1] != 0) {
    uVar8 = 0;
    __s1 = pcVar2;
    do {
      uVar8 = uVar8 + 1;
      __s2 = (char *)puVar1[uVar8];
      iVar6 = strcmp(__s1,__s2);
      __s1 = __s2;
    } while (uVar8 < 0xb && iVar6 == 0);
    if (iVar6 != 0) {
                    /* try { // try from 00206e33 to 00207036 has its CatchHandler @ 0020705d */
      FUN_001b9450(param_1,0x80);
      puVar5 = PTR_PTR_s_LC_CTYPE_002fb2a0;
      pcVar2 = *(char **)PTR_PTR_s_LC_CTYPE_002fb2a0;
      sVar7 = strlen(pcVar2);
      FUN_001b9740(param_1,pcVar2,sVar7);
      iVar6 = *param_1;
      iVar3 = *(int *)(iVar6 + -0xc);
      uVar8 = iVar3 + 1;
      if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
        FUN_001b9450(param_1,uVar8);
      }
      *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;
      puVar4 = (undefined *)*param_1;
      if (puVar4 != &DAT_00309e0c) {
        *(undefined4 *)(puVar4 + -4) = 0;
        *(uint *)(puVar4 + -0xc) = uVar8;
        puVar4[iVar3 + 1] = 0;
      }
      pcVar2 = (char *)**(undefined4 **)(*param_2 + 0x10);
      sVar7 = strlen(pcVar2);
      FUN_001b9740(param_1,pcVar2,sVar7);
      local_34 = 4;
      do {
        iVar6 = *param_1;
        iVar3 = *(int *)(iVar6 + -0xc);
        uVar8 = iVar3 + 1;
        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
          FUN_001b9450(param_1,uVar8);
        }
        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3b;
        puVar4 = (undefined *)*param_1;
        if (puVar4 != &DAT_00309e0c) {
          *(undefined4 *)(puVar4 + -4) = 0;
          *(uint *)(puVar4 + -0xc) = uVar8;
          puVar4[iVar3 + 1] = 0;
        }
        pcVar2 = *(char **)(puVar5 + local_34);
        sVar7 = strlen(pcVar2);
        FUN_001b9740(param_1,pcVar2,sVar7);
        iVar6 = *param_1;
        iVar3 = *(int *)(iVar6 + -0xc);
        uVar8 = iVar3 + 1;
        if ((*(uint *)(iVar6 + -8) < uVar8) || (0 < *(int *)(iVar6 + -4))) {
          FUN_001b9450(param_1,uVar8);
        }
        *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = 0x3d;
        puVar4 = (undefined *)*param_1;
        if (puVar4 != &DAT_00309e0c) {
          *(undefined4 *)(puVar4 + -4) = 0;
          *(uint *)(puVar4 + -0xc) = uVar8;
          puVar4[iVar3 + 1] = 0;
        }
        pcVar2 = *(char **)(*(int *)(*param_2 + 0x10) + local_34);
        sVar7 = strlen(pcVar2);
        FUN_001b9740(param_1,pcVar2,sVar7);
        local_34 = local_34 + 4;
      } while (local_34 != 0x30);
      return param_1;
    }
  }
  sVar7 = strlen(pcVar2);
  FUN_001b8e90(param_1,pcVar2,sVar7);
  return param_1;
}

