
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void size_relocatable_relocs(Relobj * this) */

void __thiscall gold::Relobj::size_relocatable_relocs(Relobj *this)

{
  uint uVar1;
  vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *pvVar2;
  pointer ppRVar3;
  pointer ppRVar4;
  
  uVar1 = (this->super_Object).shnum_;
  pvVar2 = (vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)
           operator_new(0xc);
  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>
  )._M_impl._M_start = (pointer)0x0;
  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>
  )._M_impl._M_finish = (pointer)0x0;
  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>
  )._M_impl._M_end_of_storage = (pointer)0x0;
  if (uVar1 == 0) {
    ppRVar4 = (pointer)0x0;
  }
  else {
    if (0x3fffffff < uVar1) {
                    /* WARNING: Subroutine does not return */
      std::__throw_bad_alloc();
    }
                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */
    ppRVar3 = (pointer)operator_new(uVar1 * 4);
    ppRVar4 = ppRVar3 + uVar1;
    (pvVar2->
    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).
    _M_impl._M_start = ppRVar3;
    (pvVar2->
    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).
    _M_impl._M_end_of_storage = ppRVar4;
    do {
      *ppRVar3 = (Relocatable_relocs *)0x0;
      ppRVar3 = ppRVar3 + 1;
    } while (ppRVar4 != ppRVar3);
  }
  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>
  )._M_impl._M_finish = ppRVar4;
  this->map_to_relocatable_relocs_ = pvVar2;
  return;
}



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

void FUN_000b49a0(int param_1)

