
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void print_memory_map_header(Mapfile * this) */

void __thiscall gold::Mapfile::print_memory_map_header(Mapfile *this)

{
  undefined4 *in_EAX;
  char *__format;
  
  __format = (char *)gettext("\nMemory map\n\n");
  fprintf((FILE *)*in_EAX,__format);
  *(undefined1 *)((int)in_EAX + 6) = 1;
  return;
}



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

void __regparm3 FUN_000b00f0(undefined4 *param_1)

{
  char *__format;
  
  __format = (char *)gettext("\nMemory map\n\n");
  fprintf((FILE *)*param_1,__format);
  *(undefined1 *)((int)param_1 + 6) = 1;
  return;
}


PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00035840
ADD EBX,0x2def07
SUB ESP,0x10
LEA EAX,[EBX + 0xffefce32]
PUSH EAX
CALL 0x000293b0
POP EDX
POP ECX
PUSH EAX
PUSH dword ptr [ESI]
CALL 0x00029750
MOV byte ptr [ESI + 0x6],0x1
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000b00f0(undefined4 *param_1)\n\n{\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*param_1,__format);\n  *(undefined1 *)((int)param_1 + 6) = 1;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000b00f0(undefined4 *param_1)\n\n{\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*param_1,__format);\n  *(undefined1 *)((int)param_1 + 6) = 1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000b00f0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*param_1,__format);\n  *(undefined1 *)((int)param_1 + 6) = 1;\n  return;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "__format = (char *)gettext("\nMemory map\n\n");" (assignment_expression "__format = (char *)gettext("\nMemory map\n\n")" identifier = (cast_expression "(char *)gettext("\nMemory map\n\n")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("\nMemory map\n\n")" identifier (argument_list "("\nMemory map\n\n")" ( (string_literal ""\nMemory map\n\n"" " escape_sequence string_content escape_sequence escape_sequence ") ))))) ;) (expression_statement "fprintf((FILE *)*param_1,__format);" (call_expression "fprintf((FILE *)*param_1,__format)" identifier (argument_list "((FILE *)*param_1,__format)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , identifier ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" * (cast_expression "(undefined1 *)((int)param_1 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 6)" ( (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (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 print_memory_map_header(Mapfile * this) */\n\nvoid __thiscall gold::Mapfile::print_memory_map_header(Mapfile *this)\n\n{\n  undefined4 *in_EAX;\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*in_EAX,__format);\n  *(undefined1 *)((int)in_EAX + 6) = 1;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Mapfile::print_memory_map_header(Mapfile *this)\n\n{\n  undefined4 *in_EAX;\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*in_EAX,__format);\n  *(undefined1 *)((int)in_EAX + 6) = 1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Mapfile::" identifier : : identifier : :) (function_declarator "print_memory_map_header(Mapfile *this)" identifier (parameter_list "(Mapfile *this)" ( (parameter_declaration "Mapfile *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  undefined4 *in_EAX;\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*in_EAX,__format);\n  *(undefined1 *)((int)in_EAX + 6) = 1;\n  return;\n}" { (declaration "undefined4 *in_EAX;" type_identifier (pointer_declarator "*in_EAX" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "__format = (char *)gettext("\nMemory map\n\n");" (assignment_expression "__format = (char *)gettext("\nMemory map\n\n")" identifier = (cast_expression "(char *)gettext("\nMemory map\n\n")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("\nMemory map\n\n")" identifier (argument_list "("\nMemory map\n\n")" ( (string_literal ""\nMemory map\n\n"" " escape_sequence string_content escape_sequence escape_sequence ") ))))) ;) (expression_statement "fprintf((FILE *)*in_EAX,__format);" (call_expression "fprintf((FILE *)*in_EAX,__format)" identifier (argument_list "((FILE *)*in_EAX,__format)" ( (cast_expression "(FILE *)*in_EAX" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*in_EAX" * identifier)) , identifier ))) ;) (expression_statement "*(undefined1 *)((int)in_EAX + 6) = 1;" (assignment_expression "*(undefined1 *)((int)in_EAX + 6) = 1" (pointer_expression "*(undefined1 *)((int)in_EAX + 6)" * (cast_expression "(undefined1 *)((int)in_EAX + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)in_EAX + 6)" ( (binary_expression "(int)in_EAX + 6" (cast_expression "(int)in_EAX" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000b00f0(undefined4 *param_1)\n\n{\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*param_1,__format);\n  *(undefined1 *)((int)param_1 + 6) = 1;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000b00f0(undefined4 *param_1)\n\n{\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*param_1,__format);\n  *(undefined1 *)((int)param_1 + 6) = 1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000b00f0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*param_1,__format);\n  *(undefined1 *)((int)param_1 + 6) = 1;\n  return;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "__format = (char *)gettext("\nMemory map\n\n");" (assignment_expression "__format = (char *)gettext("\nMemory map\n\n")" identifier = (cast_expression "(char *)gettext("\nMemory map\n\n")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("\nMemory map\n\n")" identifier (argument_list "("\nMemory map\n\n")" ( (string_literal ""\nMemory map\n\n"" " escape_sequence string_content escape_sequence escape_sequence ") ))))) ;) (expression_statement "fprintf((FILE *)*param_1,__format);" (call_expression "fprintf((FILE *)*param_1,__format)" identifier (argument_list "((FILE *)*param_1,__format)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , identifier ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" * (cast_expression "(undefined1 *)((int)param_1 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 6)" ( (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content escape_sequence escape_sequence ") ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000b00f0(undefined4 *param_1)\n\n{\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*param_1,__format);\n  *(undefined1 *)((int)param_1 + 6) = 1;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000b00f0(undefined4 *param_1)" (identifier "FUN_000b00f0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *__format;\n  \n  __format = (char *)gettext("\nMemory map\n\n");\n  fprintf((FILE *)*param_1,__format);\n  *(undefined1 *)((int)param_1 + 6) = 1;\n  return;\n}" ({ "{") (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (expression_statement "__format = (char *)gettext("\nMemory map\n\n");" (assignment_expression "__format = (char *)gettext("\nMemory map\n\n")" (identifier "__format") (= "=") (cast_expression "(char *)gettext("\nMemory map\n\n")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "gettext("\nMemory map\n\n")" (identifier "gettext") (argument_list "("\nMemory map\n\n")" (( "(") (string_literal ""\nMemory map\n\n"" (" """) (escape_sequence "\n") (string_content "Memory map") (escape_sequence "\n") (escape_sequence "\n") (" """)) () ")"))))) (; ";")) (expression_statement "fprintf((FILE *)*param_1,__format);" (call_expression "fprintf((FILE *)*param_1,__format)" (identifier "fprintf") (argument_list "((FILE *)*param_1,__format)" (( "(") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (identifier "__format") () ")"))) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 6)" (( "(") (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void print_memory_map_header(Mapfile * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  type_2 *in_EAX;
  char *__format;
  
  __format = (char *)var_1("\nMemory map\n\n");
  var_2((type_3 *)*in_EAX,__format);
  *(type_4 *)((int)in_EAX + 6) = 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (string_literal (escape_sequence) (string_content) (escape_sequence) (escape_sequence))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (return_statement))))

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

void __regparm3 MASKED(undefined4 *param_1)

{
  char *__format;
  
  __format = (char *)gettext("\nMemory map\n\n");
  fprintf((FILE *)*param_1,__format);
  *(undefined1 *)((int)param_1 + 6) = 1;
  return;
}

