
/* DWARF original prototype: void add_tu_set(Dwp_output_file * this, Unit_set * tu_set) */

void __thiscall gold::Dwp_output_file::add_tu_set(Dwp_output_file *this,Unit_set *tu_set)

{
  uint slot;
  
  if (*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4) &&
      (int)this->last_type_sig_ == (int)tu_set->signature) {
    slot = this->last_tu_slot_;
  }
  else {
    Dwp_index::find_or_add(&this->tu_index_,tu_set->signature,&slot);
  }
  Dwp_index::enter_set(&this->tu_index_,slot,tu_set);
  return;
}



void FUN_000379d0(int param_1,int *param_2)

{
  undefined4 local_20 [4];
  
  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {
    local_20[0] = *(undefined4 *)(param_1 + 0x130);
  }
  else {
    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);
  }
  FUN_00037700(param_1 + 0x108,local_20[0],param_2);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [EAX + 0x128]
MOV ECX,dword ptr [ESI]
LEA EDI,[EAX + 0x108]
MOV EBX,dword ptr [ESI + 0x4]
MOV EBP,dword ptr [EAX + 0x12c]
XOR EDX,ECX
XOR EBP,EBX
OR EBP,EDX
JNZ 0x00037a20
MOV EAX,dword ptr [EAX + 0x130]
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0x4
PUSH ESI
PUSH EAX
PUSH EDI
CALL 0x00037700
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ESP + 0xc]
PUSH EAX
PUSH EBX
PUSH ECX
PUSH EDI
CALL 0x00035f40
MOV EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
JMP 0x00037a08
(translation_unit "void FUN_000379d0(int param_1,int *param_2)\n\n{\n  undefined4 local_20 [4];\n  \n  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }\n  FUN_00037700(param_1 + 0x108,local_20[0],param_2);\n  return;\n}\n\n" (function_definition "void FUN_000379d0(int param_1,int *param_2)\n\n{\n  undefined4 local_20 [4];\n  \n  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }\n  FUN_00037700(param_1 + 0x108,local_20[0],param_2);\n  return;\n}" primitive_type (function_declarator "FUN_000379d0(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 local_20 [4];\n  \n  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }\n  FUN_00037700(param_1 + 0x108,local_20[0],param_2);\n  return;\n}" { (declaration "undefined4 local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (if_statement "if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2)" ( (binary_expression "*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2" (binary_expression "*(int *)(param_1 + 300) == param_2[1]" (pointer_expression "*(int *)(param_1 + 300)" * (cast_expression "(int *)(param_1 + 300)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 300)" ( (binary_expression "param_1 + 300" identifier + number_literal) )))) == (subscript_expression "param_2[1]" identifier [ number_literal ])) && (binary_expression "*(int *)(param_1 + 0x128) == *param_2" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) == (pointer_expression "*param_2" * identifier))) )) (compound_statement "{\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }" { (expression_statement "local_20[0] = *(undefined4 *)(param_1 + 0x130);" (assignment_expression "local_20[0] = *(undefined4 *)(param_1 + 0x130)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_1 + 0x130)" * (cast_expression "(undefined4 *)(param_1 + 0x130)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" else (compound_statement "{\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" { (expression_statement "FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);" (call_expression "FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20)" identifier (argument_list "(param_1 + 0x108,*param_2,param_2[1],local_20)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier ))) ;) }))) (expression_statement "FUN_00037700(param_1 + 0x108,local_20[0],param_2);" (call_expression "FUN_00037700(param_1 + 0x108,local_20[0],param_2)" identifier (argument_list "(param_1 + 0x108,local_20[0],param_2)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) , (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void add_tu_set(Dwp_output_file * this, Unit_set * tu_set) */\n\nvoid __thiscall gold::Dwp_output_file::add_tu_set(Dwp_output_file *this,Unit_set *tu_set)\n\n{\n  uint slot;\n  \n  if (*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4) &&\n      (int)this->last_type_sig_ == (int)tu_set->signature) {\n    slot = this->last_tu_slot_;\n  }\n  else {\n    Dwp_index::find_or_add(&this->tu_index_,tu_set->signature,&slot);\n  }\n  Dwp_index::enter_set(&this->tu_index_,slot,tu_set);\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Dwp_output_file::add_tu_set(Dwp_output_file *this,Unit_set *tu_set)\n\n{\n  uint slot;\n  \n  if (*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4) &&\n      (int)this->last_type_sig_ == (int)tu_set->signature) {\n    slot = this->last_tu_slot_;\n  }\n  else {\n    Dwp_index::find_or_add(&this->tu_index_,tu_set->signature,&slot);\n  }\n  Dwp_index::enter_set(&this->tu_index_,slot,tu_set);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwp_output_file::" identifier : : identifier : :) (function_declarator "add_tu_set(Dwp_output_file *this,Unit_set *tu_set)" identifier (parameter_list "(Dwp_output_file *this,Unit_set *tu_set)" ( (parameter_declaration "Dwp_output_file *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Unit_set *tu_set" type_identifier (pointer_declarator "*tu_set" * identifier)) ))) (compound_statement "{\n  uint slot;\n  \n  if (*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4) &&\n      (int)this->last_type_sig_ == (int)tu_set->signature) {\n    slot = this->last_tu_slot_;\n  }\n  else {\n    Dwp_index::find_or_add(&this->tu_index_,tu_set->signature,&slot);\n  }\n  Dwp_index::enter_set(&this->tu_index_,slot,tu_set);\n  return;\n}" { (declaration "uint slot;" type_identifier identifier ;) (if_statement "if (*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4) &&\n      (int)this->last_type_sig_ == (int)tu_set->signature) {\n    slot = this->last_tu_slot_;\n  }\n  else {\n    Dwp_index::find_or_add(&this->tu_index_,tu_set->signature,&slot);\n  }" if (parenthesized_expression "(*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4) &&\n      (int)this->last_type_sig_ == (int)tu_set->signature)" ( (binary_expression "*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4) &&\n      (int)this->last_type_sig_ == (int)tu_set->signature" (binary_expression "*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4)" (pointer_expression "*(int *)((int)&this->last_type_sig_ + 4)" * (cast_expression "(int *)((int)&this->last_type_sig_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->last_type_sig_ + 4)" ( (binary_expression "(int)&this->last_type_sig_ + 4" (cast_expression "(int)&this->last_type_sig_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->last_type_sig_" & (field_expression "this->last_type_sig_" identifier -> field_identifier))) + number_literal) )))) == (pointer_expression "*(int *)((int)&tu_set->signature + 4)" * (cast_expression "(int *)((int)&tu_set->signature + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&tu_set->signature + 4)" ( (binary_expression "(int)&tu_set->signature + 4" (cast_expression "(int)&tu_set->signature" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&tu_set->signature" & (field_expression "tu_set->signature" identifier -> field_identifier))) + number_literal) ))))) && (binary_expression "(int)this->last_type_sig_ == (int)tu_set->signature" (cast_expression "(int)this->last_type_sig_" ( (type_descriptor "int" primitive_type) ) (field_expression "this->last_type_sig_" identifier -> field_identifier)) == (cast_expression "(int)tu_set->signature" ( (type_descriptor "int" primitive_type) ) (field_expression "tu_set->signature" identifier -> field_identifier)))) )) (compound_statement "{\n    slot = this->last_tu_slot_;\n  }" { (expression_statement "slot = this->last_tu_slot_;" (assignment_expression "slot = this->last_tu_slot_" identifier = (field_expression "this->last_tu_slot_" identifier -> field_identifier)) ;) }) (else_clause "else {\n    Dwp_index::find_or_add(&this->tu_index_,tu_set->signature,&slot);\n  }" else (compound_statement "{\n    Dwp_index::find_or_add(&this->tu_index_,tu_set->signature,&slot);\n  }" { (labeled_statement "Dwp_index::find_or_add(&this->tu_index_,tu_set->signature,&slot);" statement_identifier : (ERROR ":" :) (expression_statement "find_or_add(&this->tu_index_,tu_set->signature,&slot);" (call_expression "find_or_add(&this->tu_index_,tu_set->signature,&slot)" identifier (argument_list "(&this->tu_index_,tu_set->signature,&slot)" ( (pointer_expression "&this->tu_index_" & (field_expression "this->tu_index_" identifier -> field_identifier)) , (field_expression "tu_set->signature" identifier -> field_identifier) , (pointer_expression "&slot" & identifier) ))) ;)) }))) (labeled_statement "Dwp_index::enter_set(&this->tu_index_,slot,tu_set);" statement_identifier : (ERROR ":" :) (expression_statement "enter_set(&this->tu_index_,slot,tu_set);" (call_expression "enter_set(&this->tu_index_,slot,tu_set)" identifier (argument_list "(&this->tu_index_,slot,tu_set)" ( (pointer_expression "&this->tu_index_" & (field_expression "this->tu_index_" identifier -> field_identifier)) , identifier , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000379d0(int param_1,int *param_2)\n\n{\n  undefined4 local_20 [4];\n  \n  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }\n  FUN_00037700(param_1 + 0x108,local_20[0],param_2);\n  return;\n}\n\n" (function_definition "void FUN_000379d0(int param_1,int *param_2)\n\n{\n  undefined4 local_20 [4];\n  \n  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }\n  FUN_00037700(param_1 + 0x108,local_20[0],param_2);\n  return;\n}" primitive_type (function_declarator "FUN_000379d0(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 local_20 [4];\n  \n  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }\n  FUN_00037700(param_1 + 0x108,local_20[0],param_2);\n  return;\n}" { (declaration "undefined4 local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (if_statement "if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2)" ( (binary_expression "*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2" (binary_expression "*(int *)(param_1 + 300) == param_2[1]" (pointer_expression "*(int *)(param_1 + 300)" * (cast_expression "(int *)(param_1 + 300)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 300)" ( (binary_expression "param_1 + 300" identifier + number_literal) )))) == (subscript_expression "param_2[1]" identifier [ number_literal ])) && (binary_expression "*(int *)(param_1 + 0x128) == *param_2" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) == (pointer_expression "*param_2" * identifier))) )) (compound_statement "{\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }" { (expression_statement "local_20[0] = *(undefined4 *)(param_1 + 0x130);" (assignment_expression "local_20[0] = *(undefined4 *)(param_1 + 0x130)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_1 + 0x130)" * (cast_expression "(undefined4 *)(param_1 + 0x130)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" else (compound_statement "{\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" { (expression_statement "FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);" (call_expression "FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20)" identifier (argument_list "(param_1 + 0x108,*param_2,param_2[1],local_20)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier ))) ;) }))) (expression_statement "FUN_00037700(param_1 + 0x108,local_20[0],param_2);" (call_expression "FUN_00037700(param_1 + 0x108,local_20[0],param_2)" identifier (argument_list "(param_1 + 0x108,local_20[0],param_2)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) , (subscript_expression "local_20[0]" 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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (subscript_expression IDENT [ LIT ])) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * IDENT))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000379d0(int param_1,int *param_2)\n\n{\n  undefined4 local_20 [4];\n  \n  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }\n  FUN_00037700(param_1 + 0x108,local_20[0],param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000379d0(int param_1,int *param_2)" (identifier "FUN_000379d0") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 local_20 [4];\n  \n  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }\n  FUN_00037700(param_1 + 0x108,local_20[0],param_2);\n  return;\n}" ({ "{") (declaration "undefined4 local_20 [4];" (type_identifier "undefined4") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]")) (; ";")) (if_statement "if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }\n  else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2)" (( "(") (binary_expression "*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2" (binary_expression "*(int *)(param_1 + 300) == param_2[1]" (pointer_expression "*(int *)(param_1 + 300)" (* "*") (cast_expression "(int *)(param_1 + 300)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 300)" (( "(") (binary_expression "param_1 + 300" (identifier "param_1") (+ "+") (number_literal "300")) () ")")))) (== "==") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (&& "&&") (binary_expression "*(int *)(param_1 + 0x128) == *param_2" (pointer_expression "*(int *)(param_1 + 0x128)" (* "*") (cast_expression "(int *)(param_1 + 0x128)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (== "==") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) () ")")) (compound_statement "{\n    local_20[0] = *(undefined4 *)(param_1 + 0x130);\n  }" ({ "{") (expression_statement "local_20[0] = *(undefined4 *)(param_1 + 0x130);" (assignment_expression "local_20[0] = *(undefined4 *)(param_1 + 0x130)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x130)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x130)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x130)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" (else "else") (compound_statement "{\n    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);\n  }" ({ "{") (expression_statement "FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);" (call_expression "FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20)" (identifier "FUN_00035f40") (argument_list "(param_1 + 0x108,*param_2,param_2[1],local_20)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "local_20") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_00037700(param_1 + 0x108,local_20[0],param_2);" (call_expression "FUN_00037700(param_1 + 0x108,local_20[0],param_2)" (identifier "FUN_00037700") (argument_list "(param_1 + 0x108,local_20[0],param_2)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void add_tu_set(Dwp_output_file * this, Unit_set * tu_set) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *tu_set)

{
  type_3 slot;
  
  if (*(int *)((int)&this->last_type_sig_ + 4) == *(int *)((int)&tu_set->signature + 4) &&
      (int)this->last_type_sig_ == (int)tu_set->signature) {
    slot = this->last_tu_slot_;
  }
  else {
    Dwp_index::var_1(&this->tu_index_,tu_set->signature,&slot);
  }
  Dwp_index::var_2(&this->tu_index_,slot,tu_set);
  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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (subscript_expression argument: (identifier) index: (number_literal))) right: (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: (pointer_expression argument: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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)))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier)))) (return_statement))))

void MASKED(int param_1,int *param_2)

{
  undefined4 local_20 [4];
  
  if (*(int *)(param_1 + 300) == param_2[1] && *(int *)(param_1 + 0x128) == *param_2) {
    local_20[0] = *(undefined4 *)(param_1 + 0x130);
  }
  else {
    FUN_00035f40(param_1 + 0x108,*param_2,param_2[1],local_20);
  }
  FUN_00037700(param_1 + 0x108,local_20[0],param_2);
  return;
}

