
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void record_symbols(Plugin_recorder * this, Object * obj, int nsyms,
   ld_plugin_symbol * syms) */

void __thiscall
gold::Plugin_recorder::record_symbols
          (Plugin_recorder *this,Object *obj,int nsyms,ld_plugin_symbol *syms)

{
}



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

void FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)

{
  int iVar1;
  char *pcVar2;
  FILE *__stream;
  int iVar3;
  FILE *pFVar4;
  
  pFVar4 = *(FILE **)(param_2 + 4);
  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);
  if (0 < param_3) {
    iVar3 = 0;
    do {
      pcVar2 = "?";
      switch(param_4[2]) {
      case 0:
        pcVar2 = "D";
        break;
      case 1:
        pcVar2 = "WD";
        break;
      case 2:
        pcVar2 = "U";
        break;
      case 3:
        pcVar2 = "WU";
        break;
      case 4:
        pcVar2 = "C";
      }
      iVar1 = 0x3f;
      if ((uint)param_4[3] < 4) {
        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];
      }
      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);
      pcVar2 = (char *)param_4[1];
      __stream = *(FILE **)(param_1 + 8);
      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {
        fprintf(__stream,"@%s",pcVar2,pFVar4);
        __stream = *(FILE **)(param_1 + 8);
      }
      pcVar2 = (char *)param_4[6];
      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {
        iVar1 = strcmp((char *)*param_4,pcVar2);
        if (iVar1 == 0) {
          pFVar4 = __stream;
          fwrite(" [comdat]",1,9,__stream);
          __stream = *(FILE **)(param_1 + 8);
        }
        else {
          fprintf(__stream," [comdat: %s]",pcVar2);
          __stream = *(FILE **)(param_1 + 8);
        }
      }
      iVar3 = iVar3 + 1;
      param_4 = param_4 + 8;
      fputc(10,__stream);
    } while (param_3 != iVar3);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x26dd77
