
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void add_symbol_assignment(Output_section_definition * this, char *
   name, size_t length, Expression * value, bool provide, bool hidden) */

void __thiscall
gold::Output_section_definition::add_symbol_assignment
          (Output_section_definition *this,char *name,size_t length,Expression *value,bool provide,
          bool hidden)

{
  iterator __position;
  Output_section_element *pOVar1;
  Output_section_element *p;
  
  pOVar1 = (Output_section_element *)operator_new(0x28);
  pOVar1[1]._vptr_Output_section_element = (_func_int_varargs **)(pOVar1 + 3);
  pOVar1->_vptr_Output_section_element =
       (_func_int_varargs **)&PTR__Output_section_element_assignment_004084f4;
                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>
            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,
             name + length,0);
  *(undefined1 *)&pOVar1[8]._vptr_Output_section_element = 0;
  pOVar1[9]._vptr_Output_section_element = (_func_int_varargs **)0x0;
  pOVar1[7]._vptr_Output_section_element = (_func_int_varargs **)value;
  *(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 1) = provide;
  *(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 2) = hidden;
  __position._M_current =
       (this->elements_).
       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
       ._M_impl._M_finish;
  if (__position._M_current !=
      (this->elements_).
      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
      ._M_impl._M_end_of_storage) {
    *__position._M_current = pOVar1;
    (this->elements_).
    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
    ._M_impl._M_finish = __position._M_current + 1;
    return;
  }
  p = pOVar1;
  std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::
  _M_realloc_insert<gold::Output_section_element*_const&>(&this->elements_,__position,&p);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,
                 undefined1 param_6)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 *local_20 [4];
  
  puVar2 = (undefined4 *)FUN_00246670(0x28);
  puVar2[1] = puVar2 + 3;
  *puVar2 = &PTR_FUN_004084f4;
                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */
  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);
  *(undefined1 *)(puVar2 + 8) = 0;
  puVar2[9] = 0;
  puVar2[7] = param_4;
  *(undefined1 *)((int)puVar2 + 0x21) = param_5;
  *(undefined1 *)((int)puVar2 + 0x22) = param_6;
  puVar1 = *(undefined4 **)(param_1 + 0x3c);
  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {
    *puVar1 = puVar2;
    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;
    return;
  }
  local_20[0] = puVar2;
  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);
  return;
}


