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

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

{
  uint uVar1;
  undefined1 uVar2;
  undefined4 uVar3;
  char *pcVar4;
  undefined4 local_40 [3];
  undefined1 *local_34;
  uint local_30;
  undefined1 local_2c [24];
  undefined4 uStack_14;
  
  uStack_14 = 0x22409b;
  uVar2 = (**(code **)(*param_2 + 8))(param_2);
  *(undefined1 *)(param_3 + 0x11) = uVar2;
  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);
  *(undefined1 *)(param_3 + 0x12) = uVar2;
  uVar3 = (**(code **)(*param_2 + 0x20))(param_2);
  *(undefined4 *)(param_3 + 0x2c) = uVar3;
  *(undefined4 *)(param_3 + 8) = 0;
  *(undefined4 *)(param_3 + 0x14) = 0;
  *(undefined4 *)(param_3 + 0x1c) = 0;
  *(undefined4 *)(param_3 + 0x24) = 0;
  *(undefined1 *)(param_3 + 0x43) = 1;
  (**(code **)(*param_2 + 0x10))((string *)&local_34,param_2);
  uVar1 = local_30;
                    /* try { // try from 0022410d to 00224126 has its CatchHandler @ 0022429f */
  pcVar4 = (char *)operator_new__(local_30 + 1);
  std::string::copy((string *)&local_34,pcVar4,uVar1,0);
  *(char **)(param_3 + 8) = pcVar4;
  pcVar4[uVar1] = '\0';
  *(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;
                    /* try { // try from 0022416f to 00224189 has its CatchHandler @ 002242d0 */
  pcVar4 = (char *)operator_new__(local_30 + 1);
  std::string::copy((string *)&local_34,pcVar4,uVar1,0);
  pcVar4[uVar1] = '\0';
  *(uint *)(param_3 + 0x18) = uVar1;
  *(char **)(param_3 + 0x14) = pcVar4;
  if (local_34 != local_2c) {
    operator_delete(local_34);
  }
  (**(code **)(*param_2 + 0x18))((string *)&local_34,param_2);
  uVar1 = local_30;
                    /* try { // try from 002241cd to 002241e7 has its CatchHandler @ 002242cc */
  pcVar4 = (char *)operator_new__(local_30 + 1);
  std::string::copy((string *)&local_34,pcVar4,uVar1,0);
  pcVar4[uVar1] = '\0';
  *(uint *)(param_3 + 0x20) = uVar1;
  *(char **)(param_3 + 0x1c) = pcVar4;
  if (local_34 != local_2c) {
    operator_delete(local_34);
  }
  (**(code **)(*param_2 + 0x1c))((string *)&local_34,param_2);
                    /* try { // try from 00224228 to 00224241 has its CatchHandler @ 002242a3 */
  pcVar4 = (char *)operator_new__(local_30 + 1);
  std::string::copy((string *)&local_34,pcVar4,local_30,0);
  pcVar4[local_30] = '\0';
  *(char **)(param_3 + 0x24) = pcVar4;
  *(uint *)(param_3 + 0x28) = local_30;
  if (local_34 != local_2c) {
    operator_delete(local_34);
  }
  (**(code **)(*param_2 + 0x24))(local_40,param_2);
  *(undefined4 *)(param_3 + 0x30) = local_40[0];
  (**(code **)(*param_2 + 0x28))(local_40,param_2);
  *(undefined4 *)(param_3 + 0x34) = local_40[0];
  return;
}



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

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

