
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* std::__use_cache<std::__moneypunct_cache<wchar_t, false> >::TEMPNAMEPLACEHOLDERVALUE(std::locale
   const&) const */

int __thiscall
std::__use_cache<std::__moneypunct_cache<wchar_t,false>>::operator()
          (__use_cache<std::__moneypunct_cache<wchar_t,false>> *this,locale *param_1)

{
  int *piVar1;
  int iVar2;
  uint uVar3;
  __moneypunct_cache<wchar_t,false> *this_00;
  
  uVar3 = locale::id::_M_id((id *)PTR_id_0033edb0);
  piVar1 = (int *)(*(int *)(*(int *)param_1 + 0xc) + uVar3 * 4);
  iVar2 = *piVar1;
  if (iVar2 != 0) {
    return iVar2;
  }
                    /* try { // try from 0020506d to 00205071 has its CatchHandler @ 00205115 */
  this_00 = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70);
  *(undefined4 *)(this_00 + 4) = 0;
  *(undefined4 *)(this_00 + 8) = 0;
  *(undefined ***)this_00 = &PTR____moneypunct_cache_0033d7c8;
  *(undefined4 *)(this_00 + 0xc) = 0;
  this_00[0x10] = (__moneypunct_cache<wchar_t,false>)0x0;
  *(undefined4 *)(this_00 + 0x14) = 0;
  *(undefined4 *)(this_00 + 0x18) = 0;
  *(undefined4 *)(this_00 + 0x1c) = 0;
  *(undefined4 *)(this_00 + 0x20) = 0;
  *(undefined4 *)(this_00 + 0x24) = 0;
  *(undefined4 *)(this_00 + 0x28) = 0;
  *(undefined4 *)(this_00 + 0x2c) = 0;
  *(undefined4 *)(this_00 + 0x30) = 0;
  *(undefined4 *)(this_00 + 0x34) = 0;
  *(undefined4 *)(this_00 + 0x38) = 0;
  *(undefined4 *)(this_00 + 0x3c) = 0;
  this_00[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0;
                    /* try { // try from 002050ef to 002050f3 has its CatchHandler @ 00205117 */
  __moneypunct_cache<wchar_t,false>::_M_cache(this_00,param_1);
  locale::_Impl::_M_install_cache(*(_Impl **)param_1,(facet *)this_00,uVar3);
  return *piVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int FUN_00205020(undefined4 param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  
  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);
  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);
  iVar2 = *piVar1;
  if (iVar2 != 0) {
    return iVar2;
  }
                    /* try { // try from 0020506d to 00205071 has its CatchHandler @ 00205115 */
  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);
  puVar4[1] = 0;
  puVar4[2] = 0;
  *puVar4 = &PTR_FUN_0033d7c8;
  puVar4[3] = 0;
  *(undefined1 *)(puVar4 + 4) = 0;
  puVar4[5] = 0;
  puVar4[6] = 0;
  puVar4[7] = 0;
  puVar4[8] = 0;
  puVar4[9] = 0;
  puVar4[10] = 0;
  puVar4[0xb] = 0;
  puVar4[0xc] = 0;
  puVar4[0xd] = 0;
  puVar4[0xe] = 0;
  puVar4[0xf] = 0;
  *(undefined1 *)(puVar4 + 0x1b) = 0;
                    /* try { // try from 002050ef to 002050f3 has its CatchHandler @ 00205117 */
  FUN_00202ac0(puVar4,param_2);
  FUN_001af310(*param_2,puVar4,iVar3);
  return *piVar1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