CALL 0x000b4846
ADD EAX,0x24667b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x38
MOV EBX,dword ptr [EBP + 0x1c]
MOV ECX,dword ptr [EBP + 0x18]
MOV dword ptr [EBP + -0x2c],EAX
PUSH 0x28
MOV EDI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x34],EBX
MOV EBX,EAX
MOV dword ptr [EBP + -0x30],ECX
CALL 0x00246670
ADD ESP,0x10
MOV ESI,EAX
MOV EAX,dword ptr [EBP + -0x2c]
LEA EDX,[ESI + 0xc]
LEA EAX,[EAX + 0xffff44f4]
MOV dword ptr [ESI + 0x4],EDX
MOV EDX,dword ptr [EBP + 0xc]
MOV dword ptr [ESI],EAX
ADD EDX,dword ptr [EBP + 0x10]
LEA EAX,[ESI + 0x4]
PUSH 0x0
PUSH EDX
PUSH dword ptr [EBP + 0xc]
PUSH EAX
CALL 0x000a8880
MOV EAX,dword ptr [EBP + 0x14]
ADD ESP,0x10
MOV byte ptr [ESI + 0x20],0x0
MOV dword ptr [ESI + 0x24],0x0
MOV dword ptr [ESI + 0x1c],EAX
MOVZX EAX,byte ptr [EBP + -0x30]
MOV dword ptr [EBP + -0x1c],ESI
MOV byte ptr [ESI + 0x21],AL
MOVZX EAX,byte ptr [EBP + -0x34]
MOV byte ptr [ESI + 0x22],AL
MOV EAX,dword ptr [EDI + 0x3c]
CMP EAX,dword ptr [EDI + 0x40]
JZ 0x001cda20
MOV dword ptr [EAX],ESI
ADD EAX,0x4
MOV dword ptr [EDI + 0x3c],EAX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EDX,[EBP + -0x1c]
ADD EDI,0x38
PUSH EDX
PUSH EAX
PUSH EDI
CALL 0x001d2bf0
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *local_20 [4];\n  \n  puVar2 = (undefined4 *)FUN_00246670(0x28);\n  puVar2[1] = puVar2 + 3;\n  *puVar2 = &PTR_FUN_004084f4;\n                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */\n  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);\n  *(undefined1 *)(puVar2 + 8) = 0;\n  puVar2[9] = 0;\n  puVar2[7] = param_4;\n  *(undefined1 *)((int)puVar2 + 0x21) = param_5;\n  *(undefined1 *)((int)puVar2 + 0x22) = param_6;\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = puVar2;\n  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);\n  return;\n}\n\n" comment (function_definition "void FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *local_20 [4];\n  \n  puVar2 = (undefined4 *)FUN_00246670(0x28);\n  puVar2[1] = puVar2 + 3;\n  *puVar2 = &PTR_FUN_004084f4;\n                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */\n  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);\n  *(undefined1 *)(puVar2 + 8) = 0;\n  puVar2[9] = 0;\n  puVar2[7] = param_4;\n  *(undefined1 *)((int)puVar2 + 0x21) = param_5;\n  *(undefined1 *)((int)puVar2 + 0x22) = param_6;\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = puVar2;\n  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" primitive_type (function_declarator "FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)" identifier (parameter_list "(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined1 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *local_20 [4];\n  \n  puVar2 = (undefined4 *)FUN_00246670(0x28);\n  puVar2[1] = puVar2 + 3;\n  *puVar2 = &PTR_FUN_004084f4;\n                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */\n  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);\n  *(undefined1 *)(puVar2 + 8) = 0;\n  puVar2[9] = 0;\n  puVar2[7] = param_4;\n  *(undefined1 *)((int)puVar2 + 0x21) = param_5;\n  *(undefined1 *)((int)puVar2 + 0x22) = param_6;\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = puVar2;\n  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *local_20 [4];" type_identifier (pointer_declarator "*local_20 [4]" * (array_declarator "local_20 [4]" identifier [ number_literal ])) ;) (expression_statement "puVar2 = (undefined4 *)FUN_00246670(0x28);" (assignment_expression "puVar2 = (undefined4 *)FUN_00246670(0x28)" identifier = (cast_expression "(undefined4 *)FUN_00246670(0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "puVar2[1] = puVar2 + 3;" (assignment_expression "puVar2[1] = puVar2 + 3" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "puVar2 + 3" identifier + number_literal)) ;) (expression_statement "*puVar2 = &PTR_FUN_004084f4;" (assignment_expression "*puVar2 = &PTR_FUN_004084f4" (pointer_expression "*puVar2" * identifier) = (pointer_expression "&PTR_FUN_004084f4" & identifier)) ;) comment (expression_statement "FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);" (call_expression "FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0)" identifier (argument_list "(puVar2 + 1,param_2,param_2 + param_3,0)" ( (binary_expression "puVar2 + 1" identifier + number_literal) , identifier , (binary_expression "param_2 + param_3" identifier + identifier) , number_literal ))) ;) (expression_statement "*(undefined1 *)(puVar2 + 8) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 8) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 8)" * (cast_expression "(undefined1 *)(puVar2 + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 8)" ( (binary_expression "puVar2 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[7] = param_4;" (assignment_expression "puVar2[7] = param_4" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 0x21) = param_5;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0x21) = param_5" (pointer_expression "*(undefined1 *)((int)puVar2 + 0x21)" * (cast_expression "(undefined1 *)((int)puVar2 + 0x21)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0x21)" ( (binary_expression "(int)puVar2 + 0x21" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 0x22) = param_6;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0x22) = param_6" (pointer_expression "*(undefined1 *)((int)puVar2 + 0x22)" * (cast_expression "(undefined1 *)((int)puVar2 + 0x22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0x22)" ( (binary_expression "(int)puVar2 + 0x22" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x3c);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x3c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x40))" ( (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x40)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x40)" * (cast_expression "(undefined4 **)(param_1 + 0x40)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = puVar2;" (assignment_expression "*puVar1 = puVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_20[0] = puVar2;" (assignment_expression "local_20[0] = puVar2" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);" (call_expression "FUN_001d2bf0(param_1 + 0x38,puVar1,local_20)" identifier (argument_list "(param_1 + 0x38,puVar1,local_20)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void add_symbol_assignment(Output_section_definition * this, char *\n   name, size_t length, Expression * value, bool provide, bool hidden) */\n\nvoid __thiscall\ngold::Output_section_definition::add_symbol_assignment\n          (Output_section_definition *this,char *name,size_t length,Expression *value,bool provide,\n          bool hidden)\n\n{\n  iterator __position;\n  Output_section_element *pOVar1;\n  Output_section_element *p;\n  \n  pOVar1 = (Output_section_element *)operator_new(0x28);\n  pOVar1[1]._vptr_Output_section_element = (_func_int_varargs **)(pOVar1 + 3);\n  pOVar1->_vptr_Output_section_element =\n       (_func_int_varargs **)&PTR__Output_section_element_assignment_004084f4;\n                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,\n             name + length,0);\n  *(undefined1 *)&pOVar1[8]._vptr_Output_section_element = 0;\n  pOVar1[9]._vptr_Output_section_element = (_func_int_varargs **)0x0;\n  pOVar1[7]._vptr_Output_section_element = (_func_int_varargs **)value;\n  *(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 1) = provide;\n  *(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 2) = hidden;\n  __position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish;\n  if (__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage) {\n    *__position._M_current = pOVar1;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  p = pOVar1;\n  std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::\n  _M_realloc_insert<gold::Output_section_element*_const&>(&this->elements_,__position,&p);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_section_definition::add_symbol_assignment\n          (Output_section_definition *this,char *name,size_t length,Expression *value,bool provide,\n          bool hidden)\n\n{\n  iterator __position;\n  Output_section_element *pOVar1;\n  Output_section_element *p;\n  \n  pOVar1 = (Output_section_element *)operator_new(0x28);\n  pOVar1[1]._vptr_Output_section_element = (_func_int_varargs **)(pOVar1 + 3);\n  pOVar1->_vptr_Output_section_element =\n       (_func_int_varargs **)&PTR__Output_section_element_assignment_004084f4;\n                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,\n             name + length,0);\n  *(undefined1 *)&pOVar1[8]._vptr_Output_section_element = 0;\n  pOVar1[9]._vptr_Output_section_element = (_func_int_varargs **)0x0;\n  pOVar1[7]._vptr_Output_section_element = (_func_int_varargs **)value;\n  *(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 1) = provide;\n  *(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 2) = hidden;\n  __position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish;\n  if (__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage) {\n    *__position._M_current = pOVar1;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  p = pOVar1;\n  std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::\n  _M_realloc_insert<gold::Output_section_element*_const&>(&this->elements_,__position,&p);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_definition::" identifier : : identifier : :) (function_declarator "add_symbol_assignment\n          (Output_section_definition *this,char *name,size_t length,Expression *value,bool provide,\n          bool hidden)" identifier (parameter_list "(Output_section_definition *this,char *name,size_t length,Expression *value,bool provide,\n          bool hidden)" ( (parameter_declaration "Output_section_definition *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) , (parameter_declaration "Expression *value" type_identifier (pointer_declarator "*value" * identifier)) , (parameter_declaration "bool provide" primitive_type identifier) , (parameter_declaration "bool hidden" primitive_type identifier) ))) (compound_statement "{\n  iterator __position;\n  Output_section_element *pOVar1;\n  Output_section_element *p;\n  \n  pOVar1 = (Output_section_element *)operator_new(0x28);\n  pOVar1[1]._vptr_Output_section_element = (_func_int_varargs **)(pOVar1 + 3);\n  pOVar1->_vptr_Output_section_element =\n       (_func_int_varargs **)&PTR__Output_section_element_assignment_004084f4;\n                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,\n             name + length,0);\n  *(undefined1 *)&pOVar1[8]._vptr_Output_section_element = 0;\n  pOVar1[9]._vptr_Output_section_element = (_func_int_varargs **)0x0;\n  pOVar1[7]._vptr_Output_section_element = (_func_int_varargs **)value;\n  *(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 1) = provide;\n  *(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 2) = hidden;\n  __position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish;\n  if (__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage) {\n    *__position._M_current = pOVar1;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  p = pOVar1;\n  std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::\n  _M_realloc_insert<gold::Output_section_element*_const&>(&this->elements_,__position,&p);\n  return;\n}" { (declaration "iterator __position;" type_identifier identifier ;) (declaration "Output_section_element *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "Output_section_element *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (expression_statement "pOVar1 = (Output_section_element *)operator_new(0x28);" (assignment_expression "pOVar1 = (Output_section_element *)operator_new(0x28)" identifier = (cast_expression "(Output_section_element *)operator_new(0x28)" ( (type_descriptor "Output_section_element *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "pOVar1[1]._vptr_Output_section_element = (_func_int_varargs **)(pOVar1 + 3);" (assignment_expression "pOVar1[1]._vptr_Output_section_element = (_func_int_varargs **)(pOVar1 + 3)" (field_expression "pOVar1[1]._vptr_Output_section_element" (subscript_expression "pOVar1[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_func_int_varargs **)(pOVar1 + 3)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pOVar1 + 3)" ( (binary_expression "pOVar1 + 3" identifier + number_literal) )))) ;) (expression_statement "pOVar1->_vptr_Output_section_element =\n       (_func_int_varargs **)&PTR__Output_section_element_assignment_004084f4;" (assignment_expression "pOVar1->_vptr_Output_section_element =\n       (_func_int_varargs **)&PTR__Output_section_element_assignment_004084f4" (field_expression "pOVar1->_vptr_Output_section_element" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Output_section_element_assignment_004084f4" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Output_section_element_assignment_004084f4" & identifier))) ;) comment (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,\n             name + length,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,\n             name + length,0);" (binary_expression "_M_construct<char_const*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,\n             name + length,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,\n             name + length,0)" ( (comma_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1),name,\n             name + length,0" (call_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(pOVar1 + 1)" (parenthesized_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)" ( (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_> *" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(pOVar1 + 1)" ( (binary_expression "pOVar1 + 1" identifier + number_literal) ))) , (comma_expression "name,\n             name + length,0" identifier , (comma_expression "name + length,0" (binary_expression "name + length" identifier + identifier) , number_literal))) ))) ;)) (expression_statement "*(undefined1 *)&pOVar1[8]._vptr_Output_section_element = 0;" (assignment_expression "*(undefined1 *)&pOVar1[8]._vptr_Output_section_element = 0" (pointer_expression "*(undefined1 *)&pOVar1[8]._vptr_Output_section_element" * (cast_expression "(undefined1 *)&pOVar1[8]._vptr_Output_section_element" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pOVar1[8]._vptr_Output_section_element" & (field_expression "pOVar1[8]._vptr_Output_section_element" (subscript_expression "pOVar1[8]" identifier [ number_literal ]) . field_identifier)))) = number_literal) ;) (expression_statement "pOVar1[9]._vptr_Output_section_element = (_func_int_varargs **)0x0;" (assignment_expression "pOVar1[9]._vptr_Output_section_element = (_func_int_varargs **)0x0" (field_expression "pOVar1[9]._vptr_Output_section_element" (subscript_expression "pOVar1[9]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_func_int_varargs **)0x0" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "pOVar1[7]._vptr_Output_section_element = (_func_int_varargs **)value;" (assignment_expression "pOVar1[7]._vptr_Output_section_element = (_func_int_varargs **)value" (field_expression "pOVar1[7]._vptr_Output_section_element" (subscript_expression "pOVar1[7]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_func_int_varargs **)value" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "*(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 1) = provide;" (assignment_expression "*(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 1) = provide" (pointer_expression "*(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 1)" * (cast_expression "(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 1)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pOVar1[8]._vptr_Output_section_element + 1)" ( (binary_expression "(int)&pOVar1[8]._vptr_Output_section_element + 1" (cast_expression "(int)&pOVar1[8]._vptr_Output_section_element" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pOVar1[8]._vptr_Output_section_element" & (field_expression "pOVar1[8]._vptr_Output_section_element" (subscript_expression "pOVar1[8]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 2) = hidden;" (assignment_expression "*(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 2) = hidden" (pointer_expression "*(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 2)" * (cast_expression "(bool *)((int)&pOVar1[8]._vptr_Output_section_element + 2)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pOVar1[8]._vptr_Output_section_element + 2)" ( (binary_expression "(int)&pOVar1[8]._vptr_Output_section_element + 2" (cast_expression "(int)&pOVar1[8]._vptr_Output_section_element" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pOVar1[8]._vptr_Output_section_element" & (field_expression "pOVar1[8]._vptr_Output_section_element" (subscript_expression "pOVar1[8]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish;" (field_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish" (field_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl" (binary_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std" (assignment_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold" (field_expression "__position._M_current" identifier . field_identifier) = (binary_expression "(this->elements_).\n       super__Vector_base<gold" (field_expression "(this->elements_).\n       super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage) {\n    *__position._M_current = pOVar1;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }" if (parenthesized_expression "(__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage)" ( (field_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage" (field_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl" (binary_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std" (binary_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold" (field_expression "__position._M_current" identifier . field_identifier) != (binary_expression "(this->elements_).\n      super__Vector_base<gold" (field_expression "(this->elements_).\n      super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    *__position._M_current = pOVar1;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }" { (expression_statement "*__position._M_current = pOVar1;" (assignment_expression "*__position._M_current = pOVar1" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = identifier) ;) (expression_statement "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;" (assignment_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1" (field_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish" (field_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl" (binary_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std" (binary_expression "(this->elements_).\n    super__Vector_base<gold" (field_expression "(this->elements_).\n    super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "p = pOVar1;" (assignment_expression "p = pOVar1" identifier = identifier) ;) (ERROR "std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::\n  _M_realloc_insert<gold::" (comma_expression "std::vector<gold::Output_section_element*,_std" identifier (ERROR "::vector<gold::Output_section_element*" : : (binary_expression "vector<gold" identifier < identifier) : : identifier *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : (binary_expression "Output_section_element*>_>::\n  _M_realloc_insert<gold" (binary_expression "Output_section_element*>_>::\n  _M_realloc_insert" (binary_expression "Output_section_element*>_" identifier * (ERROR ">" >) identifier) > (ERROR "::" : :) identifier) < identifier) : :) (expression_statement "Output_section_element*_const&>(&this->elements_,__position,&p);" (binary_expression "Output_section_element*_const&>(&this->elements_,__position,&p)" (binary_expression "Output_section_element*_const" identifier * identifier) (ERROR "&" &) > (parenthesized_expression "(&this->elements_,__position,&p)" ( (comma_expression "&this->elements_,__position,&p" (pointer_expression "&this->elements_" & (field_expression "this->elements_" identifier -> field_identifier)) , (comma_expression "__position,&p" identifier , (pointer_expression "&p" & identifier))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *local_20 [4];\n  \n  puVar2 = (undefined4 *)FUN_00246670(0x28);\n  puVar2[1] = puVar2 + 3;\n  *puVar2 = &PTR_FUN_004084f4;\n                    \n  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);\n  *(undefined1 *)(puVar2 + 8) = 0;\n  puVar2[9] = 0;\n  puVar2[7] = param_4;\n  *(undefined1 *)((int)puVar2 + 0x21) = param_5;\n  *(undefined1 *)((int)puVar2 + 0x22) = param_6;\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = puVar2;\n  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);\n  return;\n}\n\n" (function_definition "void FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *local_20 [4];\n  \n  puVar2 = (undefined4 *)FUN_00246670(0x28);\n  puVar2[1] = puVar2 + 3;\n  *puVar2 = &PTR_FUN_004084f4;\n                    \n  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);\n  *(undefined1 *)(puVar2 + 8) = 0;\n  puVar2[9] = 0;\n  puVar2[7] = param_4;\n  *(undefined1 *)((int)puVar2 + 0x21) = param_5;\n  *(undefined1 *)((int)puVar2 + 0x22) = param_6;\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = puVar2;\n  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" primitive_type (function_declarator "FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)" identifier (parameter_list "(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined1 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *local_20 [4];\n  \n  puVar2 = (undefined4 *)FUN_00246670(0x28);\n  puVar2[1] = puVar2 + 3;\n  *puVar2 = &PTR_FUN_004084f4;\n                    \n  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);\n  *(undefined1 *)(puVar2 + 8) = 0;\n  puVar2[9] = 0;\n  puVar2[7] = param_4;\n  *(undefined1 *)((int)puVar2 + 0x21) = param_5;\n  *(undefined1 *)((int)puVar2 + 0x22) = param_6;\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = puVar2;\n  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *local_20 [4];" type_identifier (pointer_declarator "*local_20 [4]" * (array_declarator "local_20 [4]" identifier [ number_literal ])) ;) (expression_statement "puVar2 = (undefined4 *)FUN_00246670(0x28);" (assignment_expression "puVar2 = (undefined4 *)FUN_00246670(0x28)" identifier = (cast_expression "(undefined4 *)FUN_00246670(0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "puVar2[1] = puVar2 + 3;" (assignment_expression "puVar2[1] = puVar2 + 3" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "puVar2 + 3" identifier + number_literal)) ;) (expression_statement "*puVar2 = &PTR_FUN_004084f4;" (assignment_expression "*puVar2 = &PTR_FUN_004084f4" (pointer_expression "*puVar2" * identifier) = (pointer_expression "&PTR_FUN_004084f4" & identifier)) ;) (expression_statement "FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);" (call_expression "FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0)" identifier (argument_list "(puVar2 + 1,param_2,param_2 + param_3,0)" ( (binary_expression "puVar2 + 1" identifier + number_literal) , identifier , (binary_expression "param_2 + param_3" identifier + identifier) , number_literal ))) ;) (expression_statement "*(undefined1 *)(puVar2 + 8) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 8) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 8)" * (cast_expression "(undefined1 *)(puVar2 + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 8)" ( (binary_expression "puVar2 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[7] = param_4;" (assignment_expression "puVar2[7] = param_4" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 0x21) = param_5;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0x21) = param_5" (pointer_expression "*(undefined1 *)((int)puVar2 + 0x21)" * (cast_expression "(undefined1 *)((int)puVar2 + 0x21)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0x21)" ( (binary_expression "(int)puVar2 + 0x21" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar2 + 0x22) = param_6;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0x22) = param_6" (pointer_expression "*(undefined1 *)((int)puVar2 + 0x22)" * (cast_expression "(undefined1 *)((int)puVar2 + 0x22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0x22)" ( (binary_expression "(int)puVar2 + 0x22" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x3c);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x3c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x40))" ( (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x40)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x40)" * (cast_expression "(undefined4 **)(param_1 + 0x40)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = puVar2;" (assignment_expression "*puVar1 = puVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_20[0] = puVar2;" (assignment_expression "local_20[0] = puVar2" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);" (call_expression "FUN_001d2bf0(param_1 + 0x38,puVar1,local_20)" identifier (argument_list "(param_1 + 0x38,puVar1,local_20)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + IDENT) , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *local_20 [4];\n  \n  puVar2 = (undefined4 *)FUN_00246670(0x28);\n  puVar2[1] = puVar2 + 3;\n  *puVar2 = &PTR_FUN_004084f4;\n                    \n  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);\n  *(undefined1 *)(puVar2 + 8) = 0;\n  puVar2[9] = 0;\n  puVar2[7] = param_4;\n  *(undefined1 *)((int)puVar2 + 0x21) = param_5;\n  *(undefined1 *)((int)puVar2 + 0x22) = param_6;\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = puVar2;\n  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001cd980(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)" (identifier "FUN_001cd980") (parameter_list "(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,\n                 undefined1 param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined1 param_5" (type_identifier "undefined1") (identifier "param_5")) (, ",") (parameter_declaration "undefined1 param_6" (type_identifier "undefined1") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 *local_20 [4];\n  \n  puVar2 = (undefined4 *)FUN_00246670(0x28);\n  puVar2[1] = puVar2 + 3;\n  *puVar2 = &PTR_FUN_004084f4;\n                    \n  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);\n  *(undefined1 *)(puVar2 + 8) = 0;\n  puVar2[9] = 0;\n  puVar2[7] = param_4;\n  *(undefined1 *)((int)puVar2 + 0x21) = param_5;\n  *(undefined1 *)((int)puVar2 + 0x22) = param_6;\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = puVar2;\n  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *local_20 [4];" (type_identifier "undefined4") (pointer_declarator "*local_20 [4]" (* "*") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)FUN_00246670(0x28);" (assignment_expression "puVar2 = (undefined4 *)FUN_00246670(0x28)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)FUN_00246670(0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00246670(0x28)" (identifier "FUN_00246670") (argument_list "(0x28)" (( "(") (number_literal "0x28") () ")"))))) (; ";")) (expression_statement "puVar2[1] = puVar2 + 3;" (assignment_expression "puVar2[1] = puVar2 + 3" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar2 + 3" (identifier "puVar2") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "*puVar2 = &PTR_FUN_004084f4;" (assignment_expression "*puVar2 = &PTR_FUN_004084f4" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "&PTR_FUN_004084f4" (& "&") (identifier "PTR_FUN_004084f4"))) (; ";")) (expression_statement "FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);" (call_expression "FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0)" (identifier "FUN_000a8880") (argument_list "(puVar2 + 1,param_2,param_2 + param_3,0)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) (, ",") (identifier "param_2") (, ",") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(puVar2 + 8) = 0;" (assignment_expression "*(undefined1 *)(puVar2 + 8) = 0" (pointer_expression "*(undefined1 *)(puVar2 + 8)" (* "*") (cast_expression "(undefined1 *)(puVar2 + 8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 8)" (( "(") (binary_expression "puVar2 + 8" (identifier "puVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[7] = param_4;" (assignment_expression "puVar2[7] = param_4" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar2 + 0x21) = param_5;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0x21) = param_5" (pointer_expression "*(undefined1 *)((int)puVar2 + 0x21)" (* "*") (cast_expression "(undefined1 *)((int)puVar2 + 0x21)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 0x21)" (( "(") (binary_expression "(int)puVar2 + 0x21" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "0x21")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar2 + 0x22) = param_6;" (assignment_expression "*(undefined1 *)((int)puVar2 + 0x22) = param_6" (pointer_expression "*(undefined1 *)((int)puVar2 + 0x22)" (* "*") (cast_expression "(undefined1 *)((int)puVar2 + 0x22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 0x22)" (( "(") (binary_expression "(int)puVar2 + 0x22" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "0x22")) () ")")))) (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x3c);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x3c)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x40))" (( "(") (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x40)" (identifier "puVar1") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x40)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (compound_statement "{\n    *puVar1 = puVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" ({ "{") (expression_statement "*puVar1 = puVar2;" (assignment_expression "*puVar1 = puVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_20[0] = puVar2;" (assignment_expression "local_20[0] = puVar2" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);" (call_expression "FUN_001d2bf0(param_1 + 0x38,puVar1,local_20)" (identifier "FUN_001d2bf0") (argument_list "(param_1 + 0x38,puVar1,local_20)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) (, ",") (identifier "puVar1") (, ",") (identifier "local_20") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void add_symbol_assignment(Output_section_definition * this, char *
   name, size_t length, Expression * value, bool provide, bool hidden) */

void __thiscall
var_10::type_1::function_1
          (type_1 *this,char *var_8,size_t var_9,type_2 *value,bool provide,
          bool hidden)

{
  type_3 __position;
  type_4 *var_2;
  type_4 *p;
  
  var_2 = (type_4 *)var_1(0x28);
  var_2[1]._vptr_Output_section_element = (type_5 **)(var_2 + 3);
  var_2->_vptr_Output_section_element =
       (type_5 **)&PTR__Output_section_element_assignment_004084f4;
                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */
  std::__cxx11::basic_string<var_6,var_11::char_traits<var_6>,var_11::var_5<var_6>var_7>::
  var_3<var_4*>
            ((basic_string<var_6,var_11::char_traits<var_6>,var_11::var_5<var_6>var_7> *)(var_2 + 1),var_8,
             var_8 + var_9,0);
  *(type_6 *)&var_2[8]._vptr_Output_section_element = 0;
  var_2[9]._vptr_Output_section_element = (type_5 **)0x0;
  var_2[7]._vptr_Output_section_element = (type_5 **)value;
  *(bool *)((int)&var_2[8]._vptr_Output_section_element + 1) = provide;
  *(bool *)((int)&var_2[8]._vptr_Output_section_element + 2) = hidden;
  __position._M_current =
       (this->elements_).
       super__Vector_base<var_10::type_4*,var_11::var_5<var_10::type_4*>var_7>
       ._M_impl._M_finish;
  if (__position._M_current !=
      (this->elements_).
      super__Vector_base<var_10::type_4*,var_11::var_5<var_10::type_4*>var_7>
      ._M_impl._M_end_of_storage) {
    *__position._M_current = var_2;
    (this->elements_).
    super__Vector_base<var_10::type_4*,var_11::var_5<var_10::type_4*>var_7>
    ._M_impl._M_finish = __position._M_current + 1;
    return;
  }
  p = var_2;
  std::vector<var_10::type_4*,var_11::var_5<var_10::type_4*>var_7>::
  _M_realloc_insert<var_10::type_4*var_12&>(&this->elements_,__position,&p);
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(int param_1,int param_2,int param_3,undefined4 param_4,undefined1 param_5,
                 undefined1 param_6)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 *local_20 [4];
  
  puVar2 = (undefined4 *)FUN_00246670(0x28);
  puVar2[1] = puVar2 + 3;
  *puVar2 = &PTR_FUN_004084f4;
                    /* try { // try from 001cd9d4 to 001cd9d8 has its CatchHandler @ 001cda3c */
  FUN_000a8880(puVar2 + 1,param_2,param_2 + param_3,0);
  *(undefined1 *)(puVar2 + 8) = 0;
  puVar2[9] = 0;
  puVar2[7] = param_4;
  *(undefined1 *)((int)puVar2 + 0x21) = param_5;
  *(undefined1 *)((int)puVar2 + 0x22) = param_6;
  puVar1 = *(undefined4 **)(param_1 + 0x3c);
  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {
    *puVar1 = puVar2;
    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;
    return;
  }
  local_20[0] = puVar2;
  FUN_001d2bf0(param_1 + 0x38,puVar1,local_20);
  return;
}

