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

void __thiscall
std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::_M_realloc_insert<gold::Symbol*>
          (vector<gold::Symbol*,_std::allocator<gold::Symbol*>_> *this,iterator __position,
          Symbol **__args_0)

{
}



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

void FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)

{
  void *__dest;
  void *__src;
  void *pvVar1;
  uint uVar2;
  void *__dest_00;
  uint uVar3;
  size_t __n;
  int local_28;
  
  __src = (void *)*param_1;
  pvVar1 = (void *)param_1[1];
  __n = (int)param_2 - (int)__src;
  uVar2 = (int)pvVar1 - (int)__src >> 2;
  if (uVar2 == 0) {
    uVar3 = 1;
LAB_000aafc5:
    local_28 = uVar3 * 4;
LAB_000aaed5:
    __dest_00 = (void *)FUN_00246670(local_28);
    local_28 = (int)__dest_00 + local_28;
  }
  else {
    uVar3 = uVar2 * 2;
    local_28 = -4;
    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;
    local_28 = 0;
    __dest_00 = (void *)0x0;
    if (uVar3 != 0) goto LAB_000aafc5;
  }
  *(undefined4 *)((int)__dest_00 + __n) = *param_3;
  __dest = (void *)((int)__dest_00 + __n + 4);
  if (param_2 == __src) {
    if (param_2 != pvVar1) goto LAB_000aaf47;
LAB_000aaf58:
    if (__src == (void *)0x0) goto LAB_000aaf5c;
  }
  else {
    memmove(__dest_00,__src,__n);
    if (param_2 != pvVar1) {
LAB_000aaf47:
      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);
      goto LAB_000aaf58;
    }
  }
  FUN_00248220(__src);
LAB_000aaf5c:
  *param_1 = __dest_00;
  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);
  param_1[2] = local_28;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x369167