CALL 0x000487a6
ADD ESI,0x139fd6
PUSH EBX
SUB ESP,0x28
PUSH dword ptr [ESI + 0xfffffdb0]
MOV EBX,ESI
CALL 0x001aee00
ADD ESP,0x10
MOV EDX,EAX
MOV dword ptr [EBP + -0x20],EAX
MOV EAX,dword ptr [EBP + 0xc]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0xc]
LEA EAX,[EAX + EDX*0x4]
MOV dword ptr [EBP + -0x1c],EAX
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00205068
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH 0x70
CALL 0x001aa8c0
MOV EDI,EAX
POP EAX
LEA EAX,[ESI + 0xffffe7c0]
POP EDX
MOV dword ptr [EDI + 0x4],0x0
ADD EAX,0x8
MOV dword ptr [EDI + 0x8],0x0
MOV dword ptr [EDI],EAX
MOV dword ptr [EDI + 0xc],0x0
MOV byte ptr [EDI + 0x10],0x0
MOV dword ptr [EDI + 0x14],0x0
MOV dword ptr [EDI + 0x18],0x0
MOV dword ptr [EDI + 0x1c],0x0
MOV dword ptr [EDI + 0x20],0x0
MOV dword ptr [EDI + 0x24],0x0
MOV dword ptr [EDI + 0x28],0x0
MOV dword ptr [EDI + 0x2c],0x0
MOV dword ptr [EDI + 0x30],0x0
MOV dword ptr [EDI + 0x34],0x0
MOV dword ptr [EDI + 0x38],0x0
MOV dword ptr [EDI + 0x3c],0x0
MOV byte ptr [EDI + 0x6c],0x0
PUSH dword ptr [EBP + 0xc]
PUSH EDI
CALL 0x00202ac0
MOV EAX,dword ptr [EBP + 0xc]
ADD ESP,0xc
PUSH dword ptr [EBP + -0x20]
PUSH EDI
PUSH dword ptr [EAX]
CALL 0x001af310
MOV EAX,dword ptr [EBP + -0x1c]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nint FUN_00205020(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);\n  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    /* try { // try from 0020506d to 00205071 has its CatchHandler @ 00205115 */\n  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);\n  puVar4[1] = 0;\n  puVar4[2] = 0;\n  *puVar4 = &PTR_FUN_0033d7c8;\n  puVar4[3] = 0;\n  *(undefined1 *)(puVar4 + 4) = 0;\n  puVar4[5] = 0;\n  puVar4[6] = 0;\n  puVar4[7] = 0;\n  puVar4[8] = 0;\n  puVar4[9] = 0;\n  puVar4[10] = 0;\n  puVar4[0xb] = 0;\n  puVar4[0xc] = 0;\n  puVar4[0xd] = 0;\n  puVar4[0xe] = 0;\n  puVar4[0xf] = 0;\n  *(undefined1 *)(puVar4 + 0x1b) = 0;\n                    /* try { // try from 002050ef to 002050f3 has its CatchHandler @ 00205117 */\n  FUN_00202ac0(puVar4,param_2);\n  FUN_001af310(*param_2,puVar4,iVar3);\n  return *piVar1;\n}\n\n" comment (function_definition "int FUN_00205020(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);\n  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    /* try { // try from 0020506d to 00205071 has its CatchHandler @ 00205115 */\n  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);\n  puVar4[1] = 0;\n  puVar4[2] = 0;\n  *puVar4 = &PTR_FUN_0033d7c8;\n  puVar4[3] = 0;\n  *(undefined1 *)(puVar4 + 4) = 0;\n  puVar4[5] = 0;\n  puVar4[6] = 0;\n  puVar4[7] = 0;\n  puVar4[8] = 0;\n  puVar4[9] = 0;\n  puVar4[10] = 0;\n  puVar4[0xb] = 0;\n  puVar4[0xc] = 0;\n  puVar4[0xd] = 0;\n  puVar4[0xe] = 0;\n  puVar4[0xf] = 0;\n  *(undefined1 *)(puVar4 + 0x1b) = 0;\n                    /* try { // try from 002050ef to 002050f3 has its CatchHandler @ 00205117 */\n  FUN_00202ac0(puVar4,param_2);\n  FUN_001af310(*param_2,puVar4,iVar3);\n  return *piVar1;\n}" primitive_type (function_declarator "FUN_00205020(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);\n  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    /* try { // try from 0020506d to 00205071 has its CatchHandler @ 00205115 */\n  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);\n  puVar4[1] = 0;\n  puVar4[2] = 0;\n  *puVar4 = &PTR_FUN_0033d7c8;\n  puVar4[3] = 0;\n  *(undefined1 *)(puVar4 + 4) = 0;\n  puVar4[5] = 0;\n  puVar4[6] = 0;\n  puVar4[7] = 0;\n  puVar4[8] = 0;\n  puVar4[9] = 0;\n  puVar4[10] = 0;\n  puVar4[0xb] = 0;\n  puVar4[0xc] = 0;\n  puVar4[0xd] = 0;\n  puVar4[0xe] = 0;\n  puVar4[0xf] = 0;\n  *(undefined1 *)(puVar4 + 0x1b) = 0;\n                    /* try { // try from 002050ef to 002050f3 has its CatchHandler @ 00205117 */\n  FUN_00202ac0(puVar4,param_2);\n  FUN_001af310(*param_2,puVar4,iVar3);\n  return *piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "iVar3 = FUN_001aee00(PTR_DAT_0033edb0);" (assignment_expression "iVar3 = FUN_001aee00(PTR_DAT_0033edb0)" identifier = (call_expression "FUN_001aee00(PTR_DAT_0033edb0)" identifier (argument_list "(PTR_DAT_0033edb0)" ( identifier )))) ;) (expression_statement "piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4)" identifier = (cast_expression "(int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_2 + 0xc) + iVar3 * 4)" ( (binary_expression "*(int *)(*param_2 + 0xc) + iVar3 * 4" (pointer_expression "*(int *)(*param_2 + 0xc)" * (cast_expression "(int *)(*param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) )))) + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n    return iVar2;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) comment (expression_statement "puVar4 = (undefined4 *)FUN_001aa8c0(0x70);" (assignment_expression "puVar4 = (undefined4 *)FUN_001aa8c0(0x70)" identifier = (cast_expression "(undefined4 *)FUN_001aa8c0(0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0x70)" identifier (argument_list "(0x70)" ( number_literal ))))) ;) (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[2] = 0;" (assignment_expression "puVar4[2] = 0" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar4 = &PTR_FUN_0033d7c8;" (assignment_expression "*puVar4 = &PTR_FUN_0033d7c8" (pointer_expression "*puVar4" * identifier) = (pointer_expression "&PTR_FUN_0033d7c8" & identifier)) ;) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar4 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 4)" * (cast_expression "(undefined1 *)(puVar4 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar4[5] = 0;" (assignment_expression "puVar4[5] = 0" (subscript_expression "puVar4[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[6] = 0;" (assignment_expression "puVar4[6] = 0" (subscript_expression "puVar4[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[7] = 0;" (assignment_expression "puVar4[7] = 0" (subscript_expression "puVar4[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[8] = 0;" (assignment_expression "puVar4[8] = 0" (subscript_expression "puVar4[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[9] = 0;" (assignment_expression "puVar4[9] = 0" (subscript_expression "puVar4[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[10] = 0;" (assignment_expression "puVar4[10] = 0" (subscript_expression "puVar4[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xb] = 0;" (assignment_expression "puVar4[0xb] = 0" (subscript_expression "puVar4[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xc] = 0;" (assignment_expression "puVar4[0xc] = 0" (subscript_expression "puVar4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xd] = 0;" (assignment_expression "puVar4[0xd] = 0" (subscript_expression "puVar4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xe] = 0;" (assignment_expression "puVar4[0xe] = 0" (subscript_expression "puVar4[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xf] = 0;" (assignment_expression "puVar4[0xf] = 0" (subscript_expression "puVar4[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar4 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 0x1b)" * (cast_expression "(undefined1 *)(puVar4 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x1b)" ( (binary_expression "puVar4 + 0x1b" identifier + number_literal) )))) = number_literal) ;) comment (expression_statement "FUN_00202ac0(puVar4,param_2);" (call_expression "FUN_00202ac0(puVar4,param_2)" identifier (argument_list "(puVar4,param_2)" ( identifier , identifier ))) ;) (expression_statement "FUN_001af310(*param_2,puVar4,iVar3);" (call_expression "FUN_001af310(*param_2,puVar4,iVar3)" identifier (argument_list "(*param_2,puVar4,iVar3)" ( (pointer_expression "*param_2" * identifier) , identifier , identifier ))) ;) (return_statement "return *piVar1;" return (pointer_expression "*piVar1" * identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* std::__use_cache<std::__moneypunct_cache<wchar_t, false> >::TEMPNAMEPLACEHOLDERVALUE(std::locale\n   const&) const */\n\nint __thiscall\nstd::__use_cache<std::__moneypunct_cache<wchar_t,false>>::operator()\n          (__use_cache<std::__moneypunct_cache<wchar_t,false>> *this,locale *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  __moneypunct_cache<wchar_t,false> *this_00;\n  \n  uVar3 = locale::id::_M_id((id *)PTR_id_0033edb0);\n  piVar1 = (int *)(*(int *)(*(int *)param_1 + 0xc) + uVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    /* try { // try from 0020506d to 00205071 has its CatchHandler @ 00205115 */\n  this_00 = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70);\n  *(undefined4 *)(this_00 + 4) = 0;\n  *(undefined4 *)(this_00 + 8) = 0;\n  *(undefined ***)this_00 = &PTR____moneypunct_cache_0033d7c8;\n  *(undefined4 *)(this_00 + 0xc) = 0;\n  this_00[0x10] = (__moneypunct_cache<wchar_t,false>)0x0;\n  *(undefined4 *)(this_00 + 0x14) = 0;\n  *(undefined4 *)(this_00 + 0x18) = 0;\n  *(undefined4 *)(this_00 + 0x1c) = 0;\n  *(undefined4 *)(this_00 + 0x20) = 0;\n  *(undefined4 *)(this_00 + 0x24) = 0;\n  *(undefined4 *)(this_00 + 0x28) = 0;\n  *(undefined4 *)(this_00 + 0x2c) = 0;\n  *(undefined4 *)(this_00 + 0x30) = 0;\n  *(undefined4 *)(this_00 + 0x34) = 0;\n  *(undefined4 *)(this_00 + 0x38) = 0;\n  *(undefined4 *)(this_00 + 0x3c) = 0;\n  this_00[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0;\n                    /* try { // try from 002050ef to 002050f3 has its CatchHandler @ 00205117 */\n  __moneypunct_cache<wchar_t,false>::_M_cache(this_00,param_1);\n  locale::_Impl::_M_install_cache(*(_Impl **)param_1,(facet *)this_00,uVar3);\n  return *piVar1;\n}\n\n" comment comment (declaration "int __thiscall\nstd::__use_cache<std::__moneypunct_cache<wchar_t,false>>::operator()\n          (__use_cache<std::__moneypunct_cache<wchar_t,false>> *this,locale *param_1)\n\n{\n  int *piVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__use_cache<std::__moneypunct_cache<" identifier : : identifier < identifier : : identifier <) identifier , (ERROR "false>>::operator()\n          (__use_cache<std::__moneypunct_cache<wchar_t,false>> *this,locale *param_1)\n\n{\n  int" identifier >> : : (function_declarator "operator()\n          (__use_cache<std::__moneypunct_cache<wchar_t,false>> *this,locale *param_1)" (function_declarator "operator()" identifier (parameter_list "()" ( ))) (parameter_list "(__use_cache<std::__moneypunct_cache<wchar_t,false>> *this,locale *param_1)" ( (parameter_declaration "__use_cache<std::__moneypunct_cache<wchar_t" type_identifier (ERROR "<std::__moneypunct_cache<" < identifier : : identifier <) identifier) , (parameter_declaration "false>> *this" type_identifier (ERROR ">>" >>) (pointer_declarator "*this" * identifier)) , (parameter_declaration "locale *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) { primitive_type) (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "__moneypunct_cache<wchar_t,false> *this_00;" (update_expression "__moneypunct_cache<wchar_t,false> *this_00" (binary_expression "__moneypunct_cache<wchar_t,false> *this_00" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) (ERROR ",false" , false) > (pointer_expression "*this_00" * identifier)) --) ;) (ERROR "uVar3 = locale::" (assignment_expression "uVar3 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)PTR_id_0033edb0);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)PTR_id_0033edb0);" (call_expression "_M_id((id *)PTR_id_0033edb0)" identifier (argument_list "((id *)PTR_id_0033edb0)" ( (cast_expression "(id *)PTR_id_0033edb0" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "piVar1 = (int *)(*(int *)(*(int *)param_1 + 0xc) + uVar3 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*(int *)param_1 + 0xc) + uVar3 * 4)" identifier = (cast_expression "(int *)(*(int *)(*(int *)param_1 + 0xc) + uVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)param_1 + 0xc) + uVar3 * 4)" ( (binary_expression "*(int *)(*(int *)param_1 + 0xc) + uVar3 * 4" (pointer_expression "*(int *)(*(int *)param_1 + 0xc)" * (cast_expression "(int *)(*(int *)param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + 0xc)" ( (binary_expression "*(int *)param_1 + 0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + (binary_expression "uVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n    return iVar2;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) comment (expression_statement "this_00 = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70);" (assignment_expression "this_00 = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70)" identifier = (parenthesized_expression "(__moneypunct_cache<wchar_t,false> *)operator_new(0x70)" ( (comma_expression "__moneypunct_cache<wchar_t,false> *)operator_new(0x70)" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "false> *)operator_new(0x70)" false > (pointer_expression "*)operator_new(0x70)" * (ERROR ")" )) (call_expression "operator_new(0x70)" identifier (argument_list "(0x70)" ( number_literal )))))) ))) ;) (expression_statement "*(undefined4 *)(this_00 + 4) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 4) = 0" (pointer_expression "*(undefined4 *)(this_00 + 4)" * (cast_expression "(undefined4 *)(this_00 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 4)" ( (binary_expression "this_00 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 8) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 8) = 0" (pointer_expression "*(undefined4 *)(this_00 + 8)" * (cast_expression "(undefined4 *)(this_00 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 8)" ( (binary_expression "this_00 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined ***)this_00 = &PTR____moneypunct_cache_0033d7c8;" (assignment_expression "*(undefined ***)this_00 = &PTR____moneypunct_cache_0033d7c8" (pointer_expression "*(undefined ***)this_00" * (cast_expression "(undefined ***)this_00" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR____moneypunct_cache_0033d7c8" & identifier)) ;) (expression_statement "*(undefined4 *)(this_00 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0xc) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0xc)" * (cast_expression "(undefined4 *)(this_00 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0xc)" ( (binary_expression "this_00 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this_00[0x10] = (__moneypunct_cache<wchar_t,false>)0x0;" (assignment_expression "this_00[0x10] = (__moneypunct_cache<wchar_t,false>)0x0" (subscript_expression "this_00[0x10]" identifier [ number_literal ]) = (parenthesized_expression "(__moneypunct_cache<wchar_t,false>)0x0" ( (comma_expression "__moneypunct_cache<wchar_t,false>)0x0" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "false>)0x0" false > (ERROR ")" )) number_literal)) ))) ;) (expression_statement "*(undefined4 *)(this_00 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x14) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x14)" * (cast_expression "(undefined4 *)(this_00 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x14)" ( (binary_expression "this_00 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x18) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x18)" * (cast_expression "(undefined4 *)(this_00 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x18)" ( (binary_expression "this_00 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x1c)" * (cast_expression "(undefined4 *)(this_00 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x1c)" ( (binary_expression "this_00 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x20) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x20)" * (cast_expression "(undefined4 *)(this_00 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x20)" ( (binary_expression "this_00 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x24) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x24) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x24)" * (cast_expression "(undefined4 *)(this_00 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x24)" ( (binary_expression "this_00 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x28) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x28)" * (cast_expression "(undefined4 *)(this_00 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x28)" ( (binary_expression "this_00 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x2c)" * (cast_expression "(undefined4 *)(this_00 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x2c)" ( (binary_expression "this_00 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x30) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x30)" * (cast_expression "(undefined4 *)(this_00 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x30)" ( (binary_expression "this_00 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x34) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x34)" * (cast_expression "(undefined4 *)(this_00 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x34)" ( (binary_expression "this_00 + 0x34" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x38) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x38)" * (cast_expression "(undefined4 *)(this_00 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x38)" ( (binary_expression "this_00 + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x3c)" * (cast_expression "(undefined4 *)(this_00 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x3c)" ( (binary_expression "this_00 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this_00[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0;" (assignment_expression "this_00[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0" (subscript_expression "this_00[0x6c]" identifier [ number_literal ]) = (parenthesized_expression "(__moneypunct_cache<wchar_t,false>)0x0" ( (comma_expression "__moneypunct_cache<wchar_t,false>)0x0" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "false>)0x0" false > (ERROR ")" )) number_literal)) ))) ;) comment (expression_statement "__moneypunct_cache<wchar_t,false>::_M_cache(this_00,param_1);" (update_expression "__moneypunct_cache<wchar_t,false>::_M_cache(this_00,param_1)" (binary_expression "__moneypunct_cache<wchar_t,false>::_M_cache(this_00,param_1)" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) (ERROR ",false" , false) > (ERROR "::" : :) (call_expression "_M_cache(this_00,param_1)" identifier (argument_list "(this_00,param_1)" ( identifier , identifier )))) --) ;) (labeled_statement "locale::_Impl::_M_install_cache(*(_Impl **)param_1,(facet *)this_00,uVar3);" statement_identifier : (ERROR ":" :) (labeled_statement "_Impl::_M_install_cache(*(_Impl **)param_1,(facet *)this_00,uVar3);" statement_identifier : (ERROR ":" :) (expression_statement "_M_install_cache(*(_Impl **)param_1,(facet *)this_00,uVar3);" (call_expression "_M_install_cache(*(_Impl **)param_1,(facet *)this_00,uVar3)" identifier (argument_list "(*(_Impl **)param_1,(facet *)this_00,uVar3)" ( (pointer_expression "*(_Impl **)param_1" * (cast_expression "(_Impl **)param_1" ( (type_descriptor "_Impl **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (cast_expression "(facet *)this_00" ( (type_descriptor "facet *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;))) (return_statement "return *piVar1;" return (pointer_expression "*piVar1" * identifier) ;) (ERROR "}" }))
(translation_unit "int FUN_00205020(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);\n  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    \n  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);\n  puVar4[1] = 0;\n  puVar4[2] = 0;\n  *puVar4 = &PTR_FUN_0033d7c8;\n  puVar4[3] = 0;\n  *(undefined1 *)(puVar4 + 4) = 0;\n  puVar4[5] = 0;\n  puVar4[6] = 0;\n  puVar4[7] = 0;\n  puVar4[8] = 0;\n  puVar4[9] = 0;\n  puVar4[10] = 0;\n  puVar4[0xb] = 0;\n  puVar4[0xc] = 0;\n  puVar4[0xd] = 0;\n  puVar4[0xe] = 0;\n  puVar4[0xf] = 0;\n  *(undefined1 *)(puVar4 + 0x1b) = 0;\n                    \n  FUN_00202ac0(puVar4,param_2);\n  FUN_001af310(*param_2,puVar4,iVar3);\n  return *piVar1;\n}\n\n" (function_definition "int FUN_00205020(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);\n  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    \n  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);\n  puVar4[1] = 0;\n  puVar4[2] = 0;\n  *puVar4 = &PTR_FUN_0033d7c8;\n  puVar4[3] = 0;\n  *(undefined1 *)(puVar4 + 4) = 0;\n  puVar4[5] = 0;\n  puVar4[6] = 0;\n  puVar4[7] = 0;\n  puVar4[8] = 0;\n  puVar4[9] = 0;\n  puVar4[10] = 0;\n  puVar4[0xb] = 0;\n  puVar4[0xc] = 0;\n  puVar4[0xd] = 0;\n  puVar4[0xe] = 0;\n  puVar4[0xf] = 0;\n  *(undefined1 *)(puVar4 + 0x1b) = 0;\n                    \n  FUN_00202ac0(puVar4,param_2);\n  FUN_001af310(*param_2,puVar4,iVar3);\n  return *piVar1;\n}" primitive_type (function_declarator "FUN_00205020(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);\n  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    \n  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);\n  puVar4[1] = 0;\n  puVar4[2] = 0;\n  *puVar4 = &PTR_FUN_0033d7c8;\n  puVar4[3] = 0;\n  *(undefined1 *)(puVar4 + 4) = 0;\n  puVar4[5] = 0;\n  puVar4[6] = 0;\n  puVar4[7] = 0;\n  puVar4[8] = 0;\n  puVar4[9] = 0;\n  puVar4[10] = 0;\n  puVar4[0xb] = 0;\n  puVar4[0xc] = 0;\n  puVar4[0xd] = 0;\n  puVar4[0xe] = 0;\n  puVar4[0xf] = 0;\n  *(undefined1 *)(puVar4 + 0x1b) = 0;\n                    \n  FUN_00202ac0(puVar4,param_2);\n  FUN_001af310(*param_2,puVar4,iVar3);\n  return *piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "iVar3 = FUN_001aee00(PTR_DAT_0033edb0);" (assignment_expression "iVar3 = FUN_001aee00(PTR_DAT_0033edb0)" identifier = (call_expression "FUN_001aee00(PTR_DAT_0033edb0)" identifier (argument_list "(PTR_DAT_0033edb0)" ( identifier )))) ;) (expression_statement "piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4)" identifier = (cast_expression "(int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_2 + 0xc) + iVar3 * 4)" ( (binary_expression "*(int *)(*param_2 + 0xc) + iVar3 * 4" (pointer_expression "*(int *)(*param_2 + 0xc)" * (cast_expression "(int *)(*param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) )))) + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n    return iVar2;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar4 = (undefined4 *)FUN_001aa8c0(0x70);" (assignment_expression "puVar4 = (undefined4 *)FUN_001aa8c0(0x70)" identifier = (cast_expression "(undefined4 *)FUN_001aa8c0(0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0x70)" identifier (argument_list "(0x70)" ( number_literal ))))) ;) (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[2] = 0;" (assignment_expression "puVar4[2] = 0" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar4 = &PTR_FUN_0033d7c8;" (assignment_expression "*puVar4 = &PTR_FUN_0033d7c8" (pointer_expression "*puVar4" * identifier) = (pointer_expression "&PTR_FUN_0033d7c8" & identifier)) ;) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar4 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 4)" * (cast_expression "(undefined1 *)(puVar4 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar4[5] = 0;" (assignment_expression "puVar4[5] = 0" (subscript_expression "puVar4[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[6] = 0;" (assignment_expression "puVar4[6] = 0" (subscript_expression "puVar4[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[7] = 0;" (assignment_expression "puVar4[7] = 0" (subscript_expression "puVar4[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[8] = 0;" (assignment_expression "puVar4[8] = 0" (subscript_expression "puVar4[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[9] = 0;" (assignment_expression "puVar4[9] = 0" (subscript_expression "puVar4[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[10] = 0;" (assignment_expression "puVar4[10] = 0" (subscript_expression "puVar4[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xb] = 0;" (assignment_expression "puVar4[0xb] = 0" (subscript_expression "puVar4[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xc] = 0;" (assignment_expression "puVar4[0xc] = 0" (subscript_expression "puVar4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xd] = 0;" (assignment_expression "puVar4[0xd] = 0" (subscript_expression "puVar4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xe] = 0;" (assignment_expression "puVar4[0xe] = 0" (subscript_expression "puVar4[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[0xf] = 0;" (assignment_expression "puVar4[0xf] = 0" (subscript_expression "puVar4[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar4 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 0x1b)" * (cast_expression "(undefined1 *)(puVar4 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x1b)" ( (binary_expression "puVar4 + 0x1b" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00202ac0(puVar4,param_2);" (call_expression "FUN_00202ac0(puVar4,param_2)" identifier (argument_list "(puVar4,param_2)" ( identifier , identifier ))) ;) (expression_statement "FUN_001af310(*param_2,puVar4,iVar3);" (call_expression "FUN_001af310(*param_2,puVar4,iVar3)" identifier (argument_list "(*param_2,puVar4,iVar3)" ( (pointer_expression "*param_2" * identifier) , identifier , identifier ))) ;) (return_statement "return *piVar1;" return (pointer_expression "*piVar1" * identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_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 IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT ))) ;) (return_statement return (pointer_expression * IDENT) ;) })))
(function_definition "int FUN_00205020(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);\n  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    \n  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);\n  puVar4[1] = 0;\n  puVar4[2] = 0;\n  *puVar4 = &PTR_FUN_0033d7c8;\n  puVar4[3] = 0;\n  *(undefined1 *)(puVar4 + 4) = 0;\n  puVar4[5] = 0;\n  puVar4[6] = 0;\n  puVar4[7] = 0;\n  puVar4[8] = 0;\n  puVar4[9] = 0;\n  puVar4[10] = 0;\n  puVar4[0xb] = 0;\n  puVar4[0xc] = 0;\n  puVar4[0xd] = 0;\n  puVar4[0xe] = 0;\n  puVar4[0xf] = 0;\n  *(undefined1 *)(puVar4 + 0x1b) = 0;\n                    \n  FUN_00202ac0(puVar4,param_2);\n  FUN_001af310(*param_2,puVar4,iVar3);\n  return *piVar1;\n}" (primitive_type "int") (function_declarator "FUN_00205020(undefined4 param_1,int *param_2)" (identifier "FUN_00205020") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (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"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);\n  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);\n  iVar2 = *piVar1;\n  if (iVar2 != 0) {\n    return iVar2;\n  }\n                    \n  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);\n  puVar4[1] = 0;\n  puVar4[2] = 0;\n  *puVar4 = &PTR_FUN_0033d7c8;\n  puVar4[3] = 0;\n  *(undefined1 *)(puVar4 + 4) = 0;\n  puVar4[5] = 0;\n  puVar4[6] = 0;\n  puVar4[7] = 0;\n  puVar4[8] = 0;\n  puVar4[9] = 0;\n  puVar4[10] = 0;\n  puVar4[0xb] = 0;\n  puVar4[0xc] = 0;\n  puVar4[0xd] = 0;\n  puVar4[0xe] = 0;\n  puVar4[0xf] = 0;\n  *(undefined1 *)(puVar4 + 0x1b) = 0;\n                    \n  FUN_00202ac0(puVar4,param_2);\n  FUN_001af310(*param_2,puVar4,iVar3);\n  return *piVar1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "iVar3 = FUN_001aee00(PTR_DAT_0033edb0);" (assignment_expression "iVar3 = FUN_001aee00(PTR_DAT_0033edb0)" (identifier "iVar3") (= "=") (call_expression "FUN_001aee00(PTR_DAT_0033edb0)" (identifier "FUN_001aee00") (argument_list "(PTR_DAT_0033edb0)" (( "(") (identifier "PTR_DAT_0033edb0") () ")")))) (; ";")) (expression_statement "piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*param_2 + 0xc) + iVar3 * 4)" (( "(") (binary_expression "*(int *)(*param_2 + 0xc) + iVar3 * 4" (pointer_expression "*(int *)(*param_2 + 0xc)" (* "*") (cast_expression "(int *)(*param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0xc)" (( "(") (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (if_statement "if (iVar2 != 0) {\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return iVar2;\n  }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)FUN_001aa8c0(0x70);" (assignment_expression "puVar4 = (undefined4 *)FUN_001aa8c0(0x70)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_001aa8c0(0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001aa8c0(0x70)" (identifier "FUN_001aa8c0") (argument_list "(0x70)" (( "(") (number_literal "0x70") () ")"))))) (; ";")) (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[2] = 0;" (assignment_expression "puVar4[2] = 0" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar4 = &PTR_FUN_0033d7c8;" (assignment_expression "*puVar4 = &PTR_FUN_0033d7c8" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "&PTR_FUN_0033d7c8" (& "&") (identifier "PTR_FUN_0033d7c8"))) (; ";")) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar4 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 4)" (* "*") (cast_expression "(undefined1 *)(puVar4 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 4)" (( "(") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[5] = 0;" (assignment_expression "puVar4[5] = 0" (subscript_expression "puVar4[5]" (identifier "puVar4") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[6] = 0;" (assignment_expression "puVar4[6] = 0" (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[7] = 0;" (assignment_expression "puVar4[7] = 0" (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[8] = 0;" (assignment_expression "puVar4[8] = 0" (subscript_expression "puVar4[8]" (identifier "puVar4") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[9] = 0;" (assignment_expression "puVar4[9] = 0" (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[10] = 0;" (assignment_expression "puVar4[10] = 0" (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[0xb] = 0;" (assignment_expression "puVar4[0xb] = 0" (subscript_expression "puVar4[0xb]" (identifier "puVar4") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[0xc] = 0;" (assignment_expression "puVar4[0xc] = 0" (subscript_expression "puVar4[0xc]" (identifier "puVar4") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[0xd] = 0;" (assignment_expression "puVar4[0xd] = 0" (subscript_expression "puVar4[0xd]" (identifier "puVar4") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[0xe] = 0;" (assignment_expression "puVar4[0xe] = 0" (subscript_expression "puVar4[0xe]" (identifier "puVar4") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[0xf] = 0;" (assignment_expression "puVar4[0xf] = 0" (subscript_expression "puVar4[0xf]" (identifier "puVar4") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar4 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 0x1b)" (* "*") (cast_expression "(undefined1 *)(puVar4 + 0x1b)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x1b)" (( "(") (binary_expression "puVar4 + 0x1b" (identifier "puVar4") (+ "+") (number_literal "0x1b")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00202ac0(puVar4,param_2);" (call_expression "FUN_00202ac0(puVar4,param_2)" (identifier "FUN_00202ac0") (argument_list "(puVar4,param_2)" (( "(") (identifier "puVar4") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_001af310(*param_2,puVar4,iVar3);" (call_expression "FUN_001af310(*param_2,puVar4,iVar3)" (identifier "FUN_001af310") (argument_list "(*param_2,puVar4,iVar3)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "puVar4") (, ",") (identifier "iVar3") () ")"))) (; ";")) (return_statement "return *piVar1;" (return "return") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* std::__use_cache<std::__moneypunct_cache<wchar_t, false> >::TEMPNAMEPLACEHOLDERVALUE(std::locale
   const&) const */

int __thiscall
std::__use_cache<std::var_1<var_2,false>>::operator()
          (__use_cache<std::var_1<var_2,false>> *this,locale *param_1)

{
  int *piVar1;
  int var_5;
  type_1 var_4;
  var_1<var_2,false> *var_7;
  
  var_4 = locale::id::var_3((type_2 *)PTR_id_0033edb0);
  piVar1 = (int *)(*(int *)(*(int *)param_1 + 0xc) + var_4 * 4);
  var_5 = *piVar1;
  if (var_5 != 0) {
    return var_5;
  }
                    /* try { // try from 0020506d to 00205071 has its CatchHandler @ 00205115 */
  var_7 = (var_1<var_2,false> *)var_6(0x70);
  *(type_3 *)(var_7 + 4) = 0;
  *(type_3 *)(var_7 + 8) = 0;
  *(type_4 ***)var_7 = &PTR____moneypunct_cache_0033d7c8;
  *(type_3 *)(var_7 + 0xc) = 0;
  var_7[0x10] = (var_1<var_2,false>)0x0;
  *(type_3 *)(var_7 + 0x14) = 0;
  *(type_3 *)(var_7 + 0x18) = 0;
  *(type_3 *)(var_7 + 0x1c) = 0;
  *(type_3 *)(var_7 + 0x20) = 0;
  *(type_3 *)(var_7 + 0x24) = 0;
  *(type_3 *)(var_7 + 0x28) = 0;
  *(type_3 *)(var_7 + 0x2c) = 0;
  *(type_3 *)(var_7 + 0x30) = 0;
  *(type_3 *)(var_7 + 0x34) = 0;
  *(type_3 *)(var_7 + 0x38) = 0;
  *(type_3 *)(var_7 + 0x3c) = 0;
  var_7[0x6c] = (var_1<var_2,false>)0x0;
                    /* try { // try from 002050ef to 002050f3 has its CatchHandler @ 00205117 */
  var_1<var_2,false>::var_8(var_7,param_1);
  locale::_Impl::var_9(*(type_5 **)param_1,(type_6 *)var_7,var_4);
  return *piVar1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int MASKED(undefined4 param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  
  iVar3 = FUN_001aee00(PTR_DAT_0033edb0);
  piVar1 = (int *)(*(int *)(*param_2 + 0xc) + iVar3 * 4);
  iVar2 = *piVar1;
  if (iVar2 != 0) {
    return iVar2;
  }
                    /* try { // try from 0020506d to 00205071 has its CatchHandler @ 00205115 */
  puVar4 = (undefined4 *)FUN_001aa8c0(0x70);
  puVar4[1] = 0;
  puVar4[2] = 0;
  *puVar4 = &PTR_FUN_0033d7c8;
  puVar4[3] = 0;
  *(undefined1 *)(puVar4 + 4) = 0;
  puVar4[5] = 0;
  puVar4[6] = 0;
  puVar4[7] = 0;
  puVar4[8] = 0;
  puVar4[9] = 0;
  puVar4[10] = 0;
  puVar4[0xb] = 0;
  puVar4[0xc] = 0;
  puVar4[0xd] = 0;
  puVar4[0xe] = 0;
  puVar4[0xf] = 0;
  *(undefined1 *)(puVar4 + 0x1b) = 0;
                    /* try { // try from 002050ef to 002050f3 has its CatchHandler @ 00205117 */
  FUN_00202ac0(puVar4,param_2);
  FUN_001af310(*param_2,puVar4,iVar3);
  return *piVar1;
}

