
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* void std::__facet_shims::__moneypunct_fill_cache<wchar_t, true>(std::integral_constant<bool,
   true>, std::locale::facet const*, std::__moneypunct_cache<wchar_t, true>*) */

void std::__facet_shims::__moneypunct_fill_cache<wchar_t,true>
               (undefined4 param_1,int *param_2,int param_3)

{
  uint uVar1;
  undefined4 uVar2;
  char *pcVar3;
  wchar_t *pwVar4;
  undefined4 local_40 [3];
  undefined1 *local_34;
  uint local_30;
  undefined1 local_2c [24];
  undefined4 uStack_14;
  
  uStack_14 = 0x1bdf2b;
  uVar2 = (**(code **)(*param_2 + 8))(param_2);
  *(undefined4 *)(param_3 + 0x14) = uVar2;
  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);
  *(undefined4 *)(param_3 + 0x18) = uVar2;
  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);
  *(undefined4 *)(param_3 + 0x34) = uVar2;
  *(undefined4 *)(param_3 + 8) = 0;
  *(undefined4 *)(param_3 + 0x1c) = 0;
  *(undefined4 *)(param_3 + 0x24) = 0;
  *(undefined4 *)(param_3 + 0x2c) = 0;
  *(undefined1 *)(param_3 + 0x6c) = 1;
  (**(code **)(*param_2 + 0x10))((string *)&local_34,param_2);
  uVar1 = local_30;
                    /* try { // try from 001bdf9d to 001bdfb6 has its CatchHandler @ 001be19c */
  pcVar3 = (char *)operator_new__(local_30 + 1);
  std::string::copy((string *)&local_34,pcVar3,uVar1,0);
  pcVar3[uVar1] = '\0';
  *(char **)(param_3 + 8) = pcVar3;
  *(uint *)(param_3 + 0xc) = uVar1;
  if (local_34 != local_2c) {
    operator_delete(local_34);
  }
  (**(code **)(*param_2 + 0x14))((string *)&local_34,param_2);
  uVar1 = local_30;
  if (0x1fffffff < local_30 + 1) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */
    __cxa_throw_bad_array_new_length();
  }
                    /* try { // try from 001be01b to 001be035 has its CatchHandler @ 001be1e7 */
  pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);
  std::wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);
  *(uint *)(param_3 + 0x20) = uVar1;
  pwVar4[uVar1] = L'\0';
  *(wchar_t **)(param_3 + 0x1c) = pwVar4;
  if (local_34 != local_2c) {
    operator_delete(local_34);
  }
  (**(code **)(*param_2 + 0x18))((string *)&local_34,param_2);
  uVar1 = local_30;
  if (local_30 + 1 < 0x20000000) {
                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */
    pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);
    std::wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);
    *(uint *)(param_3 + 0x28) = uVar1;
    pwVar4[uVar1] = L'\0';
    *(wchar_t **)(param_3 + 0x24) = pwVar4;
    if (local_34 != local_2c) {
      operator_delete(local_34);
    }
    (**(code **)(*param_2 + 0x1c))((string *)&local_34,param_2);
    if (local_30 + 1 < 0x20000000) {
                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */
      pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);
      std::wstring::copy((wstring *)&local_34,pwVar4,local_30,0);
      pwVar4[local_30] = L'\0';
      *(uint *)(param_3 + 0x30) = local_30;
      *(wchar_t **)(param_3 + 0x2c) = pwVar4;
      if (local_34 != local_2c) {
        operator_delete(local_34);
      }
      (**(code **)(*param_2 + 0x24))(local_40,param_2);
      *(undefined4 *)(param_3 + 0x38) = local_40[0];
      (**(code **)(*param_2 + 0x28))(local_40,param_2);
      *(undefined4 *)(param_3 + 0x3c) = local_40[0];
      return;
    }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */
    __cxa_throw_bad_array_new_length();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1e2 to 001be1e6 has its CatchHandler @ 001be1db */
  __cxa_throw_bad_array_new_length();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  undefined4 local_40 [3];
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [24];
  undefined4 uStack_14;
  
  uStack_14 = 0x1bdf2b;
  uVar2 = (**(code **)(*param_2 + 8))(param_2);
  *(undefined4 *)(param_3 + 0x14) = uVar2;
  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);
  *(undefined4 *)(param_3 + 0x18) = uVar2;
  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);
  *(undefined4 *)(param_3 + 0x34) = uVar2;
  *(undefined4 *)(param_3 + 8) = 0;
  *(undefined4 *)(param_3 + 0x1c) = 0;
  *(undefined4 *)(param_3 + 0x24) = 0;
  *(undefined4 *)(param_3 + 0x2c) = 0;
  *(undefined1 *)(param_3 + 0x6c) = 1;
  (**(code **)(*param_2 + 0x10))(&local_34,param_2);
  iVar1 = local_30;
                    /* try { // try from 001bdf9d to 001bdfb6 has its CatchHandler @ 001be19c */
  iVar3 = FUN_0017eb70(local_30 + 1);
  FUN_0018a2a0(&local_34,iVar3,iVar1,0);
  *(undefined1 *)(iVar3 + iVar1) = 0;
  *(int *)(param_3 + 8) = iVar3;
  *(int *)(param_3 + 0xc) = iVar1;
  if (local_34 != local_2c) {
    FUN_001807a0(local_34);
  }
  (**(code **)(*param_2 + 0x14))(&local_34,param_2);
  iVar1 = local_30;
  if (0x1fffffff < local_30 + 1U) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */
    FUN_00180130();
  }
  iVar3 = (local_30 + 1U) * 4;
                    /* try { // try from 001be01b to 001be035 has its CatchHandler @ 001be1e7 */
  iVar4 = FUN_0017eb70(iVar3);
  FUN_00186950(&local_34,iVar4,iVar1,0);
  *(int *)(param_3 + 0x20) = iVar1;
  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;
  *(int *)(param_3 + 0x1c) = iVar4;
  if (local_34 != local_2c) {
    FUN_001807a0(local_34);
  }
  (**(code **)(*param_2 + 0x18))(&local_34,param_2);
  iVar1 = local_30;
  if (local_30 + 1U < 0x20000000) {
    iVar3 = (local_30 + 1U) * 4;
                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */
    iVar4 = FUN_0017eb70(iVar3);
    FUN_00186950(&local_34,iVar4,iVar1,0);
    *(int *)(param_3 + 0x28) = iVar1;
    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;
    *(int *)(param_3 + 0x24) = iVar4;
    if (local_34 != local_2c) {
      FUN_001807a0(local_34);
    }
    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);
    if (local_30 + 1U < 0x20000000) {
      iVar1 = (local_30 + 1U) * 4;
                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */
      iVar3 = FUN_0017eb70(iVar1);
      FUN_00186950(&local_34,iVar3,local_30,0);
      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;
      *(int *)(param_3 + 0x30) = local_30;
      *(int *)(param_3 + 0x2c) = iVar3;
      if (local_34 != local_2c) {
        FUN_001807a0(local_34);
      }
      (**(code **)(*param_2 + 0x24))(local_40,param_2);
      *(undefined4 *)(param_3 + 0x38) = local_40[0];
      (**(code **)(*param_2 + 0x28))(local_40,param_2);
      *(undefined4 *)(param_3 + 0x3c) = local_40[0];
      return;
    }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */
    FUN_00180130();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1e2 to 001be1e6 has its CatchHandler @ 001be1db */
  FUN_00180130();
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x1440d5
SUB ESP,0x58
MOV ESI,dword ptr [EBP + 0xc]
MOV EAX,dword ptr [ESI]
PUSH ESI
MOV dword ptr [EBP + -0x40],EBX
CALL dword ptr [EAX + 0x8]
MOV EDX,dword ptr [EBP + 0x10]
MOV dword ptr [EDX + 0x14],EAX
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP],ESI
CALL dword ptr [EAX + 0xc]
MOV ECX,dword ptr [EBP + 0x10]
MOV dword ptr [ECX + 0x18],EAX
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP],ESI
CALL dword ptr [EAX + 0x20]
MOV EDX,dword ptr [EBP + 0x10]
MOV dword ptr [EDX + 0x34],EAX
LEA EAX,[EBP + -0x30]
MOV dword ptr [EDX + 0x8],0x0
MOV dword ptr [EDX + 0x1c],0x0
MOV dword ptr [EDX + 0x24],0x0
MOV dword ptr [EDX + 0x2c],0x0
MOV byte ptr [EDX + 0x6c],0x1
MOV EDX,EAX
POP EAX
MOV EAX,dword ptr [ESI]
POP ECX
MOV dword ptr [EBP + -0x44],EDX
PUSH ESI
PUSH EDX
CALL dword ptr [EAX + 0x10]
MOV EDI,dword ptr [EBP + -0x2c]
MOV dword ptr [EBP + -0x40],EBX
LEA EAX,[EDI + 0x1]
PUSH EAX
CALL 0x0017eb70
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x40]
MOV dword ptr [EBP + -0x48],EAX
PUSH 0x0
PUSH EDI
PUSH EAX
PUSH dword ptr [EBP + -0x44]
CALL 0x0018a2a0
MOV EAX,dword ptr [EBP + -0x48]
MOV ECX,dword ptr [EBP + 0x10]
LEA EDX,[EBP + -0x28]
ADD ESP,0x10
MOV dword ptr [EBP + -0x48],EDX
MOV byte ptr [EAX + EDI*0x1],0x0
MOV dword ptr [ECX + 0x8],EAX
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [ECX + 0xc],EDI
CMP EAX,EDX
JZ 0x001bdfe6
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
MOV EAX,dword ptr [ESI]
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [EBP + -0x44]
CALL dword ptr [EAX + 0x14]
MOV EAX,dword ptr [EBP + -0x2c]
ADD ESP,0xc
LEA EDI,[EAX + 0x1]
MOV dword ptr [EBP + -0x4c],EAX
CMP EDI,0x1fffffff
JA 0x001be1eb
LEA ECX,[EDI*0x4 + 0x0]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH ECX
MOV dword ptr [EBP + -0x50],ECX
CALL 0x0017eb70
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x40]
MOV EDI,EAX
PUSH 0x0
PUSH dword ptr [EBP + -0x4c]
PUSH EAX
PUSH dword ptr [EBP + -0x44]
CALL 0x00186950
MOV EBX,dword ptr [EBP + 0x10]
MOV EAX,dword ptr [EBP + -0x4c]
ADD ESP,0x10
MOV ECX,dword ptr [EBP + -0x50]
MOV dword ptr [EBX + 0x20],EAX
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [EDI + ECX*0x1 + -0x4],0x0
MOV dword ptr [EBX + 0x1c],EDI
CMP EAX,dword ptr [EBP + -0x48]
JZ 0x001be067
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
MOV EAX,dword ptr [ESI]
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [EBP + -0x44]
CALL dword ptr [EAX + 0x18]
MOV EAX,dword ptr [EBP + -0x2c]
ADD ESP,0xc
LEA EDI,[EAX + 0x1]
MOV dword ptr [EBP + -0x4c],EAX
CMP EDI,0x1fffffff
JA 0x001be1df
LEA EDX,[EDI*0x4 + 0x0]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EDX
MOV dword ptr [EBP + -0x50],EDX
CALL 0x0017eb70
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x40]
MOV EDI,EAX
PUSH 0x0
PUSH dword ptr [EBP + -0x4c]
PUSH EAX
PUSH dword ptr [EBP + -0x44]
CALL 0x00186950
MOV ECX,dword ptr [EBP + 0x10]
MOV EAX,dword ptr [EBP + -0x4c]
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x50]
MOV dword ptr [ECX + 0x28],EAX
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [EDI + EDX*0x1 + -0x4],0x0
MOV dword ptr [ECX + 0x24],EDI
CMP EAX,dword ptr [EBP + -0x48]
JZ 0x001be0e8
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
MOV EAX,dword ptr [ESI]
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [EBP + -0x44]
CALL dword ptr [EAX + 0x1c]
MOV EAX,dword ptr [EBP + -0x2c]
ADD ESP,0xc
LEA EDI,[EAX + 0x1]
MOV dword ptr [EBP + -0x4c],EAX
CMP EDI,0x1fffffff
JA 0x001be1a4
LEA ECX,[EDI*0x4 + 0x0]
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH ECX
MOV dword ptr [EBP + -0x50],ECX
CALL 0x0017eb70
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x40]
MOV EDI,EAX
PUSH 0x0
PUSH dword ptr [EBP + -0x4c]
PUSH EAX
PUSH dword ptr [EBP + -0x44]
CALL 0x00186950
MOV ECX,dword ptr [EBP + -0x50]
MOV EAX,dword ptr [EBP + -0x4c]
ADD ESP,0x10
MOV dword ptr [EDI + ECX*0x1 + -0x4],0x0
MOV ECX,dword ptr [EBP + 0x10]
MOV dword ptr [ECX + 0x30],EAX
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [ECX + 0x2c],EDI
CMP EAX,dword ptr [EBP + -0x48]
JZ 0x001be169
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
MOV EAX,dword ptr [ESI]
LEA EDI,[EBP + -0x3c]
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL dword ptr [EAX + 0x24]
MOV EAX,dword ptr [EBP + -0x3c]
MOV ECX,dword ptr [EBP + 0x10]
MOV dword ptr [ECX + 0x38],EAX
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP],ESI
PUSH EDI
CALL dword ptr [EAX + 0x28]
MOV ESI,dword ptr [EBP + 0x10]
MOV EAX,dword ptr [EBP + -0x3c]
ADD ESP,0xc
MOV dword ptr [ESI + 0x3c],EAX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBX,dword ptr [EBP + -0x40]
CALL 0x00180130
MOV EBX,dword ptr [EBP + -0x40]
CALL 0x00180130
MOV EBX,dword ptr [EBP + -0x40]
CALL 0x00180130
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar1 = local_30;\n                    /* try { // try from 001bdf9d to 001bdfb6 has its CatchHandler @ 001be19c */\n  iVar3 = FUN_0017eb70(local_30 + 1);\n  FUN_0018a2a0(&local_34,iVar3,iVar1,0);\n  *(undefined1 *)(iVar3 + iVar1) = 0;\n  *(int *)(param_3 + 8) = iVar3;\n  *(int *)(param_3 + 0xc) = iVar1;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar1 = local_30;\n  if (0x1fffffff < local_30 + 1U) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */\n    FUN_00180130();\n  }\n  iVar3 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be01b to 001be035 has its CatchHandler @ 001be1e7 */\n  iVar4 = FUN_0017eb70(iVar3);\n  FUN_00186950(&local_34,iVar4,iVar1,0);\n  *(int *)(param_3 + 0x20) = iVar1;\n  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n  *(int *)(param_3 + 0x1c) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar1 = local_30;\n  if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */\n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */\n    FUN_00180130();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1e2 to 001be1e6 has its CatchHandler @ 001be1db */\n  FUN_00180130();\n}\n\n" comment (function_definition "void FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar1 = local_30;\n                    /* try { // try from 001bdf9d to 001bdfb6 has its CatchHandler @ 001be19c */\n  iVar3 = FUN_0017eb70(local_30 + 1);\n  FUN_0018a2a0(&local_34,iVar3,iVar1,0);\n  *(undefined1 *)(iVar3 + iVar1) = 0;\n  *(int *)(param_3 + 8) = iVar3;\n  *(int *)(param_3 + 0xc) = iVar1;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar1 = local_30;\n  if (0x1fffffff < local_30 + 1U) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */\n    FUN_00180130();\n  }\n  iVar3 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be01b to 001be035 has its CatchHandler @ 001be1e7 */\n  iVar4 = FUN_0017eb70(iVar3);\n  FUN_00186950(&local_34,iVar4,iVar1,0);\n  *(int *)(param_3 + 0x20) = iVar1;\n  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n  *(int *)(param_3 + 0x1c) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar1 = local_30;\n  if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */\n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */\n    FUN_00180130();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1e2 to 001be1e6 has its CatchHandler @ 001be1db */\n  FUN_00180130();\n}" primitive_type (function_declarator "FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int *param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar1 = local_30;\n                    /* try { // try from 001bdf9d to 001bdfb6 has its CatchHandler @ 001be19c */\n  iVar3 = FUN_0017eb70(local_30 + 1);\n  FUN_0018a2a0(&local_34,iVar3,iVar1,0);\n  *(undefined1 *)(iVar3 + iVar1) = 0;\n  *(int *)(param_3 + 8) = iVar3;\n  *(int *)(param_3 + 0xc) = iVar1;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar1 = local_30;\n  if (0x1fffffff < local_30 + 1U) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */\n    FUN_00180130();\n  }\n  iVar3 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be01b to 001be035 has its CatchHandler @ 001be1e7 */\n  iVar4 = FUN_0017eb70(iVar3);\n  FUN_00186950(&local_34,iVar4,iVar1,0);\n  *(int *)(param_3 + 0x20) = iVar1;\n  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n  *(int *)(param_3 + 0x1c) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar1 = local_30;\n  if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */\n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */\n    FUN_00180130();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1e2 to 001be1e6 has its CatchHandler @ 001be1db */\n  FUN_00180130();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 local_40 [3];" type_identifier (array_declarator "local_40 [3]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [24];" type_identifier (array_declarator "local_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bdf2b;" (assignment_expression "uStack_14 = 0x1bdf2b" identifier = number_literal) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 8))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" ( (pointer_expression "**(code **)(*param_2 + 8)" * (pointer_expression "*(code **)(*param_2 + 8)" * (cast_expression "(code **)(*param_2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x14) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x14)" * (cast_expression "(undefined4 *)(param_3 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 0xc))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0xc))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 0xc))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x18) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x18) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x18)" * (cast_expression "(undefined4 *)(param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 0x20))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0x20))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 0x20))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x20))" ( (pointer_expression "**(code **)(*param_2 + 0x20)" * (pointer_expression "*(code **)(*param_2 + 0x20)" * (cast_expression "(code **)(*param_2 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x20)" ( (binary_expression "*param_2 + 0x20" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x34) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x34)" * (cast_expression "(undefined4 *)(param_3 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x1c)" * (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x24) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x24)" * (cast_expression "(undefined4 *)(param_3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" * (cast_expression "(undefined4 *)(param_3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_3 + 0x6c) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0x6c) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0x6c)" * (cast_expression "(undefined1 *)(param_3 + 0x6c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x6c)" ( (binary_expression "param_3 + 0x6c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(*param_2 + 0x10))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x10))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x10))" ( (pointer_expression "**(code **)(*param_2 + 0x10)" * (pointer_expression "*(code **)(*param_2 + 0x10)" * (cast_expression "(code **)(*param_2 + 0x10)" ( (type_descriptor "code **" 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) ))))) )) (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" identifier = identifier) ;) comment (expression_statement "iVar3 = FUN_0017eb70(local_30 + 1);" (assignment_expression "iVar3 = FUN_0017eb70(local_30 + 1)" identifier = (call_expression "FUN_0017eb70(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_0018a2a0(&local_34,iVar3,iVar1,0);" (call_expression "FUN_0018a2a0(&local_34,iVar3,iVar1,0)" identifier (argument_list "(&local_34,iVar3,iVar1,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)(iVar3 + iVar1) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar1) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar1)" * (cast_expression "(undefined1 *)(iVar3 + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar1)" ( (binary_expression "iVar3 + iVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 8) = iVar3;" (assignment_expression "*(int *)(param_3 + 8) = iVar3" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 0xc) = iVar1;" (assignment_expression "*(int *)(param_3 + 0xc) = iVar1" (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001807a0(local_34);\n  }" { (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x14))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x14))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" ( (pointer_expression "**(code **)(*param_2 + 0x14)" * (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" identifier = identifier) ;) (if_statement "if (0x1fffffff < local_30 + 1U) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */\n    FUN_00180130();\n  }" if (parenthesized_expression "(0x1fffffff < local_30 + 1U)" ( (binary_expression "0x1fffffff < local_30 + 1U" number_literal < (binary_expression "local_30 + 1U" identifier + number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */\n    FUN_00180130();\n  }" { comment comment (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar3 = (local_30 + 1U) * 4;" (assignment_expression "iVar3 = (local_30 + 1U) * 4" identifier = (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" ( (binary_expression "local_30 + 1U" identifier + number_literal) )) * number_literal)) ;) comment (expression_statement "iVar4 = FUN_0017eb70(iVar3);" (assignment_expression "iVar4 = FUN_0017eb70(iVar3)" identifier = (call_expression "FUN_0017eb70(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "FUN_00186950(&local_34,iVar4,iVar1,0);" (call_expression "FUN_00186950(&local_34,iVar4,iVar1,0)" identifier (argument_list "(&local_34,iVar4,iVar1,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(int *)(param_3 + 0x20) = iVar1;" (assignment_expression "*(int *)(param_3 + 0x20) = iVar1" (pointer_expression "*(int *)(param_3 + 0x20)" * (cast_expression "(int *)(param_3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + -4 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + -4 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar4 + -4 + iVar3)" * (cast_expression "(undefined4 *)(iVar4 + -4 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -4 + iVar3)" ( (binary_expression "iVar4 + -4 + iVar3" (binary_expression "iVar4 + -4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001807a0(local_34);\n  }" { (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x18))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x18))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x18))" ( (pointer_expression "**(code **)(*param_2 + 0x18)" * (pointer_expression "*(code **)(*param_2 + 0x18)" * (cast_expression "(code **)(*param_2 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" identifier = identifier) ;) (if_statement "if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */\n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */\n    FUN_00180130();\n  }" if (parenthesized_expression "(local_30 + 1U < 0x20000000)" ( (binary_expression "local_30 + 1U < 0x20000000" (binary_expression "local_30 + 1U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    iVar3 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */\n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */\n    FUN_00180130();\n  }" { (expression_statement "iVar3 = (local_30 + 1U) * 4;" (assignment_expression "iVar3 = (local_30 + 1U) * 4" identifier = (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" ( (binary_expression "local_30 + 1U" identifier + number_literal) )) * number_literal)) ;) comment (expression_statement "iVar4 = FUN_0017eb70(iVar3);" (assignment_expression "iVar4 = FUN_0017eb70(iVar3)" identifier = (call_expression "FUN_0017eb70(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "FUN_00186950(&local_34,iVar4,iVar1,0);" (call_expression "FUN_00186950(&local_34,iVar4,iVar1,0)" identifier (argument_list "(&local_34,iVar4,iVar1,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(int *)(param_3 + 0x28) = iVar1;" (assignment_expression "*(int *)(param_3 + 0x28) = iVar1" (pointer_expression "*(int *)(param_3 + 0x28)" * (cast_expression "(int *)(param_3 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + -4 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + -4 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar4 + -4 + iVar3)" * (cast_expression "(undefined4 *)(iVar4 + -4 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -4 + iVar3)" ( (binary_expression "iVar4 + -4 + iVar3" (binary_expression "iVar4 + -4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x24) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x24) = iVar4" (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n      FUN_001807a0(local_34);\n    }" { (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x1c))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x1c))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x1c))" ( (pointer_expression "**(code **)(*param_2 + 0x1c)" * (pointer_expression "*(code **)(*param_2 + 0x1c)" * (cast_expression "(code **)(*param_2 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x1c)" ( (binary_expression "*param_2 + 0x1c" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (if_statement "if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }" if (parenthesized_expression "(local_30 + 1U < 0x20000000)" ( (binary_expression "local_30 + 1U < 0x20000000" (binary_expression "local_30 + 1U" identifier + number_literal) < number_literal) )) (compound_statement "{\n      iVar1 = (local_30 + 1U) * 4;\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }" { (expression_statement "iVar1 = (local_30 + 1U) * 4;" (assignment_expression "iVar1 = (local_30 + 1U) * 4" identifier = (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" ( (binary_expression "local_30 + 1U" identifier + number_literal) )) * number_literal)) ;) comment (expression_statement "iVar3 = FUN_0017eb70(iVar1);" (assignment_expression "iVar3 = FUN_0017eb70(iVar1)" identifier = (call_expression "FUN_0017eb70(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "FUN_00186950(&local_34,iVar3,local_30,0);" (call_expression "FUN_00186950(&local_34,iVar3,local_30,0)" identifier (argument_list "(&local_34,iVar3,local_30,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined4 *)(iVar3 + -4 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + -4 + iVar1) = 0" (pointer_expression "*(undefined4 *)(iVar3 + -4 + iVar1)" * (cast_expression "(undefined4 *)(iVar3 + -4 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -4 + iVar1)" ( (binary_expression "iVar3 + -4 + iVar1" (binary_expression "iVar3 + -4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x30) = local_30;" (assignment_expression "*(int *)(param_3 + 0x30) = local_30" (pointer_expression "*(int *)(param_3 + 0x30)" * (cast_expression "(int *)(param_3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 0x2c) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x2c) = iVar3" (pointer_expression "*(int *)(param_3 + 0x2c)" * (cast_expression "(int *)(param_3 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n        FUN_001807a0(local_34);\n      }" { (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x24))(local_40,param_2);" (call_expression "(**(code **)(*param_2 + 0x24))(local_40,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x24))" ( (pointer_expression "**(code **)(*param_2 + 0x24)" * (pointer_expression "*(code **)(*param_2 + 0x24)" * (cast_expression "(code **)(*param_2 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x24)" ( (binary_expression "*param_2 + 0x24" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(local_40,param_2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x38) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x38) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x38)" * (cast_expression "(undefined4 *)(param_3 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (expression_statement "(**(code **)(*param_2 + 0x28))(local_40,param_2);" (call_expression "(**(code **)(*param_2 + 0x28))(local_40,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" ( (pointer_expression "**(code **)(*param_2 + 0x28)" * (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(local_40,param_2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x3c) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x3c) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x3c)" * (cast_expression "(undefined4 *)(param_3 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" identifier (argument_list "()" ( ))) ;) })) comment comment (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* void std::__facet_shims::__moneypunct_fill_cache<wchar_t, true>(std::integral_constant<bool,\n   true>, std::locale::facet const*, std::__moneypunct_cache<wchar_t, true>*) */\n\nvoid std::__facet_shims::__moneypunct_fill_cache<wchar_t,true>\n               (undefined4 param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  wchar_t *pwVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  uint local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))((string *)&local_34,param_2);\n  uVar1 = local_30;\n                    /* try { // try from 001bdf9d to 001bdfb6 has its CatchHandler @ 001be19c */\n  pcVar3 = (char *)operator_new__(local_30 + 1);\n  std::string::copy((string *)&local_34,pcVar3,uVar1,0);\n  pcVar3[uVar1] = '\0';\n  *(char **)(param_3 + 8) = pcVar3;\n  *(uint *)(param_3 + 0xc) = uVar1;\n  if (local_34 != local_2c) {\n    operator_delete(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))((string *)&local_34,param_2);\n  uVar1 = local_30;\n  if (0x1fffffff < local_30 + 1) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */\n    __cxa_throw_bad_array_new_length();\n  }\n                    /* try { // try from 001be01b to 001be035 has its CatchHandler @ 001be1e7 */\n  pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n  std::wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);\n  *(uint *)(param_3 + 0x20) = uVar1;\n  pwVar4[uVar1] = L'\0';\n  *(wchar_t **)(param_3 + 0x1c) = pwVar4;\n  if (local_34 != local_2c) {\n    operator_delete(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))((string *)&local_34,param_2);\n  uVar1 = local_30;\n  if (local_30 + 1 < 0x20000000) {\n                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */\n    pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n    std::wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);\n    *(uint *)(param_3 + 0x28) = uVar1;\n    pwVar4[uVar1] = L'\0';\n    *(wchar_t **)(param_3 + 0x24) = pwVar4;\n    if (local_34 != local_2c) {\n      operator_delete(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))((string *)&local_34,param_2);\n    if (local_30 + 1 < 0x20000000) {\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n      std::wstring::copy((wstring *)&local_34,pwVar4,local_30,0);\n      pwVar4[local_30] = L'\0';\n      *(uint *)(param_3 + 0x30) = local_30;\n      *(wchar_t **)(param_3 + 0x2c) = pwVar4;\n      if (local_34 != local_2c) {\n        operator_delete(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */\n    __cxa_throw_bad_array_new_length();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1e2 to 001be1e6 has its CatchHandler @ 001be1db */\n  __cxa_throw_bad_array_new_length();\n}\n\n" comment comment (declaration "void std::__facet_shims::__moneypunct_fill_cache<wchar_t,true>\n               (undefined4 param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;" primitive_type (ERROR "std::__facet_shims::__moneypunct_fill_cache<" identifier : : identifier : : identifier <) identifier , (ERROR "true>\n               (undefined4 param_1,int *param_2,int param_3)\n\n{\n  uint" (function_declarator "true>\n               (undefined4 param_1,int *param_2,int param_3)" identifier (ERROR ">" >) (parameter_list "(undefined4 param_1,int *param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) { identifier) identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "wchar_t *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "undefined4 local_40 [3];" type_identifier (array_declarator "local_40 [3]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "undefined1 local_2c [24];" type_identifier (array_declarator "local_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bdf2b;" (assignment_expression "uStack_14 = 0x1bdf2b" identifier = number_literal) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 8))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" ( (pointer_expression "**(code **)(*param_2 + 8)" * (pointer_expression "*(code **)(*param_2 + 8)" * (cast_expression "(code **)(*param_2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x14) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x14)" * (cast_expression "(undefined4 *)(param_3 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 0xc))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0xc))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 0xc))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x18) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x18) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x18)" * (cast_expression "(undefined4 *)(param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 0x20))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0x20))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 0x20))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x20))" ( (pointer_expression "**(code **)(*param_2 + 0x20)" * (pointer_expression "*(code **)(*param_2 + 0x20)" * (cast_expression "(code **)(*param_2 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x20)" ( (binary_expression "*param_2 + 0x20" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x34) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x34)" * (cast_expression "(undefined4 *)(param_3 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x1c)" * (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x24) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x24)" * (cast_expression "(undefined4 *)(param_3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" * (cast_expression "(undefined4 *)(param_3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_3 + 0x6c) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0x6c) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0x6c)" * (cast_expression "(undefined1 *)(param_3 + 0x6c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x6c)" ( (binary_expression "param_3 + 0x6c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(*param_2 + 0x10))((string *)&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x10))((string *)&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x10))" ( (pointer_expression "**(code **)(*param_2 + 0x10)" * (pointer_expression "*(code **)(*param_2 + 0x10)" * (cast_expression "(code **)(*param_2 + 0x10)" ( (type_descriptor "code **" 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) ))))) )) (argument_list "((string *)&local_34,param_2)" ( (cast_expression "(string *)&local_34" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , identifier ))) ;) (expression_statement "uVar1 = local_30;" (assignment_expression "uVar1 = local_30" identifier = identifier) ;) comment (expression_statement "pcVar3 = (char *)operator_new__(local_30 + 1);" (assignment_expression "pcVar3 = (char *)operator_new__(local_30 + 1)" identifier = (cast_expression "(char *)operator_new__(local_30 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) ))))) ;) (labeled_statement "std::string::copy((string *)&local_34,pcVar3,uVar1,0);" statement_identifier : (ERROR ":" :) (labeled_statement "string::copy((string *)&local_34,pcVar3,uVar1,0);" statement_identifier : (ERROR ":" :) (expression_statement "copy((string *)&local_34,pcVar3,uVar1,0);" (call_expression "copy((string *)&local_34,pcVar3,uVar1,0)" identifier (argument_list "((string *)&local_34,pcVar3,uVar1,0)" ( (cast_expression "(string *)&local_34" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , identifier , identifier , number_literal ))) ;))) (expression_statement "pcVar3[uVar1] = '\0';" (assignment_expression "pcVar3[uVar1] = '\0'" (subscript_expression "pcVar3[uVar1]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(char **)(param_3 + 8) = pcVar3;" (assignment_expression "*(char **)(param_3 + 8) = pcVar3" (pointer_expression "*(char **)(param_3 + 8)" * (cast_expression "(char **)(param_3 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_3 + 0xc) = uVar1;" (assignment_expression "*(uint *)(param_3 + 0xc) = uVar1" (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n    operator_delete(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    operator_delete(local_34);\n  }" { (expression_statement "operator_delete(local_34);" (call_expression "operator_delete(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x14))((string *)&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x14))((string *)&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" ( (pointer_expression "**(code **)(*param_2 + 0x14)" * (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "((string *)&local_34,param_2)" ( (cast_expression "(string *)&local_34" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , identifier ))) ;) (expression_statement "uVar1 = local_30;" (assignment_expression "uVar1 = local_30" identifier = identifier) ;) (if_statement "if (0x1fffffff < local_30 + 1) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */\n    __cxa_throw_bad_array_new_length();\n  }" if (parenthesized_expression "(0x1fffffff < local_30 + 1)" ( (binary_expression "0x1fffffff < local_30 + 1" number_literal < (binary_expression "local_30 + 1" identifier + number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */\n    __cxa_throw_bad_array_new_length();\n  }" { comment comment (expression_statement "__cxa_throw_bad_array_new_length();" (call_expression "__cxa_throw_bad_array_new_length()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);" (assignment_expression "pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4)" identifier = (cast_expression "(wchar_t *)operator_new__((local_30 + 1) * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__((local_30 + 1) * 4)" identifier (argument_list "((local_30 + 1) * 4)" ( (binary_expression "(local_30 + 1) * 4" (parenthesized_expression "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )) * number_literal) ))))) ;) (labeled_statement "std::wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (expression_statement "copy((wstring *)&local_34,pwVar4,uVar1,0);" (call_expression "copy((wstring *)&local_34,pwVar4,uVar1,0)" identifier (argument_list "((wstring *)&local_34,pwVar4,uVar1,0)" ( (cast_expression "(wstring *)&local_34" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , identifier , identifier , number_literal ))) ;))) (expression_statement "*(uint *)(param_3 + 0x20) = uVar1;" (assignment_expression "*(uint *)(param_3 + 0x20) = uVar1" (pointer_expression "*(uint *)(param_3 + 0x20)" * (cast_expression "(uint *)(param_3 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "pwVar4[uVar1] = L'\0';" (assignment_expression "pwVar4[uVar1] = L'\0'" (subscript_expression "pwVar4[uVar1]" identifier [ identifier ]) = (char_literal "L'\0'" L' escape_sequence ')) ;) (expression_statement "*(wchar_t **)(param_3 + 0x1c) = pwVar4;" (assignment_expression "*(wchar_t **)(param_3 + 0x1c) = pwVar4" (pointer_expression "*(wchar_t **)(param_3 + 0x1c)" * (cast_expression "(wchar_t **)(param_3 + 0x1c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n    operator_delete(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    operator_delete(local_34);\n  }" { (expression_statement "operator_delete(local_34);" (call_expression "operator_delete(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x18))((string *)&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x18))((string *)&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x18))" ( (pointer_expression "**(code **)(*param_2 + 0x18)" * (pointer_expression "*(code **)(*param_2 + 0x18)" * (cast_expression "(code **)(*param_2 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "((string *)&local_34,param_2)" ( (cast_expression "(string *)&local_34" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , identifier ))) ;) (expression_statement "uVar1 = local_30;" (assignment_expression "uVar1 = local_30" identifier = identifier) ;) (if_statement "if (local_30 + 1 < 0x20000000) {\n                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */\n    pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n    std::wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);\n    *(uint *)(param_3 + 0x28) = uVar1;\n    pwVar4[uVar1] = L'\0';\n    *(wchar_t **)(param_3 + 0x24) = pwVar4;\n    if (local_34 != local_2c) {\n      operator_delete(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))((string *)&local_34,param_2);\n    if (local_30 + 1 < 0x20000000) {\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n      std::wstring::copy((wstring *)&local_34,pwVar4,local_30,0);\n      pwVar4[local_30] = L'\0';\n      *(uint *)(param_3 + 0x30) = local_30;\n      *(wchar_t **)(param_3 + 0x2c) = pwVar4;\n      if (local_34 != local_2c) {\n        operator_delete(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */\n    __cxa_throw_bad_array_new_length();\n  }" if (parenthesized_expression "(local_30 + 1 < 0x20000000)" ( (binary_expression "local_30 + 1 < 0x20000000" (binary_expression "local_30 + 1" identifier + number_literal) < number_literal) )) (compound_statement "{\n                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */\n    pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n    std::wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);\n    *(uint *)(param_3 + 0x28) = uVar1;\n    pwVar4[uVar1] = L'\0';\n    *(wchar_t **)(param_3 + 0x24) = pwVar4;\n    if (local_34 != local_2c) {\n      operator_delete(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))((string *)&local_34,param_2);\n    if (local_30 + 1 < 0x20000000) {\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n      std::wstring::copy((wstring *)&local_34,pwVar4,local_30,0);\n      pwVar4[local_30] = L'\0';\n      *(uint *)(param_3 + 0x30) = local_30;\n      *(wchar_t **)(param_3 + 0x2c) = pwVar4;\n      if (local_34 != local_2c) {\n        operator_delete(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */\n    __cxa_throw_bad_array_new_length();\n  }" { comment (expression_statement "pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);" (assignment_expression "pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4)" identifier = (cast_expression "(wchar_t *)operator_new__((local_30 + 1) * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__((local_30 + 1) * 4)" identifier (argument_list "((local_30 + 1) * 4)" ( (binary_expression "(local_30 + 1) * 4" (parenthesized_expression "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )) * number_literal) ))))) ;) (labeled_statement "std::wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::copy((wstring *)&local_34,pwVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (expression_statement "copy((wstring *)&local_34,pwVar4,uVar1,0);" (call_expression "copy((wstring *)&local_34,pwVar4,uVar1,0)" identifier (argument_list "((wstring *)&local_34,pwVar4,uVar1,0)" ( (cast_expression "(wstring *)&local_34" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , identifier , identifier , number_literal ))) ;))) (expression_statement "*(uint *)(param_3 + 0x28) = uVar1;" (assignment_expression "*(uint *)(param_3 + 0x28) = uVar1" (pointer_expression "*(uint *)(param_3 + 0x28)" * (cast_expression "(uint *)(param_3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "pwVar4[uVar1] = L'\0';" (assignment_expression "pwVar4[uVar1] = L'\0'" (subscript_expression "pwVar4[uVar1]" identifier [ identifier ]) = (char_literal "L'\0'" L' escape_sequence ')) ;) (expression_statement "*(wchar_t **)(param_3 + 0x24) = pwVar4;" (assignment_expression "*(wchar_t **)(param_3 + 0x24) = pwVar4" (pointer_expression "*(wchar_t **)(param_3 + 0x24)" * (cast_expression "(wchar_t **)(param_3 + 0x24)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n      operator_delete(local_34);\n    }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n      operator_delete(local_34);\n    }" { (expression_statement "operator_delete(local_34);" (call_expression "operator_delete(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x1c))((string *)&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x1c))((string *)&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x1c))" ( (pointer_expression "**(code **)(*param_2 + 0x1c)" * (pointer_expression "*(code **)(*param_2 + 0x1c)" * (cast_expression "(code **)(*param_2 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x1c)" ( (binary_expression "*param_2 + 0x1c" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "((string *)&local_34,param_2)" ( (cast_expression "(string *)&local_34" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , identifier ))) ;) (if_statement "if (local_30 + 1 < 0x20000000) {\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n      std::wstring::copy((wstring *)&local_34,pwVar4,local_30,0);\n      pwVar4[local_30] = L'\0';\n      *(uint *)(param_3 + 0x30) = local_30;\n      *(wchar_t **)(param_3 + 0x2c) = pwVar4;\n      if (local_34 != local_2c) {\n        operator_delete(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }" if (parenthesized_expression "(local_30 + 1 < 0x20000000)" ( (binary_expression "local_30 + 1 < 0x20000000" (binary_expression "local_30 + 1" identifier + number_literal) < number_literal) )) (compound_statement "{\n                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */\n      pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);\n      std::wstring::copy((wstring *)&local_34,pwVar4,local_30,0);\n      pwVar4[local_30] = L'\0';\n      *(uint *)(param_3 + 0x30) = local_30;\n      *(wchar_t **)(param_3 + 0x2c) = pwVar4;\n      if (local_34 != local_2c) {\n        operator_delete(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }" { comment (expression_statement "pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4);" (assignment_expression "pwVar4 = (wchar_t *)operator_new__((local_30 + 1) * 4)" identifier = (cast_expression "(wchar_t *)operator_new__((local_30 + 1) * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__((local_30 + 1) * 4)" identifier (argument_list "((local_30 + 1) * 4)" ( (binary_expression "(local_30 + 1) * 4" (parenthesized_expression "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )) * number_literal) ))))) ;) (labeled_statement "std::wstring::copy((wstring *)&local_34,pwVar4,local_30,0);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::copy((wstring *)&local_34,pwVar4,local_30,0);" statement_identifier : (ERROR ":" :) (expression_statement "copy((wstring *)&local_34,pwVar4,local_30,0);" (call_expression "copy((wstring *)&local_34,pwVar4,local_30,0)" identifier (argument_list "((wstring *)&local_34,pwVar4,local_30,0)" ( (cast_expression "(wstring *)&local_34" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , identifier , identifier , number_literal ))) ;))) (expression_statement "pwVar4[local_30] = L'\0';" (assignment_expression "pwVar4[local_30] = L'\0'" (subscript_expression "pwVar4[local_30]" identifier [ identifier ]) = (char_literal "L'\0'" L' escape_sequence ')) ;) (expression_statement "*(uint *)(param_3 + 0x30) = local_30;" (assignment_expression "*(uint *)(param_3 + 0x30) = local_30" (pointer_expression "*(uint *)(param_3 + 0x30)" * (cast_expression "(uint *)(param_3 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(wchar_t **)(param_3 + 0x2c) = pwVar4;" (assignment_expression "*(wchar_t **)(param_3 + 0x2c) = pwVar4" (pointer_expression "*(wchar_t **)(param_3 + 0x2c)" * (cast_expression "(wchar_t **)(param_3 + 0x2c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n        operator_delete(local_34);\n      }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n        operator_delete(local_34);\n      }" { (expression_statement "operator_delete(local_34);" (call_expression "operator_delete(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x24))(local_40,param_2);" (call_expression "(**(code **)(*param_2 + 0x24))(local_40,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x24))" ( (pointer_expression "**(code **)(*param_2 + 0x24)" * (pointer_expression "*(code **)(*param_2 + 0x24)" * (cast_expression "(code **)(*param_2 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x24)" ( (binary_expression "*param_2 + 0x24" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(local_40,param_2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x38) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x38) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x38)" * (cast_expression "(undefined4 *)(param_3 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (expression_statement "(**(code **)(*param_2 + 0x28))(local_40,param_2);" (call_expression "(**(code **)(*param_2 + 0x28))(local_40,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" ( (pointer_expression "**(code **)(*param_2 + 0x28)" * (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(local_40,param_2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x3c) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x3c) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x3c)" * (cast_expression "(undefined4 *)(param_3 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "__cxa_throw_bad_array_new_length();" (call_expression "__cxa_throw_bad_array_new_length()" identifier (argument_list "()" ( ))) ;) })) comment comment (expression_statement "__cxa_throw_bad_array_new_length();" (call_expression "__cxa_throw_bad_array_new_length()" identifier (argument_list "()" ( ))) ;) (ERROR "}" }))
(translation_unit "void FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar1 = local_30;\n                    \n  iVar3 = FUN_0017eb70(local_30 + 1);\n  FUN_0018a2a0(&local_34,iVar3,iVar1,0);\n  *(undefined1 *)(iVar3 + iVar1) = 0;\n  *(int *)(param_3 + 8) = iVar3;\n  *(int *)(param_3 + 0xc) = iVar1;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar1 = local_30;\n  if (0x1fffffff < local_30 + 1U) {\n                    \n                    \n    FUN_00180130();\n  }\n  iVar3 = (local_30 + 1U) * 4;\n                    \n  iVar4 = FUN_0017eb70(iVar3);\n  FUN_00186950(&local_34,iVar4,iVar1,0);\n  *(int *)(param_3 + 0x20) = iVar1;\n  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n  *(int *)(param_3 + 0x1c) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar1 = local_30;\n  if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }\n                    \n                    \n  FUN_00180130();\n}\n\n" (function_definition "void FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar1 = local_30;\n                    \n  iVar3 = FUN_0017eb70(local_30 + 1);\n  FUN_0018a2a0(&local_34,iVar3,iVar1,0);\n  *(undefined1 *)(iVar3 + iVar1) = 0;\n  *(int *)(param_3 + 8) = iVar3;\n  *(int *)(param_3 + 0xc) = iVar1;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar1 = local_30;\n  if (0x1fffffff < local_30 + 1U) {\n                    \n                    \n    FUN_00180130();\n  }\n  iVar3 = (local_30 + 1U) * 4;\n                    \n  iVar4 = FUN_0017eb70(iVar3);\n  FUN_00186950(&local_34,iVar4,iVar1,0);\n  *(int *)(param_3 + 0x20) = iVar1;\n  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n  *(int *)(param_3 + 0x1c) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar1 = local_30;\n  if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }\n                    \n                    \n  FUN_00180130();\n}" primitive_type (function_declarator "FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int *param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar1 = local_30;\n                    \n  iVar3 = FUN_0017eb70(local_30 + 1);\n  FUN_0018a2a0(&local_34,iVar3,iVar1,0);\n  *(undefined1 *)(iVar3 + iVar1) = 0;\n  *(int *)(param_3 + 8) = iVar3;\n  *(int *)(param_3 + 0xc) = iVar1;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar1 = local_30;\n  if (0x1fffffff < local_30 + 1U) {\n                    \n                    \n    FUN_00180130();\n  }\n  iVar3 = (local_30 + 1U) * 4;\n                    \n  iVar4 = FUN_0017eb70(iVar3);\n  FUN_00186950(&local_34,iVar4,iVar1,0);\n  *(int *)(param_3 + 0x20) = iVar1;\n  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n  *(int *)(param_3 + 0x1c) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar1 = local_30;\n  if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }\n                    \n                    \n  FUN_00180130();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 local_40 [3];" type_identifier (array_declarator "local_40 [3]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [24];" type_identifier (array_declarator "local_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bdf2b;" (assignment_expression "uStack_14 = 0x1bdf2b" identifier = number_literal) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 8))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" ( (pointer_expression "**(code **)(*param_2 + 8)" * (pointer_expression "*(code **)(*param_2 + 8)" * (cast_expression "(code **)(*param_2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x14) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x14)" * (cast_expression "(undefined4 *)(param_3 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 0xc))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0xc))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 0xc))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x18) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x18) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x18)" * (cast_expression "(undefined4 *)(param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 0x20))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0x20))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 0x20))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x20))" ( (pointer_expression "**(code **)(*param_2 + 0x20)" * (pointer_expression "*(code **)(*param_2 + 0x20)" * (cast_expression "(code **)(*param_2 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x20)" ( (binary_expression "*param_2 + 0x20" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x34) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x34)" * (cast_expression "(undefined4 *)(param_3 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x1c)" * (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x24) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x24)" * (cast_expression "(undefined4 *)(param_3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" * (cast_expression "(undefined4 *)(param_3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_3 + 0x6c) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0x6c) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0x6c)" * (cast_expression "(undefined1 *)(param_3 + 0x6c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x6c)" ( (binary_expression "param_3 + 0x6c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(*param_2 + 0x10))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x10))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x10))" ( (pointer_expression "**(code **)(*param_2 + 0x10)" * (pointer_expression "*(code **)(*param_2 + 0x10)" * (cast_expression "(code **)(*param_2 + 0x10)" ( (type_descriptor "code **" 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) ))))) )) (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" identifier = identifier) ;) (expression_statement "iVar3 = FUN_0017eb70(local_30 + 1);" (assignment_expression "iVar3 = FUN_0017eb70(local_30 + 1)" identifier = (call_expression "FUN_0017eb70(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_0018a2a0(&local_34,iVar3,iVar1,0);" (call_expression "FUN_0018a2a0(&local_34,iVar3,iVar1,0)" identifier (argument_list "(&local_34,iVar3,iVar1,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)(iVar3 + iVar1) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar1) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar1)" * (cast_expression "(undefined1 *)(iVar3 + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar1)" ( (binary_expression "iVar3 + iVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 8) = iVar3;" (assignment_expression "*(int *)(param_3 + 8) = iVar3" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 0xc) = iVar1;" (assignment_expression "*(int *)(param_3 + 0xc) = iVar1" (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001807a0(local_34);\n  }" { (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x14))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x14))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" ( (pointer_expression "**(code **)(*param_2 + 0x14)" * (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" identifier = identifier) ;) (if_statement "if (0x1fffffff < local_30 + 1U) {\n                    \n                    \n    FUN_00180130();\n  }" if (parenthesized_expression "(0x1fffffff < local_30 + 1U)" ( (binary_expression "0x1fffffff < local_30 + 1U" number_literal < (binary_expression "local_30 + 1U" identifier + number_literal)) )) (compound_statement "{\n                    \n                    \n    FUN_00180130();\n  }" { (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar3 = (local_30 + 1U) * 4;" (assignment_expression "iVar3 = (local_30 + 1U) * 4" identifier = (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" ( (binary_expression "local_30 + 1U" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar4 = FUN_0017eb70(iVar3);" (assignment_expression "iVar4 = FUN_0017eb70(iVar3)" identifier = (call_expression "FUN_0017eb70(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "FUN_00186950(&local_34,iVar4,iVar1,0);" (call_expression "FUN_00186950(&local_34,iVar4,iVar1,0)" identifier (argument_list "(&local_34,iVar4,iVar1,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(int *)(param_3 + 0x20) = iVar1;" (assignment_expression "*(int *)(param_3 + 0x20) = iVar1" (pointer_expression "*(int *)(param_3 + 0x20)" * (cast_expression "(int *)(param_3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + -4 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + -4 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar4 + -4 + iVar3)" * (cast_expression "(undefined4 *)(iVar4 + -4 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -4 + iVar3)" ( (binary_expression "iVar4 + -4 + iVar3" (binary_expression "iVar4 + -4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001807a0(local_34);\n  }" { (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x18))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x18))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x18))" ( (pointer_expression "**(code **)(*param_2 + 0x18)" * (pointer_expression "*(code **)(*param_2 + 0x18)" * (cast_expression "(code **)(*param_2 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" identifier = identifier) ;) (if_statement "if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }" if (parenthesized_expression "(local_30 + 1U < 0x20000000)" ( (binary_expression "local_30 + 1U < 0x20000000" (binary_expression "local_30 + 1U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }" { (expression_statement "iVar3 = (local_30 + 1U) * 4;" (assignment_expression "iVar3 = (local_30 + 1U) * 4" identifier = (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" ( (binary_expression "local_30 + 1U" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar4 = FUN_0017eb70(iVar3);" (assignment_expression "iVar4 = FUN_0017eb70(iVar3)" identifier = (call_expression "FUN_0017eb70(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "FUN_00186950(&local_34,iVar4,iVar1,0);" (call_expression "FUN_00186950(&local_34,iVar4,iVar1,0)" identifier (argument_list "(&local_34,iVar4,iVar1,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(int *)(param_3 + 0x28) = iVar1;" (assignment_expression "*(int *)(param_3 + 0x28) = iVar1" (pointer_expression "*(int *)(param_3 + 0x28)" * (cast_expression "(int *)(param_3 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + -4 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + -4 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar4 + -4 + iVar3)" * (cast_expression "(undefined4 *)(iVar4 + -4 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -4 + iVar3)" ( (binary_expression "iVar4 + -4 + iVar3" (binary_expression "iVar4 + -4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x24) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x24) = iVar4" (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n      FUN_001807a0(local_34);\n    }" { (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x1c))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x1c))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x1c))" ( (pointer_expression "**(code **)(*param_2 + 0x1c)" * (pointer_expression "*(code **)(*param_2 + 0x1c)" * (cast_expression "(code **)(*param_2 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x1c)" ( (binary_expression "*param_2 + 0x1c" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_34,param_2)" ( (pointer_expression "&local_34" & identifier) , identifier ))) ;) (if_statement "if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }" if (parenthesized_expression "(local_30 + 1U < 0x20000000)" ( (binary_expression "local_30 + 1U < 0x20000000" (binary_expression "local_30 + 1U" identifier + number_literal) < number_literal) )) (compound_statement "{\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }" { (expression_statement "iVar1 = (local_30 + 1U) * 4;" (assignment_expression "iVar1 = (local_30 + 1U) * 4" identifier = (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" ( (binary_expression "local_30 + 1U" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar3 = FUN_0017eb70(iVar1);" (assignment_expression "iVar3 = FUN_0017eb70(iVar1)" identifier = (call_expression "FUN_0017eb70(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "FUN_00186950(&local_34,iVar3,local_30,0);" (call_expression "FUN_00186950(&local_34,iVar3,local_30,0)" identifier (argument_list "(&local_34,iVar3,local_30,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined4 *)(iVar3 + -4 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + -4 + iVar1) = 0" (pointer_expression "*(undefined4 *)(iVar3 + -4 + iVar1)" * (cast_expression "(undefined4 *)(iVar3 + -4 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -4 + iVar1)" ( (binary_expression "iVar3 + -4 + iVar1" (binary_expression "iVar3 + -4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x30) = local_30;" (assignment_expression "*(int *)(param_3 + 0x30) = local_30" (pointer_expression "*(int *)(param_3 + 0x30)" * (cast_expression "(int *)(param_3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 0x2c) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x2c) = iVar3" (pointer_expression "*(int *)(param_3 + 0x2c)" * (cast_expression "(int *)(param_3 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n        FUN_001807a0(local_34);\n      }" { (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*param_2 + 0x24))(local_40,param_2);" (call_expression "(**(code **)(*param_2 + 0x24))(local_40,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x24))" ( (pointer_expression "**(code **)(*param_2 + 0x24)" * (pointer_expression "*(code **)(*param_2 + 0x24)" * (cast_expression "(code **)(*param_2 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x24)" ( (binary_expression "*param_2 + 0x24" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(local_40,param_2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x38) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x38) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x38)" * (cast_expression "(undefined4 *)(param_3 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (expression_statement "(**(code **)(*param_2 + 0x28))(local_40,param_2);" (call_expression "(**(code **)(*param_2 + 0x28))(local_40,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" ( (pointer_expression "**(code **)(*param_2 + 0x28)" * (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(local_40,param_2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_3 + 0x3c) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x3c) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x3c)" * (cast_expression "(undefined4 *)(param_3 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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) )))) = LIT) ;) (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) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar1 = local_30;\n                    \n  iVar3 = FUN_0017eb70(local_30 + 1);\n  FUN_0018a2a0(&local_34,iVar3,iVar1,0);\n  *(undefined1 *)(iVar3 + iVar1) = 0;\n  *(int *)(param_3 + 8) = iVar3;\n  *(int *)(param_3 + 0xc) = iVar1;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar1 = local_30;\n  if (0x1fffffff < local_30 + 1U) {\n                    \n                    \n    FUN_00180130();\n  }\n  iVar3 = (local_30 + 1U) * 4;\n                    \n  iVar4 = FUN_0017eb70(iVar3);\n  FUN_00186950(&local_34,iVar4,iVar1,0);\n  *(int *)(param_3 + 0x20) = iVar1;\n  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n  *(int *)(param_3 + 0x1c) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar1 = local_30;\n  if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }\n                    \n                    \n  FUN_00180130();\n}" (primitive_type "void") (function_declarator "FUN_001bdf20(undefined4 param_1,int *param_2,int param_3)" (identifier "FUN_001bdf20") (parameter_list "(undefined4 param_1,int *param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_40 [3];\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bdf2b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined4 *)(param_3 + 0x14) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined4 *)(param_3 + 0x18) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x34) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined4 *)(param_3 + 0x2c) = 0;\n  *(undefined1 *)(param_3 + 0x6c) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar1 = local_30;\n                    \n  iVar3 = FUN_0017eb70(local_30 + 1);\n  FUN_0018a2a0(&local_34,iVar3,iVar1,0);\n  *(undefined1 *)(iVar3 + iVar1) = 0;\n  *(int *)(param_3 + 8) = iVar3;\n  *(int *)(param_3 + 0xc) = iVar1;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar1 = local_30;\n  if (0x1fffffff < local_30 + 1U) {\n                    \n                    \n    FUN_00180130();\n  }\n  iVar3 = (local_30 + 1U) * 4;\n                    \n  iVar4 = FUN_0017eb70(iVar3);\n  FUN_00186950(&local_34,iVar4,iVar1,0);\n  *(int *)(param_3 + 0x20) = iVar1;\n  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n  *(int *)(param_3 + 0x1c) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar1 = local_30;\n  if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }\n                    \n                    \n  FUN_00180130();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 local_40 [3];" (type_identifier "undefined4") (array_declarator "local_40 [3]" (identifier "local_40") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined1 *local_34;" (type_identifier "undefined1") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined1 local_2c [24];" (type_identifier "undefined1") (array_declarator "local_2c [24]" (identifier "local_2c") ([ "[") (number_literal "24") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1bdf2b;" (assignment_expression "uStack_14 = 0x1bdf2b" (identifier "uStack_14") (= "=") (number_literal "0x1bdf2b")) (; ";")) (expression_statement "uVar2 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 8))(param_2)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" (( "(") (pointer_expression "**(code **)(*param_2 + 8)" (* "*") (pointer_expression "*(code **)(*param_2 + 8)" (* "*") (cast_expression "(code **)(*param_2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 8)" (( "(") (binary_expression "*param_2 + 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x14) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = (**(code **)(*param_2 + 0xc))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0xc))(param_2)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*param_2 + 0xc))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" (( "(") (pointer_expression "**(code **)(*param_2 + 0xc)" (* "*") (pointer_expression "*(code **)(*param_2 + 0xc)" (* "*") (cast_expression "(code **)(*param_2 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0xc)" (( "(") (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x18) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x18) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = (**(code **)(*param_2 + 0x20))(param_2);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0x20))(param_2)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*param_2 + 0x20))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x20))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x20)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x20)" (* "*") (cast_expression "(code **)(*param_2 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x20)" (( "(") (binary_expression "*param_2 + 0x20" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x34) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x34)" (( "(") (binary_expression "param_3 + 0x34" (identifier "param_3") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" (* "*") (cast_expression "(undefined4 *)(param_3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x24) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x24)" (( "(") (binary_expression "param_3 + 0x24" (identifier "param_3") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x2c)" (( "(") (binary_expression "param_3 + 0x2c" (identifier "param_3") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_3 + 0x6c) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0x6c) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0x6c)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x6c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x6c)" (( "(") (binary_expression "param_3 + 0x6c" (identifier "param_3") (+ "+") (number_literal "0x6c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "(**(code **)(*param_2 + 0x10))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x10))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x10))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x10)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x10)" (* "*") (cast_expression "(code **)(*param_2 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (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")) () ")"))))) () ")")) (argument_list "(&local_34,param_2)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" (identifier "iVar1") (= "=") (identifier "local_30")) (; ";")) (expression_statement "iVar3 = FUN_0017eb70(local_30 + 1);" (assignment_expression "iVar3 = FUN_0017eb70(local_30 + 1)" (identifier "iVar3") (= "=") (call_expression "FUN_0017eb70(local_30 + 1)" (identifier "FUN_0017eb70") (argument_list "(local_30 + 1)" (( "(") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "FUN_0018a2a0(&local_34,iVar3,iVar1,0);" (call_expression "FUN_0018a2a0(&local_34,iVar3,iVar1,0)" (identifier "FUN_0018a2a0") (argument_list "(&local_34,iVar3,iVar1,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar3") (, ",") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(iVar3 + iVar1) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar1) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar1)" (* "*") (cast_expression "(undefined1 *)(iVar3 + iVar1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar1)" (( "(") (binary_expression "iVar3 + iVar1" (identifier "iVar3") (+ "+") (identifier "iVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_3 + 8) = iVar3;" (assignment_expression "*(int *)(param_3 + 8) = iVar3" (pointer_expression "*(int *)(param_3 + 8)" (* "*") (cast_expression "(int *)(param_3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)(param_3 + 0xc) = iVar1;" (assignment_expression "*(int *)(param_3 + 0xc) = iVar1" (pointer_expression "*(int *)(param_3 + 0xc)" (* "*") (cast_expression "(int *)(param_3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n    FUN_001807a0(local_34);\n  }" ({ "{") (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" (identifier "FUN_001807a0") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_2 + 0x14))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x14))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x14)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x14)" (* "*") (cast_expression "(code **)(*param_2 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x14)" (( "(") (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(&local_34,param_2)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" (identifier "iVar1") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (0x1fffffff < local_30 + 1U) {\n                    \n                    \n    FUN_00180130();\n  }" (if "if") (parenthesized_expression "(0x1fffffff < local_30 + 1U)" (( "(") (binary_expression "0x1fffffff < local_30 + 1U" (number_literal "0x1fffffff") (< "<") (binary_expression "local_30 + 1U" (identifier "local_30") (+ "+") (number_literal "1U"))) () ")")) (compound_statement "{\n                    \n                    \n    FUN_00180130();\n  }" ({ "{") (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" (identifier "FUN_00180130") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = (local_30 + 1U) * 4;" (assignment_expression "iVar3 = (local_30 + 1U) * 4" (identifier "iVar3") (= "=") (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" (( "(") (binary_expression "local_30 + 1U" (identifier "local_30") (+ "+") (number_literal "1U")) () ")")) (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = FUN_0017eb70(iVar3);" (assignment_expression "iVar4 = FUN_0017eb70(iVar3)" (identifier "iVar4") (= "=") (call_expression "FUN_0017eb70(iVar3)" (identifier "FUN_0017eb70") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "FUN_00186950(&local_34,iVar4,iVar1,0);" (call_expression "FUN_00186950(&local_34,iVar4,iVar1,0)" (identifier "FUN_00186950") (argument_list "(&local_34,iVar4,iVar1,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar4") (, ",") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(int *)(param_3 + 0x20) = iVar1;" (assignment_expression "*(int *)(param_3 + 0x20) = iVar1" (pointer_expression "*(int *)(param_3 + 0x20)" (* "*") (cast_expression "(int *)(param_3 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + -4 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + -4 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar4 + -4 + iVar3)" (* "*") (cast_expression "(undefined4 *)(iVar4 + -4 + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + -4 + iVar3)" (( "(") (binary_expression "iVar4 + -4 + iVar3" (binary_expression "iVar4 + -4" (identifier "iVar4") (+ "+") (number_literal "-4")) (+ "+") (identifier "iVar3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_3 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (local_34 != local_2c) {\n    FUN_001807a0(local_34);\n  }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n    FUN_001807a0(local_34);\n  }" ({ "{") (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" (identifier "FUN_001807a0") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_2 + 0x18))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x18))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x18))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x18)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x18)" (* "*") (cast_expression "(code **)(*param_2 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x18)" (( "(") (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(&local_34,param_2)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar1 = local_30;" (assignment_expression "iVar1 = local_30" (identifier "iVar1") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (local_30 + 1U < 0x20000000) {\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }" (if "if") (parenthesized_expression "(local_30 + 1U < 0x20000000)" (( "(") (binary_expression "local_30 + 1U < 0x20000000" (binary_expression "local_30 + 1U" (identifier "local_30") (+ "+") (number_literal "1U")) (< "<") (number_literal "0x20000000")) () ")")) (compound_statement "{\n    iVar3 = (local_30 + 1U) * 4;\n                    \n    iVar4 = FUN_0017eb70(iVar3);\n    FUN_00186950(&local_34,iVar4,iVar1,0);\n    *(int *)(param_3 + 0x28) = iVar1;\n    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;\n    *(int *)(param_3 + 0x24) = iVar4;\n    if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }\n    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n    if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }\n                    \n                    \n    FUN_00180130();\n  }" ({ "{") (expression_statement "iVar3 = (local_30 + 1U) * 4;" (assignment_expression "iVar3 = (local_30 + 1U) * 4" (identifier "iVar3") (= "=") (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" (( "(") (binary_expression "local_30 + 1U" (identifier "local_30") (+ "+") (number_literal "1U")) () ")")) (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = FUN_0017eb70(iVar3);" (assignment_expression "iVar4 = FUN_0017eb70(iVar3)" (identifier "iVar4") (= "=") (call_expression "FUN_0017eb70(iVar3)" (identifier "FUN_0017eb70") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "FUN_00186950(&local_34,iVar4,iVar1,0);" (call_expression "FUN_00186950(&local_34,iVar4,iVar1,0)" (identifier "FUN_00186950") (argument_list "(&local_34,iVar4,iVar1,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar4") (, ",") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(int *)(param_3 + 0x28) = iVar1;" (assignment_expression "*(int *)(param_3 + 0x28) = iVar1" (pointer_expression "*(int *)(param_3 + 0x28)" (* "*") (cast_expression "(int *)(param_3 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x28)" (( "(") (binary_expression "param_3 + 0x28" (identifier "param_3") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + -4 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + -4 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar4 + -4 + iVar3)" (* "*") (cast_expression "(undefined4 *)(iVar4 + -4 + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + -4 + iVar3)" (( "(") (binary_expression "iVar4 + -4 + iVar3" (binary_expression "iVar4 + -4" (identifier "iVar4") (+ "+") (number_literal "-4")) (+ "+") (identifier "iVar3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_3 + 0x24) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x24) = iVar4" (pointer_expression "*(int *)(param_3 + 0x24)" (* "*") (cast_expression "(int *)(param_3 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x24)" (( "(") (binary_expression "param_3 + 0x24" (identifier "param_3") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (local_34 != local_2c) {\n      FUN_001807a0(local_34);\n    }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n      FUN_001807a0(local_34);\n    }" ({ "{") (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" (identifier "FUN_001807a0") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_2 + 0x1c))(&local_34,param_2);" (call_expression "(**(code **)(*param_2 + 0x1c))(&local_34,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x1c))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x1c)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x1c)" (* "*") (cast_expression "(code **)(*param_2 + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x1c)" (( "(") (binary_expression "*param_2 + 0x1c" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "(&local_34,param_2)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (local_30 + 1U < 0x20000000) {\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }" (if "if") (parenthesized_expression "(local_30 + 1U < 0x20000000)" (( "(") (binary_expression "local_30 + 1U < 0x20000000" (binary_expression "local_30 + 1U" (identifier "local_30") (+ "+") (number_literal "1U")) (< "<") (number_literal "0x20000000")) () ")")) (compound_statement "{\n      iVar1 = (local_30 + 1U) * 4;\n                    \n      iVar3 = FUN_0017eb70(iVar1);\n      FUN_00186950(&local_34,iVar3,local_30,0);\n      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;\n      *(int *)(param_3 + 0x30) = local_30;\n      *(int *)(param_3 + 0x2c) = iVar3;\n      if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }\n      (**(code **)(*param_2 + 0x24))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x38) = local_40[0];\n      (**(code **)(*param_2 + 0x28))(local_40,param_2);\n      *(undefined4 *)(param_3 + 0x3c) = local_40[0];\n      return;\n    }" ({ "{") (expression_statement "iVar1 = (local_30 + 1U) * 4;" (assignment_expression "iVar1 = (local_30 + 1U) * 4" (identifier "iVar1") (= "=") (binary_expression "(local_30 + 1U) * 4" (parenthesized_expression "(local_30 + 1U)" (( "(") (binary_expression "local_30 + 1U" (identifier "local_30") (+ "+") (number_literal "1U")) () ")")) (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar3 = FUN_0017eb70(iVar1);" (assignment_expression "iVar3 = FUN_0017eb70(iVar1)" (identifier "iVar3") (= "=") (call_expression "FUN_0017eb70(iVar1)" (identifier "FUN_0017eb70") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "FUN_00186950(&local_34,iVar3,local_30,0);" (call_expression "FUN_00186950(&local_34,iVar3,local_30,0)" (identifier "FUN_00186950") (argument_list "(&local_34,iVar3,local_30,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar3") (, ",") (identifier "local_30") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + -4 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + -4 + iVar1) = 0" (pointer_expression "*(undefined4 *)(iVar3 + -4 + iVar1)" (* "*") (cast_expression "(undefined4 *)(iVar3 + -4 + iVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -4 + iVar1)" (( "(") (binary_expression "iVar3 + -4 + iVar1" (binary_expression "iVar3 + -4" (identifier "iVar3") (+ "+") (number_literal "-4")) (+ "+") (identifier "iVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_3 + 0x30) = local_30;" (assignment_expression "*(int *)(param_3 + 0x30) = local_30" (pointer_expression "*(int *)(param_3 + 0x30)" (* "*") (cast_expression "(int *)(param_3 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x30)" (( "(") (binary_expression "param_3 + 0x30" (identifier "param_3") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(int *)(param_3 + 0x2c) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x2c) = iVar3" (pointer_expression "*(int *)(param_3 + 0x2c)" (* "*") (cast_expression "(int *)(param_3 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x2c)" (( "(") (binary_expression "param_3 + 0x2c" (identifier "param_3") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (local_34 != local_2c) {\n        FUN_001807a0(local_34);\n      }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n        FUN_001807a0(local_34);\n      }" ({ "{") (expression_statement "FUN_001807a0(local_34);" (call_expression "FUN_001807a0(local_34)" (identifier "FUN_001807a0") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_2 + 0x24))(local_40,param_2);" (call_expression "(**(code **)(*param_2 + 0x24))(local_40,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x24))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x24)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x24)" (* "*") (cast_expression "(code **)(*param_2 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x24)" (( "(") (binary_expression "*param_2 + 0x24" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(local_40,param_2)" (( "(") (identifier "local_40") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x38) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x38) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x38)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x38)" (( "(") (binary_expression "param_3 + 0x38" (identifier "param_3") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "(**(code **)(*param_2 + 0x28))(local_40,param_2);" (call_expression "(**(code **)(*param_2 + 0x28))(local_40,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x28)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x28)" (* "*") (cast_expression "(code **)(*param_2 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x28)" (( "(") (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(local_40,param_2)" (( "(") (identifier "local_40") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0x3c) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x3c) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x3c)" (( "(") (binary_expression "param_3 + 0x3c" (identifier "param_3") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" (identifier "FUN_00180130") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180130();" (call_expression "FUN_00180130()" (identifier "FUN_00180130") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* void std::__facet_shims::__moneypunct_fill_cache<wchar_t, true>(std::integral_constant<bool,
   true>, std::locale::facet const*, std::__moneypunct_cache<wchar_t, true>*) */

void std::__facet_shims::__moneypunct_fill_cache<type_2,true>
               (type_1 param_1,int *param_2,int var_1)

{
  type_4 uVar1;
  type_1 uVar2;
  char *pcVar3;
  type_2 *pwVar4;
  type_1 local_40 [3];
  type_3 *var_5;
  type_4 var_3;
  type_3 var_6 [24];
  type_1 uStack_14;
  
  uStack_14 = 0x1bdf2b;
  uVar2 = (**(type_5 **)(*param_2 + 8))(param_2);
  *(type_1 *)(var_1 + 0x14) = uVar2;
  uVar2 = (**(type_5 **)(*param_2 + 0xc))(param_2);
  *(type_1 *)(var_1 + 0x18) = uVar2;
  uVar2 = (**(type_5 **)(*param_2 + 0x20))(param_2);
  *(type_1 *)(var_1 + 0x34) = uVar2;
  *(type_1 *)(var_1 + 8) = 0;
  *(type_1 *)(var_1 + 0x1c) = 0;
  *(type_1 *)(var_1 + 0x24) = 0;
  *(type_1 *)(var_1 + 0x2c) = 0;
  *(type_3 *)(var_1 + 0x6c) = 1;
  (**(type_5 **)(*param_2 + 0x10))((type_6 *)&var_5,param_2);
  uVar1 = var_3;
                    /* try { // try from 001bdf9d to 001bdfb6 has its CatchHandler @ 001be19c */
  pcVar3 = (char *)var_2(var_3 + 1);
  std::string::var_4((type_6 *)&var_5,pcVar3,uVar1,0);
  pcVar3[uVar1] = '\0';
  *(char **)(var_1 + 8) = pcVar3;
  *(type_4 *)(var_1 + 0xc) = uVar1;
  if (var_5 != var_6) {
    var_7(var_5);
  }
  (**(type_5 **)(*param_2 + 0x14))((type_6 *)&var_5,param_2);
  uVar1 = var_3;
  if (0x1fffffff < var_3 + 1) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */
    var_8();
  }
                    /* try { // try from 001be01b to 001be035 has its CatchHandler @ 001be1e7 */
  pwVar4 = (type_2 *)var_2((var_3 + 1) * 4);
  std::wstring::var_4((type_7 *)&var_5,pwVar4,uVar1,0);
  *(type_4 *)(var_1 + 0x20) = uVar1;
  pwVar4[uVar1] = L'\0';
  *(type_2 **)(var_1 + 0x1c) = pwVar4;
  if (var_5 != var_6) {
    var_7(var_5);
  }
  (**(type_5 **)(*param_2 + 0x18))((type_6 *)&var_5,param_2);
  uVar1 = var_3;
  if (var_3 + 1 < 0x20000000) {
                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */
    pwVar4 = (type_2 *)var_2((var_3 + 1) * 4);
    std::wstring::var_4((type_7 *)&var_5,pwVar4,uVar1,0);
    *(type_4 *)(var_1 + 0x28) = uVar1;
    pwVar4[uVar1] = L'\0';
    *(type_2 **)(var_1 + 0x24) = pwVar4;
    if (var_5 != var_6) {
      var_7(var_5);
    }
    (**(type_5 **)(*param_2 + 0x1c))((type_6 *)&var_5,param_2);
    if (var_3 + 1 < 0x20000000) {
                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */
      pwVar4 = (type_2 *)var_2((var_3 + 1) * 4);
      std::wstring::var_4((type_7 *)&var_5,pwVar4,var_3,0);
      pwVar4[var_3] = L'\0';
      *(type_4 *)(var_1 + 0x30) = var_3;
      *(type_2 **)(var_1 + 0x2c) = pwVar4;
      if (var_5 != var_6) {
        var_7(var_5);
      }
      (**(type_5 **)(*param_2 + 0x24))(local_40,param_2);
      *(type_1 *)(var_1 + 0x38) = local_40[0];
      (**(type_5 **)(*param_2 + 0x28))(local_40,param_2);
      *(type_1 *)(var_1 + 0x3c) = local_40[0];
      return;
    }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */
    var_8();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1e2 to 001be1e6 has its CatchHandler @ 001be1db */
  var_8();
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 param_1,int *param_2,int param_3)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  undefined4 local_40 [3];
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [24];
  undefined4 uStack_14;
  
  uStack_14 = 0x1bdf2b;
  uVar2 = (**(code **)(*param_2 + 8))(param_2);
  *(undefined4 *)(param_3 + 0x14) = uVar2;
  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);
  *(undefined4 *)(param_3 + 0x18) = uVar2;
  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);
  *(undefined4 *)(param_3 + 0x34) = uVar2;
  *(undefined4 *)(param_3 + 8) = 0;
  *(undefined4 *)(param_3 + 0x1c) = 0;
  *(undefined4 *)(param_3 + 0x24) = 0;
  *(undefined4 *)(param_3 + 0x2c) = 0;
  *(undefined1 *)(param_3 + 0x6c) = 1;
  (**(code **)(*param_2 + 0x10))(&local_34,param_2);
  iVar1 = local_30;
                    /* try { // try from 001bdf9d to 001bdfb6 has its CatchHandler @ 001be19c */
  iVar3 = FUN_0017eb70(local_30 + 1);
  FUN_0018a2a0(&local_34,iVar3,iVar1,0);
  *(undefined1 *)(iVar3 + iVar1) = 0;
  *(int *)(param_3 + 8) = iVar3;
  *(int *)(param_3 + 0xc) = iVar1;
  if (local_34 != local_2c) {
    FUN_001807a0(local_34);
  }
  (**(code **)(*param_2 + 0x14))(&local_34,param_2);
  iVar1 = local_30;
  if (0x1fffffff < local_30 + 1U) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1ee to 001be1f2 has its CatchHandler @ 001be1e7 */
    FUN_00180130();
  }
  iVar3 = (local_30 + 1U) * 4;
                    /* try { // try from 001be01b to 001be035 has its CatchHandler @ 001be1e7 */
  iVar4 = FUN_0017eb70(iVar3);
  FUN_00186950(&local_34,iVar4,iVar1,0);
  *(int *)(param_3 + 0x20) = iVar1;
  *(undefined4 *)(iVar4 + -4 + iVar3) = 0;
  *(int *)(param_3 + 0x1c) = iVar4;
  if (local_34 != local_2c) {
    FUN_001807a0(local_34);
  }
  (**(code **)(*param_2 + 0x18))(&local_34,param_2);
  iVar1 = local_30;
  if (local_30 + 1U < 0x20000000) {
    iVar3 = (local_30 + 1U) * 4;
                    /* try { // try from 001be09c to 001be0b6 has its CatchHandler @ 001be1db */
    iVar4 = FUN_0017eb70(iVar3);
    FUN_00186950(&local_34,iVar4,iVar1,0);
    *(int *)(param_3 + 0x28) = iVar1;
    *(undefined4 *)(iVar4 + -4 + iVar3) = 0;
    *(int *)(param_3 + 0x24) = iVar4;
    if (local_34 != local_2c) {
      FUN_001807a0(local_34);
    }
    (**(code **)(*param_2 + 0x1c))(&local_34,param_2);
    if (local_30 + 1U < 0x20000000) {
      iVar1 = (local_30 + 1U) * 4;
                    /* try { // try from 001be11d to 001be137 has its CatchHandler @ 001be1a0 */
      iVar3 = FUN_0017eb70(iVar1);
      FUN_00186950(&local_34,iVar3,local_30,0);
      *(undefined4 *)(iVar3 + -4 + iVar1) = 0;
      *(int *)(param_3 + 0x30) = local_30;
      *(int *)(param_3 + 0x2c) = iVar3;
      if (local_34 != local_2c) {
        FUN_001807a0(local_34);
      }
      (**(code **)(*param_2 + 0x24))(local_40,param_2);
      *(undefined4 *)(param_3 + 0x38) = local_40[0];
      (**(code **)(*param_2 + 0x28))(local_40,param_2);
      *(undefined4 *)(param_3 + 0x3c) = local_40[0];
      return;
    }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1a7 to 001be1ab has its CatchHandler @ 001be1a0 */
    FUN_00180130();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001be1e2 to 001be1e6 has its CatchHandler @ 001be1db */
  FUN_00180130();
}