SUB ESP,0x2c
MOV EBP,dword ptr [ESP + 0x40]
MOV EDI,dword ptr [ESP + 0x44]
MOV ESI,dword ptr [EBP]
MOV EAX,dword ptr [EBP + 0x4]
MOV dword ptr [ESP + 0xc],EAX
SUB EAX,ESI
SUB EDI,ESI
SAR EAX,0x2
MOV dword ptr [ESP + 0x8],EDI
JZ 0x000aafc0
LEA ECX,[EAX + EAX*0x1]
MOV EDX,0xfffffffc
CMP EAX,ECX
JBE 0x000aaf90
SUB ESP,0xc
PUSH EDX
MOV dword ptr [ESP + 0x20],EDX
CALL 0x00246670
MOV EDX,dword ptr [ESP + 0x20]
MOV EDI,EAX
LEA EAX,[EAX + EDX*0x1]
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x48]
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
SUB EDX,dword ptr [ESP + 0x44]
MOV EAX,dword ptr [EAX]
MOV dword ptr [EDI + ECX*0x1],EAX
LEA ECX,[EDI + ECX*0x1 + 0x4]
LEA EAX,[ECX + EDX*0x1]
MOV dword ptr [ESP + 0x10],EAX
CMP dword ptr [ESP + 0x44],ESI
JZ 0x000aafb0
MOV dword ptr [ESP + 0x1c],ECX
SUB ESP,0x4
MOV dword ptr [ESP + 0x1c],EDX
PUSH dword ptr [ESP + 0xc]
PUSH ESI
PUSH EDI
CALL 0x0002ca40
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x1c]
CMP dword ptr [ESP + 0x44],EDX
MOV EDX,dword ptr [ESP + 0x18]
JZ 0x000aaf78
SUB ESP,0x4
PUSH EDX
PUSH dword ptr [ESP + 0x4c]
PUSH ECX
CALL 0x0002c2d0
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x000aaf78
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [EBP],EDI
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EBP + 0x8],EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH ESI
CALL 0x00248220
ADD ESP,0x10
JMP 0x000aaf5c
CMP ECX,0x3fffffff
JA 0x000aaed5
MOV dword ptr [ESP + 0x14],0x0
XOR EDI,EDI
TEST ECX,ECX
JZ 0x000aaef2
JMP 0x000aafc5
MOV EAX,dword ptr [ESP + 0xc]
CMP dword ptr [ESP + 0x44],EAX
JNZ 0x000aaf47
JMP 0x000aaf58
MOV ECX,0x1
LEA EDX,[ECX*0x4 + 0x0]
JMP 0x000aaed5
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }\n  FUN_00248220(__src);\nLAB_000aaf5c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}\n\n" comment (function_definition "void FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }\n  FUN_00248220(__src);\nLAB_000aaf5c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" primitive_type (function_declarator "FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,void *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }\n  FUN_00248220(__src);\nLAB_000aaf5c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" { (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "void *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pvVar1 = (void *)param_1[1];" (assignment_expression "pvVar1 = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "__n = (int)param_2 - (int)__src;" (assignment_expression "__n = (int)param_2 - (int)__src" identifier = (binary_expression "(int)param_2 - (int)__src" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar2 = (int)pvVar1 - (int)__src >> 2;" (assignment_expression "uVar2 = (int)pvVar1 - (int)__src >> 2" identifier = (binary_expression "(int)pvVar1 - (int)__src >> 2" (binary_expression "(int)pvVar1 - (int)__src" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000aafc5:\n    local_28 = uVar3 * 4;" statement_identifier : (expression_statement "local_28 = uVar3 * 4;" (assignment_expression "local_28 = uVar3 * 4" identifier = (binary_expression "uVar3 * 4" identifier * number_literal)) ;)) (labeled_statement "LAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);" statement_identifier : (expression_statement "__dest_00 = (void *)FUN_00246670(local_28);" (assignment_expression "__dest_00 = (void *)FUN_00246670(local_28)" identifier = (cast_expression "(void *)FUN_00246670(local_28)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(local_28)" identifier (argument_list "(local_28)" ( identifier ))))) ;)) (expression_statement "local_28 = (int)__dest_00 + local_28;" (assignment_expression "local_28 = (int)__dest_00 + local_28" identifier = (binary_expression "(int)__dest_00 + local_28" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) }) (else_clause "else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" else (compound_statement "{\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" { (expression_statement "uVar3 = uVar2 * 2;" (assignment_expression "uVar3 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "local_28 = -4;" (assignment_expression "local_28 = -4" identifier = number_literal) ;) (if_statement "if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;" if (parenthesized_expression "((uVar3 < uVar2) || (0x3fffffff < uVar3))" ( (binary_expression "(uVar3 < uVar2) || (0x3fffffff < uVar3)" (parenthesized_expression "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) )) || (parenthesized_expression "(0x3fffffff < uVar3)" ( (binary_expression "0x3fffffff < uVar3" number_literal < identifier) ))) )) (goto_statement "goto LAB_000aaed5;" goto statement_identifier ;)) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__dest_00 = (void *)0x0;" (assignment_expression "__dest_00 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar3 != 0) goto LAB_000aafc5;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000aafc5;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)((int)__dest_00 + __n) = *param_3;" (assignment_expression "*(undefined4 *)((int)__dest_00 + __n) = *param_3" (pointer_expression "*(undefined4 *)((int)__dest_00 + __n)" * (cast_expression "(undefined4 *)((int)__dest_00 + __n)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n)" ( (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "__dest = (void *)((int)__dest_00 + __n + 4);" (assignment_expression "__dest = (void *)((int)__dest_00 + __n + 4)" identifier = (cast_expression "(void *)((int)__dest_00 + __n + 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n + 4)" ( (binary_expression "(int)__dest_00 + __n + 4" (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ;) (if_statement "if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" if (parenthesized_expression "(param_2 == __src)" ( (binary_expression "param_2 == __src" identifier == identifier) )) (compound_statement "{\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }" { (if_statement "if (param_2 != pvVar1) goto LAB_000aaf47;" if (parenthesized_expression "(param_2 != pvVar1)" ( (binary_expression "param_2 != pvVar1" identifier != identifier) )) (goto_statement "goto LAB_000aaf47;" goto statement_identifier ;)) (labeled_statement "LAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;" statement_identifier : (if_statement "if (__src == (void *)0x0) goto LAB_000aaf5c;" if (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000aaf5c;" goto statement_identifier ;))) }) (else_clause "else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" else (compound_statement "{\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" { (expression_statement "memmove(__dest_00,__src,__n);" (call_expression "memmove(__dest_00,__src,__n)" identifier (argument_list "(__dest_00,__src,__n)" ( identifier , identifier , identifier ))) ;) (if_statement "if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }" if (parenthesized_expression "(param_2 != pvVar1)" ( (binary_expression "param_2 != pvVar1" identifier != identifier) )) (compound_statement "{\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }" { (labeled_statement "LAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" statement_identifier : (expression_statement "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2)" identifier (argument_list "(__dest,param_2,(int)pvVar1 - (int)param_2)" ( identifier , identifier , (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;)) (goto_statement "goto LAB_000aaf58;" goto statement_identifier ;) })) }))) (expression_statement "FUN_00248220(__src);" (call_expression "FUN_00248220(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_000aaf5c:\n  *param_1 = __dest_00;" statement_identifier : (expression_statement "*param_1 = __dest_00;" (assignment_expression "*param_1 = __dest_00" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)__dest + ((int)pvVar1 - (int)param_2)" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)pvVar1 - (int)param_2)" ( (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (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   _M_realloc_insert<gold::Symbol*>(vector<gold::Symbol*,_std::allocator<gold::Symbol*>_> * this,\n   iterator __position, Symbol * * __args#0) */\n\nvoid __thiscall\nstd::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::_M_realloc_insert<gold::Symbol*>\n          (vector<gold::Symbol*,_std::allocator<gold::Symbol*>_> *this,iterator __position,\n          Symbol **__args_0)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nstd::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::_M_realloc_insert<gold::Symbol*>\n          (vector<gold::Symbol*,_std::allocator<gold::Symbol*>_> *this,iterator __position,\n          Symbol **__args_0)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<gold::" identifier : : identifier < identifier : :) identifier (ERROR "*" *) , (ERROR "_std::allocator<gold::Symbol*>_>::_M_realloc_insert<gold::" identifier : : identifier < identifier : : identifier * > identifier > : : identifier < identifier : :) (function_declarator "Symbol*>\n          (vector<gold::Symbol*,_std::allocator<gold::Symbol*>_> *this,iterator __position,\n          Symbol **__args_0)" identifier (ERROR "*>" * >) (parameter_list "(vector<gold::Symbol*,_std::allocator<gold::Symbol*>_> *this,iterator __position,\n          Symbol **__args_0)" ( (parameter_declaration "vector<gold::Symbol*" type_identifier (ERROR "<gold::Symbol" < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Symbol*>_> *this" type_identifier (ERROR "::allocator<gold::Symbol*>_>" : : identifier < identifier : : identifier * > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "iterator __position" type_identifier identifier) , (parameter_declaration "Symbol **__args_0" type_identifier (pointer_declarator "**__args_0" * (pointer_declarator "*__args_0" * identifier))) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }\n  FUN_00248220(__src);\nLAB_000aaf5c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}\n\n" (function_definition "void FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }\n  FUN_00248220(__src);\nLAB_000aaf5c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" primitive_type (function_declarator "FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,void *param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }\n  FUN_00248220(__src);\nLAB_000aaf5c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" { (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "void *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" identifier = (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pvVar1 = (void *)param_1[1];" (assignment_expression "pvVar1 = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "__n = (int)param_2 - (int)__src;" (assignment_expression "__n = (int)param_2 - (int)__src" identifier = (binary_expression "(int)param_2 - (int)__src" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar2 = (int)pvVar1 - (int)__src >> 2;" (assignment_expression "uVar2 = (int)pvVar1 - (int)__src >> 2" identifier = (binary_expression "(int)pvVar1 - (int)__src >> 2" (binary_expression "(int)pvVar1 - (int)__src" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000aafc5:\n    local_28 = uVar3 * 4;" statement_identifier : (expression_statement "local_28 = uVar3 * 4;" (assignment_expression "local_28 = uVar3 * 4" identifier = (binary_expression "uVar3 * 4" identifier * number_literal)) ;)) (labeled_statement "LAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);" statement_identifier : (expression_statement "__dest_00 = (void *)FUN_00246670(local_28);" (assignment_expression "__dest_00 = (void *)FUN_00246670(local_28)" identifier = (cast_expression "(void *)FUN_00246670(local_28)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(local_28)" identifier (argument_list "(local_28)" ( identifier ))))) ;)) (expression_statement "local_28 = (int)__dest_00 + local_28;" (assignment_expression "local_28 = (int)__dest_00 + local_28" identifier = (binary_expression "(int)__dest_00 + local_28" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) }) (else_clause "else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" else (compound_statement "{\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" { (expression_statement "uVar3 = uVar2 * 2;" (assignment_expression "uVar3 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "local_28 = -4;" (assignment_expression "local_28 = -4" identifier = number_literal) ;) (if_statement "if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;" if (parenthesized_expression "((uVar3 < uVar2) || (0x3fffffff < uVar3))" ( (binary_expression "(uVar3 < uVar2) || (0x3fffffff < uVar3)" (parenthesized_expression "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) )) || (parenthesized_expression "(0x3fffffff < uVar3)" ( (binary_expression "0x3fffffff < uVar3" number_literal < identifier) ))) )) (goto_statement "goto LAB_000aaed5;" goto statement_identifier ;)) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__dest_00 = (void *)0x0;" (assignment_expression "__dest_00 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar3 != 0) goto LAB_000aafc5;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000aafc5;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)((int)__dest_00 + __n) = *param_3;" (assignment_expression "*(undefined4 *)((int)__dest_00 + __n) = *param_3" (pointer_expression "*(undefined4 *)((int)__dest_00 + __n)" * (cast_expression "(undefined4 *)((int)__dest_00 + __n)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n)" ( (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "__dest = (void *)((int)__dest_00 + __n + 4);" (assignment_expression "__dest = (void *)((int)__dest_00 + __n + 4)" identifier = (cast_expression "(void *)((int)__dest_00 + __n + 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest_00 + __n + 4)" ( (binary_expression "(int)__dest_00 + __n + 4" (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ;) (if_statement "if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" if (parenthesized_expression "(param_2 == __src)" ( (binary_expression "param_2 == __src" identifier == identifier) )) (compound_statement "{\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }" { (if_statement "if (param_2 != pvVar1) goto LAB_000aaf47;" if (parenthesized_expression "(param_2 != pvVar1)" ( (binary_expression "param_2 != pvVar1" identifier != identifier) )) (goto_statement "goto LAB_000aaf47;" goto statement_identifier ;)) (labeled_statement "LAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;" statement_identifier : (if_statement "if (__src == (void *)0x0) goto LAB_000aaf5c;" if (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000aaf5c;" goto statement_identifier ;))) }) (else_clause "else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" else (compound_statement "{\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" { (expression_statement "memmove(__dest_00,__src,__n);" (call_expression "memmove(__dest_00,__src,__n)" identifier (argument_list "(__dest_00,__src,__n)" ( identifier , identifier , identifier ))) ;) (if_statement "if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }" if (parenthesized_expression "(param_2 != pvVar1)" ( (binary_expression "param_2 != pvVar1" identifier != identifier) )) (compound_statement "{\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }" { (labeled_statement "LAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" statement_identifier : (expression_statement "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2)" identifier (argument_list "(__dest,param_2,(int)pvVar1 - (int)param_2)" ( identifier , identifier , (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;)) (goto_statement "goto LAB_000aaf58;" goto statement_identifier ;) })) }))) (expression_statement "FUN_00248220(__src);" (call_expression "FUN_00248220(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_000aaf5c:\n  *param_1 = __dest_00;" statement_identifier : (expression_statement "*param_1 = __dest_00;" (assignment_expression "*param_1 = __dest_00" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)__dest + ((int)pvVar1 - (int)param_2)" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)pvVar1 - (int)param_2)" ( (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (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)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (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 (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (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 = (binary_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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + 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 ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (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)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (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 ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;)) (goto_statement goto statement_identifier ;) })) }))) (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)\n\n{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }\n  FUN_00248220(__src);\nLAB_000aaf5c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000aae90(undefined4 *param_1,void *param_2,undefined4 *param_3)" (identifier "FUN_000aae90") (parameter_list "(undefined4 *param_1,void *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  void *__dest;\n  void *__src;\n  void *pvVar1;\n  uint uVar2;\n  void *__dest_00;\n  uint uVar3;\n  size_t __n;\n  int local_28;\n  \n  __src = (void *)*param_1;\n  pvVar1 = (void *)param_1[1];\n  __n = (int)param_2 - (int)__src;\n  uVar2 = (int)pvVar1 - (int)__src >> 2;\n  if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }\n  *(undefined4 *)((int)__dest_00 + __n) = *param_3;\n  __dest = (void *)((int)__dest_00 + __n + 4);\n  if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }\n  FUN_00248220(__src);\nLAB_000aaf5c:\n  *param_1 = __dest_00;\n  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);\n  param_1[2] = local_28;\n  return;\n}" ({ "{") (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "void *pvVar1;" (primitive_type "void") (pointer_declarator "*pvVar1" (* "*") (identifier "pvVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "void *__dest_00;" (primitive_type "void") (pointer_declarator "*__dest_00" (* "*") (identifier "__dest_00")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (expression_statement "__src = (void *)*param_1;" (assignment_expression "__src = (void *)*param_1" (identifier "__src") (= "=") (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "pvVar1 = (void *)param_1[1];" (assignment_expression "pvVar1 = (void *)param_1[1]" (identifier "pvVar1") (= "=") (cast_expression "(void *)param_1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "__n = (int)param_2 - (int)__src;" (assignment_expression "__n = (int)param_2 - (int)__src" (identifier "__n") (= "=") (binary_expression "(int)param_2 - (int)__src" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")))) (; ";")) (expression_statement "uVar2 = (int)pvVar1 - (int)__src >> 2;" (assignment_expression "uVar2 = (int)pvVar1 - (int)__src >> 2" (identifier "uVar2") (= "=") (binary_expression "(int)pvVar1 - (int)__src >> 2" (binary_expression "(int)pvVar1 - (int)__src" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (uVar2 == 0) {\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }\n  else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 1;\nLAB_000aafc5:\n    local_28 = uVar3 * 4;\nLAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);\n    local_28 = (int)__dest_00 + local_28;\n  }" ({ "{") (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_000aafc5:\n    local_28 = uVar3 * 4;" (statement_identifier "LAB_000aafc5") (: ":") (expression_statement "local_28 = uVar3 * 4;" (assignment_expression "local_28 = uVar3 * 4" (identifier "local_28") (= "=") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4"))) (; ";"))) (labeled_statement "LAB_000aaed5:\n    __dest_00 = (void *)FUN_00246670(local_28);" (statement_identifier "LAB_000aaed5") (: ":") (expression_statement "__dest_00 = (void *)FUN_00246670(local_28);" (assignment_expression "__dest_00 = (void *)FUN_00246670(local_28)" (identifier "__dest_00") (= "=") (cast_expression "(void *)FUN_00246670(local_28)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00246670(local_28)" (identifier "FUN_00246670") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))))) (; ";"))) (expression_statement "local_28 = (int)__dest_00 + local_28;" (assignment_expression "local_28 = (int)__dest_00 + local_28" (identifier "local_28") (= "=") (binary_expression "(int)__dest_00 + local_28" (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00")) (+ "+") (identifier "local_28"))) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" (else "else") (compound_statement "{\n    uVar3 = uVar2 * 2;\n    local_28 = -4;\n    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;\n    local_28 = 0;\n    __dest_00 = (void *)0x0;\n    if (uVar3 != 0) goto LAB_000aafc5;\n  }" ({ "{") (expression_statement "uVar3 = uVar2 * 2;" (assignment_expression "uVar3 = uVar2 * 2" (identifier "uVar3") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (expression_statement "local_28 = -4;" (assignment_expression "local_28 = -4" (identifier "local_28") (= "=") (number_literal "-4")) (; ";")) (if_statement "if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;" (if "if") (parenthesized_expression "((uVar3 < uVar2) || (0x3fffffff < uVar3))" (( "(") (binary_expression "(uVar3 < uVar2) || (0x3fffffff < uVar3)" (parenthesized_expression "(uVar3 < uVar2)" (( "(") (binary_expression "uVar3 < uVar2" (identifier "uVar3") (< "<") (identifier "uVar2")) () ")")) (|| "||") (parenthesized_expression "(0x3fffffff < uVar3)" (( "(") (binary_expression "0x3fffffff < uVar3" (number_literal "0x3fffffff") (< "<") (identifier "uVar3")) () ")"))) () ")")) (goto_statement "goto LAB_000aaed5;" (goto "goto") (statement_identifier "LAB_000aaed5") (; ";"))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "__dest_00 = (void *)0x0;" (assignment_expression "__dest_00 = (void *)0x0" (identifier "__dest_00") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (uVar3 != 0) goto LAB_000aafc5;" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000aafc5;" (goto "goto") (statement_identifier "LAB_000aafc5") (; ";"))) (} "}")))) (expression_statement "*(undefined4 *)((int)__dest_00 + __n) = *param_3;" (assignment_expression "*(undefined4 *)((int)__dest_00 + __n) = *param_3" (pointer_expression "*(undefined4 *)((int)__dest_00 + __n)" (* "*") (cast_expression "(undefined4 *)((int)__dest_00 + __n)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest_00 + __n)" (( "(") (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00")) (+ "+") (identifier "__n")) () ")")))) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "__dest = (void *)((int)__dest_00 + __n + 4);" (assignment_expression "__dest = (void *)((int)__dest_00 + __n + 4)" (identifier "__dest") (= "=") (cast_expression "(void *)((int)__dest_00 + __n + 4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest_00 + __n + 4)" (( "(") (binary_expression "(int)__dest_00 + __n + 4" (binary_expression "(int)__dest_00 + __n" (cast_expression "(int)__dest_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest_00")) (+ "+") (identifier "__n")) (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (param_2 == __src) {\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }\n  else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == __src)" (( "(") (binary_expression "param_2 == __src" (identifier "param_2") (== "==") (identifier "__src")) () ")")) (compound_statement "{\n    if (param_2 != pvVar1) goto LAB_000aaf47;\nLAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;\n  }" ({ "{") (if_statement "if (param_2 != pvVar1) goto LAB_000aaf47;" (if "if") (parenthesized_expression "(param_2 != pvVar1)" (( "(") (binary_expression "param_2 != pvVar1" (identifier "param_2") (!= "!=") (identifier "pvVar1")) () ")")) (goto_statement "goto LAB_000aaf47;" (goto "goto") (statement_identifier "LAB_000aaf47") (; ";"))) (labeled_statement "LAB_000aaf58:\n    if (__src == (void *)0x0) goto LAB_000aaf5c;" (statement_identifier "LAB_000aaf58") (: ":") (if_statement "if (__src == (void *)0x0) goto LAB_000aaf5c;" (if "if") (parenthesized_expression "(__src == (void *)0x0)" (( "(") (binary_expression "__src == (void *)0x0" (identifier "__src") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000aaf5c;" (goto "goto") (statement_identifier "LAB_000aaf5c") (; ";")))) (} "}")) (else_clause "else {\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" (else "else") (compound_statement "{\n    memmove(__dest_00,__src,__n);\n    if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }\n  }" ({ "{") (expression_statement "memmove(__dest_00,__src,__n);" (call_expression "memmove(__dest_00,__src,__n)" (identifier "memmove") (argument_list "(__dest_00,__src,__n)" (( "(") (identifier "__dest_00") (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";")) (if_statement "if (param_2 != pvVar1) {\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }" (if "if") (parenthesized_expression "(param_2 != pvVar1)" (( "(") (binary_expression "param_2 != pvVar1" (identifier "param_2") (!= "!=") (identifier "pvVar1")) () ")")) (compound_statement "{\nLAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);\n      goto LAB_000aaf58;\n    }" ({ "{") (labeled_statement "LAB_000aaf47:\n      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" (statement_identifier "LAB_000aaf47") (: ":") (expression_statement "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)pvVar1 - (int)param_2)" (identifier "memcpy") (argument_list "(__dest,param_2,(int)pvVar1 - (int)param_2)" (( "(") (identifier "__dest") (, ",") (identifier "param_2") (, ",") (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (; ";"))) (goto_statement "goto LAB_000aaf58;" (goto "goto") (statement_identifier "LAB_000aaf58") (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_00248220(__src);" (call_expression "FUN_00248220(__src)" (identifier "FUN_00248220") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (labeled_statement "LAB_000aaf5c:\n  *param_1 = __dest_00;" (statement_identifier "LAB_000aaf5c") (: ":") (expression_statement "*param_1 = __dest_00;" (assignment_expression "*param_1 = __dest_00" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "__dest_00")) (; ";"))) (expression_statement "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(int)__dest + ((int)pvVar1 - (int)param_2)" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (parenthesized_expression "((int)pvVar1 - (int)param_2)" (( "(") (binary_expression "(int)pvVar1 - (int)param_2" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")))) (; ";")) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_28")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __thiscall
std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::_M_realloc_insert<gold::Symbol*>
          (vector<gold::Symbol*,_std::allocator<gold::Symbol*>_> *this,iterator __position,
          Symbol **__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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (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: (binary_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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (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))) (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (goto_statement label: (statement_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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (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: (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,void *param_2,undefined4 *param_3)

{
  void *__dest;
  void *__src;
  void *pvVar1;
  uint uVar2;
  void *__dest_00;
  uint uVar3;
  size_t __n;
  int local_28;
  
  __src = (void *)*param_1;
  pvVar1 = (void *)param_1[1];
  __n = (int)param_2 - (int)__src;
  uVar2 = (int)pvVar1 - (int)__src >> 2;
  if (uVar2 == 0) {
    uVar3 = 1;
LAB_000aafc5:
    local_28 = uVar3 * 4;
LAB_000aaed5:
    __dest_00 = (void *)FUN_00246670(local_28);
    local_28 = (int)__dest_00 + local_28;
  }
  else {
    uVar3 = uVar2 * 2;
    local_28 = -4;
    if ((uVar3 < uVar2) || (0x3fffffff < uVar3)) goto LAB_000aaed5;
    local_28 = 0;
    __dest_00 = (void *)0x0;
    if (uVar3 != 0) goto LAB_000aafc5;
  }
  *(undefined4 *)((int)__dest_00 + __n) = *param_3;
  __dest = (void *)((int)__dest_00 + __n + 4);
  if (param_2 == __src) {
    if (param_2 != pvVar1) goto LAB_000aaf47;
LAB_000aaf58:
    if (__src == (void *)0x0) goto LAB_000aaf5c;
  }
  else {
    memmove(__dest_00,__src,__n);
    if (param_2 != pvVar1) {
LAB_000aaf47:
      memcpy(__dest,param_2,(int)pvVar1 - (int)param_2);
      goto LAB_000aaf58;
    }
  }
  FUN_00248220(__src);
LAB_000aaf5c:
  *param_1 = __dest_00;
  param_1[1] = (int)__dest + ((int)pvVar1 - (int)param_2);
  param_1[2] = local_28;
  return;
}