{
  undefined1 uVar1;
  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 = 0x22409b;
  uVar1 = (**(code **)(*param_2 + 8))(param_2);
  *(undefined1 *)(param_3 + 0x11) = uVar1;
  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);
  *(undefined1 *)(param_3 + 0x12) = uVar1;
  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);
  *(undefined4 *)(param_3 + 0x2c) = uVar2;
  *(undefined4 *)(param_3 + 8) = 0;
  *(undefined4 *)(param_3 + 0x14) = 0;
  *(undefined4 *)(param_3 + 0x1c) = 0;
  *(undefined4 *)(param_3 + 0x24) = 0;
  *(undefined1 *)(param_3 + 0x43) = 1;
  (**(code **)(*param_2 + 0x10))(&local_34,param_2);
  iVar4 = local_30;
                    /* try { // try from 0022410d to 00224126 has its CatchHandler @ 0022429f */
  iVar3 = FUN_001e5180(local_30 + 1);
  FUN_001f08b0(&local_34,iVar3,iVar4,0);
  *(int *)(param_3 + 8) = iVar3;
  *(undefined1 *)(iVar3 + iVar4) = 0;
  *(int *)(param_3 + 0xc) = iVar4;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  (**(code **)(*param_2 + 0x14))(&local_34,param_2);
  iVar4 = local_30;
                    /* try { // try from 0022416f to 00224189 has its CatchHandler @ 002242d0 */
  iVar3 = FUN_001e5180(local_30 + 1);
  FUN_001f08b0(&local_34,iVar3,iVar4,0);
  *(undefined1 *)(iVar3 + iVar4) = 0;
  *(int *)(param_3 + 0x18) = iVar4;
  *(int *)(param_3 + 0x14) = iVar3;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  (**(code **)(*param_2 + 0x18))(&local_34,param_2);
  iVar4 = local_30;
                    /* try { // try from 002241cd to 002241e7 has its CatchHandler @ 002242cc */
  iVar3 = FUN_001e5180(local_30 + 1);
  FUN_001f08b0(&local_34,iVar3,iVar4,0);
  *(undefined1 *)(iVar3 + iVar4) = 0;
  *(int *)(param_3 + 0x20) = iVar4;
  *(int *)(param_3 + 0x1c) = iVar3;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);
                    /* try { // try from 00224228 to 00224241 has its CatchHandler @ 002242a3 */
  iVar4 = FUN_001e5180(local_30 + 1);
  FUN_001f08b0(&local_34,iVar4,local_30,0);
  *(undefined1 *)(iVar4 + local_30) = 0;
  *(int *)(param_3 + 0x24) = iVar4;
  *(int *)(param_3 + 0x28) = local_30;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  (**(code **)(*param_2 + 0x24))(local_40,param_2);
  *(undefined4 *)(param_3 + 0x30) = local_40[0];
  (**(code **)(*param_2 + 0x28))(local_40,param_2);
  *(undefined4 *)(param_3 + 0x34) = local_40[0];
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x16af65
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 ECX,dword ptr [EBP + 0x10]
MOV byte ptr [ECX + 0x11],AL
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP],ESI
CALL dword ptr [EAX + 0xc]
MOV ECX,dword ptr [EBP + 0x10]
MOV byte ptr [ECX + 0x12],AL
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP],ESI
CALL dword ptr [EAX + 0x20]
MOV ECX,dword ptr [EBP + 0x10]
MOV dword ptr [ECX + 0x2c],EAX
LEA EAX,[EBP + -0x30]
MOV dword ptr [ECX + 0x8],0x0
MOV EDX,EAX
MOV dword ptr [ECX + 0x14],0x0
MOV dword ptr [ECX + 0x1c],0x0
MOV dword ptr [ECX + 0x24],0x0
MOV byte ptr [ECX + 0x43],0x1
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 0x001e5180
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 0x001f08b0
MOV EAX,dword ptr [EBP + -0x48]
MOV EDX,dword ptr [EBP + 0x10]
ADD ESP,0x10
MOV dword ptr [EDX + 0x8],EAX
MOV byte ptr [EAX + EDI*0x1],0x0
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [EDX + 0xc],EDI
LEA EDX,[EBP + -0x28]
MOV dword ptr [EBP + -0x48],EDX
CMP EAX,EDX
JZ 0x00224156
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x001e6db0
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]
MOV EBX,dword ptr [EBP + -0x40]
MOV dword ptr [EBP + -0x4c],EAX
ADD EAX,0x1
PUSH EAX
CALL 0x001e5180
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 0x001f08b0
MOV EAX,dword ptr [EBP + -0x4c]
MOV ECX,dword ptr [EBP + 0x10]
ADD ESP,0x10
MOV byte ptr [EDI + EAX*0x1],0x0
MOV dword ptr [ECX + 0x18],EAX
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [ECX + 0x14],EDI
CMP EAX,dword ptr [EBP + -0x48]
JZ 0x002241b4
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x001e6db0
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]
MOV EBX,dword ptr [EBP + -0x40]
MOV dword ptr [EBP + -0x4c],EAX
ADD EAX,0x1
PUSH EAX
CALL 0x001e5180
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 0x001f08b0
MOV EAX,dword ptr [EBP + -0x4c]
MOV EDX,dword ptr [EBP + 0x10]
ADD ESP,0x10
MOV byte ptr [EDI + EAX*0x1],0x0
MOV dword ptr [EDX + 0x20],EAX
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [EDX + 0x1c],EDI
CMP EAX,dword ptr [EBP + -0x48]
JZ 0x00224212
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x001e6db0
ADD ESP,0x10
MOV EAX,dword ptr [ESI]
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [EBP + -0x44]
CALL dword ptr [EAX + 0x1c]
MOV EDI,dword ptr [EBP + -0x2c]
MOV EBX,dword ptr [EBP + -0x40]
LEA EAX,[EDI + 0x1]
PUSH EAX
CALL 0x001e5180
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x40]
MOV dword ptr [EBP + -0x4c],EAX
PUSH 0x0
PUSH EDI
PUSH EAX
PUSH dword ptr [EBP + -0x44]
CALL 0x001f08b0
MOV EAX,dword ptr [EBP + -0x4c]
MOV ECX,dword ptr [EBP + 0x10]
ADD ESP,0x10
MOV byte ptr [EAX + EDI*0x1],0x0
MOV dword ptr [ECX + 0x24],EAX
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [ECX + 0x28],EDI
CMP EAX,dword ptr [EBP + -0x48]
JZ 0x0022426c
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x40]
PUSH EAX
CALL 0x001e6db0
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 EBX,dword ptr [EBP + 0x10]
MOV dword ptr [EBX + 0x30],EAX
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP],ESI
PUSH EDI
CALL dword ptr [EAX + 0x28]
MOV EAX,dword ptr [EBP + -0x3c]
MOV ECX,dword ptr [EBP + 0x10]
ADD ESP,0xc
MOV dword ptr [ECX + 0x34],EAX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00224090(undefined4 param_1,int *param_2,int param_3)\n\n{\n  undefined1 uVar1;\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 = 0x22409b;\n  uVar1 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar1;\n  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar1;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 0022410d to 00224126 has its CatchHandler @ 0022429f */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(int *)(param_3 + 8) = iVar3;\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0xc) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 0022416f to 00224189 has its CatchHandler @ 002242d0 */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x18) = iVar4;\n  *(int *)(param_3 + 0x14) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 002241cd to 002241e7 has its CatchHandler @ 002242cc */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x20) = iVar4;\n  *(int *)(param_3 + 0x1c) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n                    /* try { // try from 00224228 to 00224241 has its CatchHandler @ 002242a3 */\n  iVar4 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar4,local_30,0);\n  *(undefined1 *)(iVar4 + local_30) = 0;\n  *(int *)(param_3 + 0x24) = iVar4;\n  *(int *)(param_3 + 0x28) = local_30;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x24))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}\n\n" comment (function_definition "void FUN_00224090(undefined4 param_1,int *param_2,int param_3)\n\n{\n  undefined1 uVar1;\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 = 0x22409b;\n  uVar1 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar1;\n  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar1;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 0022410d to 00224126 has its CatchHandler @ 0022429f */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(int *)(param_3 + 8) = iVar3;\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0xc) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 0022416f to 00224189 has its CatchHandler @ 002242d0 */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x18) = iVar4;\n  *(int *)(param_3 + 0x14) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 002241cd to 002241e7 has its CatchHandler @ 002242cc */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x20) = iVar4;\n  *(int *)(param_3 + 0x1c) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n                    /* try { // try from 00224228 to 00224241 has its CatchHandler @ 002242a3 */\n  iVar4 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar4,local_30,0);\n  *(undefined1 *)(iVar4 + local_30) = 0;\n  *(int *)(param_3 + 0x24) = iVar4;\n  *(int *)(param_3 + 0x28) = local_30;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x24))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}" primitive_type (function_declarator "FUN_00224090(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  undefined1 uVar1;\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 = 0x22409b;\n  uVar1 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar1;\n  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar1;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 0022410d to 00224126 has its CatchHandler @ 0022429f */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(int *)(param_3 + 8) = iVar3;\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0xc) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 0022416f to 00224189 has its CatchHandler @ 002242d0 */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x18) = iVar4;\n  *(int *)(param_3 + 0x14) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar4 = local_30;\n                    /* try { // try from 002241cd to 002241e7 has its CatchHandler @ 002242cc */\n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x20) = iVar4;\n  *(int *)(param_3 + 0x1c) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n                    /* try { // try from 00224228 to 00224241 has its CatchHandler @ 002242a3 */\n  iVar4 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar4,local_30,0);\n  *(undefined1 *)(iVar4 + local_30) = 0;\n  *(int *)(param_3 + 0x24) = iVar4;\n  *(int *)(param_3 + 0x28) = local_30;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x24))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier 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 = 0x22409b;" (assignment_expression "uStack_14 = 0x22409b" identifier = number_literal) ;) (expression_statement "uVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "uVar1 = (**(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 "*(undefined1 *)(param_3 + 0x11) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 0x11) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 0x11)" * (cast_expression "(undefined1 *)(param_3 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x11)" ( (binary_expression "param_3 + 0x11" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = (**(code **)(*param_2 + 0xc))(param_2);" (assignment_expression "uVar1 = (**(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 "*(undefined1 *)(param_3 + 0x12) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 0x12) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 0x12)" * (cast_expression "(undefined1 *)(param_3 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" 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 + 0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = uVar2" (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) )))) = 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 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x14) = 0" (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) )))) = 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 "*(undefined1 *)(param_3 + 0x43) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0x43) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0x43)" * (cast_expression "(undefined1 *)(param_3 + 0x43)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x43)" ( (binary_expression "param_3 + 0x43" 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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) comment (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" identifier = (call_expression "FUN_001e5180(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" identifier (argument_list "(&local_34,iVar3,iVar4,0)" ( (pointer_expression "&local_34" & identifier) , 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 "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" * (cast_expression "(undefined1 *)(iVar3 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0xc) = iVar4;" (assignment_expression "*(int *)(param_3 + 0xc) = iVar4" (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_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) comment (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" identifier = (call_expression "FUN_001e5180(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" identifier (argument_list "(&local_34,iVar3,iVar4,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" * (cast_expression "(undefined1 *)(iVar3 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x18) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x18) = iVar4" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x14) = iVar3" (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) comment (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" identifier = (call_expression "FUN_001e5180(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" identifier (argument_list "(&local_34,iVar3,iVar4,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" * (cast_expression "(undefined1 *)(iVar3 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x20) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x20) = iVar4" (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 "*(int *)(param_3 + 0x1c) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x1c) = iVar3" (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_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(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 ))) ;) comment (expression_statement "iVar4 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar4 = FUN_001e5180(local_30 + 1)" identifier = (call_expression "FUN_001e5180(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_001f08b0(&local_34,iVar4,local_30,0);" (call_expression "FUN_001f08b0(&local_34,iVar4,local_30,0)" identifier (argument_list "(&local_34,iVar4,local_30,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)(iVar4 + local_30) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + local_30) = 0" (pointer_expression "*(undefined1 *)(iVar4 + local_30)" * (cast_expression "(undefined1 *)(iVar4 + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + local_30)" ( (binary_expression "iVar4 + local_30" identifier + 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) ;) (expression_statement "*(int *)(param_3 + 0x28) = local_30;" (assignment_expression "*(int *)(param_3 + 0x28) = local_30" (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) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(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 + 0x30) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x30) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x30)" * (cast_expression "(undefined4 *)(param_3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" 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 + 0x34) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = local_40[0]" (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) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* void std::__facet_shims::__moneypunct_fill_cache<char, true>(std::integral_constant<bool, true>,\n   std::locale::facet const*, std::__moneypunct_cache<char, true>*) */\n\nvoid std::__facet_shims::__moneypunct_fill_cache<char,true>\n               (undefined4 param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  undefined4 uVar3;\n  char *pcVar4;\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 = 0x22409b;\n  uVar2 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar2;\n  uVar2 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar2;\n  uVar3 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar3;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))((string *)&local_34,param_2);\n  uVar1 = local_30;\n                    /* try { // try from 0022410d to 00224126 has its CatchHandler @ 0022429f */\n  pcVar4 = (char *)operator_new__(local_30 + 1);\n  std::string::copy((string *)&local_34,pcVar4,uVar1,0);\n  *(char **)(param_3 + 8) = pcVar4;\n  pcVar4[uVar1] = '\0';\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                    /* try { // try from 0022416f to 00224189 has its CatchHandler @ 002242d0 */\n  pcVar4 = (char *)operator_new__(local_30 + 1);\n  std::string::copy((string *)&local_34,pcVar4,uVar1,0);\n  pcVar4[uVar1] = '\0';\n  *(uint *)(param_3 + 0x18) = uVar1;\n  *(char **)(param_3 + 0x14) = pcVar4;\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                    /* try { // try from 002241cd to 002241e7 has its CatchHandler @ 002242cc */\n  pcVar4 = (char *)operator_new__(local_30 + 1);\n  std::string::copy((string *)&local_34,pcVar4,uVar1,0);\n  pcVar4[uVar1] = '\0';\n  *(uint *)(param_3 + 0x20) = uVar1;\n  *(char **)(param_3 + 0x1c) = pcVar4;\n  if (local_34 != local_2c) {\n    operator_delete(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))((string *)&local_34,param_2);\n                    /* try { // try from 00224228 to 00224241 has its CatchHandler @ 002242a3 */\n  pcVar4 = (char *)operator_new__(local_30 + 1);\n  std::string::copy((string *)&local_34,pcVar4,local_30,0);\n  pcVar4[local_30] = '\0';\n  *(char **)(param_3 + 0x24) = pcVar4;\n  *(uint *)(param_3 + 0x28) = local_30;\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 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}\n\n" comment comment (declaration "void std::__facet_shims::__moneypunct_fill_cache<char,true>\n               (undefined4 param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;" primitive_type (ERROR "std::__facet_shims::" identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (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 "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * 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 = 0x22409b;" (assignment_expression "uStack_14 = 0x22409b" 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 "*(undefined1 *)(param_3 + 0x11) = uVar2;" (assignment_expression "*(undefined1 *)(param_3 + 0x11) = uVar2" (pointer_expression "*(undefined1 *)(param_3 + 0x11)" * (cast_expression "(undefined1 *)(param_3 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x11)" ( (binary_expression "param_3 + 0x11" 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 "*(undefined1 *)(param_3 + 0x12) = uVar2;" (assignment_expression "*(undefined1 *)(param_3 + 0x12) = uVar2" (pointer_expression "*(undefined1 *)(param_3 + 0x12)" * (cast_expression "(undefined1 *)(param_3 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = (**(code **)(*param_2 + 0x20))(param_2);" (assignment_expression "uVar3 = (**(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 + 0x2c) = uVar3;" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = uVar3" (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) )))) = 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 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x14) = 0" (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) )))) = 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 "*(undefined1 *)(param_3 + 0x43) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0x43) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0x43)" * (cast_expression "(undefined1 *)(param_3 + 0x43)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x43)" ( (binary_expression "param_3 + 0x43" 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 "pcVar4 = (char *)operator_new__(local_30 + 1);" (assignment_expression "pcVar4 = (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,pcVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (labeled_statement "string::copy((string *)&local_34,pcVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (expression_statement "copy((string *)&local_34,pcVar4,uVar1,0);" (call_expression "copy((string *)&local_34,pcVar4,uVar1,0)" identifier (argument_list "((string *)&local_34,pcVar4,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 "*(char **)(param_3 + 8) = pcVar4;" (assignment_expression "*(char **)(param_3 + 8) = pcVar4" (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 "pcVar4[uVar1] = '\0';" (assignment_expression "pcVar4[uVar1] = '\0'" (subscript_expression "pcVar4[uVar1]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (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) ;) comment (expression_statement "pcVar4 = (char *)operator_new__(local_30 + 1);" (assignment_expression "pcVar4 = (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,pcVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (labeled_statement "string::copy((string *)&local_34,pcVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (expression_statement "copy((string *)&local_34,pcVar4,uVar1,0);" (call_expression "copy((string *)&local_34,pcVar4,uVar1,0)" identifier (argument_list "((string *)&local_34,pcVar4,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 "pcVar4[uVar1] = '\0';" (assignment_expression "pcVar4[uVar1] = '\0'" (subscript_expression "pcVar4[uVar1]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(uint *)(param_3 + 0x18) = uVar1;" (assignment_expression "*(uint *)(param_3 + 0x18) = uVar1" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(param_3 + 0x14) = pcVar4;" (assignment_expression "*(char **)(param_3 + 0x14) = pcVar4" (pointer_expression "*(char **)(param_3 + 0x14)" * (cast_expression "(char **)(param_3 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" 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) ;) comment (expression_statement "pcVar4 = (char *)operator_new__(local_30 + 1);" (assignment_expression "pcVar4 = (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,pcVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (labeled_statement "string::copy((string *)&local_34,pcVar4,uVar1,0);" statement_identifier : (ERROR ":" :) (expression_statement "copy((string *)&local_34,pcVar4,uVar1,0);" (call_expression "copy((string *)&local_34,pcVar4,uVar1,0)" identifier (argument_list "((string *)&local_34,pcVar4,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 "pcVar4[uVar1] = '\0';" (assignment_expression "pcVar4[uVar1] = '\0'" (subscript_expression "pcVar4[uVar1]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (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 "*(char **)(param_3 + 0x1c) = pcVar4;" (assignment_expression "*(char **)(param_3 + 0x1c) = pcVar4" (pointer_expression "*(char **)(param_3 + 0x1c)" * (cast_expression "(char **)(param_3 + 0x1c)" ( (type_descriptor "char **" primitive_type (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 + 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 ))) ;) comment (expression_statement "pcVar4 = (char *)operator_new__(local_30 + 1);" (assignment_expression "pcVar4 = (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,pcVar4,local_30,0);" statement_identifier : (ERROR ":" :) (labeled_statement "string::copy((string *)&local_34,pcVar4,local_30,0);" statement_identifier : (ERROR ":" :) (expression_statement "copy((string *)&local_34,pcVar4,local_30,0);" (call_expression "copy((string *)&local_34,pcVar4,local_30,0)" identifier (argument_list "((string *)&local_34,pcVar4,local_30,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 "pcVar4[local_30] = '\0';" (assignment_expression "pcVar4[local_30] = '\0'" (subscript_expression "pcVar4[local_30]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(char **)(param_3 + 0x24) = pcVar4;" (assignment_expression "*(char **)(param_3 + 0x24) = pcVar4" (pointer_expression "*(char **)(param_3 + 0x24)" * (cast_expression "(char **)(param_3 + 0x24)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_3 + 0x28) = local_30;" (assignment_expression "*(uint *)(param_3 + 0x28) = local_30" (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) ;) (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 + 0x30) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x30) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x30)" * (cast_expression "(undefined4 *)(param_3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" 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 + 0x34) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = local_40[0]" (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) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00224090(undefined4 param_1,int *param_2,int param_3)\n\n{\n  undefined1 uVar1;\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 = 0x22409b;\n  uVar1 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar1;\n  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar1;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(int *)(param_3 + 8) = iVar3;\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0xc) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x18) = iVar4;\n  *(int *)(param_3 + 0x14) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x20) = iVar4;\n  *(int *)(param_3 + 0x1c) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n                    \n  iVar4 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar4,local_30,0);\n  *(undefined1 *)(iVar4 + local_30) = 0;\n  *(int *)(param_3 + 0x24) = iVar4;\n  *(int *)(param_3 + 0x28) = local_30;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x24))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}\n\n" (function_definition "void FUN_00224090(undefined4 param_1,int *param_2,int param_3)\n\n{\n  undefined1 uVar1;\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 = 0x22409b;\n  uVar1 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar1;\n  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar1;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(int *)(param_3 + 8) = iVar3;\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0xc) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x18) = iVar4;\n  *(int *)(param_3 + 0x14) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x20) = iVar4;\n  *(int *)(param_3 + 0x1c) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n                    \n  iVar4 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar4,local_30,0);\n  *(undefined1 *)(iVar4 + local_30) = 0;\n  *(int *)(param_3 + 0x24) = iVar4;\n  *(int *)(param_3 + 0x28) = local_30;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x24))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}" primitive_type (function_declarator "FUN_00224090(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  undefined1 uVar1;\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 = 0x22409b;\n  uVar1 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar1;\n  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar1;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(int *)(param_3 + 8) = iVar3;\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0xc) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x18) = iVar4;\n  *(int *)(param_3 + 0x14) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x20) = iVar4;\n  *(int *)(param_3 + 0x1c) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n                    \n  iVar4 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar4,local_30,0);\n  *(undefined1 *)(iVar4 + local_30) = 0;\n  *(int *)(param_3 + 0x24) = iVar4;\n  *(int *)(param_3 + 0x28) = local_30;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x24))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier 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 = 0x22409b;" (assignment_expression "uStack_14 = 0x22409b" identifier = number_literal) ;) (expression_statement "uVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "uVar1 = (**(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 "*(undefined1 *)(param_3 + 0x11) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 0x11) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 0x11)" * (cast_expression "(undefined1 *)(param_3 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x11)" ( (binary_expression "param_3 + 0x11" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = (**(code **)(*param_2 + 0xc))(param_2);" (assignment_expression "uVar1 = (**(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 "*(undefined1 *)(param_3 + 0x12) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 0x12) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 0x12)" * (cast_expression "(undefined1 *)(param_3 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" 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 + 0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = uVar2" (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) )))) = 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 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x14) = 0" (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) )))) = 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 "*(undefined1 *)(param_3 + 0x43) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0x43) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0x43)" * (cast_expression "(undefined1 *)(param_3 + 0x43)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x43)" ( (binary_expression "param_3 + 0x43" 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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" identifier = (call_expression "FUN_001e5180(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" identifier (argument_list "(&local_34,iVar3,iVar4,0)" ( (pointer_expression "&local_34" & identifier) , 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 "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" * (cast_expression "(undefined1 *)(iVar3 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0xc) = iVar4;" (assignment_expression "*(int *)(param_3 + 0xc) = iVar4" (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_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" identifier = (call_expression "FUN_001e5180(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" identifier (argument_list "(&local_34,iVar3,iVar4,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" * (cast_expression "(undefined1 *)(iVar3 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x18) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x18) = iVar4" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x14) = iVar3" (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" identifier = (call_expression "FUN_001e5180(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" identifier (argument_list "(&local_34,iVar3,iVar4,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" * (cast_expression "(undefined1 *)(iVar3 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(int *)(param_3 + 0x20) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x20) = iVar4" (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 "*(int *)(param_3 + 0x1c) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x1c) = iVar3" (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_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(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 ))) ;) (expression_statement "iVar4 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar4 = FUN_001e5180(local_30 + 1)" identifier = (call_expression "FUN_001e5180(local_30 + 1)" identifier (argument_list "(local_30 + 1)" ( (binary_expression "local_30 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_001f08b0(&local_34,iVar4,local_30,0);" (call_expression "FUN_001f08b0(&local_34,iVar4,local_30,0)" identifier (argument_list "(&local_34,iVar4,local_30,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)(iVar4 + local_30) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + local_30) = 0" (pointer_expression "*(undefined1 *)(iVar4 + local_30)" * (cast_expression "(undefined1 *)(iVar4 + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + local_30)" ( (binary_expression "iVar4 + local_30" identifier + 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) ;) (expression_statement "*(int *)(param_3 + 0x28) = local_30;" (assignment_expression "*(int *)(param_3 + 0x28) = local_30" (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) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(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 + 0x30) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x30) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x30)" * (cast_expression "(undefined4 *)(param_3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" 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 + 0x34) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = local_40[0]" (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) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(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 + LIT) )))) = IDENT) ;) (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) ;) (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) ;) (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) ;) (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 = (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 ( 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 ;) })))
(function_definition "void FUN_00224090(undefined4 param_1,int *param_2,int param_3)\n\n{\n  undefined1 uVar1;\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 = 0x22409b;\n  uVar1 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar1;\n  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar1;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(int *)(param_3 + 8) = iVar3;\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0xc) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x18) = iVar4;\n  *(int *)(param_3 + 0x14) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x20) = iVar4;\n  *(int *)(param_3 + 0x1c) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n                    \n  iVar4 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar4,local_30,0);\n  *(undefined1 *)(iVar4 + local_30) = 0;\n  *(int *)(param_3 + 0x24) = iVar4;\n  *(int *)(param_3 + 0x28) = local_30;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x24))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00224090(undefined4 param_1,int *param_2,int param_3)" (identifier "FUN_00224090") (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  undefined1 uVar1;\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 = 0x22409b;\n  uVar1 = (**(code **)(*param_2 + 8))(param_2);\n  *(undefined1 *)(param_3 + 0x11) = uVar1;\n  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);\n  *(undefined1 *)(param_3 + 0x12) = uVar1;\n  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);\n  *(undefined4 *)(param_3 + 0x2c) = uVar2;\n  *(undefined4 *)(param_3 + 8) = 0;\n  *(undefined4 *)(param_3 + 0x14) = 0;\n  *(undefined4 *)(param_3 + 0x1c) = 0;\n  *(undefined4 *)(param_3 + 0x24) = 0;\n  *(undefined1 *)(param_3 + 0x43) = 1;\n  (**(code **)(*param_2 + 0x10))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(int *)(param_3 + 8) = iVar3;\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0xc) = iVar4;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x14))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x18) = iVar4;\n  *(int *)(param_3 + 0x14) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x18))(&local_34,param_2);\n  iVar4 = local_30;\n                    \n  iVar3 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar3,iVar4,0);\n  *(undefined1 *)(iVar3 + iVar4) = 0;\n  *(int *)(param_3 + 0x20) = iVar4;\n  *(int *)(param_3 + 0x1c) = iVar3;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);\n                    \n  iVar4 = FUN_001e5180(local_30 + 1);\n  FUN_001f08b0(&local_34,iVar4,local_30,0);\n  *(undefined1 *)(iVar4 + local_30) = 0;\n  *(int *)(param_3 + 0x24) = iVar4;\n  *(int *)(param_3 + 0x28) = local_30;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  (**(code **)(*param_2 + 0x24))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x30) = local_40[0];\n  (**(code **)(*param_2 + 0x28))(local_40,param_2);\n  *(undefined4 *)(param_3 + 0x34) = local_40[0];\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (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 = 0x22409b;" (assignment_expression "uStack_14 = 0x22409b" (identifier "uStack_14") (= "=") (number_literal "0x22409b")) (; ";")) (expression_statement "uVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "uVar1 = (**(code **)(*param_2 + 8))(param_2)" (identifier "uVar1") (= "=") (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 "*(undefined1 *)(param_3 + 0x11) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 0x11) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 0x11)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x11)" (( "(") (binary_expression "param_3 + 0x11" (identifier "param_3") (+ "+") (number_literal "0x11")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = (**(code **)(*param_2 + 0xc))(param_2);" (assignment_expression "uVar1 = (**(code **)(*param_2 + 0xc))(param_2)" (identifier "uVar1") (= "=") (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 "*(undefined1 *)(param_3 + 0x12) = uVar1;" (assignment_expression "*(undefined1 *)(param_3 + 0x12) = uVar1" (pointer_expression "*(undefined1 *)(param_3 + 0x12)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x12)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x12)" (( "(") (binary_expression "param_3 + 0x12" (identifier "param_3") (+ "+") (number_literal "0x12")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (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 + 0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 0x2c) = uVar2" (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")) () ")")))) (= "=") (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 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x14) = 0" (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")) () ")")))) (= "=") (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 "*(undefined1 *)(param_3 + 0x43) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0x43) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0x43)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x43)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x43)" (( "(") (binary_expression "param_3 + 0x43" (identifier "param_3") (+ "+") (number_literal "0x43")) () ")")))) (= "=") (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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" (identifier "iVar4") (= "=") (identifier "local_30")) (; ";")) (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" (identifier "iVar3") (= "=") (call_expression "FUN_001e5180(local_30 + 1)" (identifier "FUN_001e5180") (argument_list "(local_30 + 1)" (( "(") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" (identifier "FUN_001f08b0") (argument_list "(&local_34,iVar3,iVar4,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar3") (, ",") (identifier "iVar4") (, ",") (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 "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" (* "*") (cast_expression "(undefined1 *)(iVar3 + iVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar4)" (( "(") (binary_expression "iVar3 + iVar4" (identifier "iVar3") (+ "+") (identifier "iVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_3 + 0xc) = iVar4;" (assignment_expression "*(int *)(param_3 + 0xc) = iVar4" (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 "iVar4")) (; ";")) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(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_001e6db0(local_34);\n  }" ({ "{") (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" (identifier "FUN_001e6db0") (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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" (identifier "iVar4") (= "=") (identifier "local_30")) (; ";")) (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" (identifier "iVar3") (= "=") (call_expression "FUN_001e5180(local_30 + 1)" (identifier "FUN_001e5180") (argument_list "(local_30 + 1)" (( "(") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" (identifier "FUN_001f08b0") (argument_list "(&local_34,iVar3,iVar4,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar3") (, ",") (identifier "iVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" (* "*") (cast_expression "(undefined1 *)(iVar3 + iVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar4)" (( "(") (binary_expression "iVar3 + iVar4" (identifier "iVar3") (+ "+") (identifier "iVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_3 + 0x18) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x18) = iVar4" (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(int *)(param_3 + 0x14) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x14) = iVar3" (pointer_expression "*(int *)(param_3 + 0x14)" (* "*") (cast_expression "(int *)(param_3 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(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_001e6db0(local_34);\n  }" ({ "{") (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" (identifier "FUN_001e6db0") (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 "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" (identifier "iVar4") (= "=") (identifier "local_30")) (; ";")) (expression_statement "iVar3 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar3 = FUN_001e5180(local_30 + 1)" (identifier "iVar3") (= "=") (call_expression "FUN_001e5180(local_30 + 1)" (identifier "FUN_001e5180") (argument_list "(local_30 + 1)" (( "(") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "FUN_001f08b0(&local_34,iVar3,iVar4,0);" (call_expression "FUN_001f08b0(&local_34,iVar3,iVar4,0)" (identifier "FUN_001f08b0") (argument_list "(&local_34,iVar3,iVar4,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar3") (, ",") (identifier "iVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar4)" (* "*") (cast_expression "(undefined1 *)(iVar3 + iVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar4)" (( "(") (binary_expression "iVar3 + iVar4" (identifier "iVar3") (+ "+") (identifier "iVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_3 + 0x20) = iVar4;" (assignment_expression "*(int *)(param_3 + 0x20) = iVar4" (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 "iVar4")) (; ";")) (expression_statement "*(int *)(param_3 + 0x1c) = iVar3;" (assignment_expression "*(int *)(param_3 + 0x1c) = iVar3" (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 "iVar3")) (; ";")) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(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_001e6db0(local_34);\n  }" ({ "{") (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" (identifier "FUN_001e6db0") (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") () ")"))) (; ";")) (expression_statement "iVar4 = FUN_001e5180(local_30 + 1);" (assignment_expression "iVar4 = FUN_001e5180(local_30 + 1)" (identifier "iVar4") (= "=") (call_expression "FUN_001e5180(local_30 + 1)" (identifier "FUN_001e5180") (argument_list "(local_30 + 1)" (( "(") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "FUN_001f08b0(&local_34,iVar4,local_30,0);" (call_expression "FUN_001f08b0(&local_34,iVar4,local_30,0)" (identifier "FUN_001f08b0") (argument_list "(&local_34,iVar4,local_30,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "iVar4") (, ",") (identifier "local_30") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(iVar4 + local_30) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + local_30) = 0" (pointer_expression "*(undefined1 *)(iVar4 + local_30)" (* "*") (cast_expression "(undefined1 *)(iVar4 + local_30)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + local_30)" (( "(") (binary_expression "iVar4 + local_30" (identifier "iVar4") (+ "+") (identifier "local_30")) () ")")))) (= "=") (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")) (; ";")) (expression_statement "*(int *)(param_3 + 0x28) = local_30;" (assignment_expression "*(int *)(param_3 + 0x28) = local_30" (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 "local_30")) (; ";")) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(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_001e6db0(local_34);\n  }" ({ "{") (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" (identifier "FUN_001e6db0") (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 + 0x30) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x30) = local_40[0]" (pointer_expression "*(undefined4 *)(param_3 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x30)" (( "(") (binary_expression "param_3 + 0x30" (identifier "param_3") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (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 + 0x34) = local_40[0];" (assignment_expression "*(undefined4 *)(param_3 + 0x34) = local_40[0]" (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")) () ")")))) (= "=") (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  type_3 uVar1;
  type_1 uVar2;
  type_2 uVar3;
  char *pcVar4;
  type_2 local_40 [3];
  type_1 *var_5;
  type_3 var_3;
  type_1 var_6 [24];
  type_2 uStack_14;
  
  uStack_14 = 0x22409b;
  uVar2 = (**(type_4 **)(*param_2 + 8))(param_2);
  *(type_1 *)(var_1 + 0x11) = uVar2;
  uVar2 = (**(type_4 **)(*param_2 + 0xc))(param_2);
  *(type_1 *)(var_1 + 0x12) = uVar2;
  uVar3 = (**(type_4 **)(*param_2 + 0x20))(param_2);
  *(type_2 *)(var_1 + 0x2c) = uVar3;
  *(type_2 *)(var_1 + 8) = 0;
  *(type_2 *)(var_1 + 0x14) = 0;
  *(type_2 *)(var_1 + 0x1c) = 0;
  *(type_2 *)(var_1 + 0x24) = 0;
  *(type_1 *)(var_1 + 0x43) = 1;
  (**(type_4 **)(*param_2 + 0x10))((type_5 *)&var_5,param_2);
  uVar1 = var_3;
                    /* try { // try from 0022410d to 00224126 has its CatchHandler @ 0022429f */
  pcVar4 = (char *)var_2(var_3 + 1);
  std::string::var_4((type_5 *)&var_5,pcVar4,uVar1,0);
  *(char **)(var_1 + 8) = pcVar4;
  pcVar4[uVar1] = '\0';
  *(type_3 *)(var_1 + 0xc) = uVar1;
  if (var_5 != var_6) {
    var_7(var_5);
  }
  (**(type_4 **)(*param_2 + 0x14))((type_5 *)&var_5,param_2);
  uVar1 = var_3;
                    /* try { // try from 0022416f to 00224189 has its CatchHandler @ 002242d0 */
  pcVar4 = (char *)var_2(var_3 + 1);
  std::string::var_4((type_5 *)&var_5,pcVar4,uVar1,0);
  pcVar4[uVar1] = '\0';
  *(type_3 *)(var_1 + 0x18) = uVar1;
  *(char **)(var_1 + 0x14) = pcVar4;
  if (var_5 != var_6) {
    var_7(var_5);
  }
  (**(type_4 **)(*param_2 + 0x18))((type_5 *)&var_5,param_2);
  uVar1 = var_3;
                    /* try { // try from 002241cd to 002241e7 has its CatchHandler @ 002242cc */
  pcVar4 = (char *)var_2(var_3 + 1);
  std::string::var_4((type_5 *)&var_5,pcVar4,uVar1,0);
  pcVar4[uVar1] = '\0';
  *(type_3 *)(var_1 + 0x20) = uVar1;
  *(char **)(var_1 + 0x1c) = pcVar4;
  if (var_5 != var_6) {
    var_7(var_5);
  }
  (**(type_4 **)(*param_2 + 0x1c))((type_5 *)&var_5,param_2);
                    /* try { // try from 00224228 to 00224241 has its CatchHandler @ 002242a3 */
  pcVar4 = (char *)var_2(var_3 + 1);
  std::string::var_4((type_5 *)&var_5,pcVar4,var_3,0);
  pcVar4[var_3] = '\0';
  *(char **)(var_1 + 0x24) = pcVar4;
  *(type_3 *)(var_1 + 0x28) = var_3;
  if (var_5 != var_6) {
    var_7(var_5);
  }
  (**(type_4 **)(*param_2 + 0x24))(local_40,param_2);
  *(type_2 *)(var_1 + 0x30) = local_40[0];
  (**(type_4 **)(*param_2 + 0x28))(local_40,param_2);
  *(type_2 *)(var_1 + 0x34) = local_40[0];
  return;
}


(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: (type_identifier) 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: (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: (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))) (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))) (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))) (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: (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 (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))))

/* 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)

{
  undefined1 uVar1;
  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 = 0x22409b;
  uVar1 = (**(code **)(*param_2 + 8))(param_2);
  *(undefined1 *)(param_3 + 0x11) = uVar1;
  uVar1 = (**(code **)(*param_2 + 0xc))(param_2);
  *(undefined1 *)(param_3 + 0x12) = uVar1;
  uVar2 = (**(code **)(*param_2 + 0x20))(param_2);
  *(undefined4 *)(param_3 + 0x2c) = uVar2;
  *(undefined4 *)(param_3 + 8) = 0;
  *(undefined4 *)(param_3 + 0x14) = 0;
  *(undefined4 *)(param_3 + 0x1c) = 0;
  *(undefined4 *)(param_3 + 0x24) = 0;
  *(undefined1 *)(param_3 + 0x43) = 1;
  (**(code **)(*param_2 + 0x10))(&local_34,param_2);
  iVar4 = local_30;
                    /* try { // try from 0022410d to 00224126 has its CatchHandler @ 0022429f */
  iVar3 = FUN_001e5180(local_30 + 1);
  FUN_001f08b0(&local_34,iVar3,iVar4,0);
  *(int *)(param_3 + 8) = iVar3;
  *(undefined1 *)(iVar3 + iVar4) = 0;
  *(int *)(param_3 + 0xc) = iVar4;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  (**(code **)(*param_2 + 0x14))(&local_34,param_2);
  iVar4 = local_30;
                    /* try { // try from 0022416f to 00224189 has its CatchHandler @ 002242d0 */
  iVar3 = FUN_001e5180(local_30 + 1);
  FUN_001f08b0(&local_34,iVar3,iVar4,0);
  *(undefined1 *)(iVar3 + iVar4) = 0;
  *(int *)(param_3 + 0x18) = iVar4;
  *(int *)(param_3 + 0x14) = iVar3;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  (**(code **)(*param_2 + 0x18))(&local_34,param_2);
  iVar4 = local_30;
                    /* try { // try from 002241cd to 002241e7 has its CatchHandler @ 002242cc */
  iVar3 = FUN_001e5180(local_30 + 1);
  FUN_001f08b0(&local_34,iVar3,iVar4,0);
  *(undefined1 *)(iVar3 + iVar4) = 0;
  *(int *)(param_3 + 0x20) = iVar4;
  *(int *)(param_3 + 0x1c) = iVar3;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  (**(code **)(*param_2 + 0x1c))(&local_34,param_2);
                    /* try { // try from 00224228 to 00224241 has its CatchHandler @ 002242a3 */
  iVar4 = FUN_001e5180(local_30 + 1);
  FUN_001f08b0(&local_34,iVar4,local_30,0);
  *(undefined1 *)(iVar4 + local_30) = 0;
  *(int *)(param_3 + 0x24) = iVar4;
  *(int *)(param_3 + 0x28) = local_30;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  (**(code **)(*param_2 + 0x24))(local_40,param_2);
  *(undefined4 *)(param_3 + 0x30) = local_40[0];
  (**(code **)(*param_2 + 0x28))(local_40,param_2);
  *(undefined4 *)(param_3 + 0x34) = local_40[0];
  return;
}

