
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void
   emplace_back<gold::Output_data*>(vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>
   * this, Output_data * * __args#0) */

void __thiscall
std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::
emplace_back<gold::Output_data*>
          (vector<gold::Output_data*,_std::allocator<gold::Output_data*>_> *this,
          Output_data **__args_0)

{
}



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

void FUN_00116590(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  undefined4 *__src;
  uint uVar2;
  size_t __n;
  uint uVar3;
  void *__dest;
  int iVar4;
  
  puVar1 = (undefined4 *)param_1[1];
  if (puVar1 != (undefined4 *)param_1[2]) {
    *puVar1 = *param_2;
    param_1[1] = puVar1 + 1;
    return;
  }
  __src = (undefined4 *)*param_1;
  __n = (int)puVar1 - (int)__src;
  uVar3 = (int)__n >> 2;
  if (uVar3 == 0) {
    iVar4 = 4;
LAB_001165f9:
    __dest = (void *)FUN_00246670(iVar4);
    iVar4 = iVar4 + (int)__dest;
  }
  else {
    uVar2 = uVar3 * 2;
    iVar4 = -4;
    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;
    if (uVar2 != 0) {
      iVar4 = uVar3 * 8;
      goto LAB_001165f9;
    }
    iVar4 = 0;
    __dest = (void *)0x0;
  }
  *(undefined4 *)((int)__dest + __n) = *param_2;
  if (puVar1 == __src) {
    if (__src == (undefined4 *)0x0) goto LAB_00116667;
  }
  else {
    memmove(__dest,__src,__n);
  }
  FUN_00248220(__src);
LAB_00116667:
  *param_1 = __dest;
  param_1[1] = (int)__dest + __n + 4;
  param_1[2] = iVar4;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x2fda67
SUB ESP,0x1c
MOV EDX,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [EDX + 0x4]
CMP ESI,dword ptr [EDX + 0x8]
JZ 0x001165d0
MOV EAX,dword ptr [EBP]
ADD ESI,0x4
MOV dword ptr [ESI + -0x4],EAX
MOV dword ptr [EDX + 0x4],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDX]
MOV EDI,EAX
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,ESI
SUB EAX,EDI
MOV dword ptr [ESP + 0xc],EAX
SAR EAX,0x2
JZ 0x001166b0
LEA ECX,[EAX + EAX*0x1]
MOV EDI,0xfffffffc
CMP EAX,ECX
JBE 0x00116680
MOV dword ptr [ESP + 0x30],EDX
SUB ESP,0xc
PUSH EDI
CALL 0x00246670
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x30]
MOV ECX,EAX
ADD EDI,EAX
MOV EAX,dword ptr [EBP]
MOV EBP,dword ptr [ESP + 0xc]
MOV dword ptr [ECX + EBP*0x1],EAX
MOV EAX,EBP
LEA EBP,[ECX + EBP*0x1 + 0x4]
CMP ESI,dword ptr [ESP + 0x8]
JZ 0x001166a0
MOV dword ptr [ESP + 0x30],EDX
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x10]
PUSH ECX
MOV dword ptr [ESP + 0x1c],ECX
CALL 0x0002ca40
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x30],EDX
SUB ESP,0xc
MOV dword ptr [ESP + 0x18],ECX
PUSH dword ptr [ESP + 0x14]
CALL 0x00248220
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [EDX],ECX
MOV dword ptr [EDX + 0x4],EBP
MOV dword ptr [EDX + 0x8],EDI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ECX,0x3fffffff
JA 0x001165f9
TEST ECX,ECX
JNZ 0x001166ba
XOR EDI,EDI
XOR ECX,ECX
JMP 0x00116611
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x00116667
JMP 0x00116648
MOV EDI,0x4
JMP 0x001165f9
LEA EDI,[EAX*0x8 + 0x0]
JMP 0x001165f9
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00116590(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  void *__dest;\n  int iVar4;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }\n  __src = (undefined4 *)*param_1;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }\n  *(undefined4 *)((int)__dest + __n) = *param_2;\n  if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_00248220(__src);\nLAB_00116667:\n  *param_1 = __dest;\n  param_1[1] = (int)__dest + __n + 4;\n  param_1[2] = iVar4;\n  return;\n}\n\n" comment (function_definition "void FUN_00116590(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  void *__dest;\n  int iVar4;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }\n  __src = (undefined4 *)*param_1;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }\n  *(undefined4 *)((int)__dest + __n) = *param_2;\n  if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_00248220(__src);\nLAB_00116667:\n  *param_1 = __dest;\n  param_1[1] = (int)__dest + __n + 4;\n  param_1[2] = iVar4;\n  return;\n}" primitive_type (function_declarator "FUN_00116590(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *__src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  void *__dest;\n  int iVar4;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }\n  __src = (undefined4 *)*param_1;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }\n  *(undefined4 *)((int)__dest + __n) = *param_2;\n  if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_00248220(__src);\nLAB_00116667:\n  *param_1 = __dest;\n  param_1[1] = (int)__dest + __n + 4;\n  param_1[2] = iVar4;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)param_1[1];" (assignment_expression "puVar1 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != (undefined4 *)param_1[2])" ( (binary_expression "puVar1 != (undefined4 *)param_1[2]" identifier != (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_1[1] = puVar1 + 1;" (assignment_expression "param_1[1] = puVar1 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__src = (undefined4 *)*param_1;" (assignment_expression "__src = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__n = (int)puVar1 - (int)__src;" (assignment_expression "__n = (int)puVar1 - (int)__src" identifier = (binary_expression "(int)puVar1 - (int)__src" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar3 = (int)__n >> 2;" (assignment_expression "uVar3 = (int)__n >> 2" identifier = (binary_expression "(int)__n >> 2" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }" { (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (labeled_statement "LAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);" statement_identifier : (expression_statement "__dest = (void *)FUN_00246670(iVar4);" (assignment_expression "__dest = (void *)FUN_00246670(iVar4)" identifier = (cast_expression "(void *)FUN_00246670(iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))))) ;)) (expression_statement "iVar4 = iVar4 + (int)__dest;" (assignment_expression "iVar4 = iVar4 + (int)__dest" identifier = (binary_expression "iVar4 + (int)__dest" identifier + (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" else (compound_statement "{\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" { (expression_statement "uVar2 = uVar3 * 2;" (assignment_expression "uVar2 = uVar3 * 2" identifier = (binary_expression "uVar3 * 2" identifier * number_literal)) ;) (expression_statement "iVar4 = -4;" (assignment_expression "iVar4 = -4" identifier = number_literal) ;) (if_statement "if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;" if (parenthesized_expression "((uVar2 < uVar3) || (0x3fffffff < uVar2))" ( (binary_expression "(uVar2 < uVar3) || (0x3fffffff < uVar2)" (parenthesized_expression "(uVar2 < uVar3)" ( (binary_expression "uVar2 < uVar3" identifier < identifier) )) || (parenthesized_expression "(0x3fffffff < uVar2)" ( (binary_expression "0x3fffffff < uVar2" number_literal < identifier) ))) )) (goto_statement "goto LAB_001165f9;" goto statement_identifier ;)) (if_statement "if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }" { (expression_statement "iVar4 = uVar3 * 8;" (assignment_expression "iVar4 = uVar3 * 8" identifier = (binary_expression "uVar3 * 8" identifier * number_literal)) ;) (goto_statement "goto LAB_001165f9;" goto statement_identifier ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "__dest = (void *)0x0;" (assignment_expression "__dest = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "*(undefined4 *)((int)__dest + __n) = *param_2;" (assignment_expression "*(undefined4 *)((int)__dest + __n) = *param_2" (pointer_expression "*(undefined4 *)((int)__dest + __n)" * (cast_expression "(undefined4 *)((int)__dest + __n)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + __n)" ( (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }" if (parenthesized_expression "(puVar1 == __src)" ( (binary_expression "puVar1 == __src" identifier == identifier) )) (compound_statement "{\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }" { (if_statement "if (__src == (undefined4 *)0x0) goto LAB_00116667;" if (parenthesized_expression "(__src == (undefined4 *)0x0)" ( (binary_expression "__src == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00116667;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(__dest,__src,__n);\n  }" else (compound_statement "{\n    memmove(__dest,__src,__n);\n  }" { (expression_statement "memmove(__dest,__src,__n);" (call_expression "memmove(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "FUN_00248220(__src);" (call_expression "FUN_00248220(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_00116667:\n  *param_1 = __dest;" statement_identifier : (expression_statement "*param_1 = __dest;" (assignment_expression "*param_1 = __dest" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = (int)__dest + __n + 4;" (assignment_expression "param_1[1] = (int)__dest + __n + 4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)__dest + __n + 4" (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal)) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" 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\n   emplace_back<gold::Output_data*>(vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>\n   * this, Output_data * * __args#0) */\n\nvoid __thiscall\nstd::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\nemplace_back<gold::Output_data*>\n          (vector<gold::Output_data*,_std::allocator<gold::Output_data*>_> *this,\n          Output_data **__args_0)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nstd::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\nemplace_back<gold::Output_data*>\n          (vector<gold::Output_data*,_std::allocator<gold::Output_data*>_> *this,\n          Output_data **__args_0)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<gold::" identifier : : identifier < identifier : :) identifier (ERROR "*" *) , (ERROR "_std::allocator<gold::Output_data*>_>::\nemplace_back<gold::" identifier : : identifier < identifier : : identifier * > identifier > : : identifier < identifier : :) (function_declarator "Output_data*>\n          (vector<gold::Output_data*,_std::allocator<gold::Output_data*>_> *this,\n          Output_data **__args_0)" identifier (ERROR "*>" * >) (parameter_list "(vector<gold::Output_data*,_std::allocator<gold::Output_data*>_> *this,\n          Output_data **__args_0)" ( (parameter_declaration "vector<gold::Output_data*" type_identifier (ERROR "<gold::Output_data" < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Output_data*>_> *this" type_identifier (ERROR "::allocator<gold::Output_data*>_>" : : identifier < identifier : : identifier * > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_data **__args_0" type_identifier (pointer_declarator "**__args_0" * (pointer_declarator "*__args_0" * identifier))) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00116590(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  void *__dest;\n  int iVar4;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }\n  __src = (undefined4 *)*param_1;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }\n  *(undefined4 *)((int)__dest + __n) = *param_2;\n  if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_00248220(__src);\nLAB_00116667:\n  *param_1 = __dest;\n  param_1[1] = (int)__dest + __n + 4;\n  param_1[2] = iVar4;\n  return;\n}\n\n" (function_definition "void FUN_00116590(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  void *__dest;\n  int iVar4;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }\n  __src = (undefined4 *)*param_1;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }\n  *(undefined4 *)((int)__dest + __n) = *param_2;\n  if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_00248220(__src);\nLAB_00116667:\n  *param_1 = __dest;\n  param_1[1] = (int)__dest + __n + 4;\n  param_1[2] = iVar4;\n  return;\n}" primitive_type (function_declarator "FUN_00116590(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *__src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  void *__dest;\n  int iVar4;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }\n  __src = (undefined4 *)*param_1;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }\n  *(undefined4 *)((int)__dest + __n) = *param_2;\n  if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_00248220(__src);\nLAB_00116667:\n  *param_1 = __dest;\n  param_1[1] = (int)__dest + __n + 4;\n  param_1[2] = iVar4;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)param_1[1];" (assignment_expression "puVar1 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != (undefined4 *)param_1[2])" ( (binary_expression "puVar1 != (undefined4 *)param_1[2]" identifier != (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_1[1] = puVar1 + 1;" (assignment_expression "param_1[1] = puVar1 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__src = (undefined4 *)*param_1;" (assignment_expression "__src = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__n = (int)puVar1 - (int)__src;" (assignment_expression "__n = (int)puVar1 - (int)__src" identifier = (binary_expression "(int)puVar1 - (int)__src" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar3 = (int)__n >> 2;" (assignment_expression "uVar3 = (int)__n >> 2" identifier = (binary_expression "(int)__n >> 2" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }" { (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (labeled_statement "LAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);" statement_identifier : (expression_statement "__dest = (void *)FUN_00246670(iVar4);" (assignment_expression "__dest = (void *)FUN_00246670(iVar4)" identifier = (cast_expression "(void *)FUN_00246670(iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))))) ;)) (expression_statement "iVar4 = iVar4 + (int)__dest;" (assignment_expression "iVar4 = iVar4 + (int)__dest" identifier = (binary_expression "iVar4 + (int)__dest" identifier + (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" else (compound_statement "{\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" { (expression_statement "uVar2 = uVar3 * 2;" (assignment_expression "uVar2 = uVar3 * 2" identifier = (binary_expression "uVar3 * 2" identifier * number_literal)) ;) (expression_statement "iVar4 = -4;" (assignment_expression "iVar4 = -4" identifier = number_literal) ;) (if_statement "if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;" if (parenthesized_expression "((uVar2 < uVar3) || (0x3fffffff < uVar2))" ( (binary_expression "(uVar2 < uVar3) || (0x3fffffff < uVar2)" (parenthesized_expression "(uVar2 < uVar3)" ( (binary_expression "uVar2 < uVar3" identifier < identifier) )) || (parenthesized_expression "(0x3fffffff < uVar2)" ( (binary_expression "0x3fffffff < uVar2" number_literal < identifier) ))) )) (goto_statement "goto LAB_001165f9;" goto statement_identifier ;)) (if_statement "if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }" { (expression_statement "iVar4 = uVar3 * 8;" (assignment_expression "iVar4 = uVar3 * 8" identifier = (binary_expression "uVar3 * 8" identifier * number_literal)) ;) (goto_statement "goto LAB_001165f9;" goto statement_identifier ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "__dest = (void *)0x0;" (assignment_expression "__dest = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "*(undefined4 *)((int)__dest + __n) = *param_2;" (assignment_expression "*(undefined4 *)((int)__dest + __n) = *param_2" (pointer_expression "*(undefined4 *)((int)__dest + __n)" * (cast_expression "(undefined4 *)((int)__dest + __n)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + __n)" ( (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }" if (parenthesized_expression "(puVar1 == __src)" ( (binary_expression "puVar1 == __src" identifier == identifier) )) (compound_statement "{\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }" { (if_statement "if (__src == (undefined4 *)0x0) goto LAB_00116667;" if (parenthesized_expression "(__src == (undefined4 *)0x0)" ( (binary_expression "__src == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00116667;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(__dest,__src,__n);\n  }" else (compound_statement "{\n    memmove(__dest,__src,__n);\n  }" { (expression_statement "memmove(__dest,__src,__n);" (call_expression "memmove(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) }))) (expression_statement "FUN_00248220(__src);" (call_expression "FUN_00248220(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_00116667:\n  *param_1 = __dest;" statement_identifier : (expression_statement "*param_1 = __dest;" (assignment_expression "*param_1 = __dest" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = (int)__dest + __n + 4;" (assignment_expression "param_1[1] = (int)__dest + __n + 4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)__dest + __n + 4" (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal)) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00116590(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  void *__dest;\n  int iVar4;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }\n  __src = (undefined4 *)*param_1;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }\n  *(undefined4 *)((int)__dest + __n) = *param_2;\n  if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_00248220(__src);\nLAB_00116667:\n  *param_1 = __dest;\n  param_1[1] = (int)__dest + __n + 4;\n  param_1[2] = iVar4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00116590(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_00116590") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *__src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  void *__dest;\n  int iVar4;\n  \n  puVar1 = (undefined4 *)param_1[1];\n  if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }\n  __src = (undefined4 *)*param_1;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }\n  *(undefined4 *)((int)__dest + __n) = *param_2;\n  if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_00248220(__src);\nLAB_00116667:\n  *param_1 = __dest;\n  param_1[1] = (int)__dest + __n + 4;\n  param_1[2] = iVar4;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *__src;" (type_identifier "undefined4") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "puVar1 = (undefined4 *)param_1[1];" (assignment_expression "puVar1 = (undefined4 *)param_1[1]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (puVar1 != (undefined4 *)param_1[2]) {\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar1 != (undefined4 *)param_1[2])" (( "(") (binary_expression "puVar1 != (undefined4 *)param_1[2]" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)param_1[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    *puVar1 = *param_2;\n    param_1[1] = puVar1 + 1;\n    return;\n  }" ({ "{") (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_1[1] = puVar1 + 1;" (assignment_expression "param_1[1] = puVar1 + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__src = (undefined4 *)*param_1;" (assignment_expression "__src = (undefined4 *)*param_1" (identifier "__src") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "__n = (int)puVar1 - (int)__src;" (assignment_expression "__n = (int)puVar1 - (int)__src" (identifier "__n") (= "=") (binary_expression "(int)puVar1 - (int)__src" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")))) (; ";")) (expression_statement "uVar3 = (int)__n >> 2;" (assignment_expression "uVar3 = (int)__n >> 2" (identifier "uVar3") (= "=") (binary_expression "(int)__n >> 2" (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n")) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (uVar3 == 0) {\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = 4;\nLAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }" ({ "{") (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (labeled_statement "LAB_001165f9:\n    __dest = (void *)FUN_00246670(iVar4);" (statement_identifier "LAB_001165f9") (: ":") (expression_statement "__dest = (void *)FUN_00246670(iVar4);" (assignment_expression "__dest = (void *)FUN_00246670(iVar4)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_00246670(iVar4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00246670(iVar4)" (identifier "FUN_00246670") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))))) (; ";"))) (expression_statement "iVar4 = iVar4 + (int)__dest;" (assignment_expression "iVar4 = iVar4 + (int)__dest" (identifier "iVar4") (= "=") (binary_expression "iVar4 + (int)__dest" (identifier "iVar4") (+ "+") (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")))) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" (else "else") (compound_statement "{\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }\n    iVar4 = 0;\n    __dest = (void *)0x0;\n  }" ({ "{") (expression_statement "uVar2 = uVar3 * 2;" (assignment_expression "uVar2 = uVar3 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar3 * 2" (identifier "uVar3") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar4 = -4;" (assignment_expression "iVar4 = -4" (identifier "iVar4") (= "=") (number_literal "-4")) (; ";")) (if_statement "if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;" (if "if") (parenthesized_expression "((uVar2 < uVar3) || (0x3fffffff < uVar2))" (( "(") (binary_expression "(uVar2 < uVar3) || (0x3fffffff < uVar2)" (parenthesized_expression "(uVar2 < uVar3)" (( "(") (binary_expression "uVar2 < uVar3" (identifier "uVar2") (< "<") (identifier "uVar3")) () ")")) (|| "||") (parenthesized_expression "(0x3fffffff < uVar2)" (( "(") (binary_expression "0x3fffffff < uVar2" (number_literal "0x3fffffff") (< "<") (identifier "uVar2")) () ")"))) () ")")) (goto_statement "goto LAB_001165f9;" (goto "goto") (statement_identifier "LAB_001165f9") (; ";"))) (if_statement "if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = uVar3 * 8;\n      goto LAB_001165f9;\n    }" ({ "{") (expression_statement "iVar4 = uVar3 * 8;" (assignment_expression "iVar4 = uVar3 * 8" (identifier "iVar4") (= "=") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8"))) (; ";")) (goto_statement "goto LAB_001165f9;" (goto "goto") (statement_identifier "LAB_001165f9") (; ";")) (} "}"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "__dest = (void *)0x0;" (assignment_expression "__dest = (void *)0x0" (identifier "__dest") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)((int)__dest + __n) = *param_2;" (assignment_expression "*(undefined4 *)((int)__dest + __n) = *param_2" (pointer_expression "*(undefined4 *)((int)__dest + __n)" (* "*") (cast_expression "(undefined4 *)((int)__dest + __n)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + __n)" (( "(") (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "__n")) () ")")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (puVar1 == __src) {\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }" (if "if") (parenthesized_expression "(puVar1 == __src)" (( "(") (binary_expression "puVar1 == __src" (identifier "puVar1") (== "==") (identifier "__src")) () ")")) (compound_statement "{\n    if (__src == (undefined4 *)0x0) goto LAB_00116667;\n  }" ({ "{") (if_statement "if (__src == (undefined4 *)0x0) goto LAB_00116667;" (if "if") (parenthesized_expression "(__src == (undefined4 *)0x0)" (( "(") (binary_expression "__src == (undefined4 *)0x0" (identifier "__src") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00116667;" (goto "goto") (statement_identifier "LAB_00116667") (; ";"))) (} "}")) (else_clause "else {\n    memmove(__dest,__src,__n);\n  }" (else "else") (compound_statement "{\n    memmove(__dest,__src,__n);\n  }" ({ "{") (expression_statement "memmove(__dest,__src,__n);" (call_expression "memmove(__dest,__src,__n)" (identifier "memmove") (argument_list "(__dest,__src,__n)" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_00248220(__src);" (call_expression "FUN_00248220(__src)" (identifier "FUN_00248220") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (labeled_statement "LAB_00116667:\n  *param_1 = __dest;" (statement_identifier "LAB_00116667") (: ":") (expression_statement "*param_1 = __dest;" (assignment_expression "*param_1 = __dest" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "__dest")) (; ";"))) (expression_statement "param_1[1] = (int)__dest + __n + 4;" (assignment_expression "param_1[1] = (int)__dest + __n + 4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(int)__dest + __n + 4" (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "__n")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void
   emplace_back<gold::Output_data*>(vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>
   * this, Output_data * * __args#0) */

void __thiscall
std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::
emplace_back<gold::Output_data*>
          (vector<gold::Output_data*,_std::allocator<gold::Output_data*>_> *this,
          Output_data **__args_0)

{
}


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

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

void MASKED(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  undefined4 *__src;
  uint uVar2;
  size_t __n;
  uint uVar3;
  void *__dest;
  int iVar4;
  
  puVar1 = (undefined4 *)param_1[1];
  if (puVar1 != (undefined4 *)param_1[2]) {
    *puVar1 = *param_2;
    param_1[1] = puVar1 + 1;
    return;
  }
  __src = (undefined4 *)*param_1;
  __n = (int)puVar1 - (int)__src;
  uVar3 = (int)__n >> 2;
  if (uVar3 == 0) {
    iVar4 = 4;
LAB_001165f9:
    __dest = (void *)FUN_00246670(iVar4);
    iVar4 = iVar4 + (int)__dest;
  }
  else {
    uVar2 = uVar3 * 2;
    iVar4 = -4;
    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_001165f9;
    if (uVar2 != 0) {
      iVar4 = uVar3 * 8;
      goto LAB_001165f9;
    }
    iVar4 = 0;
    __dest = (void *)0x0;
  }
  *(undefined4 *)((int)__dest + __n) = *param_2;
  if (puVar1 == __src) {
    if (__src == (undefined4 *)0x0) goto LAB_00116667;
  }
  else {
    memmove(__dest,__src,__n);
  }
  FUN_00248220(__src);
LAB_00116667:
  *param_1 = __dest;
  param_1[1] = (int)__dest + __n + 4;
  param_1[2] = iVar4;
  return;
}

