
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_emplace<std::pair<std::pair<unsigned int, unsigned int>,
   gold::Version_base*> >
   DWARF original prototype:
   pair<std::__detail::_Node_iterator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_false,_true>,_bool>
   _M_emplace<std::pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>(_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
   * this, true_type param_2, pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*> *
   __args#0) */

pair<std::__detail::_Node_iterator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_false,_true>,_bool>
 __thiscall
std::
_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
::_M_emplace<std::pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>(void)

{
}



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

int * FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int *piVar4;
  uint uVar5;
  uint uVar6;
  int *unaff_retaddr;
  int local_24;
  undefined1 local_20 [12];
  undefined4 uStack_14;
  
  uStack_14 = 0x23b359;
  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);
  uVar1 = param_4[1];
  *puVar3 = 0;
  uVar2 = *param_4;
  puVar3[2] = uVar1;
  puVar3[1] = uVar2;
  uVar5 = puVar3[1] + puVar3[2];
  puVar3[3] = param_4[2];
  uVar6 = uVar5 % *(uint *)(param_2 + 4);
  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);
  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {
    FUN_003ae080(puVar3);
    *param_1 = local_24;
    *(undefined1 *)(param_1 + 1) = 0;
    return param_1;
  }
  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);
  *unaff_retaddr = local_24;
  *(undefined1 *)(unaff_retaddr + 1) = 1;
  return unaff_retaddr;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x3aeca7