{
  uint uVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  
  uVar1 = *(uint *)(param_1 + 0x28);
  puVar2 = (undefined4 *)FUN_001e5200(0xc);
  *puVar2 = 0;
  puVar2[1] = 0;
  puVar2[2] = 0;
  if (uVar1 == 0) {
    puVar4 = (undefined4 *)0x0;
  }
  else {
    if (0x3fffffff < uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_0022c5f0();
    }
                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */
    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);
    puVar4 = puVar3 + uVar1;
    *puVar2 = puVar3;
    puVar2[2] = puVar4;
    do {
      *puVar3 = 0;
      puVar3 = puVar3 + 1;
    } while (puVar4 != puVar3);
  }
  puVar2[1] = puVar4;
  *(undefined4 **)(param_1 + 0x44) = puVar2;
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2da655
SUB ESP,0x28
MOV EAX,dword ptr [EBP + 0x8]
MOV ESI,dword ptr [EAX + 0x28]
PUSH 0xc
MOV dword ptr [EBP + -0x1c],EBX
CALL 0x001e5200
ADD ESP,0x10
MOV EDI,EAX
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],0x0
TEST ESI,ESI
JZ 0x000b4a30
CMP ESI,0x3fffffff
JA 0x000b4a34
SHL ESI,0x2
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x1c]
PUSH ESI
CALL 0x001e5200
ADD ESI,EAX
MOV dword ptr [EDI],EAX
ADD ESP,0x10
MOV dword ptr [EDI + 0x8],ESI
LEA ESI,[ESI]
MOV dword ptr [EAX],0x0
ADD EAX,0x4
CMP ESI,EAX
JNZ 0x000b4a08
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [EDI + 0x4],ESI
MOV dword ptr [EAX + 0x44],EDI
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR ESI,ESI
JMP 0x000b4a15
MOV EBX,dword ptr [EBP + -0x1c]
CALL 0x0022c5f0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000b49a0(int param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  \n  uVar1 = *(uint *)(param_1 + 0x28);\n  puVar2 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0022c5f0();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }\n  puVar2[1] = puVar4;\n  *(undefined4 **)(param_1 + 0x44) = puVar2;\n  return;\n}\n\n" comment (function_definition "void FUN_000b49a0(int param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  \n  uVar1 = *(uint *)(param_1 + 0x28);\n  puVar2 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0022c5f0();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }\n  puVar2[1] = puVar4;\n  *(undefined4 **)(param_1 + 0x44) = puVar2;\n  return;\n}" primitive_type (function_declarator "FUN_000b49a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  \n  uVar1 = *(uint *)(param_1 + 0x28);\n  puVar2 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0022c5f0();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }\n  puVar2[1] = puVar4;\n  *(undefined4 **)(param_1 + 0x44) = puVar2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" identifier = (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar2 = (undefined4 *)FUN_001e5200(0xc)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0022c5f0();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)0x0;\n  }" { (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0022c5f0();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" else (compound_statement "{\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0022c5f0();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" { (if_statement "if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0022c5f0();\n    }" if (parenthesized_expression "(0x3fffffff < uVar1)" ( (binary_expression "0x3fffffff < uVar1" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0022c5f0();\n    }" { comment (expression_statement "FUN_0022c5f0();" (call_expression "FUN_0022c5f0()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);" (assignment_expression "puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(uVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(uVar1 * 4)" identifier (argument_list "(uVar1 * 4)" ( (binary_expression "uVar1 * 4" identifier * number_literal) ))))) ;) (expression_statement "puVar4 = puVar3 + uVar1;" (assignment_expression "puVar4 = puVar3 + uVar1" identifier = (binary_expression "puVar3 + uVar1" identifier + identifier)) ;) (expression_statement "*puVar2 = puVar3;" (assignment_expression "*puVar2 = puVar3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[2] = puVar4;" (assignment_expression "puVar2[2] = puVar4" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (do_statement "do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);" do (compound_statement "{\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar3)" ( (binary_expression "puVar4 != puVar3" identifier != identifier) )) ;) }))) (expression_statement "puVar2[1] = puVar4;" (assignment_expression "puVar2[1] = puVar4" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x44) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x44) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x44)" * (cast_expression "(undefined4 **)(param_1 + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void size_relocatable_relocs(Relobj * this) */\n\nvoid __thiscall gold::Relobj::size_relocatable_relocs(Relobj *this)\n\n{\n  uint uVar1;\n  vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *pvVar2;\n  pointer ppRVar3;\n  pointer ppRVar4;\n  \n  uVar1 = (this->super_Object).shnum_;\n  pvVar2 = (vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_start = (pointer)0x0;\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = (pointer)0x0;\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_end_of_storage = (pointer)0x0;\n  if (uVar1 == 0) {\n    ppRVar4 = (pointer)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      std::__throw_bad_alloc();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    ppRVar3 = (pointer)operator_new(uVar1 * 4);\n    ppRVar4 = ppRVar3 + uVar1;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start = ppRVar3;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage = ppRVar4;\n    do {\n      *ppRVar3 = (Relocatable_relocs *)0x0;\n      ppRVar3 = ppRVar3 + 1;\n    } while (ppRVar4 != ppRVar3);\n  }\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = ppRVar4;\n  this->map_to_relocatable_relocs_ = pvVar2;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Relobj::size_relocatable_relocs(Relobj *this)\n\n{\n  uint uVar1;\n  vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *pvVar2;\n  pointer ppRVar3;\n  pointer ppRVar4;\n  \n  uVar1 = (this->super_Object).shnum_;\n  pvVar2 = (vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_start = (pointer)0x0;\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = (pointer)0x0;\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_end_of_storage = (pointer)0x0;\n  if (uVar1 == 0) {\n    ppRVar4 = (pointer)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      std::__throw_bad_alloc();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    ppRVar3 = (pointer)operator_new(uVar1 * 4);\n    ppRVar4 = ppRVar3 + uVar1;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start = ppRVar3;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage = ppRVar4;\n    do {\n      *ppRVar3 = (Relocatable_relocs *)0x0;\n      ppRVar3 = ppRVar3 + 1;\n    } while (ppRVar4 != ppRVar3);\n  }\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = ppRVar4;\n  this->map_to_relocatable_relocs_ = pvVar2;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Relobj::" identifier : : identifier : :) (function_declarator "size_relocatable_relocs(Relobj *this)" identifier (parameter_list "(Relobj *this)" ( (parameter_declaration "Relobj *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *pvVar2;\n  pointer ppRVar3;\n  pointer ppRVar4;\n  \n  uVar1 = (this->super_Object).shnum_;\n  pvVar2 = (vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_start = (pointer)0x0;\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = (pointer)0x0;\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_end_of_storage = (pointer)0x0;\n  if (uVar1 == 0) {\n    ppRVar4 = (pointer)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      std::__throw_bad_alloc();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    ppRVar3 = (pointer)operator_new(uVar1 * 4);\n    ppRVar4 = ppRVar3 + uVar1;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start = ppRVar3;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage = ppRVar4;\n    do {\n      *ppRVar3 = (Relocatable_relocs *)0x0;\n      ppRVar3 = ppRVar3 + 1;\n    } while (ppRVar4 != ppRVar3);\n  }\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = ppRVar4;\n  this->map_to_relocatable_relocs_ = pvVar2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (ERROR "vector<gold::Relocatable_relocs*,_std::allocator<gold::" (binary_expression "vector<gold" identifier < identifier) : : (binary_expression "Relocatable_relocs*,_std" identifier * (ERROR "," ,) identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "Relocatable_relocs*>_> *pvVar2;" (binary_expression "Relocatable_relocs*>_> *pvVar2" (binary_expression "Relocatable_relocs*>_" identifier * (ERROR ">" >) identifier) > (pointer_expression "*pvVar2" * identifier)) ;) (declaration "pointer ppRVar3;" type_identifier identifier ;) (declaration "pointer ppRVar4;" type_identifier identifier ;) (expression_statement "uVar1 = (this->super_Object).shnum_;" (assignment_expression "uVar1 = (this->super_Object).shnum_" identifier = (field_expression "(this->super_Object).shnum_" (parenthesized_expression "(this->super_Object)" ( (field_expression "this->super_Object" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pvVar2 = (vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_start = (pointer)0x0;" (assignment_expression "pvVar2 = (vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_start = (pointer)0x0" identifier = (assignment_expression "(vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_start = (pointer)0x0" (field_expression "(vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_start" (field_expression "(vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl" (parenthesized_expression "(vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )" ( (ERROR "vector<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::" (binary_expression "vector<gold" identifier < identifier) : : (type_descriptor "Relocatable_relocs*" type_identifier (abstract_pointer_declarator "*" *)) , identifier : : (binary_expression "allocator<gold" identifier < identifier) : : (comma_expression "Relocatable_relocs*>_> *)\n           operator_new(0xc);\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std" (binary_expression "Relocatable_relocs*>_> *)\n           operator_new(0xc)" (binary_expression "Relocatable_relocs*>_" identifier * (ERROR ">" >) identifier) > (pointer_expression "*)\n           operator_new(0xc)" * (ERROR ")" )) (call_expression "operator_new(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) (ERROR ";\n  (pvVar2->super__Vector_base<gold::Relocatable_relocs*" ; ( (binary_expression "pvVar2->super__Vector_base<gold" (field_expression "pvVar2->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Relocatable_relocs*>_>" (binary_expression "Relocatable_relocs*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal))) ;) (expression_statement "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = (pointer)0x0;" (assignment_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = (pointer)0x0" (field_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish" (field_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl" (parenthesized_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )" ( (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std" (binary_expression "pvVar2->super__Vector_base<gold" (field_expression "pvVar2->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_end_of_storage = (pointer)0x0" (field_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_end_of_storage" (field_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl" (parenthesized_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )" ( (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std" (binary_expression "pvVar2->super__Vector_base<gold" (field_expression "pvVar2->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (if_statement "if (uVar1 == 0) {\n    ppRVar4 = (pointer)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      std::__throw_bad_alloc();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    ppRVar3 = (pointer)operator_new(uVar1 * 4);\n    ppRVar4 = ppRVar3 + uVar1;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start = ppRVar3;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage = ppRVar4;\n    do {\n      *ppRVar3 = (Relocatable_relocs *)0x0;\n      ppRVar3 = ppRVar3 + 1;\n    } while (ppRVar4 != ppRVar3);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    ppRVar4 = (pointer)0x0;\n  }" { (expression_statement "ppRVar4 = (pointer)0x0;" (assignment_expression "ppRVar4 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) }) (else_clause "else {\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      std::__throw_bad_alloc();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    ppRVar3 = (pointer)operator_new(uVar1 * 4);\n    ppRVar4 = ppRVar3 + uVar1;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start = ppRVar3;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage = ppRVar4;\n    do {\n      *ppRVar3 = (Relocatable_relocs *)0x0;\n      ppRVar3 = ppRVar3 + 1;\n    } while (ppRVar4 != ppRVar3);\n  }" else (compound_statement "{\n    if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      std::__throw_bad_alloc();\n    }\n                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */\n    ppRVar3 = (pointer)operator_new(uVar1 * 4);\n    ppRVar4 = ppRVar3 + uVar1;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start = ppRVar3;\n    (pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage = ppRVar4;\n    do {\n      *ppRVar3 = (Relocatable_relocs *)0x0;\n      ppRVar3 = ppRVar3 + 1;\n    } while (ppRVar4 != ppRVar3);\n  }" { (if_statement "if (0x3fffffff < uVar1) {\n                    /* WARNING: Subroutine does not return */\n      std::__throw_bad_alloc();\n    }" if (parenthesized_expression "(0x3fffffff < uVar1)" ( (binary_expression "0x3fffffff < uVar1" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      std::__throw_bad_alloc();\n    }" { comment (labeled_statement "std::__throw_bad_alloc();" statement_identifier : (ERROR ":" :) (expression_statement "__throw_bad_alloc();" (call_expression "__throw_bad_alloc()" identifier (argument_list "()" ( ))) ;)) })) comment (expression_statement "ppRVar3 = (pointer)operator_new(uVar1 * 4);" (assignment_expression "ppRVar3 = (pointer)operator_new(uVar1 * 4)" identifier = (cast_expression "(pointer)operator_new(uVar1 * 4)" ( (type_descriptor "pointer" type_identifier) ) (call_expression "operator_new(uVar1 * 4)" identifier (argument_list "(uVar1 * 4)" ( (binary_expression "uVar1 * 4" identifier * number_literal) ))))) ;) (expression_statement "ppRVar4 = ppRVar3 + uVar1;" (assignment_expression "ppRVar4 = ppRVar3 + uVar1" identifier = (binary_expression "ppRVar3 + uVar1" identifier + identifier)) ;) (expression_statement "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start = ppRVar3;" (assignment_expression "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start = ppRVar3" (field_expression "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_start" (field_expression "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl" (parenthesized_expression "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>)" ( (binary_expression "pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>" (binary_expression "pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_" (binary_expression "pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold" (binary_expression "pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std" (binary_expression "pvVar2->\n    super__Vector_base<gold" (field_expression "pvVar2->\n    super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage = ppRVar4;" (assignment_expression "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage = ppRVar4" (field_expression "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl._M_end_of_storage" (field_expression "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>).\n    _M_impl" (parenthesized_expression "(pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>)" ( (binary_expression "pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>" (binary_expression "pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_" (binary_expression "pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold" (binary_expression "pvVar2->\n    super__Vector_base<gold::Relocatable_relocs*,_std" (binary_expression "pvVar2->\n    super__Vector_base<gold" (field_expression "pvVar2->\n    super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (do_statement "do {\n      *ppRVar3 = (Relocatable_relocs *)0x0;\n      ppRVar3 = ppRVar3 + 1;\n    } while (ppRVar4 != ppRVar3);" do (compound_statement "{\n      *ppRVar3 = (Relocatable_relocs *)0x0;\n      ppRVar3 = ppRVar3 + 1;\n    }" { (expression_statement "*ppRVar3 = (Relocatable_relocs *)0x0;" (assignment_expression "*ppRVar3 = (Relocatable_relocs *)0x0" (pointer_expression "*ppRVar3" * identifier) = (cast_expression "(Relocatable_relocs *)0x0" ( (type_descriptor "Relocatable_relocs *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ppRVar3 = ppRVar3 + 1;" (assignment_expression "ppRVar3 = ppRVar3 + 1" identifier = (binary_expression "ppRVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(ppRVar4 != ppRVar3)" ( (binary_expression "ppRVar4 != ppRVar3" identifier != identifier) )) ;) }))) (expression_statement "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = ppRVar4;" (assignment_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish = ppRVar4" (field_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl._M_finish" (field_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )._M_impl" (parenthesized_expression "(pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>\n  )" ( (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_>" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold::Relocatable_relocs*>_" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std::allocator<gold" (binary_expression "pvVar2->super__Vector_base<gold::Relocatable_relocs*,_std" (binary_expression "pvVar2->super__Vector_base<gold" (field_expression "pvVar2->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Relocatable_relocs" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "this->map_to_relocatable_relocs_ = pvVar2;" (assignment_expression "this->map_to_relocatable_relocs_ = pvVar2" (field_expression "this->map_to_relocatable_relocs_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000b49a0(int param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  \n  uVar1 = *(uint *)(param_1 + 0x28);\n  puVar2 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }\n  puVar2[1] = puVar4;\n  *(undefined4 **)(param_1 + 0x44) = puVar2;\n  return;\n}\n\n" (function_definition "void FUN_000b49a0(int param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  \n  uVar1 = *(uint *)(param_1 + 0x28);\n  puVar2 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }\n  puVar2[1] = puVar4;\n  *(undefined4 **)(param_1 + 0x44) = puVar2;\n  return;\n}" primitive_type (function_declarator "FUN_000b49a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  \n  uVar1 = *(uint *)(param_1 + 0x28);\n  puVar2 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }\n  puVar2[1] = puVar4;\n  *(undefined4 **)(param_1 + 0x44) = puVar2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" identifier = (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar2 = (undefined4 *)FUN_001e5200(0xc)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)0x0;\n  }" { (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" else (compound_statement "{\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" { (if_statement "if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }" if (parenthesized_expression "(0x3fffffff < uVar1)" ( (binary_expression "0x3fffffff < uVar1" number_literal < identifier) )) (compound_statement "{\n                    \n      FUN_0022c5f0();\n    }" { (expression_statement "FUN_0022c5f0();" (call_expression "FUN_0022c5f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);" (assignment_expression "puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(uVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(uVar1 * 4)" identifier (argument_list "(uVar1 * 4)" ( (binary_expression "uVar1 * 4" identifier * number_literal) ))))) ;) (expression_statement "puVar4 = puVar3 + uVar1;" (assignment_expression "puVar4 = puVar3 + uVar1" identifier = (binary_expression "puVar3 + uVar1" identifier + identifier)) ;) (expression_statement "*puVar2 = puVar3;" (assignment_expression "*puVar2 = puVar3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[2] = puVar4;" (assignment_expression "puVar2[2] = puVar4" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (do_statement "do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);" do (compound_statement "{\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar3)" ( (binary_expression "puVar4 != puVar3" identifier != identifier) )) ;) }))) (expression_statement "puVar2[1] = puVar4;" (assignment_expression "puVar2[1] = puVar4" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x44) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x44) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x44)" * (cast_expression "(undefined4 **)(param_1 + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT * LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000b49a0(int param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  \n  uVar1 = *(uint *)(param_1 + 0x28);\n  puVar2 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }\n  puVar2[1] = puVar4;\n  *(undefined4 **)(param_1 + 0x44) = puVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000b49a0(int param_1)" (identifier "FUN_000b49a0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  \n  uVar1 = *(uint *)(param_1 + 0x28);\n  puVar2 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar2 = 0;\n  puVar2[1] = 0;\n  puVar2[2] = 0;\n  if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }\n  puVar2[1] = puVar4;\n  *(undefined4 **)(param_1 + 0x44) = puVar2;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0x28)" (* "*") (cast_expression "(uint *)(param_1 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "puVar2 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar2 = (undefined4 *)FUN_001e5200(0xc)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)FUN_001e5200(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5200(0xc)" (identifier "FUN_001e5200") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar1 == 0) {\n    puVar4 = (undefined4 *)0x0;\n  }\n  else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar4 = (undefined4 *)0x0;\n  }" ({ "{") (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" (else "else") (compound_statement "{\n    if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }\n                    \n    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);\n    puVar4 = puVar3 + uVar1;\n    *puVar2 = puVar3;\n    puVar2[2] = puVar4;\n    do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);\n  }" ({ "{") (if_statement "if (0x3fffffff < uVar1) {\n                    \n      FUN_0022c5f0();\n    }" (if "if") (parenthesized_expression "(0x3fffffff < uVar1)" (( "(") (binary_expression "0x3fffffff < uVar1" (number_literal "0x3fffffff") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n                    \n      FUN_0022c5f0();\n    }" ({ "{") (expression_statement "FUN_0022c5f0();" (call_expression "FUN_0022c5f0()" (identifier "FUN_0022c5f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);" (assignment_expression "puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_001e5200(uVar1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5200(uVar1 * 4)" (identifier "FUN_001e5200") (argument_list "(uVar1 * 4)" (( "(") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "puVar4 = puVar3 + uVar1;" (assignment_expression "puVar4 = puVar3 + uVar1" (identifier "puVar4") (= "=") (binary_expression "puVar3 + uVar1" (identifier "puVar3") (+ "+") (identifier "uVar1"))) (; ";")) (expression_statement "*puVar2 = puVar3;" (assignment_expression "*puVar2 = puVar3" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "puVar2[2] = puVar4;" (assignment_expression "puVar2[2] = puVar4" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "puVar4")) (; ";")) (do_statement "do {\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    } while (puVar4 != puVar3);" (do "do") (compound_statement "{\n      *puVar3 = 0;\n      puVar3 = puVar3 + 1;\n    }" ({ "{") (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar3)" (( "(") (binary_expression "puVar4 != puVar3" (identifier "puVar4") (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (} "}")))) (expression_statement "puVar2[1] = puVar4;" (assignment_expression "puVar2[1] = puVar4" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "puVar4")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x44) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x44) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void size_relocatable_relocs(Relobj * this) */

void __thiscall var_4::type_1::function_1(type_1 *this)

{
  type_2 var_6;
  vector<var_4::var_1*,var_5::allocator<var_4::var_1*>var_2> *pvVar2;
  type_3 var_9;
  type_3 var_10;
  
  var_6 = (this->super_Object).shnum_;
  pvVar2 = (vector<var_4::var_1*,var_5::allocator<var_4::var_1*>var_2> *)
           var_8(0xc);
  (pvVar2->super__Vector_base<var_4::var_1*,var_5::allocator<var_4::var_1*>var_2>var_3
  )._M_impl._M_start = (type_3)0x0;
  (pvVar2->super__Vector_base<var_4::var_1*,var_5::allocator<var_4::var_1*>var_2>var_3
  )._M_impl._M_finish = (type_3)0x0;
  (pvVar2->super__Vector_base<var_4::var_1*,var_5::allocator<var_4::var_1*>var_2>var_3
  )._M_impl._M_end_of_storage = (type_3)0x0;
  if (var_6 == 0) {
    var_10 = (type_3)0x0;
  }
  else {
    if (0x3fffffff < var_6) {
                    /* WARNING: Subroutine does not return */
      std::var_7();
    }
                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */
    var_9 = (type_3)var_8(var_6 * 4);
    var_10 = var_9 + var_6;
    (pvVar2->
    super__Vector_base<var_4::var_1*,var_5::allocator<var_4::var_1*>var_2>var_3).
    _M_impl._M_start = var_9;
    (pvVar2->
    super__Vector_base<var_4::var_1*,var_5::allocator<var_4::var_1*>var_2>var_3).
    _M_impl._M_end_of_storage = var_10;
    do {
      *var_9 = (var_1 *)0x0;
      var_9 = var_9 + 1;
    } while (var_10 != var_9);
  }
  (pvVar2->super__Vector_base<var_4::var_1*,var_5::allocator<var_4::var_1*>var_2>var_3
  )._M_impl._M_finish = var_10;
  this->map_to_relocatable_relocs_ = pvVar2;
  return;
}


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

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

void MASKED(int param_1)

{
  uint uVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  
  uVar1 = *(uint *)(param_1 + 0x28);
  puVar2 = (undefined4 *)FUN_001e5200(0xc);
  *puVar2 = 0;
  puVar2[1] = 0;
  puVar2[2] = 0;
  if (uVar1 == 0) {
    puVar4 = (undefined4 *)0x0;
  }
  else {
    if (0x3fffffff < uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_0022c5f0();
    }
                    /* try { // try from 000b49f3 to 000b4a3b has its CatchHandler @ 000b4a3c */
    puVar3 = (undefined4 *)FUN_001e5200(uVar1 * 4);
    puVar4 = puVar3 + uVar1;
    *puVar2 = puVar3;
    puVar2[2] = puVar4;
    do {
      *puVar3 = 0;
      puVar3 = puVar3 + 1;
    } while (puVar4 != puVar3);
  }
  puVar2[1] = puVar4;
  *(undefined4 **)(param_1 + 0x44) = puVar2;
  return;
}