SUB ESP,0x2c
MOV EAX,dword ptr [ESP + 0x44]
MOV EBP,dword ptr [ESP + 0x40]
PUSH dword ptr [EAX + 0x4]
LEA EAX,[EBX + 0xffef3cc6]
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
PUSH dword ptr [EBP + 0x8]
CALL 0x0002c370
ADD ESP,0x10
LEA EAX,[EBX + 0xffef3cd6]
MOV ESI,dword ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[EBX + 0xffeff10b]
MOV dword ptr [ESP + 0x1c],EAX
LEA EAX,[EBX + 0xffef62aa]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x48]
TEST EAX,EAX
JLE 0x001a63ae
XOR EDI,EDI
LEA ESI,[ESI]
NOP
CMP dword ptr [ESI + 0x8],0x4
JA 0x001a6440
MOV EAX,dword ptr [ESI + 0x8]
MOV ECX,dword ptr [EBX + EAX*0x4 + 0xffef3e40]
ADD ECX,EBX
JMP ECX
MOV EDX,dword ptr [ESI + 0xc]
MOV EAX,0x3f
CMP EDX,0x3
JA 0x001a631d
MOVSX EAX,byte ptr [EBX + EDX*0x1 + 0xffef3e60]
SUB ESP,0x8
PUSH dword ptr [ESI]
PUSH EAX
PUSH ECX
PUSH EDI
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [EBP + 0x8]
CALL 0x0002c370
MOV EAX,dword ptr [ESI + 0x4]
ADD ESP,0x20
MOV ECX,dword ptr [EBP + 0x8]
TEST EAX,EAX
JZ 0x001a6347
CMP byte ptr [EAX],0x0
JNZ 0x001a6400
MOV EDX,dword ptr [ESI + 0x18]
TEST EDX,EDX
JZ 0x001a6390
CMP byte ptr [EDX],0x0
JZ 0x001a6390
MOV dword ptr [ESP + 0x14],ECX
SUB ESP,0x8
PUSH EDX
MOV dword ptr [ESP + 0x1c],EDX
PUSH dword ptr [ESI]
CALL 0x0002c400
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JNZ 0x001a6420
LEA EAX,[EBX + 0xffef3ceb]
PUSH ECX
PUSH 0x9
PUSH 0x1
PUSH EAX
CALL 0x0002c2b0
MOV ECX,dword ptr [EBP + 0x8]
ADD ESP,0x10
SUB ESP,0x8
ADD EDI,0x1
ADD ESI,0x20
PUSH ECX
PUSH 0xa
CALL 0x0002c290
ADD ESP,0x10
CMP dword ptr [ESP + 0x48],EDI
JNZ 0x001a62e8
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xffef3ce7]
PUSH EAX
PUSH ECX
CALL 0x0002c370
MOV ECX,dword ptr [EBP + 0x8]
ADD ESP,0x10
JMP 0x001a6347
SUB ESP,0x4
LEA EAX,[EBX + 0xffef3cf5]
PUSH EDX
PUSH EAX
PUSH ECX
CALL 0x0002c370
MOV ECX,dword ptr [EBP + 0x8]
ADD ESP,0x10
JMP 0x001a6390
MOV ECX,dword ptr [ESP + 0x1c]
JMP 0x001a6308
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  FILE *__stream;\n  int iVar3;\n  FILE *pFVar4;\n  \n  pFVar4 = *(FILE **)(param_2 + 4);\n  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);\n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  FILE *__stream;\n  int iVar3;\n  FILE *pFVar4;\n  \n  pFVar4 = *(FILE **)(param_2 + 4);\n  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);\n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,undefined4 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  FILE *__stream;\n  int iVar3;\n  FILE *pFVar4;\n  \n  pFVar4 = *(FILE **)(param_2 + 4);\n  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);\n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "FILE *pFVar4;" type_identifier (pointer_declarator "*pFVar4" * identifier) ;) (expression_statement "pFVar4 = *(FILE **)(param_2 + 4);" (assignment_expression "pFVar4 = *(FILE **)(param_2 + 4)" identifier = (pointer_expression "*(FILE **)(param_2 + 4)" * (cast_expression "(FILE **)(param_2 + 4)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);" (call_expression "fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4)" identifier (argument_list "(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4)" ( (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 ""SYMBOLS: %d %s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (if_statement "if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);" do (compound_statement "{\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    }" { (expression_statement "pcVar2 = "?";" (assignment_expression "pcVar2 = "?"" identifier = (string_literal ""?"" " string_content ")) ;) (switch_statement "switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }" switch (parenthesized_expression "(param_4[2])" ( (subscript_expression "param_4[2]" identifier [ number_literal ]) )) (compound_statement "{\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }" { (case_statement "case 0:\n        pcVar2 = "D";\n        break;" case number_literal : (expression_statement "pcVar2 = "D";" (assignment_expression "pcVar2 = "D"" identifier = (string_literal ""D"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n        pcVar2 = "WD";\n        break;" case number_literal : (expression_statement "pcVar2 = "WD";" (assignment_expression "pcVar2 = "WD"" identifier = (string_literal ""WD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n        pcVar2 = "U";\n        break;" case number_literal : (expression_statement "pcVar2 = "U";" (assignment_expression "pcVar2 = "U"" identifier = (string_literal ""U"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n        pcVar2 = "WU";\n        break;" case number_literal : (expression_statement "pcVar2 = "WU";" (assignment_expression "pcVar2 = "WU"" identifier = (string_literal ""WU"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 4:\n        pcVar2 = "C";" case number_literal : (expression_statement "pcVar2 = "C";" (assignment_expression "pcVar2 = "C"" identifier = (string_literal ""C"" " string_content ")) ;)) })) (expression_statement "iVar1 = 0x3f;" (assignment_expression "iVar1 = 0x3f" identifier = number_literal) ;) (if_statement "if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }" if (parenthesized_expression "((uint)param_4[3] < 4)" ( (binary_expression "(uint)param_4[3] < 4" (cast_expression "(uint)param_4[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }" { (expression_statement "iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];" (assignment_expression "iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]]" identifier = (cast_expression "(int)(char)(&DAT_00307e60)[param_4[3]]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)(&DAT_00307e60)[param_4[3]]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "(&DAT_00307e60)[param_4[3]]" (parenthesized_expression "(&DAT_00307e60)" ( (pointer_expression "&DAT_00307e60" & identifier) )) [ (subscript_expression "param_4[3]" identifier [ number_literal ]) ])))) ;) })) (expression_statement "fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4)" identifier (argument_list "(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4)" ( (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 "" %5d: %-2s %c %s"" " string_content ") , identifier , identifier , identifier , (pointer_expression "*param_4" * identifier) ))) ;) (expression_statement "pcVar2 = (char *)param_4[1];" (assignment_expression "pcVar2 = (char *)param_4[1]" identifier = (cast_expression "(char *)param_4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[1]" identifier [ number_literal ]))) ;) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" identifier = (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) ))))) ;) (if_statement "if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }" if (parenthesized_expression "((pcVar2 != (char *)0x0) && (*pcVar2 != '\0'))" ( (binary_expression "(pcVar2 != (char *)0x0) && (*pcVar2 != '\0')" (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar2 != '\0')" ( (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }" { (expression_statement "fprintf(__stream,"@%s",pcVar2,pFVar4);" (call_expression "fprintf(__stream,"@%s",pcVar2,pFVar4)" identifier (argument_list "(__stream,"@%s",pcVar2,pFVar4)" ( identifier , (string_literal ""@%s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" identifier = (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) ))))) ;) })) (expression_statement "pcVar2 = (char *)param_4[6];" (assignment_expression "pcVar2 = (char *)param_4[6]" identifier = (cast_expression "(char *)param_4[6]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[6]" identifier [ number_literal ]))) ;) (if_statement "if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }" if (parenthesized_expression "((pcVar2 != (char *)0x0) && (*pcVar2 != '\0'))" ( (binary_expression "(pcVar2 != (char *)0x0) && (*pcVar2 != '\0')" (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar2 != '\0')" ( (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }" { (expression_statement "iVar1 = strcmp((char *)*param_4,pcVar2);" (assignment_expression "iVar1 = strcmp((char *)*param_4,pcVar2)" identifier = (call_expression "strcmp((char *)*param_4,pcVar2)" identifier (argument_list "((char *)*param_4,pcVar2)" ( (cast_expression "(char *)*param_4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier)) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }" { (expression_statement "pFVar4 = __stream;" (assignment_expression "pFVar4 = __stream" identifier = identifier) ;) (expression_statement "fwrite(" [comdat]",1,9,__stream);" (call_expression "fwrite(" [comdat]",1,9,__stream)" identifier (argument_list "(" [comdat]",1,9,__stream)" ( (string_literal "" [comdat]"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" identifier = (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) ))))) ;) }) (else_clause "else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" else (compound_statement "{\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" { (expression_statement "fprintf(__stream," [comdat: %s]",pcVar2);" (call_expression "fprintf(__stream," [comdat: %s]",pcVar2)" identifier (argument_list "(__stream," [comdat: %s]",pcVar2)" ( identifier , (string_literal "" [comdat: %s]"" " string_content ") , identifier ))) ;) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" identifier = (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) ))))) ;) }))) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "param_4 = param_4 + 8;" (assignment_expression "param_4 = param_4 + 8" identifier = (binary_expression "param_4 + 8" identifier + number_literal)) ;) (expression_statement "fputc(10,__stream);" (call_expression "fputc(10,__stream)" identifier (argument_list "(10,__stream)" ( number_literal , identifier ))) ;) }) while (parenthesized_expression "(param_3 != iVar3)" ( (binary_expression "param_3 != iVar3" identifier != 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 record_symbols(Plugin_recorder * this, Object * obj, int nsyms,\n   ld_plugin_symbol * syms) */\n\nvoid __thiscall\ngold::Plugin_recorder::record_symbols\n          (Plugin_recorder *this,Object *obj,int nsyms,ld_plugin_symbol *syms)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Plugin_recorder::record_symbols\n          (Plugin_recorder *this,Object *obj,int nsyms,ld_plugin_symbol *syms)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_recorder::" identifier : : identifier : :) (function_declarator "record_symbols\n          (Plugin_recorder *this,Object *obj,int nsyms,ld_plugin_symbol *syms)" identifier (parameter_list "(Plugin_recorder *this,Object *obj,int nsyms,ld_plugin_symbol *syms)" ( (parameter_declaration "Plugin_recorder *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Object *obj" type_identifier (pointer_declarator "*obj" * identifier)) , (parameter_declaration "int nsyms" primitive_type identifier) , (parameter_declaration "ld_plugin_symbol *syms" type_identifier (pointer_declarator "*syms" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  FILE *__stream;\n  int iVar3;\n  FILE *pFVar4;\n  \n  pFVar4 = *(FILE **)(param_2 + 4);\n  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);\n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  FILE *__stream;\n  int iVar3;\n  FILE *pFVar4;\n  \n  pFVar4 = *(FILE **)(param_2 + 4);\n  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);\n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,undefined4 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  FILE *__stream;\n  int iVar3;\n  FILE *pFVar4;\n  \n  pFVar4 = *(FILE **)(param_2 + 4);\n  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);\n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "FILE *pFVar4;" type_identifier (pointer_declarator "*pFVar4" * identifier) ;) (expression_statement "pFVar4 = *(FILE **)(param_2 + 4);" (assignment_expression "pFVar4 = *(FILE **)(param_2 + 4)" identifier = (pointer_expression "*(FILE **)(param_2 + 4)" * (cast_expression "(FILE **)(param_2 + 4)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);" (call_expression "fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4)" identifier (argument_list "(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4)" ( (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 ""SYMBOLS: %d %s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (if_statement "if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);" do (compound_statement "{\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    }" { (expression_statement "pcVar2 = "?";" (assignment_expression "pcVar2 = "?"" identifier = (string_literal ""?"" " string_content ")) ;) (switch_statement "switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }" switch (parenthesized_expression "(param_4[2])" ( (subscript_expression "param_4[2]" identifier [ number_literal ]) )) (compound_statement "{\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }" { (case_statement "case 0:\n        pcVar2 = "D";\n        break;" case number_literal : (expression_statement "pcVar2 = "D";" (assignment_expression "pcVar2 = "D"" identifier = (string_literal ""D"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n        pcVar2 = "WD";\n        break;" case number_literal : (expression_statement "pcVar2 = "WD";" (assignment_expression "pcVar2 = "WD"" identifier = (string_literal ""WD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n        pcVar2 = "U";\n        break;" case number_literal : (expression_statement "pcVar2 = "U";" (assignment_expression "pcVar2 = "U"" identifier = (string_literal ""U"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n        pcVar2 = "WU";\n        break;" case number_literal : (expression_statement "pcVar2 = "WU";" (assignment_expression "pcVar2 = "WU"" identifier = (string_literal ""WU"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 4:\n        pcVar2 = "C";" case number_literal : (expression_statement "pcVar2 = "C";" (assignment_expression "pcVar2 = "C"" identifier = (string_literal ""C"" " string_content ")) ;)) })) (expression_statement "iVar1 = 0x3f;" (assignment_expression "iVar1 = 0x3f" identifier = number_literal) ;) (if_statement "if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }" if (parenthesized_expression "((uint)param_4[3] < 4)" ( (binary_expression "(uint)param_4[3] < 4" (cast_expression "(uint)param_4[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }" { (expression_statement "iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];" (assignment_expression "iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]]" identifier = (cast_expression "(int)(char)(&DAT_00307e60)[param_4[3]]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)(&DAT_00307e60)[param_4[3]]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "(&DAT_00307e60)[param_4[3]]" (parenthesized_expression "(&DAT_00307e60)" ( (pointer_expression "&DAT_00307e60" & identifier) )) [ (subscript_expression "param_4[3]" identifier [ number_literal ]) ])))) ;) })) (expression_statement "fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4)" identifier (argument_list "(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4)" ( (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 "" %5d: %-2s %c %s"" " string_content ") , identifier , identifier , identifier , (pointer_expression "*param_4" * identifier) ))) ;) (expression_statement "pcVar2 = (char *)param_4[1];" (assignment_expression "pcVar2 = (char *)param_4[1]" identifier = (cast_expression "(char *)param_4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[1]" identifier [ number_literal ]))) ;) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" identifier = (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) ))))) ;) (if_statement "if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }" if (parenthesized_expression "((pcVar2 != (char *)0x0) && (*pcVar2 != '\0'))" ( (binary_expression "(pcVar2 != (char *)0x0) && (*pcVar2 != '\0')" (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar2 != '\0')" ( (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }" { (expression_statement "fprintf(__stream,"@%s",pcVar2,pFVar4);" (call_expression "fprintf(__stream,"@%s",pcVar2,pFVar4)" identifier (argument_list "(__stream,"@%s",pcVar2,pFVar4)" ( identifier , (string_literal ""@%s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" identifier = (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) ))))) ;) })) (expression_statement "pcVar2 = (char *)param_4[6];" (assignment_expression "pcVar2 = (char *)param_4[6]" identifier = (cast_expression "(char *)param_4[6]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_4[6]" identifier [ number_literal ]))) ;) (if_statement "if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }" if (parenthesized_expression "((pcVar2 != (char *)0x0) && (*pcVar2 != '\0'))" ( (binary_expression "(pcVar2 != (char *)0x0) && (*pcVar2 != '\0')" (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar2 != '\0')" ( (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }" { (expression_statement "iVar1 = strcmp((char *)*param_4,pcVar2);" (assignment_expression "iVar1 = strcmp((char *)*param_4,pcVar2)" identifier = (call_expression "strcmp((char *)*param_4,pcVar2)" identifier (argument_list "((char *)*param_4,pcVar2)" ( (cast_expression "(char *)*param_4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier)) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }" { (expression_statement "pFVar4 = __stream;" (assignment_expression "pFVar4 = __stream" identifier = identifier) ;) (expression_statement "fwrite(" [comdat]",1,9,__stream);" (call_expression "fwrite(" [comdat]",1,9,__stream)" identifier (argument_list "(" [comdat]",1,9,__stream)" ( (string_literal "" [comdat]"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" identifier = (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) ))))) ;) }) (else_clause "else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" else (compound_statement "{\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" { (expression_statement "fprintf(__stream," [comdat: %s]",pcVar2);" (call_expression "fprintf(__stream," [comdat: %s]",pcVar2)" identifier (argument_list "(__stream," [comdat: %s]",pcVar2)" ( identifier , (string_literal "" [comdat: %s]"" " string_content ") , identifier ))) ;) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" identifier = (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) ))))) ;) }))) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "param_4 = param_4 + 8;" (assignment_expression "param_4 = param_4 + 8" identifier = (binary_expression "param_4 + 8" identifier + number_literal)) ;) (expression_statement "fputc(10,__stream);" (call_expression "fputc(10,__stream)" identifier (argument_list "(10,__stream)" ( number_literal , identifier ))) ;) }) while (parenthesized_expression "(param_3 != iVar3)" ( (binary_expression "param_3 != iVar3" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (switch_statement switch (parenthesized_expression ( (subscript_expression IDENT [ LIT ]) )) (compound_statement { (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;)) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (subscript_expression IDENT [ LIT ]) ])))) ;) })) (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 , IDENT , IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  FILE *__stream;\n  int iVar3;\n  FILE *pFVar4;\n  \n  pFVar4 = *(FILE **)(param_2 + 4);\n  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);\n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001a6280(int param_1,int param_2,int param_3,undefined4 *param_4)" (identifier "FUN_001a6280") (parameter_list "(int param_1,int param_2,int param_3,undefined4 *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  FILE *__stream;\n  int iVar3;\n  FILE *pFVar4;\n  \n  pFVar4 = *(FILE **)(param_2 + 4);\n  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);\n  if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "FILE *__stream;" (type_identifier "FILE") (pointer_declarator "*__stream" (* "*") (identifier "__stream")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "FILE *pFVar4;" (type_identifier "FILE") (pointer_declarator "*pFVar4" (* "*") (identifier "pFVar4")) (; ";")) (expression_statement "pFVar4 = *(FILE **)(param_2 + 4);" (assignment_expression "pFVar4 = *(FILE **)(param_2 + 4)" (identifier "pFVar4") (= "=") (pointer_expression "*(FILE **)(param_2 + 4)" (* "*") (cast_expression "(FILE **)(param_2 + 4)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);" (call_expression "fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4)" (identifier "fprintf") (argument_list "(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4)" (( "(") (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 ""SYMBOLS: %d %s\n"" (" """) (string_content "SYMBOLS: %d %s") (escape_sequence "\n") (" """)) (, ",") (identifier "param_3") (, ",") (identifier "pFVar4") () ")"))) (; ";")) (if_statement "if (0 < param_3) {\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    iVar3 = 0;\n    do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    } while (param_3 != iVar3);" (do "do") (compound_statement "{\n      pcVar2 = "?";\n      switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }\n      iVar1 = 0x3f;\n      if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }\n      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);\n      pcVar2 = (char *)param_4[1];\n      __stream = *(FILE **)(param_1 + 8);\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }\n      pcVar2 = (char *)param_4[6];\n      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      param_4 = param_4 + 8;\n      fputc(10,__stream);\n    }" ({ "{") (expression_statement "pcVar2 = "?";" (assignment_expression "pcVar2 = "?"" (identifier "pcVar2") (= "=") (string_literal ""?"" (" """) (string_content "?") (" """))) (; ";")) (switch_statement "switch(param_4[2]) {\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }" (switch "switch") (parenthesized_expression "(param_4[2])" (( "(") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) () ")")) (compound_statement "{\n      case 0:\n        pcVar2 = "D";\n        break;\n      case 1:\n        pcVar2 = "WD";\n        break;\n      case 2:\n        pcVar2 = "U";\n        break;\n      case 3:\n        pcVar2 = "WU";\n        break;\n      case 4:\n        pcVar2 = "C";\n      }" ({ "{") (case_statement "case 0:\n        pcVar2 = "D";\n        break;" (case "case") (number_literal "0") (: ":") (expression_statement "pcVar2 = "D";" (assignment_expression "pcVar2 = "D"" (identifier "pcVar2") (= "=") (string_literal ""D"" (" """) (string_content "D") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 1:\n        pcVar2 = "WD";\n        break;" (case "case") (number_literal "1") (: ":") (expression_statement "pcVar2 = "WD";" (assignment_expression "pcVar2 = "WD"" (identifier "pcVar2") (= "=") (string_literal ""WD"" (" """) (string_content "WD") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 2:\n        pcVar2 = "U";\n        break;" (case "case") (number_literal "2") (: ":") (expression_statement "pcVar2 = "U";" (assignment_expression "pcVar2 = "U"" (identifier "pcVar2") (= "=") (string_literal ""U"" (" """) (string_content "U") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 3:\n        pcVar2 = "WU";\n        break;" (case "case") (number_literal "3") (: ":") (expression_statement "pcVar2 = "WU";" (assignment_expression "pcVar2 = "WU"" (identifier "pcVar2") (= "=") (string_literal ""WU"" (" """) (string_content "WU") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 4:\n        pcVar2 = "C";" (case "case") (number_literal "4") (: ":") (expression_statement "pcVar2 = "C";" (assignment_expression "pcVar2 = "C"" (identifier "pcVar2") (= "=") (string_literal ""C"" (" """) (string_content "C") (" """))) (; ";"))) (} "}"))) (expression_statement "iVar1 = 0x3f;" (assignment_expression "iVar1 = 0x3f" (identifier "iVar1") (= "=") (number_literal "0x3f")) (; ";")) (if_statement "if ((uint)param_4[3] < 4) {\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }" (if "if") (parenthesized_expression "((uint)param_4[3] < 4)" (( "(") (binary_expression "(uint)param_4[3] < 4" (cast_expression "(uint)param_4[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]"))) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];\n      }" ({ "{") (expression_statement "iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];" (assignment_expression "iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]]" (identifier "iVar1") (= "=") (cast_expression "(int)(char)(&DAT_00307e60)[param_4[3]]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)(&DAT_00307e60)[param_4[3]]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "(&DAT_00307e60)[param_4[3]]" (parenthesized_expression "(&DAT_00307e60)" (( "(") (pointer_expression "&DAT_00307e60" (& "&") (identifier "DAT_00307e60")) () ")")) ([ "[") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]")) (] "]"))))) (; ";")) (} "}"))) (expression_statement "fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);" (call_expression "fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4)" (identifier "fprintf") (argument_list "(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4)" (( "(") (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 "" %5d: %-2s %c %s"" (" """) (string_content " %5d: %-2s %c %s") (" """)) (, ",") (identifier "iVar3") (, ",") (identifier "pcVar2") (, ",") (identifier "iVar1") (, ",") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")"))) (; ";")) (expression_statement "pcVar2 = (char *)param_4[1];" (assignment_expression "pcVar2 = (char *)param_4[1]" (identifier "pcVar2") (= "=") (cast_expression "(char *)param_4[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" (identifier "__stream") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }" (if "if") (parenthesized_expression "((pcVar2 != (char *)0x0) && (*pcVar2 != '\0'))" (( "(") (binary_expression "(pcVar2 != (char *)0x0) && (*pcVar2 != '\0')" (parenthesized_expression "(pcVar2 != (char *)0x0)" (( "(") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar2 != '\0')" (( "(") (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        fprintf(__stream,"@%s",pcVar2,pFVar4);\n        __stream = *(FILE **)(param_1 + 8);\n      }" ({ "{") (expression_statement "fprintf(__stream,"@%s",pcVar2,pFVar4);" (call_expression "fprintf(__stream,"@%s",pcVar2,pFVar4)" (identifier "fprintf") (argument_list "(__stream,"@%s",pcVar2,pFVar4)" (( "(") (identifier "__stream") (, ",") (string_literal ""@%s"" (" """) (string_content "@%s") (" """)) (, ",") (identifier "pcVar2") (, ",") (identifier "pFVar4") () ")"))) (; ";")) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" (identifier "__stream") (= "=") (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")) () ")"))))) (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)param_4[6];" (assignment_expression "pcVar2 = (char *)param_4[6]" (identifier "pcVar2") (= "=") (cast_expression "(char *)param_4[6]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_4[6]" (identifier "param_4") ([ "[") (number_literal "6") (] "]")))) (; ";")) (if_statement "if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }" (if "if") (parenthesized_expression "((pcVar2 != (char *)0x0) && (*pcVar2 != '\0'))" (( "(") (binary_expression "(pcVar2 != (char *)0x0) && (*pcVar2 != '\0')" (parenthesized_expression "(pcVar2 != (char *)0x0)" (( "(") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar2 != '\0')" (( "(") (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        iVar1 = strcmp((char *)*param_4,pcVar2);\n        if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n      }" ({ "{") (expression_statement "iVar1 = strcmp((char *)*param_4,pcVar2);" (assignment_expression "iVar1 = strcmp((char *)*param_4,pcVar2)" (identifier "iVar1") (= "=") (call_expression "strcmp((char *)*param_4,pcVar2)" (identifier "strcmp") (argument_list "((char *)*param_4,pcVar2)" (( "(") (cast_expression "(char *)*param_4" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (, ",") (identifier "pcVar2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }\n        else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pFVar4 = __stream;\n          fwrite(" [comdat]",1,9,__stream);\n          __stream = *(FILE **)(param_1 + 8);\n        }" ({ "{") (expression_statement "pFVar4 = __stream;" (assignment_expression "pFVar4 = __stream" (identifier "pFVar4") (= "=") (identifier "__stream")) (; ";")) (expression_statement "fwrite(" [comdat]",1,9,__stream);" (call_expression "fwrite(" [comdat]",1,9,__stream)" (identifier "fwrite") (argument_list "(" [comdat]",1,9,__stream)" (( "(") (string_literal "" [comdat]"" (" """) (string_content " [comdat]") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "9") (, ",") (identifier "__stream") () ")"))) (; ";")) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" (identifier "__stream") (= "=") (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")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" (else "else") (compound_statement "{\n          fprintf(__stream," [comdat: %s]",pcVar2);\n          __stream = *(FILE **)(param_1 + 8);\n        }" ({ "{") (expression_statement "fprintf(__stream," [comdat: %s]",pcVar2);" (call_expression "fprintf(__stream," [comdat: %s]",pcVar2)" (identifier "fprintf") (argument_list "(__stream," [comdat: %s]",pcVar2)" (( "(") (identifier "__stream") (, ",") (string_literal "" [comdat: %s]"" (" """) (string_content " [comdat: %s]") (" """)) (, ",") (identifier "pcVar2") () ")"))) (; ";")) (expression_statement "__stream = *(FILE **)(param_1 + 8);" (assignment_expression "__stream = *(FILE **)(param_1 + 8)" (identifier "__stream") (= "=") (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")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_4 = param_4 + 8;" (assignment_expression "param_4 = param_4 + 8" (identifier "param_4") (= "=") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "fputc(10,__stream);" (call_expression "fputc(10,__stream)" (identifier "fputc") (argument_list "(10,__stream)" (( "(") (number_literal "10") (, ",") (identifier "__stream") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 != iVar3)" (( "(") (binary_expression "param_3 != iVar3" (identifier "param_3") (!= "!=") (identifier "iVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void record_symbols(Plugin_recorder * this, Object * obj, int nsyms,
   ld_plugin_symbol * syms) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *obj,int nsyms,type_3 *syms)

{
}


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

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

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

{
  int iVar1;
  char *pcVar2;
  FILE *__stream;
  int iVar3;
  FILE *pFVar4;
  
  pFVar4 = *(FILE **)(param_2 + 4);
  fprintf(*(FILE **)(param_1 + 8),"SYMBOLS: %d %s\n",param_3,pFVar4);
  if (0 < param_3) {
    iVar3 = 0;
    do {
      pcVar2 = "?";
      switch(param_4[2]) {
      case 0:
        pcVar2 = "D";
        break;
      case 1:
        pcVar2 = "WD";
        break;
      case 2:
        pcVar2 = "U";
        break;
      case 3:
        pcVar2 = "WU";
        break;
      case 4:
        pcVar2 = "C";
      }
      iVar1 = 0x3f;
      if ((uint)param_4[3] < 4) {
        iVar1 = (int)(char)(&DAT_00307e60)[param_4[3]];
      }
      fprintf(*(FILE **)(param_1 + 8)," %5d: %-2s %c %s",iVar3,pcVar2,iVar1,*param_4);
      pcVar2 = (char *)param_4[1];
      __stream = *(FILE **)(param_1 + 8);
      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {
        fprintf(__stream,"@%s",pcVar2,pFVar4);
        __stream = *(FILE **)(param_1 + 8);
      }
      pcVar2 = (char *)param_4[6];
      if ((pcVar2 != (char *)0x0) && (*pcVar2 != '\0')) {
        iVar1 = strcmp((char *)*param_4,pcVar2);
        if (iVar1 == 0) {
          pFVar4 = __stream;
          fwrite(" [comdat]",1,9,__stream);
          __stream = *(FILE **)(param_1 + 8);
        }
        else {
          fprintf(__stream," [comdat: %s]",pcVar2);
          __stream = *(FILE **)(param_1 + 8);
        }
      }
      iVar3 = iVar3 + 1;
      param_4 = param_4 + 8;
      fputc(10,__stream);
    } while (param_3 != iVar3);
  }
  return;
}