SUB ESP,0x28
MOV EDI,dword ptr [ESP + 0x48]
PUSH 0x14
CALL 0x003ac4d0
MOV EDX,dword ptr [EDI + 0x4]
MOV dword ptr [EAX],0x0
MOV ESI,EAX
MOV EAX,dword ptr [EDI]
MOV dword ptr [ESI + 0x8],EDX
XOR EDX,EDX
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [EDI + 0x8]
MOV ECX,dword ptr [ESI + 0x4]
ADD ECX,dword ptr [ESI + 0x8]
MOV EBP,ECX
MOV ECX,dword ptr [ESP + 0x44]
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,EBP
DIV dword ptr [ECX + 0x4]
PUSH EBP
LEA EAX,[ESI + 0x4]
PUSH EAX
PUSH EDX
MOV EDI,EDX
PUSH dword ptr [ESP + 0x50]
CALL 0x0023a800
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0023b3e8
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
MOV dword ptr [ESP + 0x8],EAX
JZ 0x0023b3e8
SUB ESP,0xc
PUSH ESI
CALL 0x003ae080
MOV EDX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0x10
MOV dword ptr [EDX],EAX
MOV EAX,dword ptr [ESP + 0x30]
MOV byte ptr [EDX + 0x4],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
LEA EAX,[ESP + 0xc]
SUB ESP,0x8
PUSH 0x1
PUSH ESI
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
CALL 0x0023a5d0
MOV EBX,dword ptr [ESP + 0x4c]
MOV EAX,dword ptr [ESP + 0x28]
ADD ESP,0x1c
MOV dword ptr [EBX],EAX
MOV EAX,dword ptr [ESP + 0x30]
MOV byte ptr [EBX + 0x4],0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  int *unaff_retaddr;\n  int local_24;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x23b359;\n  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);\n  uVar1 = param_4[1];\n  *puVar3 = 0;\n  uVar2 = *param_4;\n  puVar3[2] = uVar1;\n  puVar3[1] = uVar2;\n  uVar5 = puVar3[1] + puVar3[2];\n  puVar3[3] = param_4[2];\n  uVar6 = uVar5 % *(uint *)(param_2 + 4);\n  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);\n  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }\n  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);\n  *unaff_retaddr = local_24;\n  *(undefined1 *)(unaff_retaddr + 1) = 1;\n  return unaff_retaddr;\n}\n\n" comment (function_definition "int * FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  int *unaff_retaddr;\n  int local_24;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x23b359;\n  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);\n  uVar1 = param_4[1];\n  *puVar3 = 0;\n  uVar2 = *param_4;\n  puVar3[2] = uVar1;\n  puVar3[1] = uVar2;\n  uVar5 = puVar3[1] + puVar3[2];\n  puVar3[3] = param_4[2];\n  uVar6 = uVar5 % *(uint *)(param_2 + 4);\n  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);\n  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }\n  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);\n  *unaff_retaddr = local_24;\n  *(undefined1 *)(unaff_retaddr + 1) = 1;\n  return unaff_retaddr;\n}" primitive_type (pointer_declarator "* FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" * (function_declarator "FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" identifier (parameter_list "(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  int *unaff_retaddr;\n  int local_24;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x23b359;\n  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);\n  uVar1 = param_4[1];\n  *puVar3 = 0;\n  uVar2 = *param_4;\n  puVar3[2] = uVar1;\n  puVar3[1] = uVar2;\n  uVar5 = puVar3[1] + puVar3[2];\n  puVar3[3] = param_4[2];\n  uVar6 = uVar5 % *(uint *)(param_2 + 4);\n  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);\n  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }\n  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);\n  *unaff_retaddr = local_24;\n  *(undefined1 *)(unaff_retaddr + 1) = 1;\n  return unaff_retaddr;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int *unaff_retaddr;" primitive_type (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined1 local_20 [12];" type_identifier (array_declarator "local_20 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x23b359;" (assignment_expression "uStack_14 = 0x23b359" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)FUN_003ac4d0(0x14);" (assignment_expression "puVar3 = (undefined4 *)FUN_003ac4d0(0x14)" identifier = (cast_expression "(undefined4 *)FUN_003ac4d0(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "uVar1 = param_4[1];" (assignment_expression "uVar1 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = *param_4;" (assignment_expression "uVar2 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "puVar3[2] = uVar1;" (assignment_expression "puVar3[2] = uVar1" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar5 = puVar3[1] + puVar3[2];" (assignment_expression "uVar5 = puVar3[1] + puVar3[2]" identifier = (binary_expression "puVar3[1] + puVar3[2]" (subscript_expression "puVar3[1]" identifier [ number_literal ]) + (subscript_expression "puVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "puVar3[3] = param_4[2];" (assignment_expression "puVar3[3] = param_4[2]" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = uVar5 % *(uint *)(param_2 + 4);" (assignment_expression "uVar6 = uVar5 % *(uint *)(param_2 + 4)" identifier = (binary_expression "uVar5 % *(uint *)(param_2 + 4)" identifier % (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))))) ;) (expression_statement "piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);" (assignment_expression "piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" identifier = (cast_expression "(int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" identifier (argument_list "(param_2,uVar6,puVar3 + 1,uVar5)" ( identifier , identifier , (binary_expression "puVar3 + 1" identifier + number_literal) , identifier ))))) ;) (if_statement "if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }" if (parenthesized_expression "((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0))" ( (binary_expression "(piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)" (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(local_24 = *piVar4, local_24 != 0)" ( (comma_expression "local_24 = *piVar4, local_24 != 0" (assignment_expression "local_24 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) , (binary_expression "local_24 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }" { (expression_statement "FUN_003ae080(puVar3);" (call_expression "FUN_003ae080(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);" (call_expression "FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1)" identifier (argument_list "(local_20,param_2,uVar6,uVar5,puVar3,1)" ( identifier , identifier , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "*unaff_retaddr = local_24;" (assignment_expression "*unaff_retaddr = local_24" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(unaff_retaddr + 1) = 1;" (assignment_expression "*(undefined1 *)(unaff_retaddr + 1) = 1" (pointer_expression "*(undefined1 *)(unaff_retaddr + 1)" * (cast_expression "(undefined1 *)(unaff_retaddr + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 1)" ( (binary_expression "unaff_retaddr + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return unaff_retaddr;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original name: _M_emplace<std::pair<std::pair<unsigned int, unsigned int>,\n   gold::Version_base*> >\n   DWARF original prototype:\n   pair<std::__detail::_Node_iterator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_false,_true>,_bool>\n   _M_emplace<std::pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>(_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n   * this, true_type param_2, pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*> *\n   __args#0) */\n\npair<std::__detail::_Node_iterator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_false,_true>,_bool>\n __thiscall\nstd::\n_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n::_M_emplace<std::pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>(void)\n\n{\n}\n\n" comment comment (ERROR "pair<std::" (binary_expression "pair<std" identifier < identifier) : :) (labeled_statement "__detail::_Node_iterator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_false,_true>,_bool>\n __thiscall" statement_identifier (ERROR "::_Node_iterator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold:" : : (binary_expression "_Node_iterator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_unsigned_int>,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) :) : (expression_statement "Version_base*>,_false,_true>,_bool>\n __thiscall" (comma_expression "Version_base*>,_false,_true>,_bool>\n __thiscall" (binary_expression "Version_base*>,_false" identifier * (ERROR ">," > ,) identifier) , (binary_expression "_true>,_bool>\n __thiscall" (binary_expression "_true>,_bool" identifier > (ERROR "," ,) identifier) > identifier)) ;)) (ERROR "std::\n_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n::_M_emplace<std::pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>(void)\n\n{\n}" (binary_expression "std::\n_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std" (binary_expression "std::\n_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_" identifier (ERROR "::\n_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*" : : (binary_expression "_Hashtable<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_unsigned_int>,_std" (binary_expression "pair<unsigned_int" identifier < identifier) , (binary_expression "_unsigned_int>,_std" identifier > (ERROR "," ,) identifier)) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_unsigned_int>,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (comma_expression "Version_base*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_unsigned_int>,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : identifier *) > identifier) > (ERROR "," ,) identifier) : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : : identifier < true , identifier , (binary_expression "_true>_>\n::_M_emplace<std" (binary_expression "_true>_>\n::_M_emplace" (binary_expression "_true>_" identifier > identifier) > (ERROR "::" : :) identifier) < identifier) : : (binary_expression "pair<std" identifier < identifier) : : (binary_expression "pair<unsigned_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier) : : (binary_expression "Version_base*>_>(void)\n\n{\n}" (binary_expression "Version_base*>_" identifier * (ERROR ">" >) identifier) > (compound_literal_expression "(void)\n\n{\n}" ( (type_descriptor "void" primitive_type) ) (initializer_list "{\n}" { })))))
(translation_unit "int * FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  int *unaff_retaddr;\n  int local_24;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x23b359;\n  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);\n  uVar1 = param_4[1];\n  *puVar3 = 0;\n  uVar2 = *param_4;\n  puVar3[2] = uVar1;\n  puVar3[1] = uVar2;\n  uVar5 = puVar3[1] + puVar3[2];\n  puVar3[3] = param_4[2];\n  uVar6 = uVar5 % *(uint *)(param_2 + 4);\n  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);\n  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }\n  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);\n  *unaff_retaddr = local_24;\n  *(undefined1 *)(unaff_retaddr + 1) = 1;\n  return unaff_retaddr;\n}\n\n" (function_definition "int * FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  int *unaff_retaddr;\n  int local_24;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x23b359;\n  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);\n  uVar1 = param_4[1];\n  *puVar3 = 0;\n  uVar2 = *param_4;\n  puVar3[2] = uVar1;\n  puVar3[1] = uVar2;\n  uVar5 = puVar3[1] + puVar3[2];\n  puVar3[3] = param_4[2];\n  uVar6 = uVar5 % *(uint *)(param_2 + 4);\n  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);\n  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }\n  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);\n  *unaff_retaddr = local_24;\n  *(undefined1 *)(unaff_retaddr + 1) = 1;\n  return unaff_retaddr;\n}" primitive_type (pointer_declarator "* FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" * (function_declarator "FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" identifier (parameter_list "(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  int *unaff_retaddr;\n  int local_24;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x23b359;\n  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);\n  uVar1 = param_4[1];\n  *puVar3 = 0;\n  uVar2 = *param_4;\n  puVar3[2] = uVar1;\n  puVar3[1] = uVar2;\n  uVar5 = puVar3[1] + puVar3[2];\n  puVar3[3] = param_4[2];\n  uVar6 = uVar5 % *(uint *)(param_2 + 4);\n  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);\n  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }\n  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);\n  *unaff_retaddr = local_24;\n  *(undefined1 *)(unaff_retaddr + 1) = 1;\n  return unaff_retaddr;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int *unaff_retaddr;" primitive_type (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined1 local_20 [12];" type_identifier (array_declarator "local_20 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x23b359;" (assignment_expression "uStack_14 = 0x23b359" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)FUN_003ac4d0(0x14);" (assignment_expression "puVar3 = (undefined4 *)FUN_003ac4d0(0x14)" identifier = (cast_expression "(undefined4 *)FUN_003ac4d0(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "uVar1 = param_4[1];" (assignment_expression "uVar1 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = *param_4;" (assignment_expression "uVar2 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "puVar3[2] = uVar1;" (assignment_expression "puVar3[2] = uVar1" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar5 = puVar3[1] + puVar3[2];" (assignment_expression "uVar5 = puVar3[1] + puVar3[2]" identifier = (binary_expression "puVar3[1] + puVar3[2]" (subscript_expression "puVar3[1]" identifier [ number_literal ]) + (subscript_expression "puVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "puVar3[3] = param_4[2];" (assignment_expression "puVar3[3] = param_4[2]" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = uVar5 % *(uint *)(param_2 + 4);" (assignment_expression "uVar6 = uVar5 % *(uint *)(param_2 + 4)" identifier = (binary_expression "uVar5 % *(uint *)(param_2 + 4)" identifier % (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))))) ;) (expression_statement "piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);" (assignment_expression "piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" identifier = (cast_expression "(int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" identifier (argument_list "(param_2,uVar6,puVar3 + 1,uVar5)" ( identifier , identifier , (binary_expression "puVar3 + 1" identifier + number_literal) , identifier ))))) ;) (if_statement "if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }" if (parenthesized_expression "((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0))" ( (binary_expression "(piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)" (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(local_24 = *piVar4, local_24 != 0)" ( (comma_expression "local_24 = *piVar4, local_24 != 0" (assignment_expression "local_24 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) , (binary_expression "local_24 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }" { (expression_statement "FUN_003ae080(puVar3);" (call_expression "FUN_003ae080(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);" (call_expression "FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1)" identifier (argument_list "(local_20,param_2,uVar6,uVar5,puVar3,1)" ( identifier , identifier , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "*unaff_retaddr = local_24;" (assignment_expression "*unaff_retaddr = local_24" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(unaff_retaddr + 1) = 1;" (assignment_expression "*(undefined1 *)(unaff_retaddr + 1) = 1" (pointer_expression "*(undefined1 *)(unaff_retaddr + 1)" * (cast_expression "(undefined1 *)(unaff_retaddr + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 1)" ( (binary_expression "unaff_retaddr + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return unaff_retaddr;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  int *unaff_retaddr;\n  int local_24;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x23b359;\n  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);\n  uVar1 = param_4[1];\n  *puVar3 = 0;\n  uVar2 = *param_4;\n  puVar3[2] = uVar1;\n  puVar3[1] = uVar2;\n  uVar5 = puVar3[1] + puVar3[2];\n  puVar3[3] = param_4[2];\n  uVar6 = uVar5 % *(uint *)(param_2 + 4);\n  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);\n  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }\n  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);\n  *unaff_retaddr = local_24;\n  *(undefined1 *)(unaff_retaddr + 1) = 1;\n  return unaff_retaddr;\n}" (primitive_type "int") (pointer_declarator "* FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" (* "*") (function_declarator "FUN_0023b350(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" (identifier "FUN_0023b350") (parameter_list "(int *param_1,int param_2,undefined4 param_3,undefined4 *param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")")))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  int *unaff_retaddr;\n  int local_24;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x23b359;\n  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);\n  uVar1 = param_4[1];\n  *puVar3 = 0;\n  uVar2 = *param_4;\n  puVar3[2] = uVar1;\n  puVar3[1] = uVar2;\n  uVar5 = puVar3[1] + puVar3[2];\n  puVar3[3] = param_4[2];\n  uVar6 = uVar5 % *(uint *)(param_2 + 4);\n  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);\n  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }\n  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);\n  *unaff_retaddr = local_24;\n  *(undefined1 *)(unaff_retaddr + 1) = 1;\n  return unaff_retaddr;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int *unaff_retaddr;" (primitive_type "int") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined1 local_20 [12];" (type_identifier "undefined1") (array_declarator "local_20 [12]" (identifier "local_20") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x23b359;" (assignment_expression "uStack_14 = 0x23b359" (identifier "uStack_14") (= "=") (number_literal "0x23b359")) (; ";")) (expression_statement "puVar3 = (undefined4 *)FUN_003ac4d0(0x14);" (assignment_expression "puVar3 = (undefined4 *)FUN_003ac4d0(0x14)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_003ac4d0(0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(0x14)" (identifier "FUN_003ac4d0") (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "uVar1 = param_4[1];" (assignment_expression "uVar1 = param_4[1]" (identifier "uVar1") (= "=") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = *param_4;" (assignment_expression "uVar2 = *param_4" (identifier "uVar2") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (expression_statement "puVar3[2] = uVar1;" (assignment_expression "puVar3[2] = uVar1" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar5 = puVar3[1] + puVar3[2];" (assignment_expression "uVar5 = puVar3[1] + puVar3[2]" (identifier "uVar5") (= "=") (binary_expression "puVar3[1] + puVar3[2]" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (+ "+") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "puVar3[3] = param_4[2];" (assignment_expression "puVar3[3] = param_4[2]" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar6 = uVar5 % *(uint *)(param_2 + 4);" (assignment_expression "uVar6 = uVar5 % *(uint *)(param_2 + 4)" (identifier "uVar6") (= "=") (binary_expression "uVar5 % *(uint *)(param_2 + 4)" (identifier "uVar5") (% "%") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);" (assignment_expression "piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" (identifier "piVar4") (= "=") (cast_expression "(int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5)" (identifier "FUN_0023a800") (argument_list "(param_2,uVar6,puVar3 + 1,uVar5)" (( "(") (identifier "param_2") (, ",") (identifier "uVar6") (, ",") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1")) (, ",") (identifier "uVar5") () ")"))))) (; ";")) (if_statement "if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }" (if "if") (parenthesized_expression "((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0))" (( "(") (binary_expression "(piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)" (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(local_24 = *piVar4, local_24 != 0)" (( "(") (comma_expression "local_24 = *piVar4, local_24 != 0" (assignment_expression "local_24 = *piVar4" (identifier "local_24") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (, ",") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    FUN_003ae080(puVar3);\n    *param_1 = local_24;\n    *(undefined1 *)(param_1 + 1) = 0;\n    return param_1;\n  }" ({ "{") (expression_statement "FUN_003ae080(puVar3);" (call_expression "FUN_003ae080(puVar3)" (identifier "FUN_003ae080") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);" (call_expression "FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1)" (identifier "FUN_0023a5d0") (argument_list "(local_20,param_2,uVar6,uVar5,puVar3,1)" (( "(") (identifier "local_20") (, ",") (identifier "param_2") (, ",") (identifier "uVar6") (, ",") (identifier "uVar5") (, ",") (identifier "puVar3") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "*unaff_retaddr = local_24;" (assignment_expression "*unaff_retaddr = local_24" (pointer_expression "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "*(undefined1 *)(unaff_retaddr + 1) = 1;" (assignment_expression "*(undefined1 *)(unaff_retaddr + 1) = 1" (pointer_expression "*(undefined1 *)(unaff_retaddr + 1)" (* "*") (cast_expression "(undefined1 *)(unaff_retaddr + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 1)" (( "(") (binary_expression "unaff_retaddr + 1" (identifier "unaff_retaddr") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return unaff_retaddr;" (return "return") (identifier "unaff_retaddr") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: _M_emplace<std::pair<std::pair<unsigned int, unsigned int>,
   gold::Version_base*> >
   DWARF original prototype:
   pair<std::__detail::_Node_iterator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_false,_true>,_bool>
   _M_emplace<std::pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>(_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
   * this, true_type param_2, pair<std::pair<unsigned_int,_unsigned_int>,_gold::Version_base*> *
   __args#0) */

pair<std::__detail::_Node_iterator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::var_1*>,var_2,var_3>,var_4>
 var_5
std::
_Hashtable<std::pair<unsigned_int,_unsigned_int>,_std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::var_1*>,_std::allocator<std::pair<const_std::pair<unsigned_int,_unsigned_int>,_gold::var_1*>_>,_std::__detail::_Select1st,_gold::Versions::Version_table_eq,_gold::Versions::Version_table_hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,var_2,var_3>_>
::_M_emplace<std::pair<std::pair<unsigned_int,_unsigned_int>,_gold::var_1*>_>(void)

{
}


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

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

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

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int *piVar4;
  uint uVar5;
  uint uVar6;
  int *unaff_retaddr;
  int local_24;
  undefined1 local_20 [12];
  undefined4 uStack_14;
  
  uStack_14 = 0x23b359;
  puVar3 = (undefined4 *)FUN_003ac4d0(0x14);
  uVar1 = param_4[1];
  *puVar3 = 0;
  uVar2 = *param_4;
  puVar3[2] = uVar1;
  puVar3[1] = uVar2;
  uVar5 = puVar3[1] + puVar3[2];
  puVar3[3] = param_4[2];
  uVar6 = uVar5 % *(uint *)(param_2 + 4);
  piVar4 = (int *)FUN_0023a800(param_2,uVar6,puVar3 + 1,uVar5);
  if ((piVar4 != (int *)0x0) && (local_24 = *piVar4, local_24 != 0)) {
    FUN_003ae080(puVar3);
    *param_1 = local_24;
    *(undefined1 *)(param_1 + 1) = 0;
    return param_1;
  }
  FUN_0023a5d0(local_20,param_2,uVar6,uVar5,puVar3,1);
  *unaff_retaddr = local_24;
  *(undefined1 *)(unaff_retaddr + 1) = 1;
  return unaff_retaddr;
}

