
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void unclaimed_file(Plugin_recorder * this, string * obj_name, off_t
   offset, off_t filesize) */

void __thiscall
gold::Plugin_recorder::unclaimed_file
          (Plugin_recorder *this,string *obj_name,off_t offset,off_t filesize)

{
  fprintf((FILE *)this->logfile_,"UNCLAIMED: %s",(obj_name->_M_dataplus)._M_p);
  if (-offset._4_4_ < (int)(uint)((int)offset != 0)) {
    fprintf((FILE *)this->logfile_," @%ld",(int)offset);
  }
  fprintf((FILE *)this->logfile_," %ld\n",(undefined4)filesize);
  return;
}



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

void FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)

{
  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);
  if (-param_4 < (int)(uint)(param_3 != 0)) {
    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);
  }
  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x212987
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x28]
MOV ESI,dword ptr [ESP + 0x2c]
MOV EBP,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x34]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xfff2a772]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x2c]
PUSH dword ptr [EAX + 0x8]
CALL 0x00026750
XOR EAX,EAX
ADD ESP,0x10
CMP EAX,ESI
SBB EAX,EBP
JGE 0x000ef6cc
SUB ESP,0x4
LEA EAX,[EBX + 0xfff2a766]
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [ESP + 0x2c]
PUSH dword ptr [EAX + 0x8]
CALL 0x00026750
ADD ESP,0x10
SUB ESP,0x4
LEA EAX,[EBX + 0xfff2a76c]
PUSH EDI
PUSH EAX
MOV EAX,dword ptr [ESP + 0x2c]
PUSH dword ptr [EAX + 0x8]
CALL 0x00026750
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);\n  if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }\n  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);\n  return;\n}\n\n" comment (function_definition "void FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);\n  if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }\n  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);\n  return;\n}" primitive_type (function_declarator "FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" identifier (parameter_list "(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);\n  if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }\n  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);\n  return;\n}" { (expression_statement "fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);" (call_expression "fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2)" identifier (argument_list "(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2)" ( (pointer_expression "*(FILE **)(param_1 + 8)" * (cast_expression "(FILE **)(param_1 + 8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (string_literal ""UNCLAIMED: %s"" " string_content ") , (pointer_expression "*param_2" * identifier) ))) ;) (if_statement "if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }" if (parenthesized_expression "(-param_4 < (int)(uint)(param_3 != 0))" ( (binary_expression "-param_4 < (int)(uint)(param_3 != 0)" (unary_expression "-param_4" - identifier) < (cast_expression "(int)(uint)(param_3 != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))))) )) (compound_statement "{\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }" { (expression_statement "fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3)" identifier (argument_list "(*(FILE **)(param_1 + 8)," @%ld",param_3)" ( (pointer_expression "*(FILE **)(param_1 + 8)" * (cast_expression "(FILE **)(param_1 + 8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (string_literal "" @%ld"" " string_content ") , identifier ))) ;) })) (expression_statement "fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5)" identifier (argument_list "(*(FILE **)(param_1 + 8)," %ld\n",param_5)" ( (pointer_expression "*(FILE **)(param_1 + 8)" * (cast_expression "(FILE **)(param_1 + 8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (string_literal "" %ld\n"" " string_content escape_sequence ") , 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 unclaimed_file(Plugin_recorder * this, string * obj_name, off_t\n   offset, off_t filesize) */\n\nvoid __thiscall\ngold::Plugin_recorder::unclaimed_file\n          (Plugin_recorder *this,string *obj_name,off_t offset,off_t filesize)\n\n{\n  fprintf((FILE *)this->logfile_,"UNCLAIMED: %s",(obj_name->_M_dataplus)._M_p);\n  if (-offset._4_4_ < (int)(uint)((int)offset != 0)) {\n    fprintf((FILE *)this->logfile_," @%ld",(int)offset);\n  }\n  fprintf((FILE *)this->logfile_," %ld\n",(undefined4)filesize);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Plugin_recorder::unclaimed_file\n          (Plugin_recorder *this,string *obj_name,off_t offset,off_t filesize)\n\n{\n  fprintf((FILE *)this->logfile_,"UNCLAIMED: %s",(obj_name->_M_dataplus)._M_p);\n  if (-offset._4_4_ < (int)(uint)((int)offset != 0)) {\n    fprintf((FILE *)this->logfile_," @%ld",(int)offset);\n  }\n  fprintf((FILE *)this->logfile_," %ld\n",(undefined4)filesize);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_recorder::" identifier : : identifier : :) (function_declarator "unclaimed_file\n          (Plugin_recorder *this,string *obj_name,off_t offset,off_t filesize)" identifier (parameter_list "(Plugin_recorder *this,string *obj_name,off_t offset,off_t filesize)" ( (parameter_declaration "Plugin_recorder *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *obj_name" type_identifier (pointer_declarator "*obj_name" * identifier)) , (parameter_declaration "off_t offset" type_identifier identifier) , (parameter_declaration "off_t filesize" type_identifier identifier) ))) (compound_statement "{\n  fprintf((FILE *)this->logfile_,"UNCLAIMED: %s",(obj_name->_M_dataplus)._M_p);\n  if (-offset._4_4_ < (int)(uint)((int)offset != 0)) {\n    fprintf((FILE *)this->logfile_," @%ld",(int)offset);\n  }\n  fprintf((FILE *)this->logfile_," %ld\n",(undefined4)filesize);\n  return;\n}" { (expression_statement "fprintf((FILE *)this->logfile_,"UNCLAIMED: %s",(obj_name->_M_dataplus)._M_p);" (call_expression "fprintf((FILE *)this->logfile_,"UNCLAIMED: %s",(obj_name->_M_dataplus)._M_p)" identifier (argument_list "((FILE *)this->logfile_,"UNCLAIMED: %s",(obj_name->_M_dataplus)._M_p)" ( (cast_expression "(FILE *)this->logfile_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->logfile_" identifier -> field_identifier)) , (string_literal ""UNCLAIMED: %s"" " string_content ") , (field_expression "(obj_name->_M_dataplus)._M_p" (parenthesized_expression "(obj_name->_M_dataplus)" ( (field_expression "obj_name->_M_dataplus" identifier -> field_identifier) )) . field_identifier) ))) ;) (if_statement "if (-offset._4_4_ < (int)(uint)((int)offset != 0)) {\n    fprintf((FILE *)this->logfile_," @%ld",(int)offset);\n  }" if (parenthesized_expression "(-offset._4_4_ < (int)(uint)((int)offset != 0))" ( (binary_expression "-offset._4_4_ < (int)(uint)((int)offset != 0)" (unary_expression "-offset._4_4_" - (field_expression "offset._4_4_" identifier . field_identifier)) < (cast_expression "(int)(uint)((int)offset != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)((int)offset != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)offset != 0)" ( (binary_expression "(int)offset != 0" (cast_expression "(int)offset" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) ))))) )) (compound_statement "{\n    fprintf((FILE *)this->logfile_," @%ld",(int)offset);\n  }" { (expression_statement "fprintf((FILE *)this->logfile_," @%ld",(int)offset);" (call_expression "fprintf((FILE *)this->logfile_," @%ld",(int)offset)" identifier (argument_list "((FILE *)this->logfile_," @%ld",(int)offset)" ( (cast_expression "(FILE *)this->logfile_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->logfile_" identifier -> field_identifier)) , (string_literal "" @%ld"" " string_content ") , (cast_expression "(int)offset" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (expression_statement "fprintf((FILE *)this->logfile_," %ld\n",(undefined4)filesize);" (call_expression "fprintf((FILE *)this->logfile_," %ld\n",(undefined4)filesize)" identifier (argument_list "((FILE *)this->logfile_," %ld\n",(undefined4)filesize)" ( (cast_expression "(FILE *)this->logfile_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->logfile_" identifier -> field_identifier)) , (string_literal "" %ld\n"" " string_content escape_sequence ") , (cast_expression "(undefined4)filesize" ( (type_descriptor "undefined4" type_identifier) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);\n  if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }\n  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);\n  return;\n}\n\n" (function_definition "void FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);\n  if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }\n  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);\n  return;\n}" primitive_type (function_declarator "FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" identifier (parameter_list "(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);\n  if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }\n  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);\n  return;\n}" { (expression_statement "fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);" (call_expression "fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2)" identifier (argument_list "(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2)" ( (pointer_expression "*(FILE **)(param_1 + 8)" * (cast_expression "(FILE **)(param_1 + 8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (string_literal ""UNCLAIMED: %s"" " string_content ") , (pointer_expression "*param_2" * identifier) ))) ;) (if_statement "if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }" if (parenthesized_expression "(-param_4 < (int)(uint)(param_3 != 0))" ( (binary_expression "-param_4 < (int)(uint)(param_3 != 0)" (unary_expression "-param_4" - identifier) < (cast_expression "(int)(uint)(param_3 != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))))) )) (compound_statement "{\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }" { (expression_statement "fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3)" identifier (argument_list "(*(FILE **)(param_1 + 8)," @%ld",param_3)" ( (pointer_expression "*(FILE **)(param_1 + 8)" * (cast_expression "(FILE **)(param_1 + 8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (string_literal "" @%ld"" " string_content ") , identifier ))) ;) })) (expression_statement "fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5)" identifier (argument_list "(*(FILE **)(param_1 + 8)," %ld\n",param_5)" ( (pointer_expression "*(FILE **)(param_1 + 8)" * (cast_expression "(FILE **)(param_1 + 8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (string_literal "" %ld\n"" " string_content escape_sequence ") , 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)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (string_literal " string_content ") , (pointer_expression * IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (unary_expression - IDENT) < (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (string_literal " string_content escape_sequence ") , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)\n\n{\n  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);\n  if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }\n  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000ef670(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" (identifier "FUN_000ef670") (parameter_list "(int param_1,undefined4 *param_2,int param_3,int param_4,undefined4 param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);\n  if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }\n  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);\n  return;\n}" ({ "{") (expression_statement "fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);" (call_expression "fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2)" (identifier "fprintf") (argument_list "(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2)" (( "(") (pointer_expression "*(FILE **)(param_1 + 8)" (* "*") (cast_expression "(FILE **)(param_1 + 8)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (string_literal ""UNCLAIMED: %s"" (" """) (string_content "UNCLAIMED: %s") (" """)) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (if_statement "if (-param_4 < (int)(uint)(param_3 != 0)) {\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }" (if "if") (parenthesized_expression "(-param_4 < (int)(uint)(param_3 != 0))" (( "(") (binary_expression "-param_4 < (int)(uint)(param_3 != 0)" (unary_expression "-param_4" (- "-") (identifier "param_4")) (< "<") (cast_expression "(int)(uint)(param_3 != 0)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")"))))) () ")")) (compound_statement "{\n    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);\n  }" ({ "{") (expression_statement "fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3)" (identifier "fprintf") (argument_list "(*(FILE **)(param_1 + 8)," @%ld",param_3)" (( "(") (pointer_expression "*(FILE **)(param_1 + 8)" (* "*") (cast_expression "(FILE **)(param_1 + 8)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (string_literal "" @%ld"" (" """) (string_content " @%ld") (" """)) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5)" (identifier "fprintf") (argument_list "(*(FILE **)(param_1 + 8)," %ld\n",param_5)" (( "(") (pointer_expression "*(FILE **)(param_1 + 8)" (* "*") (cast_expression "(FILE **)(param_1 + 8)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (string_literal "" %ld\n"" (" """) (string_content " %ld") (escape_sequence "\n") (" """)) (, ",") (identifier "param_5") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void unclaimed_file(Plugin_recorder * this, string * obj_name, off_t
   offset, off_t filesize) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *obj_name,type_3 offset,type_3 filesize)

{
  var_1((type_4 *)this->logfile_,"UNCLAIMED: %s",(obj_name->_M_dataplus)._M_p);
  if (-offset._4_4_ < (int)(uint)((int)offset != 0)) {
    var_1((type_4 *)this->logfile_," @%ld",(int)offset);
  }
  var_1((type_4 *)this->logfile_," %ld\n",(type_5)filesize);
  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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (string_literal (string_content)) (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (string_literal (string_content)) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (string_literal (string_content) (escape_sequence)) (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,int param_3,int param_4,undefined4 param_5)

{
  fprintf(*(FILE **)(param_1 + 8),"UNCLAIMED: %s",*param_2);
  if (-param_4 < (int)(uint)(param_3 != 0)) {
    fprintf(*(FILE **)(param_1 + 8)," @%ld",param_3);
  }
  fprintf(*(FILE **)(param_1 + 8)," %ld\n",param_5);
  return;
}

