
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void map_pubnames_and_types_to_dies(Gdb_index * this,
   Gdb_index_info_reader * dwinfo, Relobj * object, uchar * symbols, off_t symbols_size) */

void __thiscall
gold::Gdb_index::map_pubnames_and_types_to_dies
          (Gdb_index *this,Gdb_index_info_reader *dwinfo,Relobj *object,uchar *symbols,
          off_t symbols_size)

{
  Dwarf_pubnames_table *pDVar1;
  
  this->pubnames_object_ = object;
  pDVar1 = this->pubnames_table_;
  *(undefined4 *)&this->stmt_list_offset_ = 0xffffffff;
  *(undefined4 *)((int)&this->stmt_list_offset_ + 4) = 0xffffffff;
  if (pDVar1 != (Dwarf_pubnames_table *)0x0) {
    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {
      operator_delete__(pDVar1->buffer_);
    }
    operator_delete(pDVar1,0x38);
  }
  pDVar1 = map_pubtable_to_dies(this,0x2134,dwinfo,object,symbols,symbols_size);
  this->pubnames_table_ = pDVar1;
  pDVar1 = this->pubtypes_table_;
  if (pDVar1 != (Dwarf_pubnames_table *)0x0) {
    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {
      operator_delete__(pDVar1->buffer_);
    }
    operator_delete(pDVar1,0x38);
  }
  pDVar1 = map_pubtable_to_dies(this,0x2135,dwinfo,object,symbols,symbols_size);
  this->pubtypes_table_ = pDVar1;
  return;
}



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

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

{
  int iVar1;
  undefined4 uVar2;
  
  *(undefined4 *)(param_1 + 0x11c) = param_3;
  iVar1 = *(int *)(param_1 + 100);
  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;
  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;
  if (iVar1 != 0) {
    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {
      FUN_001fefd0(*(int *)(iVar1 + 4));
    }
    FUN_001ff010(iVar1,0x38);
  }
  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);
  *(undefined4 *)(param_1 + 100) = uVar2;
  iVar1 = *(int *)(param_1 + 0x68);
  if (iVar1 != 0) {
    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {
      FUN_001fefd0(*(int *)(iVar1 + 4));
    }
    FUN_001ff010(iVar1,0x38);
  }
  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);
  *(undefined4 *)(param_1 + 0x68) = uVar2;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036f20
