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

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

{
  pointer puVar1;
  pointer __src;
  uint uVar2;
  size_t __n;
  uint uVar3;
  pointer __dest;
  uint uVar4;
  pointer puVar5;
  
  puVar1 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish
  ;
  if (puVar1 != (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.
                _M_end_of_storage) {
    *puVar1 = *__args_0;
    (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =
         puVar1 + 1;
    return;
  }
  __src = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start;
  __n = (int)puVar1 - (int)__src;
  uVar3 = (int)__n >> 2;
  if (uVar3 == 0) {
    uVar4 = 4;
LAB_0009bd59:
    __dest = (pointer)operator_new(uVar4);
    puVar5 = (pointer)(uVar4 + (int)__dest);
  }
  else {
    uVar2 = uVar3 * 2;
    uVar4 = 0xfffffffc;
    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;
    if (uVar2 != 0) {
      uVar4 = uVar3 * 8;
      goto LAB_0009bd59;
    }
    puVar5 = (pointer)0x0;
    __dest = (pointer)0x0;
  }
  *(uint *)((int)__dest + __n) = *__args_0;
  if (puVar1 == __src) {
    if (__src == (pointer)0x0) goto LAB_0009bdc7;
  }
  else {
    memmove(__dest,__src,__n);
  }
  operator_delete(__src);
LAB_0009bdc7:
  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = __dest;
  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =
       (pointer)((int)__dest + __n + 4);
  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage
       = puVar5;
  return;
}



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

void FUN_0009bcf0(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_0009bd59:
    __dest = (void *)FUN_0017ebf0(iVar4);
    iVar4 = iVar4 + (int)__dest;
  }
  else {
    uVar2 = uVar3 * 2;
    iVar4 = -4;
    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;
    if (uVar2 != 0) {
      iVar4 = uVar3 * 8;
      goto LAB_0009bd59;
    }
    iVar4 = 0;
    __dest = (void *)0x0;
  }
  *(undefined4 *)((int)__dest + __n) = *param_2;
  if (puVar1 == __src) {
    if (__src == (undefined4 *)0x0) goto LAB_0009bdc7;
  }
  else {
    memmove(__dest,__src,__n);
  }
  FUN_001807a0(__src);
LAB_0009bdc7:
  *param_1 = __dest;
  param_1[1] = (int)__dest + __n + 4;
  param_1[2] = iVar4;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x266307
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 0x0009bd30
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 0x0009be10
LEA ECX,[EAX + EAX*0x1]
MOV EDI,0xfffffffc
CMP EAX,ECX
JBE 0x0009bde0
MOV dword ptr [ESP + 0x30],EDX
SUB ESP,0xc
PUSH EDI
CALL 0x0017ebf0
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 0x0009be00
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 0x000268a0
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 0x001807a0
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 0x0009bd59
TEST ECX,ECX
JNZ 0x0009be1a
XOR EDI,EDI
XOR ECX,ECX
JMP 0x0009bd71
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x0009bdc7
JMP 0x0009bda8
MOV EDI,0x4
JMP 0x0009bd59
LEA EDI,[EAX*0x8 + 0x0]
JMP 0x0009bd59
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0009bcf0(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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_001807a0(__src);\nLAB_0009bdc7:\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_0009bcf0(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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_001807a0(__src);\nLAB_0009bdc7:\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_0009bcf0(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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_001807a0(__src);\nLAB_0009bdc7:\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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }" { (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);" statement_identifier : (expression_statement "__dest = (void *)FUN_0017ebf0(iVar4);" (assignment_expression "__dest = (void *)FUN_0017ebf0(iVar4)" identifier = (cast_expression "(void *)FUN_0017ebf0(iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(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_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59;" 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_0009bd59;" goto statement_identifier ;)) (if_statement "if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }" { (expression_statement "iVar4 = uVar3 * 8;" (assignment_expression "iVar4 = uVar3 * 8" identifier = (binary_expression "uVar3 * 8" identifier * number_literal)) ;) (goto_statement "goto LAB_0009bd59;" 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_0009bdc7;\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_0009bdc7;\n  }" { (if_statement "if (__src == (undefined4 *)0x0) goto LAB_0009bdc7;" 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_0009bdc7;" 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_001807a0(__src);" (call_expression "FUN_001807a0(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0009bdc7:\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 name: emplace_back<unsigned int>\n   DWARF original prototype: void\n   emplace_back<unsigned_int>(vector<unsigned_int,_std::allocator<unsigned_int>_> * this, uint *\n   __args#0) */\n\nvoid __thiscall\nstd::vector<unsigned_int,_std::allocator<unsigned_int>_>::emplace_back<unsigned_int>\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,uint *__args_0)\n\n{\n  pointer puVar1;\n  pointer __src;\n  uint uVar2;\n  size_t __n;\n  uint uVar3;\n  pointer __dest;\n  uint uVar4;\n  pointer puVar5;\n  \n  puVar1 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish\n  ;\n  if (puVar1 != (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n                _M_end_of_storage) {\n    *puVar1 = *__args_0;\n    (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n         puVar1 + 1;\n    return;\n  }\n  __src = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start;\n  __n = (int)puVar1 - (int)__src;\n  uVar3 = (int)__n >> 2;\n  if (uVar3 == 0) {\n    uVar4 = 4;\nLAB_0009bd59:\n    __dest = (pointer)operator_new(uVar4);\n    puVar5 = (pointer)(uVar4 + (int)__dest);\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    uVar4 = 0xfffffffc;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      uVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }\n    puVar5 = (pointer)0x0;\n    __dest = (pointer)0x0;\n  }\n  *(uint *)((int)__dest + __n) = *__args_0;\n  if (puVar1 == __src) {\n    if (__src == (pointer)0x0) goto LAB_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  operator_delete(__src);\nLAB_0009bdc7:\n  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = __dest;\n  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n       (pointer)((int)__dest + __n + 4);\n  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage\n       = puVar5;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::vector<unsigned_int,_std::allocator<unsigned_int>_>::emplace_back<unsigned_int>\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,uint *__args_0)\n\n{\n  pointer puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "_std::allocator<unsigned_int>_>::emplace_back<unsigned_int>\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,uint *__args_0)\n\n{\n  pointer" identifier : : identifier < identifier > identifier > : : identifier < (function_declarator "unsigned_int>\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,uint *__args_0)" identifier (ERROR ">" >) (parameter_list "(vector<unsigned_int,_std::allocator<unsigned_int>_> *this,uint *__args_0)" ( (parameter_declaration "vector<unsigned_int" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "_std::allocator<unsigned_int>_> *this" type_identifier (ERROR "::allocator<unsigned_int>_>" : : identifier < identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint *__args_0" type_identifier (pointer_declarator "*__args_0" * identifier)) ))) { identifier) identifier ;) (declaration "pointer __src;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "pointer __dest;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "pointer puVar5;" type_identifier identifier ;) (expression_statement "puVar1 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish\n  ;" (assignment_expression "puVar1 = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish" identifier = (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (puVar1 != (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n                _M_end_of_storage) {\n    *puVar1 = *__args_0;\n    (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n         puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n                _M_end_of_storage)" ( (binary_expression "puVar1 != (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n                _M_end_of_storage" identifier != (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl.\n                _M_end_of_storage" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n    *puVar1 = *__args_0;\n    (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n         puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = *__args_0;" (assignment_expression "*puVar1 = *__args_0" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*__args_0" * identifier)) ;) (expression_statement "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n         puVar1 + 1;" (assignment_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n         puVar1 + 1" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__src = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start;" (assignment_expression "__src = (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start" identifier = (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_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    uVar4 = 4;\nLAB_0009bd59:\n    __dest = (pointer)operator_new(uVar4);\n    puVar5 = (pointer)(uVar4 + (int)__dest);\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    uVar4 = 0xfffffffc;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      uVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }\n    puVar5 = (pointer)0x0;\n    __dest = (pointer)0x0;\n  }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = 4;\nLAB_0009bd59:\n    __dest = (pointer)operator_new(uVar4);\n    puVar5 = (pointer)(uVar4 + (int)__dest);\n  }" { (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0009bd59:\n    __dest = (pointer)operator_new(uVar4);" statement_identifier : (expression_statement "__dest = (pointer)operator_new(uVar4);" (assignment_expression "__dest = (pointer)operator_new(uVar4)" identifier = (cast_expression "(pointer)operator_new(uVar4)" ( (type_descriptor "pointer" type_identifier) ) (call_expression "operator_new(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))))) ;)) (expression_statement "puVar5 = (pointer)(uVar4 + (int)__dest);" (assignment_expression "puVar5 = (pointer)(uVar4 + (int)__dest)" identifier = (call_expression "(pointer)(uVar4 + (int)__dest)" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "(uVar4 + (int)__dest)" ( (binary_expression "uVar4 + (int)__dest" identifier + (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }) (else_clause "else {\n    uVar2 = uVar3 * 2;\n    uVar4 = 0xfffffffc;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      uVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }\n    puVar5 = (pointer)0x0;\n    __dest = (pointer)0x0;\n  }" else (compound_statement "{\n    uVar2 = uVar3 * 2;\n    uVar4 = 0xfffffffc;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      uVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }\n    puVar5 = (pointer)0x0;\n    __dest = (pointer)0x0;\n  }" { (expression_statement "uVar2 = uVar3 * 2;" (assignment_expression "uVar2 = uVar3 * 2" identifier = (binary_expression "uVar3 * 2" identifier * number_literal)) ;) (expression_statement "uVar4 = 0xfffffffc;" (assignment_expression "uVar4 = 0xfffffffc" identifier = number_literal) ;) (if_statement "if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;" 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_0009bd59;" goto statement_identifier ;)) (if_statement "if (uVar2 != 0) {\n      uVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }" { (expression_statement "uVar4 = uVar3 * 8;" (assignment_expression "uVar4 = uVar3 * 8" identifier = (binary_expression "uVar3 * 8" identifier * number_literal)) ;) (goto_statement "goto LAB_0009bd59;" goto statement_identifier ;) })) (expression_statement "puVar5 = (pointer)0x0;" (assignment_expression "puVar5 = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "__dest = (pointer)0x0;" (assignment_expression "__dest = (pointer)0x0" identifier = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) }))) (expression_statement "*(uint *)((int)__dest + __n) = *__args_0;" (assignment_expression "*(uint *)((int)__dest + __n) = *__args_0" (pointer_expression "*(uint *)((int)__dest + __n)" * (cast_expression "(uint *)((int)__dest + __n)" ( (type_descriptor "uint *" 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 "*__args_0" * identifier)) ;) (if_statement "if (puVar1 == __src) {\n    if (__src == (pointer)0x0) goto LAB_0009bdc7;\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 == (pointer)0x0) goto LAB_0009bdc7;\n  }" { (if_statement "if (__src == (pointer)0x0) goto LAB_0009bdc7;" if (parenthesized_expression "(__src == (pointer)0x0)" ( (binary_expression "__src == (pointer)0x0" identifier == (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_0009bdc7;" 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 "operator_delete(__src);" (call_expression "operator_delete(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0009bdc7:\n  (this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = __dest;" statement_identifier : (expression_statement "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = __dest;" (assignment_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start = __dest" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_start" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;)) (expression_statement "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n       (pointer)((int)__dest + __n + 4);" (assignment_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish =\n       (pointer)((int)__dest + __n + 4)" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_finish" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = (call_expression "(pointer)((int)__dest + __n + 4)" (parenthesized_expression "(pointer)" ( identifier )) (argument_list "((int)__dest + __n + 4)" ( (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 "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage\n       = puVar5;" (assignment_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage\n       = puVar5" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl._M_end_of_storage" (field_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)._M_impl" (parenthesized_expression "(this->super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>)" ( (ERROR "this->super__Vector_base<unsigned_int,_std::" (comma_expression "this->super__Vector_base<unsigned_int,_std" (binary_expression "this->super__Vector_base<unsigned_int" (field_expression "this->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0009bcf0(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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_001807a0(__src);\nLAB_0009bdc7:\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_0009bcf0(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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_001807a0(__src);\nLAB_0009bdc7:\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_0009bcf0(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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_001807a0(__src);\nLAB_0009bdc7:\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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }" { (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);" statement_identifier : (expression_statement "__dest = (void *)FUN_0017ebf0(iVar4);" (assignment_expression "__dest = (void *)FUN_0017ebf0(iVar4)" identifier = (cast_expression "(void *)FUN_0017ebf0(iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(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_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59;" 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_0009bd59;" goto statement_identifier ;)) (if_statement "if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\n    }" { (expression_statement "iVar4 = uVar3 * 8;" (assignment_expression "iVar4 = uVar3 * 8" identifier = (binary_expression "uVar3 * 8" identifier * number_literal)) ;) (goto_statement "goto LAB_0009bd59;" 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_0009bdc7;\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_0009bdc7;\n  }" { (if_statement "if (__src == (undefined4 *)0x0) goto LAB_0009bdc7;" 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_0009bdc7;" 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_001807a0(__src);" (call_expression "FUN_001807a0(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_0009bdc7:\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_0009bcf0(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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_001807a0(__src);\nLAB_0009bdc7:\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_0009bcf0(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_0009bcf0") (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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bdc7;\n  }\n  else {\n    memmove(__dest,__src,__n);\n  }\n  FUN_001807a0(__src);\nLAB_0009bdc7:\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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }\n  else {\n    uVar2 = uVar3 * 2;\n    iVar4 = -4;\n    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);\n    iVar4 = iVar4 + (int)__dest;\n  }" ({ "{") (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (labeled_statement "LAB_0009bd59:\n    __dest = (void *)FUN_0017ebf0(iVar4);" (statement_identifier "LAB_0009bd59") (: ":") (expression_statement "__dest = (void *)FUN_0017ebf0(iVar4);" (assignment_expression "__dest = (void *)FUN_0017ebf0(iVar4)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_0017ebf0(iVar4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017ebf0(iVar4)" (identifier "FUN_0017ebf0") (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_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59;\n    if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59;" (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_0009bd59;" (goto "goto") (statement_identifier "LAB_0009bd59") (; ";"))) (if_statement "if (uVar2 != 0) {\n      iVar4 = uVar3 * 8;\n      goto LAB_0009bd59;\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_0009bd59;\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_0009bd59;" (goto "goto") (statement_identifier "LAB_0009bd59") (; ";")) (} "}"))) (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_0009bdc7;\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_0009bdc7;\n  }" ({ "{") (if_statement "if (__src == (undefined4 *)0x0) goto LAB_0009bdc7;" (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_0009bdc7;" (goto "goto") (statement_identifier "LAB_0009bdc7") (; ";"))) (} "}")) (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_001807a0(__src);" (call_expression "FUN_001807a0(__src)" (identifier "FUN_001807a0") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (labeled_statement "LAB_0009bdc7:\n  *param_1 = __dest;" (statement_identifier "LAB_0009bdc7") (: ":") (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 name: emplace_back<unsigned int>
   DWARF original prototype: void
   emplace_back<unsigned_int>(vector<unsigned_int,_std::allocator<unsigned_int>_> * this, uint *
   __args#0) */

void __thiscall
std::vector<var_2,_std::var_1<var_2>var_3>::emplace_back<var_2>
          (vector<var_2,_std::var_1<var_2>var_3> *this,type_2 *__args_0)

{
  type_1 var_5;
  type_1 var_11;
  type_2 var_9;
  size_t var_10;
  type_2 var_6;
  type_1 __dest;
  type_2 var_8;
  type_1 puVar5;
  
  var_5 = (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_finish
  ;
  if (var_5 != (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl.
                _M_end_of_storage) {
    *var_5 = *__args_0;
    (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_finish =
         var_5 + 1;
    return;
  }
  var_11 = (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_start;
  var_10 = (int)var_5 - (int)var_11;
  var_6 = (int)var_10 >> 2;
  if (var_6 == 0) {
    var_8 = 4;
LAB_0009bd59:
    __dest = (type_1)var_7(var_8);
    puVar5 = (type_1)(var_8 + (int)__dest);
  }
  else {
    var_9 = var_6 * 2;
    var_8 = 0xfffffffc;
    if ((var_9 < var_6) || (0x3fffffff < var_9)) goto LAB_0009bd59;
    if (var_9 != 0) {
      var_8 = var_6 * 8;
      goto LAB_0009bd59;
    }
    puVar5 = (type_1)0x0;
    __dest = (type_1)0x0;
  }
  *(type_2 *)((int)__dest + var_10) = *__args_0;
  if (var_5 == var_11) {
    if (var_11 == (type_1)0x0) goto LAB_0009bdc7;
  }
  else {
    var_12(__dest,var_11,var_10);
  }
  var_13(var_11);
LAB_0009bdc7:
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_start = __dest;
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_finish =
       (type_1)((int)__dest + var_10 + 4);
  (this->super__Vector_base<var_2,_std::var_1<var_2>var_3>var_4)._M_impl._M_end_of_storage
       = puVar5;
  return;
}


(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_0009bd59:
    __dest = (void *)FUN_0017ebf0(iVar4);
    iVar4 = iVar4 + (int)__dest;
  }
  else {
    uVar2 = uVar3 * 2;
    iVar4 = -4;
    if ((uVar2 < uVar3) || (0x3fffffff < uVar2)) goto LAB_0009bd59;
    if (uVar2 != 0) {
      iVar4 = uVar3 * 8;
      goto LAB_0009bd59;
    }
    iVar4 = 0;
    __dest = (void *)0x0;
  }
  *(undefined4 *)((int)__dest + __n) = *param_2;
  if (puVar1 == __src) {
    if (__src == (undefined4 *)0x0) goto LAB_0009bdc7;
  }
  else {
    memmove(__dest,__src,__n);
  }
  FUN_001807a0(__src);
LAB_0009bdc7:
  *param_1 = __dest;
  param_1[1] = (int)__dest + __n + 4;
  param_1[2] = iVar4;
  return;
}

