
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void print_output_data(Mapfile * this, Output_data * od, char * name)
    */

void __thiscall gold::Mapfile::print_output_data(Mapfile *this,Output_data *od,char *name)

{
  int iVar1;
  size_t sVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  Mapfile *in_stack_ffffffa4;
  char sizebuf [50];
  
  if (this->printed_memory_map_header_ == false) {
    print_memory_map_header(in_stack_ffffffa4);
  }
  putc(0x20,(FILE *)this->map_file_);
  fputs(name,(FILE *)this->map_file_);
  sVar2 = strlen(name);
  advance_to_column(this,sVar2 + 1,0x10);
  snprintf(sizebuf,0x32,"0x%llx",(int)od->data_size_,*(undefined4 *)((int)&od->data_size_ + 4));
  uVar3 = 0;
  uVar5 = 0;
  if ((od->field_0x1c & 1) != 0) {
    uVar3 = (undefined4)od->address_;
    uVar5 = *(undefined4 *)((int)&od->address_ + 4);
  }
  if (parameters->target_ != (Target *)0x0) {
    iVar1 = **(int **)(parameters->target_ + 4);
    iVar4 = iVar1 + 3;
    if (-1 < iVar1) {
      iVar4 = iVar1;
    }
    fprintf((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.h",0x69,"target");
}



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

void FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)

{
  int iVar1;
  size_t sVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  char local_4e [58];
  undefined4 uStack_14;
  
  uStack_14 = 0xb05a9;
  if (*(char *)((int)param_1 + 6) == '\0') {
    FUN_000b00f0();
  }
  putc(0x20,(FILE *)*param_1);
  fputs(param_3,(FILE *)*param_1);
  sVar2 = strlen(param_3);
  FUN_000b0290(param_1,sVar2 + 1,0x10);
  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));
  uVar3 = 0;
  uVar5 = 0;
  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {
    uVar3 = *(undefined4 *)(param_2 + 4);
    uVar5 = *(undefined4 *)(param_2 + 8);
  }
  if (*(int *)(DAT_0038f378 + 0xc) != 0) {
    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);
    iVar4 = iVar1 + 3;
    if (-1 < iVar1) {
      iVar4 = iVar1;
    }
    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2dea57
SUB ESP,0x4c
MOV ESI,dword ptr [ESP + 0x60]
MOV EBP,dword ptr [ESP + 0x64]
MOV EDI,dword ptr [ESP + 0x68]
CMP byte ptr [ESI + 0x6],0x0
JZ 0x000b0660
SUB ESP,0x8
PUSH dword ptr [ESI]
PUSH 0x20
CALL 0x00029950
POP EDX
POP ECX
PUSH dword ptr [ESI]
PUSH EDI
CALL 0x00029060
MOV dword ptr [ESP],EDI
CALL 0x000295f0
ADD ESP,0xc
ADD EAX,0x1
PUSH 0x10
PUSH EAX
PUSH ESI
CALL 0x000b0290
LEA EAX,[EBX + 0xffefceab]
POP EDI
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0xc]
PUSH EAX
PUSH 0x32
LEA EDI,[ESP + 0x2a]
PUSH EDI
CALL 0x00029a40
ADD ESP,0x20
XOR EAX,EAX
XOR EDX,EDX
TEST byte ptr [EBP + 0x1c],0x1
JZ 0x000b0622
MOV EAX,dword ptr [EBP + 0x4]
MOV EDX,dword ptr [EBP + 0x8]
LEA ECX,[EBX + 0x378]
MOV ECX,dword ptr [ECX]
MOV ECX,dword ptr [ECX + 0xc]
TEST ECX,ECX
JZ 0x000b066c
SUB ESP,0x8
PUSH EDI
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [ECX + 0x4]
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
LEA EAX,[EDX + 0x3]
CMOVNS EAX,EDX
SAR EAX,0x2
PUSH EAX
LEA EAX,[EBX + 0xffefceb2]
PUSH EAX
PUSH dword ptr [ESI]
CALL 0x00029750
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
CALL 0x000b00f0
JMP 0x000b05c8
PUSH EAX
LEA EAX,[EBX + 0xffefd000]
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x69
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb05a9;\n  if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }\n  putc(0x20,(FILE *)*param_1);\n  fputs(param_3,(FILE *)*param_1);\n  sVar2 = strlen(param_3);\n  FUN_000b0290(param_1,sVar2 + 1,0x10);\n  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);\n}\n\n" comment (function_definition "void FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb05a9;\n  if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }\n  putc(0x20,(FILE *)*param_1);\n  fputs(param_3,(FILE *)*param_1);\n  sVar2 = strlen(param_3);\n  FUN_000b0290(param_1,sVar2 + 1,0x10);\n  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);\n}" primitive_type (function_declarator "FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,char *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb05a9;\n  if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }\n  putc(0x20,(FILE *)*param_1);\n  fputs(param_3,(FILE *)*param_1);\n  sVar2 = strlen(param_3);\n  FUN_000b0290(param_1,sVar2 + 1,0x10);\n  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char local_4e [58];" primitive_type (array_declarator "local_4e [58]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xb05a9;" (assignment_expression "uStack_14 = 0xb05a9" identifier = number_literal) ;) (if_statement "if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + 6) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 6) == '\0'" (pointer_expression "*(char *)((int)param_1 + 6)" * (cast_expression "(char *)((int)param_1 + 6)" ( (type_descriptor "char *" primitive_type (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) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_000b00f0();\n  }" { (expression_statement "FUN_000b00f0();" (call_expression "FUN_000b00f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "putc(0x20,(FILE *)*param_1);" (call_expression "putc(0x20,(FILE *)*param_1)" identifier (argument_list "(0x20,(FILE *)*param_1)" ( number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) (expression_statement "fputs(param_3,(FILE *)*param_1);" (call_expression "fputs(param_3,(FILE *)*param_1)" identifier (argument_list "(param_3,(FILE *)*param_1)" ( identifier , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) (expression_statement "sVar2 = strlen(param_3);" (assignment_expression "sVar2 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "FUN_000b0290(param_1,sVar2 + 1,0x10);" (call_expression "FUN_000b0290(param_1,sVar2 + 1,0x10)" identifier (argument_list "(param_1,sVar2 + 1,0x10)" ( identifier , (binary_expression "sVar2 + 1" identifier + number_literal) , number_literal ))) ;) (expression_statement "snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));" (call_expression "snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10))" identifier (argument_list "(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10))" ( identifier , number_literal , (string_literal ""0x%llx"" " string_content ") , (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x1c) & 1)" ( (binary_expression "*(byte *)(param_2 + 0x1c) & 1" (pointer_expression "*(byte *)(param_2 + 0x1c)" * (cast_expression "(byte *)(param_2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }" { (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_2 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_2 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }" { (expression_statement "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "**(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) )))))) ;) (expression_statement "iVar4 = iVar1 + 3;" (assignment_expression "iVar4 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n      iVar4 = iVar1;\n    }" { (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) })) (expression_statement "fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);" (call_expression "fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e)" identifier (argument_list "((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""0x%0*llx %10s\n"" " string_content escape_sequence ") , (binary_expression "iVar4 >> 2" identifier >> number_literal) , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",uVar3)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void print_output_data(Mapfile * this, Output_data * od, char * name)\n    */\n\nvoid __thiscall gold::Mapfile::print_output_data(Mapfile *this,Output_data *od,char *name)\n\n{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  Mapfile *in_stack_ffffffa4;\n  char sizebuf [50];\n  \n  if (this->printed_memory_map_header_ == false) {\n    print_memory_map_header(in_stack_ffffffa4);\n  }\n  putc(0x20,(FILE *)this->map_file_);\n  fputs(name,(FILE *)this->map_file_);\n  sVar2 = strlen(name);\n  advance_to_column(this,sVar2 + 1,0x10);\n  snprintf(sizebuf,0x32,"0x%llx",(int)od->data_size_,*(undefined4 *)((int)&od->data_size_ + 4));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((od->field_0x1c & 1) != 0) {\n    uVar3 = (undefined4)od->address_;\n    uVar5 = *(undefined4 *)((int)&od->address_ + 4);\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Mapfile::print_output_data(Mapfile *this,Output_data *od,char *name)\n\n{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  Mapfile *in_stack_ffffffa4;\n  char sizebuf [50];\n  \n  if (this->printed_memory_map_header_ == false) {\n    print_memory_map_header(in_stack_ffffffa4);\n  }\n  putc(0x20,(FILE *)this->map_file_);\n  fputs(name,(FILE *)this->map_file_);\n  sVar2 = strlen(name);\n  advance_to_column(this,sVar2 + 1,0x10);\n  snprintf(sizebuf,0x32,"0x%llx",(int)od->data_size_,*(undefined4 *)((int)&od->data_size_ + 4));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((od->field_0x1c & 1) != 0) {\n    uVar3 = (undefined4)od->address_;\n    uVar5 = *(undefined4 *)((int)&od->address_ + 4);\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Mapfile::" identifier : : identifier : :) (function_declarator "print_output_data(Mapfile *this,Output_data *od,char *name)" identifier (parameter_list "(Mapfile *this,Output_data *od,char *name)" ( (parameter_declaration "Mapfile *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_data *od" type_identifier (pointer_declarator "*od" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  Mapfile *in_stack_ffffffa4;\n  char sizebuf [50];\n  \n  if (this->printed_memory_map_header_ == false) {\n    print_memory_map_header(in_stack_ffffffa4);\n  }\n  putc(0x20,(FILE *)this->map_file_);\n  fputs(name,(FILE *)this->map_file_);\n  sVar2 = strlen(name);\n  advance_to_column(this,sVar2 + 1,0x10);\n  snprintf(sizebuf,0x32,"0x%llx",(int)od->data_size_,*(undefined4 *)((int)&od->data_size_ + 4));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((od->field_0x1c & 1) != 0) {\n    uVar3 = (undefined4)od->address_;\n    uVar5 = *(undefined4 *)((int)&od->address_ + 4);\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "Mapfile *in_stack_ffffffa4;" type_identifier (pointer_declarator "*in_stack_ffffffa4" * identifier) ;) (declaration "char sizebuf [50];" primitive_type (array_declarator "sizebuf [50]" identifier [ number_literal ]) ;) (if_statement "if (this->printed_memory_map_header_ == false) {\n    print_memory_map_header(in_stack_ffffffa4);\n  }" if (parenthesized_expression "(this->printed_memory_map_header_ == false)" ( (binary_expression "this->printed_memory_map_header_ == false" (field_expression "this->printed_memory_map_header_" identifier -> field_identifier) == false) )) (compound_statement "{\n    print_memory_map_header(in_stack_ffffffa4);\n  }" { (expression_statement "print_memory_map_header(in_stack_ffffffa4);" (call_expression "print_memory_map_header(in_stack_ffffffa4)" identifier (argument_list "(in_stack_ffffffa4)" ( identifier ))) ;) })) (expression_statement "putc(0x20,(FILE *)this->map_file_);" (call_expression "putc(0x20,(FILE *)this->map_file_)" identifier (argument_list "(0x20,(FILE *)this->map_file_)" ( number_literal , (cast_expression "(FILE *)this->map_file_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->map_file_" identifier -> field_identifier)) ))) ;) (expression_statement "fputs(name,(FILE *)this->map_file_);" (call_expression "fputs(name,(FILE *)this->map_file_)" identifier (argument_list "(name,(FILE *)this->map_file_)" ( identifier , (cast_expression "(FILE *)this->map_file_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->map_file_" identifier -> field_identifier)) ))) ;) (expression_statement "sVar2 = strlen(name);" (assignment_expression "sVar2 = strlen(name)" identifier = (call_expression "strlen(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "advance_to_column(this,sVar2 + 1,0x10);" (call_expression "advance_to_column(this,sVar2 + 1,0x10)" identifier (argument_list "(this,sVar2 + 1,0x10)" ( identifier , (binary_expression "sVar2 + 1" identifier + number_literal) , number_literal ))) ;) (expression_statement "snprintf(sizebuf,0x32,"0x%llx",(int)od->data_size_,*(undefined4 *)((int)&od->data_size_ + 4));" (call_expression "snprintf(sizebuf,0x32,"0x%llx",(int)od->data_size_,*(undefined4 *)((int)&od->data_size_ + 4))" identifier (argument_list "(sizebuf,0x32,"0x%llx",(int)od->data_size_,*(undefined4 *)((int)&od->data_size_ + 4))" ( identifier , number_literal , (string_literal ""0x%llx"" " string_content ") , (cast_expression "(int)od->data_size_" ( (type_descriptor "int" primitive_type) ) (field_expression "od->data_size_" identifier -> field_identifier)) , (pointer_expression "*(undefined4 *)((int)&od->data_size_ + 4)" * (cast_expression "(undefined4 *)((int)&od->data_size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&od->data_size_ + 4)" ( (binary_expression "(int)&od->data_size_ + 4" (cast_expression "(int)&od->data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&od->data_size_" & (field_expression "od->data_size_" identifier -> field_identifier))) + number_literal) )))) ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if ((od->field_0x1c & 1) != 0) {\n    uVar3 = (undefined4)od->address_;\n    uVar5 = *(undefined4 *)((int)&od->address_ + 4);\n  }" if (parenthesized_expression "((od->field_0x1c & 1) != 0)" ( (binary_expression "(od->field_0x1c & 1) != 0" (parenthesized_expression "(od->field_0x1c & 1)" ( (binary_expression "od->field_0x1c & 1" (field_expression "od->field_0x1c" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar3 = (undefined4)od->address_;\n    uVar5 = *(undefined4 *)((int)&od->address_ + 4);\n  }" { (expression_statement "uVar3 = (undefined4)od->address_;" (assignment_expression "uVar3 = (undefined4)od->address_" identifier = (cast_expression "(undefined4)od->address_" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "od->address_" identifier -> field_identifier))) ;) (expression_statement "uVar5 = *(undefined4 *)((int)&od->address_ + 4);" (assignment_expression "uVar5 = *(undefined4 *)((int)&od->address_ + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&od->address_ + 4)" * (cast_expression "(undefined4 *)((int)&od->address_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&od->address_ + 4)" ( (binary_expression "(int)&od->address_ + 4" (cast_expression "(int)&od->address_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&od->address_" & (field_expression "od->address_" identifier -> field_identifier))) + number_literal) ))))) ;) })) (if_statement "if (parameters->target_ != (Target *)0x0) {\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf);\n    return;\n  }" if (parenthesized_expression "(parameters->target_ != (Target *)0x0)" ( (binary_expression "parameters->target_ != (Target *)0x0" (field_expression "parameters->target_" identifier -> field_identifier) != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf);\n    return;\n  }" { (expression_statement "iVar1 = **(int **)(parameters->target_ + 4);" (assignment_expression "iVar1 = **(int **)(parameters->target_ + 4)" identifier = (pointer_expression "**(int **)(parameters->target_ + 4)" * (pointer_expression "*(int **)(parameters->target_ + 4)" * (cast_expression "(int **)(parameters->target_ + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(parameters->target_ + 4)" ( (binary_expression "parameters->target_ + 4" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) )))))) ;) (expression_statement "iVar4 = iVar1 + 3;" (assignment_expression "iVar4 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n      iVar4 = iVar1;\n    }" { (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) })) (expression_statement "fprintf((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf);" (call_expression "fprintf((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf)" identifier (argument_list "((FILE *)this->map_file_,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,sizebuf)" ( (cast_expression "(FILE *)this->map_file_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->map_file_" identifier -> field_identifier)) , (string_literal ""0x%0*llx %10s\n"" " string_content escape_sequence ") , (binary_expression "iVar4 >> 2" identifier >> number_literal) , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })))
(translation_unit "void FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb05a9;\n  if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }\n  putc(0x20,(FILE *)*param_1);\n  fputs(param_3,(FILE *)*param_1);\n  sVar2 = strlen(param_3);\n  FUN_000b0290(param_1,sVar2 + 1,0x10);\n  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);\n}\n\n" (function_definition "void FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb05a9;\n  if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }\n  putc(0x20,(FILE *)*param_1);\n  fputs(param_3,(FILE *)*param_1);\n  sVar2 = strlen(param_3);\n  FUN_000b0290(param_1,sVar2 + 1,0x10);\n  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);\n}" primitive_type (function_declarator "FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,char *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb05a9;\n  if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }\n  putc(0x20,(FILE *)*param_1);\n  fputs(param_3,(FILE *)*param_1);\n  sVar2 = strlen(param_3);\n  FUN_000b0290(param_1,sVar2 + 1,0x10);\n  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char local_4e [58];" primitive_type (array_declarator "local_4e [58]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xb05a9;" (assignment_expression "uStack_14 = 0xb05a9" identifier = number_literal) ;) (if_statement "if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + 6) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 6) == '\0'" (pointer_expression "*(char *)((int)param_1 + 6)" * (cast_expression "(char *)((int)param_1 + 6)" ( (type_descriptor "char *" primitive_type (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) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_000b00f0();\n  }" { (expression_statement "FUN_000b00f0();" (call_expression "FUN_000b00f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "putc(0x20,(FILE *)*param_1);" (call_expression "putc(0x20,(FILE *)*param_1)" identifier (argument_list "(0x20,(FILE *)*param_1)" ( number_literal , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) (expression_statement "fputs(param_3,(FILE *)*param_1);" (call_expression "fputs(param_3,(FILE *)*param_1)" identifier (argument_list "(param_3,(FILE *)*param_1)" ( identifier , (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) (expression_statement "sVar2 = strlen(param_3);" (assignment_expression "sVar2 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "FUN_000b0290(param_1,sVar2 + 1,0x10);" (call_expression "FUN_000b0290(param_1,sVar2 + 1,0x10)" identifier (argument_list "(param_1,sVar2 + 1,0x10)" ( identifier , (binary_expression "sVar2 + 1" identifier + number_literal) , number_literal ))) ;) (expression_statement "snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));" (call_expression "snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10))" identifier (argument_list "(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10))" ( identifier , number_literal , (string_literal ""0x%llx"" " string_content ") , (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x1c) & 1)" ( (binary_expression "*(byte *)(param_2 + 0x1c) & 1" (pointer_expression "*(byte *)(param_2 + 0x1c)" * (cast_expression "(byte *)(param_2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }" { (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_2 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_2 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }" { (expression_statement "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "**(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) )))))) ;) (expression_statement "iVar4 = iVar1 + 3;" (assignment_expression "iVar4 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n      iVar4 = iVar1;\n    }" { (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) })) (expression_statement "fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);" (call_expression "fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e)" identifier (argument_list "((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e)" ( (cast_expression "(FILE *)*param_1" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (string_literal ""0x%0*llx %10s\n"" " string_content escape_sequence ") , (binary_expression "iVar4 >> 2" identifier >> number_literal) , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",uVar3)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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) )))) & LIT) )) != LIT) )) (compound_statement { (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (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 (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (string_literal " string_content escape_sequence ") , (binary_expression IDENT >> LIT) , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb05a9;\n  if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }\n  putc(0x20,(FILE *)*param_1);\n  fputs(param_3,(FILE *)*param_1);\n  sVar2 = strlen(param_3);\n  FUN_000b0290(param_1,sVar2 + 1,0x10);\n  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);\n}" (primitive_type "void") (function_declarator "FUN_000b05a0(undefined4 *param_1,int param_2,char *param_3)" (identifier "FUN_000b05a0") (parameter_list "(undefined4 *param_1,int param_2,char *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb05a9;\n  if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }\n  putc(0x20,(FILE *)*param_1);\n  fputs(param_3,(FILE *)*param_1);\n  sVar2 = strlen(param_3);\n  FUN_000b0290(param_1,sVar2 + 1,0x10);\n  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));\n  uVar3 = 0;\n  uVar5 = 0;\n  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char local_4e [58];" (primitive_type "char") (array_declarator "local_4e [58]" (identifier "local_4e") ([ "[") (number_literal "58") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xb05a9;" (assignment_expression "uStack_14 = 0xb05a9" (identifier "uStack_14") (= "=") (number_literal "0xb05a9")) (; ";")) (if_statement "if (*(char *)((int)param_1 + 6) == '\0') {\n    FUN_000b00f0();\n  }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + 6) == '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 6) == '\0'" (pointer_expression "*(char *)((int)param_1 + 6)" (* "*") (cast_expression "(char *)((int)param_1 + 6)" (( "(") (type_descriptor "char *" (primitive_type "char") (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")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_000b00f0();\n  }" ({ "{") (expression_statement "FUN_000b00f0();" (call_expression "FUN_000b00f0()" (identifier "FUN_000b00f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "putc(0x20,(FILE *)*param_1);" (call_expression "putc(0x20,(FILE *)*param_1)" (identifier "putc") (argument_list "(0x20,(FILE *)*param_1)" (( "(") (number_literal "0x20") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (expression_statement "fputs(param_3,(FILE *)*param_1);" (call_expression "fputs(param_3,(FILE *)*param_1)" (identifier "fputs") (argument_list "(param_3,(FILE *)*param_1)" (( "(") (identifier "param_3") (, ",") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (expression_statement "sVar2 = strlen(param_3);" (assignment_expression "sVar2 = strlen(param_3)" (identifier "sVar2") (= "=") (call_expression "strlen(param_3)" (identifier "strlen") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "FUN_000b0290(param_1,sVar2 + 1,0x10);" (call_expression "FUN_000b0290(param_1,sVar2 + 1,0x10)" (identifier "FUN_000b0290") (argument_list "(param_1,sVar2 + 1,0x10)" (( "(") (identifier "param_1") (, ",") (binary_expression "sVar2 + 1" (identifier "sVar2") (+ "+") (number_literal "1")) (, ",") (number_literal "0x10") () ")"))) (; ";")) (expression_statement "snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));" (call_expression "snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10))" (identifier "snprintf") (argument_list "(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10))" (( "(") (identifier "local_4e") (, ",") (number_literal "0x32") (, ",") (string_literal ""0x%llx"" (" """) (string_content "0x%llx") (" """)) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x1c) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)(param_2 + 0x1c) & 1" (pointer_expression "*(byte *)(param_2 + 0x1c)" (* "*") (cast_expression "(byte *)(param_2 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_2 + 4);\n    uVar5 = *(undefined4 *)(param_2 + 8);\n  }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(param_2 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_2 + 8)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    iVar4 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }\n    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);\n    return;\n  }" ({ "{") (expression_statement "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (identifier "iVar1") (= "=") (pointer_expression "**(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "iVar4 = iVar1 + 3;" (assignment_expression "iVar4 = iVar1 + 3" (identifier "iVar4") (= "=") (binary_expression "iVar1 + 3" (identifier "iVar1") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (-1 < iVar1) {\n      iVar4 = iVar1;\n    }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n      iVar4 = iVar1;\n    }" ({ "{") (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" (identifier "iVar4") (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (expression_statement "fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);" (call_expression "fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e)" (identifier "fprintf") (argument_list "((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e)" (( "(") (cast_expression "(FILE *)*param_1" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (string_literal ""0x%0*llx %10s\n"" (" """) (string_content "0x%0*llx %10s") (escape_sequence "\n") (" """)) (, ",") (binary_expression "iVar4 >> 2" (identifier "iVar4") (>> ">>") (number_literal "2")) (, ",") (identifier "uVar3") (, ",") (identifier "uVar5") (, ",") (identifier "local_4e") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x69,"target",uVar3)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void print_output_data(Mapfile * this, Output_data * od, char * name)
    */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *od,char *name)

{
  int var_8;
  size_t var_6;
  type_3 uVar3;
  int var_10;
  type_3 uVar5;
  type_1 *in_stack_ffffffa4;
  char sizebuf [50];
  
  if (this->printed_memory_map_header_ == false) {
    var_1(in_stack_ffffffa4);
  }
  var_2(0x20,(type_4 *)this->map_file_);
  var_3(name,(type_4 *)this->map_file_);
  var_6 = var_4(name);
  var_5(this,var_6 + 1,0x10);
  var_7(sizebuf,0x32,"0x%llx",(int)od->data_size_,*(type_3 *)((int)&od->data_size_ + 4));
  uVar3 = 0;
  uVar5 = 0;
  if ((od->field_0x1c & 1) != 0) {
    uVar3 = (type_3)od->address_;
    uVar5 = *(type_3 *)((int)&od->address_ + 4);
  }
  if (parameters->target_ != (type_5 *)0x0) {
    var_8 = **(int **)(parameters->target_ + 4);
    var_10 = var_8 + 3;
    if (-1 < var_8) {
      var_10 = var_8;
    }
    var_9((type_4 *)this->map_file_,"0x%0*llx %10s\n",var_10 >> 2,uVar3,uVar5,sizebuf);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_11("../../gold/parameters.h",0x69,"target");
}


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

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

void MASKED(undefined4 *param_1,int param_2,char *param_3)

{
  int iVar1;
  size_t sVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  char local_4e [58];
  undefined4 uStack_14;
  
  uStack_14 = 0xb05a9;
  if (*(char *)((int)param_1 + 6) == '\0') {
    FUN_000b00f0();
  }
  putc(0x20,(FILE *)*param_1);
  fputs(param_3,(FILE *)*param_1);
  sVar2 = strlen(param_3);
  FUN_000b0290(param_1,sVar2 + 1,0x10);
  snprintf(local_4e,0x32,"0x%llx",*(undefined4 *)(param_2 + 0xc),*(undefined4 *)(param_2 + 0x10));
  uVar3 = 0;
  uVar5 = 0;
  if ((*(byte *)(param_2 + 0x1c) & 1) != 0) {
    uVar3 = *(undefined4 *)(param_2 + 4);
    uVar5 = *(undefined4 *)(param_2 + 8);
  }
  if (*(int *)(DAT_0038f378 + 0xc) != 0) {
    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);
    iVar4 = iVar1 + 3;
    if (-1 < iVar1) {
      iVar4 = iVar1;
    }
    fprintf((FILE *)*param_1,"0x%0*llx %10s\n",iVar4 >> 2,uVar3,uVar5,local_4e);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar3);
}