ADD EBX,0x334be7
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x40]
MOV EBP,dword ptr [ESP + 0x44]
MOV dword ptr [ESI + 0x11c],EAX
MOV EAX,dword ptr [ESI + 0x64]
MOV dword ptr [ESI + 0x120],0xffffffff
MOV dword ptr [ESI + 0x124],0xffffffff
TEST EAX,EAX
JZ 0x0007a46b
CMP byte ptr [EAX + 0xc],0x0
JNZ 0x0007a4f0
SUB ESP,0x8
PUSH 0x38
PUSH EAX
CALL 0x001ff010
ADD ESP,0x10
SUB ESP,0x4
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x48]
PUSH dword ptr [ESP + 0x48]
PUSH dword ptr [ESP + 0x48]
PUSH 0x2134
PUSH ESI
CALL 0x0007a070
ADD ESP,0x20
MOV dword ptr [ESI + 0x64],EAX
MOV EAX,dword ptr [ESI + 0x68]
TEST EAX,EAX
JZ 0x0007a4a8
CMP byte ptr [EAX + 0xc],0x0
JNZ 0x0007a4d0
SUB ESP,0x8
PUSH 0x38
PUSH EAX
CALL 0x001ff010
ADD ESP,0x10
SUB ESP,0x4
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x48]
PUSH dword ptr [ESP + 0x48]
PUSH dword ptr [ESP + 0x48]
PUSH 0x2135
PUSH ESI
CALL 0x0007a070
MOV dword ptr [ESI + 0x68],EAX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [EAX + 0x4]
TEST EDX,EDX
JZ 0x0007a49a
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0xc
PUSH EDX
CALL 0x001fefd0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
JMP 0x0007a49a
MOV EDX,dword ptr [EAX + 0x4]
TEST EDX,EDX
JZ 0x0007a45d
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0xc
PUSH EDX
CALL 0x001fefd0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
JMP 0x0007a45d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0007a410(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  *(undefined4 *)(param_1 + 0x11c) = param_3;\n  iVar1 = *(int *)(param_1 + 100);\n  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 100) = uVar2;\n  iVar1 = *(int *)(param_1 + 0x68);\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 0x68) = uVar2;\n  return;\n}\n\n" comment (function_definition "void FUN_0007a410(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  *(undefined4 *)(param_1 + 0x11c) = param_3;\n  iVar1 = *(int *)(param_1 + 100);\n  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 100) = uVar2;\n  iVar1 = *(int *)(param_1 + 0x68);\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 0x68) = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0007a410(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  *(undefined4 *)(param_1 + 0x11c) = param_3;\n  iVar1 = *(int *)(param_1 + 100);\n  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 100) = uVar2;\n  iVar1 = *(int *)(param_1 + 0x68);\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 0x68) = uVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "*(undefined4 *)(param_1 + 0x11c) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x11c) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x11c)" * (cast_expression "(undefined4 *)(param_1 + 0x11c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11c)" ( (binary_expression "param_1 + 0x11c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 100);" (assignment_expression "iVar1 = *(int *)(param_1 + 100)" identifier = (pointer_expression "*(int *)(param_1 + 100)" * (cast_expression "(int *)(param_1 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x120) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x120) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x120)" * (cast_expression "(undefined4 *)(param_1 + 0x120)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x124) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x124) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x124)" * (cast_expression "(undefined4 *)(param_1 + 0x124)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x124)" ( (binary_expression "param_1 + 0x124" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" { (if_statement "if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" if (parenthesized_expression "((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0))" ( (binary_expression "(*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xc) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xc)" * (cast_expression "(char *)(iVar1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" { (expression_statement "FUN_001fefd0(*(int *)(iVar1 + 4));" (call_expression "FUN_001fefd0(*(int *)(iVar1 + 4))" identifier (argument_list "(*(int *)(iVar1 + 4))" ( (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_001ff010(iVar1,0x38);" (call_expression "FUN_001ff010(iVar1,0x38)" identifier (argument_list "(iVar1,0x38)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" identifier = (call_expression "FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" identifier (argument_list "(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" ( identifier , number_literal , identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 100) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 100) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 100)" * (cast_expression "(undefined4 *)(param_1 + 100)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x68);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x68)" identifier = (pointer_expression "*(int *)(param_1 + 0x68)" * (cast_expression "(int *)(param_1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" { (if_statement "if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" if (parenthesized_expression "((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0))" ( (binary_expression "(*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xc) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xc)" * (cast_expression "(char *)(iVar1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" { (expression_statement "FUN_001fefd0(*(int *)(iVar1 + 4));" (call_expression "FUN_001fefd0(*(int *)(iVar1 + 4))" identifier (argument_list "(*(int *)(iVar1 + 4))" ( (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_001ff010(iVar1,0x38);" (call_expression "FUN_001ff010(iVar1,0x38)" identifier (argument_list "(iVar1,0x38)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" identifier = (call_expression "FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" identifier (argument_list "(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" ( identifier , number_literal , identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void map_pubnames_and_types_to_dies(Gdb_index * this,\n   Gdb_index_info_reader * dwinfo, Relobj * object, uchar * symbols, off_t symbols_size) */\n\nvoid __thiscall\ngold::Gdb_index::map_pubnames_and_types_to_dies\n          (Gdb_index *this,Gdb_index_info_reader *dwinfo,Relobj *object,uchar *symbols,\n          off_t symbols_size)\n\n{\n  Dwarf_pubnames_table *pDVar1;\n  \n  this->pubnames_object_ = object;\n  pDVar1 = this->pubnames_table_;\n  *(undefined4 *)&this->stmt_list_offset_ = 0xffffffff;\n  *(undefined4 *)((int)&this->stmt_list_offset_ + 4) = 0xffffffff;\n  if (pDVar1 != (Dwarf_pubnames_table *)0x0) {\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }\n  pDVar1 = map_pubtable_to_dies(this,0x2134,dwinfo,object,symbols,symbols_size);\n  this->pubnames_table_ = pDVar1;\n  pDVar1 = this->pubtypes_table_;\n  if (pDVar1 != (Dwarf_pubnames_table *)0x0) {\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }\n  pDVar1 = map_pubtable_to_dies(this,0x2135,dwinfo,object,symbols,symbols_size);\n  this->pubtypes_table_ = pDVar1;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Gdb_index::map_pubnames_and_types_to_dies\n          (Gdb_index *this,Gdb_index_info_reader *dwinfo,Relobj *object,uchar *symbols,\n          off_t symbols_size)\n\n{\n  Dwarf_pubnames_table *pDVar1;\n  \n  this->pubnames_object_ = object;\n  pDVar1 = this->pubnames_table_;\n  *(undefined4 *)&this->stmt_list_offset_ = 0xffffffff;\n  *(undefined4 *)((int)&this->stmt_list_offset_ + 4) = 0xffffffff;\n  if (pDVar1 != (Dwarf_pubnames_table *)0x0) {\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }\n  pDVar1 = map_pubtable_to_dies(this,0x2134,dwinfo,object,symbols,symbols_size);\n  this->pubnames_table_ = pDVar1;\n  pDVar1 = this->pubtypes_table_;\n  if (pDVar1 != (Dwarf_pubnames_table *)0x0) {\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }\n  pDVar1 = map_pubtable_to_dies(this,0x2135,dwinfo,object,symbols,symbols_size);\n  this->pubtypes_table_ = pDVar1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Gdb_index::" identifier : : identifier : :) (function_declarator "map_pubnames_and_types_to_dies\n          (Gdb_index *this,Gdb_index_info_reader *dwinfo,Relobj *object,uchar *symbols,\n          off_t symbols_size)" identifier (parameter_list "(Gdb_index *this,Gdb_index_info_reader *dwinfo,Relobj *object,uchar *symbols,\n          off_t symbols_size)" ( (parameter_declaration "Gdb_index *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Gdb_index_info_reader *dwinfo" type_identifier (pointer_declarator "*dwinfo" * identifier)) , (parameter_declaration "Relobj *object" type_identifier (pointer_declarator "*object" * identifier)) , (parameter_declaration "uchar *symbols" type_identifier (pointer_declarator "*symbols" * identifier)) , (parameter_declaration "off_t symbols_size" type_identifier identifier) ))) (compound_statement "{\n  Dwarf_pubnames_table *pDVar1;\n  \n  this->pubnames_object_ = object;\n  pDVar1 = this->pubnames_table_;\n  *(undefined4 *)&this->stmt_list_offset_ = 0xffffffff;\n  *(undefined4 *)((int)&this->stmt_list_offset_ + 4) = 0xffffffff;\n  if (pDVar1 != (Dwarf_pubnames_table *)0x0) {\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }\n  pDVar1 = map_pubtable_to_dies(this,0x2134,dwinfo,object,symbols,symbols_size);\n  this->pubnames_table_ = pDVar1;\n  pDVar1 = this->pubtypes_table_;\n  if (pDVar1 != (Dwarf_pubnames_table *)0x0) {\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }\n  pDVar1 = map_pubtable_to_dies(this,0x2135,dwinfo,object,symbols,symbols_size);\n  this->pubtypes_table_ = pDVar1;\n  return;\n}" { (declaration "Dwarf_pubnames_table *pDVar1;" type_identifier (pointer_declarator "*pDVar1" * identifier) ;) (expression_statement "this->pubnames_object_ = object;" (assignment_expression "this->pubnames_object_ = object" (field_expression "this->pubnames_object_" identifier -> field_identifier) = identifier) ;) (expression_statement "pDVar1 = this->pubnames_table_;" (assignment_expression "pDVar1 = this->pubnames_table_" identifier = (field_expression "this->pubnames_table_" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)&this->stmt_list_offset_ = 0xffffffff;" (assignment_expression "*(undefined4 *)&this->stmt_list_offset_ = 0xffffffff" (pointer_expression "*(undefined4 *)&this->stmt_list_offset_" * (cast_expression "(undefined4 *)&this->stmt_list_offset_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->stmt_list_offset_" & (field_expression "this->stmt_list_offset_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&this->stmt_list_offset_ + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&this->stmt_list_offset_ + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&this->stmt_list_offset_ + 4)" * (cast_expression "(undefined4 *)((int)&this->stmt_list_offset_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->stmt_list_offset_ + 4)" ( (binary_expression "(int)&this->stmt_list_offset_ + 4" (cast_expression "(int)&this->stmt_list_offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->stmt_list_offset_" & (field_expression "this->stmt_list_offset_" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (if_statement "if (pDVar1 != (Dwarf_pubnames_table *)0x0) {\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }" if (parenthesized_expression "(pDVar1 != (Dwarf_pubnames_table *)0x0)" ( (binary_expression "pDVar1 != (Dwarf_pubnames_table *)0x0" identifier != (cast_expression "(Dwarf_pubnames_table *)0x0" ( (type_descriptor "Dwarf_pubnames_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }" { (if_statement "if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }" if (parenthesized_expression "((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0))" ( (binary_expression "(pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)" (parenthesized_expression "(pDVar1->owns_buffer_ != false)" ( (binary_expression "pDVar1->owns_buffer_ != false" (field_expression "pDVar1->owns_buffer_" identifier -> field_identifier) != false) )) && (parenthesized_expression "(pDVar1->buffer_ != (uchar *)0x0)" ( (binary_expression "pDVar1->buffer_ != (uchar *)0x0" (field_expression "pDVar1->buffer_" identifier -> field_identifier) != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      operator_delete__(pDVar1->buffer_);\n    }" { (expression_statement "operator_delete__(pDVar1->buffer_);" (call_expression "operator_delete__(pDVar1->buffer_)" identifier (argument_list "(pDVar1->buffer_)" ( (field_expression "pDVar1->buffer_" identifier -> field_identifier) ))) ;) })) (expression_statement "operator_delete(pDVar1,0x38);" (call_expression "operator_delete(pDVar1,0x38)" identifier (argument_list "(pDVar1,0x38)" ( identifier , number_literal ))) ;) })) (expression_statement "pDVar1 = map_pubtable_to_dies(this,0x2134,dwinfo,object,symbols,symbols_size);" (assignment_expression "pDVar1 = map_pubtable_to_dies(this,0x2134,dwinfo,object,symbols,symbols_size)" identifier = (call_expression "map_pubtable_to_dies(this,0x2134,dwinfo,object,symbols,symbols_size)" identifier (argument_list "(this,0x2134,dwinfo,object,symbols,symbols_size)" ( identifier , number_literal , identifier , identifier , identifier , identifier )))) ;) (expression_statement "this->pubnames_table_ = pDVar1;" (assignment_expression "this->pubnames_table_ = pDVar1" (field_expression "this->pubnames_table_" identifier -> field_identifier) = identifier) ;) (expression_statement "pDVar1 = this->pubtypes_table_;" (assignment_expression "pDVar1 = this->pubtypes_table_" identifier = (field_expression "this->pubtypes_table_" identifier -> field_identifier)) ;) (if_statement "if (pDVar1 != (Dwarf_pubnames_table *)0x0) {\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }" if (parenthesized_expression "(pDVar1 != (Dwarf_pubnames_table *)0x0)" ( (binary_expression "pDVar1 != (Dwarf_pubnames_table *)0x0" identifier != (cast_expression "(Dwarf_pubnames_table *)0x0" ( (type_descriptor "Dwarf_pubnames_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }\n    operator_delete(pDVar1,0x38);\n  }" { (if_statement "if ((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)) {\n      operator_delete__(pDVar1->buffer_);\n    }" if (parenthesized_expression "((pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0))" ( (binary_expression "(pDVar1->owns_buffer_ != false) && (pDVar1->buffer_ != (uchar *)0x0)" (parenthesized_expression "(pDVar1->owns_buffer_ != false)" ( (binary_expression "pDVar1->owns_buffer_ != false" (field_expression "pDVar1->owns_buffer_" identifier -> field_identifier) != false) )) && (parenthesized_expression "(pDVar1->buffer_ != (uchar *)0x0)" ( (binary_expression "pDVar1->buffer_ != (uchar *)0x0" (field_expression "pDVar1->buffer_" identifier -> field_identifier) != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      operator_delete__(pDVar1->buffer_);\n    }" { (expression_statement "operator_delete__(pDVar1->buffer_);" (call_expression "operator_delete__(pDVar1->buffer_)" identifier (argument_list "(pDVar1->buffer_)" ( (field_expression "pDVar1->buffer_" identifier -> field_identifier) ))) ;) })) (expression_statement "operator_delete(pDVar1,0x38);" (call_expression "operator_delete(pDVar1,0x38)" identifier (argument_list "(pDVar1,0x38)" ( identifier , number_literal ))) ;) })) (expression_statement "pDVar1 = map_pubtable_to_dies(this,0x2135,dwinfo,object,symbols,symbols_size);" (assignment_expression "pDVar1 = map_pubtable_to_dies(this,0x2135,dwinfo,object,symbols,symbols_size)" identifier = (call_expression "map_pubtable_to_dies(this,0x2135,dwinfo,object,symbols,symbols_size)" identifier (argument_list "(this,0x2135,dwinfo,object,symbols,symbols_size)" ( identifier , number_literal , identifier , identifier , identifier , identifier )))) ;) (expression_statement "this->pubtypes_table_ = pDVar1;" (assignment_expression "this->pubtypes_table_ = pDVar1" (field_expression "this->pubtypes_table_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0007a410(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  *(undefined4 *)(param_1 + 0x11c) = param_3;\n  iVar1 = *(int *)(param_1 + 100);\n  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 100) = uVar2;\n  iVar1 = *(int *)(param_1 + 0x68);\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 0x68) = uVar2;\n  return;\n}\n\n" (function_definition "void FUN_0007a410(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  *(undefined4 *)(param_1 + 0x11c) = param_3;\n  iVar1 = *(int *)(param_1 + 100);\n  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 100) = uVar2;\n  iVar1 = *(int *)(param_1 + 0x68);\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 0x68) = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0007a410(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  *(undefined4 *)(param_1 + 0x11c) = param_3;\n  iVar1 = *(int *)(param_1 + 100);\n  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 100) = uVar2;\n  iVar1 = *(int *)(param_1 + 0x68);\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 0x68) = uVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "*(undefined4 *)(param_1 + 0x11c) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x11c) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x11c)" * (cast_expression "(undefined4 *)(param_1 + 0x11c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11c)" ( (binary_expression "param_1 + 0x11c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 100);" (assignment_expression "iVar1 = *(int *)(param_1 + 100)" identifier = (pointer_expression "*(int *)(param_1 + 100)" * (cast_expression "(int *)(param_1 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x120) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x120) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x120)" * (cast_expression "(undefined4 *)(param_1 + 0x120)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x124) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x124) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x124)" * (cast_expression "(undefined4 *)(param_1 + 0x124)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x124)" ( (binary_expression "param_1 + 0x124" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" { (if_statement "if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" if (parenthesized_expression "((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0))" ( (binary_expression "(*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xc) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xc)" * (cast_expression "(char *)(iVar1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" { (expression_statement "FUN_001fefd0(*(int *)(iVar1 + 4));" (call_expression "FUN_001fefd0(*(int *)(iVar1 + 4))" identifier (argument_list "(*(int *)(iVar1 + 4))" ( (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_001ff010(iVar1,0x38);" (call_expression "FUN_001ff010(iVar1,0x38)" identifier (argument_list "(iVar1,0x38)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" identifier = (call_expression "FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" identifier (argument_list "(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" ( identifier , number_literal , identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 100) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 100) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 100)" * (cast_expression "(undefined4 *)(param_1 + 100)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x68);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x68)" identifier = (pointer_expression "*(int *)(param_1 + 0x68)" * (cast_expression "(int *)(param_1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" { (if_statement "if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" if (parenthesized_expression "((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0))" ( (binary_expression "(*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xc) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xc)" * (cast_expression "(char *)(iVar1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" { (expression_statement "FUN_001fefd0(*(int *)(iVar1 + 4));" (call_expression "FUN_001fefd0(*(int *)(iVar1 + 4))" identifier (argument_list "(*(int *)(iVar1 + 4))" ( (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_001ff010(iVar1,0x38);" (call_expression "FUN_001ff010(iVar1,0x38)" identifier (argument_list "(iVar1,0x38)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" identifier = (call_expression "FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" identifier (argument_list "(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" ( identifier , number_literal , identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = 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 IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0007a410(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  *(undefined4 *)(param_1 + 0x11c) = param_3;\n  iVar1 = *(int *)(param_1 + 100);\n  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 100) = uVar2;\n  iVar1 = *(int *)(param_1 + 0x68);\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 0x68) = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0007a410(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (identifier "FUN_0007a410") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  *(undefined4 *)(param_1 + 0x11c) = param_3;\n  iVar1 = *(int *)(param_1 + 100);\n  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 100) = uVar2;\n  iVar1 = *(int *)(param_1 + 0x68);\n  if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }\n  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);\n  *(undefined4 *)(param_1 + 0x68) = uVar2;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x11c) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x11c) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x11c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x11c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x11c)" (( "(") (binary_expression "param_1 + 0x11c" (identifier "param_1") (+ "+") (number_literal "0x11c")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 100);" (assignment_expression "iVar1 = *(int *)(param_1 + 100)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 100)" (* "*") (cast_expression "(int *)(param_1 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 100)" (( "(") (binary_expression "param_1 + 100" (identifier "param_1") (+ "+") (number_literal "100")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x120) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x120) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x120)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x120)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x120)" (( "(") (binary_expression "param_1 + 0x120" (identifier "param_1") (+ "+") (number_literal "0x120")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x124) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x124) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x124)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x124)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x124)" (( "(") (binary_expression "param_1 + 0x124" (identifier "param_1") (+ "+") (number_literal "0x124")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" ({ "{") (if_statement "if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" (if "if") (parenthesized_expression "((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0))" (( "(") (binary_expression "(*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xc) != '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xc)" (* "*") (cast_expression "(char *)(iVar1 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" ({ "{") (expression_statement "FUN_001fefd0(*(int *)(iVar1 + 4));" (call_expression "FUN_001fefd0(*(int *)(iVar1 + 4))" (identifier "FUN_001fefd0") (argument_list "(*(int *)(iVar1 + 4))" (( "(") (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001ff010(iVar1,0x38);" (call_expression "FUN_001ff010(iVar1,0x38)" (identifier "FUN_001ff010") (argument_list "(iVar1,0x38)" (( "(") (identifier "iVar1") (, ",") (number_literal "0x38") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" (identifier "uVar2") (= "=") (call_expression "FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" (identifier "FUN_0007a070") (argument_list "(param_1,0x2134,param_2,param_3,param_4,param_5,param_6)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2134") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 100) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 100) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 100)" (* "*") (cast_expression "(undefined4 *)(param_1 + 100)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 100)" (( "(") (binary_expression "param_1 + 100" (identifier "param_1") (+ "+") (number_literal "100")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x68);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x68)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x68)" (* "*") (cast_expression "(int *)(param_1 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }\n    FUN_001ff010(iVar1,0x38);\n  }" ({ "{") (if_statement "if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" (if "if") (parenthesized_expression "((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0))" (( "(") (binary_expression "(*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xc) != '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xc)" (* "*") (cast_expression "(char *)(iVar1 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      FUN_001fefd0(*(int *)(iVar1 + 4));\n    }" ({ "{") (expression_statement "FUN_001fefd0(*(int *)(iVar1 + 4));" (call_expression "FUN_001fefd0(*(int *)(iVar1 + 4))" (identifier "FUN_001fefd0") (argument_list "(*(int *)(iVar1 + 4))" (( "(") (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001ff010(iVar1,0x38);" (call_expression "FUN_001ff010(iVar1,0x38)" (identifier "FUN_001ff010") (argument_list "(iVar1,0x38)" (( "(") (identifier "iVar1") (, ",") (number_literal "0x38") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" (identifier "uVar2") (= "=") (call_expression "FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" (identifier "FUN_0007a070") (argument_list "(param_1,0x2135,param_2,param_3,param_4,param_5,param_6)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2135") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void map_pubnames_and_types_to_dies(Gdb_index * this,
   Gdb_index_info_reader * dwinfo, Relobj * object, uchar * symbols, off_t symbols_size) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *dwinfo,type_3 *object,type_4 *symbols,
          type_5 symbols_size)

{
  type_6 *var_1;
  
  this->pubnames_object_ = object;
  var_1 = this->pubnames_table_;
  *(type_7 *)&this->stmt_list_offset_ = 0xffffffff;
  *(type_7 *)((int)&this->stmt_list_offset_ + 4) = 0xffffffff;
  if (var_1 != (type_6 *)0x0) {
    if ((var_1->owns_buffer_ != false) && (var_1->buffer_ != (type_4 *)0x0)) {
      var_2(var_1->buffer_);
    }
    var_3(var_1,0x38);
  }
  var_1 = var_4(this,0x2134,dwinfo,object,symbols,symbols_size);
  this->pubnames_table_ = var_1;
  var_1 = this->pubtypes_table_;
  if (var_1 != (type_6 *)0x0) {
    if ((var_1->owns_buffer_ != false) && (var_1->buffer_ != (type_4 *)0x0)) {
      var_2(var_1->buffer_);
    }
    var_3(var_1,0x38);
  }
  var_1 = var_4(this,0x2135,dwinfo,object,symbols,symbols_size);
  this->pubtypes_table_ = var_1;
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) 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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (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: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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: (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier) (identifier) (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: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier) (identifier) (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: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

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

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

{
  int iVar1;
  undefined4 uVar2;
  
  *(undefined4 *)(param_1 + 0x11c) = param_3;
  iVar1 = *(int *)(param_1 + 100);
  *(undefined4 *)(param_1 + 0x120) = 0xffffffff;
  *(undefined4 *)(param_1 + 0x124) = 0xffffffff;
  if (iVar1 != 0) {
    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {
      FUN_001fefd0(*(int *)(iVar1 + 4));
    }
    FUN_001ff010(iVar1,0x38);
  }
  uVar2 = FUN_0007a070(param_1,0x2134,param_2,param_3,param_4,param_5,param_6);
  *(undefined4 *)(param_1 + 100) = uVar2;
  iVar1 = *(int *)(param_1 + 0x68);
  if (iVar1 != 0) {
    if ((*(char *)(iVar1 + 0xc) != '\0') && (*(int *)(iVar1 + 4) != 0)) {
      FUN_001fefd0(*(int *)(iVar1 + 4));
    }
    FUN_001ff010(iVar1,0x38);
  }
  uVar2 = FUN_0007a070(param_1,0x2135,param_2,param_3,param_4,param_5,param_6);
  *(undefined4 *)(param_1 + 0x68) = uVar2;
  return;
}

