
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void subsegs_print_statistics(FILE *file)

{
  bfd_section *pbVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  
  if (stdoutput != (bfd *)0x0) {
    fwrite("frag chains:\n",1,0xd,(FILE *)file);
    for (pbVar1 = stdoutput->sections; pbVar1 != (bfd_section *)0x0; pbVar1 = pbVar1->next) {
      if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {
                    /* WARNING: Load size is inaccurate */
        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {
          iVar4 = 0;
          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {
            iVar4 = iVar4 + 1;
          }
          fputc(10,(FILE *)file);
          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);
        }
      }
    }
  }
  return;
}



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

void FUN_00036930(FILE *param_1)

{
  undefined4 *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  
  if (DAT_00077ec4 != 0) {
    fwrite("frag chains:\n",1,0xd,param_1);
    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;
        puVar1 = (undefined4 *)puVar1[3]) {
      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {
        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {
          iVar4 = 0;
          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {
            iVar4 = iVar4 + 1;
          }
          fputc(10,param_1);
          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);
        }
      }
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016090
ADD EBX,0x386c7
SUB ESP,0x1c
LEA ESI,[EBX + 0x8ec4]
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x000369ec
LEA EAX,[EBX + 0xfffe4ca2]
PUSH dword ptr [ESP + 0x30]
PUSH 0xd
PUSH 0x1
PUSH EAX
CALL 0x000142e0
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
MOV ESI,dword ptr [EAX + 0x60]
TEST ESI,ESI
JZ 0x000369ec
LEA EAX,[EBX + 0xfffe4cb0]
MOV dword ptr [ESP + 0xc],EAX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESI]
CMP byte ptr [EAX],0x2a
JZ 0x000369e5
MOV EAX,dword ptr [ESI + 0x80]
TEST EAX,EAX
JZ 0x000369e5
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JZ 0x000369e5
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EBP]
XOR EDI,EDI
TEST EAX,EAX
JZ 0x000369ba
LEA ESI,[ESI]
MOV EAX,dword ptr [EAX + 0x30]
ADD EDI,0x1
TEST EAX,EAX
JNZ 0x000369b0
SUB ESP,0x8
PUSH dword ptr [ESP + 0x38]
PUSH 0xa
CALL 0x00014670
MOV dword ptr [ESP],EDI
PUSH dword ptr [ESI]
PUSH EBP
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x4c]
CALL 0x00014490
MOV EBP,dword ptr [EBP + 0x8]
ADD ESP,0x20
TEST EBP,EBP
JNZ 0x000369a0
MOV ESI,dword ptr [ESI + 0xc]
TEST ESI,ESI
JNZ 0x00036980
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00036930(FILE *param_1)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00036930(FILE *param_1)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00036930(FILE *param_1)" identifier (parameter_list "(FILE *param_1)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(DAT_00077ec4 != 0)" ( (binary_expression "DAT_00077ec4 != 0" identifier != number_literal) )) (compound_statement "{\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }" { (expression_statement "fwrite("frag chains:\n",1,0xd,param_1);" (call_expression "fwrite("frag chains:\n",1,0xd,param_1)" identifier (argument_list "("frag chains:\n",1,0xd,param_1)" ( (string_literal ""frag chains:\n"" " string_content escape_sequence ") , number_literal , number_literal , identifier ))) ;) (for_statement "for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }" for ( (assignment_expression "puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60)" identifier = (pointer_expression "*(undefined4 **)(DAT_00077ec4 + 0x60)" * (cast_expression "(undefined4 **)(DAT_00077ec4 + 0x60)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00077ec4 + 0x60)" ( (binary_expression "DAT_00077ec4 + 0x60" identifier + number_literal) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)puVar1[3]" identifier = (cast_expression "(undefined4 *)puVar1[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[3]" identifier [ number_literal ]))) ) (compound_statement "{\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }" { (if_statement "if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }" if (parenthesized_expression "((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0))" ( (binary_expression "(*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)" (parenthesized_expression "(*(char *)*puVar1 != '*')" ( (binary_expression "*(char *)*puVar1 != '*'" (pointer_expression "*(char *)*puVar1" * (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) != (char_literal "'*'" ' character ')) )) && (parenthesized_expression "((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar1[0x20] != (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar1[0x20]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[0x20]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }" { (for_statement "for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }" for ( (assignment_expression "piVar2 = *(int **)puVar1[0x20]" identifier = (pointer_expression "*(int **)puVar1[0x20]" * (cast_expression "(int **)puVar1[0x20]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[0x20]" identifier [ number_literal ])))) ; (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ) (compound_statement "{\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (for_statement "for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }" for ( (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = *(int *)(iVar3 + 0x30)" identifier = (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) ) (compound_statement "{\n            iVar4 = iVar4 + 1;\n          }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "fputc(10,param_1);" (call_expression "fputc(10,param_1)" identifier (argument_list "(10,param_1)" ( number_literal , identifier ))) ;) (expression_statement "fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);" (call_expression "fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4)" identifier (argument_list "(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4)" ( identifier , (string_literal ""\t%p %-10s\t%10d frags\n"" " escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (pointer_expression "*puVar1" * identifier) , identifier ))) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid subsegs_print_statistics(FILE *file)\n\n{\n  bfd_section *pbVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (stdoutput != (bfd *)0x0) {\n    fwrite("frag chains:\n",1,0xd,(FILE *)file);\n    for (pbVar1 = stdoutput->sections; pbVar1 != (bfd_section *)0x0; pbVar1 = pbVar1->next) {\n      if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void subsegs_print_statistics(FILE *file)\n\n{\n  bfd_section *pbVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (stdoutput != (bfd *)0x0) {\n    fwrite("frag chains:\n",1,0xd,(FILE *)file);\n    for (pbVar1 = stdoutput->sections; pbVar1 != (bfd_section *)0x0; pbVar1 = pbVar1->next) {\n      if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "subsegs_print_statistics(FILE *file)" identifier (parameter_list "(FILE *file)" ( (parameter_declaration "FILE *file" type_identifier (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  bfd_section *pbVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (stdoutput != (bfd *)0x0) {\n    fwrite("frag chains:\n",1,0xd,(FILE *)file);\n    for (pbVar1 = stdoutput->sections; pbVar1 != (bfd_section *)0x0; pbVar1 = pbVar1->next) {\n      if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "bfd_section *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (stdoutput != (bfd *)0x0) {\n    fwrite("frag chains:\n",1,0xd,(FILE *)file);\n    for (pbVar1 = stdoutput->sections; pbVar1 != (bfd_section *)0x0; pbVar1 = pbVar1->next) {\n      if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(stdoutput != (bfd *)0x0)" ( (binary_expression "stdoutput != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    fwrite("frag chains:\n",1,0xd,(FILE *)file);\n    for (pbVar1 = stdoutput->sections; pbVar1 != (bfd_section *)0x0; pbVar1 = pbVar1->next) {\n      if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }\n    }\n  }" { (expression_statement "fwrite("frag chains:\n",1,0xd,(FILE *)file);" (call_expression "fwrite("frag chains:\n",1,0xd,(FILE *)file)" identifier (argument_list "("frag chains:\n",1,0xd,(FILE *)file)" ( (string_literal ""frag chains:\n"" " string_content escape_sequence ") , number_literal , number_literal , (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (for_statement "for (pbVar1 = stdoutput->sections; pbVar1 != (bfd_section *)0x0; pbVar1 = pbVar1->next) {\n      if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }\n    }" for ( (assignment_expression "pbVar1 = stdoutput->sections" identifier = (field_expression "stdoutput->sections" identifier -> field_identifier)) ; (binary_expression "pbVar1 != (bfd_section *)0x0" identifier != (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pbVar1 = pbVar1->next" identifier = (field_expression "pbVar1->next" identifier -> field_identifier)) ) (compound_statement "{\n      if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }\n    }" { (if_statement "if ((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }" if (parenthesized_expression "((*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0))" ( (binary_expression "(*pbVar1->name != '*') && ((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)" (parenthesized_expression "(*pbVar1->name != '*')" ( (binary_expression "*pbVar1->name != '*'" (pointer_expression "*pbVar1->name" * (field_expression "pbVar1->name" identifier -> field_identifier)) != (char_literal "'*'" ' character ')) )) && (parenthesized_expression "((undefined4 *)pbVar1->userdata != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)pbVar1->userdata != (undefined4 *)0x0" (cast_expression "(undefined4 *)pbVar1->userdata" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pbVar1->userdata" identifier -> field_identifier)) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n        for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }\n      }" { comment (for_statement "for (piVar2 = *pbVar1->userdata; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }" for ( (assignment_expression "piVar2 = *pbVar1->userdata" identifier = (pointer_expression "*pbVar1->userdata" * (field_expression "pbVar1->userdata" identifier -> field_identifier))) ; (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ) (compound_statement "{\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,(FILE *)file);\n          fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (for_statement "for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }" for ( (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = *(int *)(iVar3 + 0x30)" identifier = (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) ) (compound_statement "{\n            iVar4 = iVar4 + 1;\n          }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "fputc(10,(FILE *)file);" (call_expression "fputc(10,(FILE *)file)" identifier (argument_list "(10,(FILE *)file)" ( number_literal , (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4);" (call_expression "fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4)" identifier (argument_list "((FILE *)file,"\t%p %-10s\t%10d frags\n",piVar2,pbVar1->name,iVar4)" ( (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""\t%p %-10s\t%10d frags\n"" " escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (field_expression "pbVar1->name" identifier -> field_identifier) , identifier ))) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00036930(FILE *param_1)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00036930(FILE *param_1)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00036930(FILE *param_1)" identifier (parameter_list "(FILE *param_1)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(DAT_00077ec4 != 0)" ( (binary_expression "DAT_00077ec4 != 0" identifier != number_literal) )) (compound_statement "{\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }" { (expression_statement "fwrite("frag chains:\n",1,0xd,param_1);" (call_expression "fwrite("frag chains:\n",1,0xd,param_1)" identifier (argument_list "("frag chains:\n",1,0xd,param_1)" ( (string_literal ""frag chains:\n"" " string_content escape_sequence ") , number_literal , number_literal , identifier ))) ;) (for_statement "for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }" for ( (assignment_expression "puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60)" identifier = (pointer_expression "*(undefined4 **)(DAT_00077ec4 + 0x60)" * (cast_expression "(undefined4 **)(DAT_00077ec4 + 0x60)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00077ec4 + 0x60)" ( (binary_expression "DAT_00077ec4 + 0x60" identifier + number_literal) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)puVar1[3]" identifier = (cast_expression "(undefined4 *)puVar1[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[3]" identifier [ number_literal ]))) ) (compound_statement "{\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }" { (if_statement "if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }" if (parenthesized_expression "((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0))" ( (binary_expression "(*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)" (parenthesized_expression "(*(char *)*puVar1 != '*')" ( (binary_expression "*(char *)*puVar1 != '*'" (pointer_expression "*(char *)*puVar1" * (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) != (char_literal "'*'" ' character ')) )) && (parenthesized_expression "((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar1[0x20] != (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar1[0x20]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[0x20]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }" { (for_statement "for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }" for ( (assignment_expression "piVar2 = *(int **)puVar1[0x20]" identifier = (pointer_expression "*(int **)puVar1[0x20]" * (cast_expression "(int **)puVar1[0x20]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[0x20]" identifier [ number_literal ])))) ; (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ) (compound_statement "{\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (for_statement "for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }" for ( (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = *(int *)(iVar3 + 0x30)" identifier = (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) ) (compound_statement "{\n            iVar4 = iVar4 + 1;\n          }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "fputc(10,param_1);" (call_expression "fputc(10,param_1)" identifier (argument_list "(10,param_1)" ( number_literal , identifier ))) ;) (expression_statement "fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);" (call_expression "fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4)" identifier (argument_list "(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4)" ( identifier , (string_literal ""\t%p %-10s\t%10d frags\n"" " escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (pointer_expression "*puVar1" * identifier) , identifier ))) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , LIT , LIT , IDENT ))) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) != (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * IDENT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence string_content escape_sequence string_content escape_sequence ") , IDENT , (pointer_expression * IDENT) , IDENT ))) ;) })) })) })) })) (return_statement return ;) })))
(function_definition "void FUN_00036930(FILE *param_1)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00036930(FILE *param_1)" (identifier "FUN_00036930") (parameter_list "(FILE *param_1)" (( "(") (parameter_declaration "FILE *param_1" (type_identifier "FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (DAT_00077ec4 != 0) {\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(DAT_00077ec4 != 0)" (( "(") (binary_expression "DAT_00077ec4 != 0" (identifier "DAT_00077ec4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fwrite("frag chains:\n",1,0xd,param_1);\n    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "fwrite("frag chains:\n",1,0xd,param_1);" (call_expression "fwrite("frag chains:\n",1,0xd,param_1)" (identifier "fwrite") (argument_list "("frag chains:\n",1,0xd,param_1)" (( "(") (string_literal ""frag chains:\n"" (" """) (string_content "frag chains:") (escape_sequence "\n") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "0xd") (, ",") (identifier "param_1") () ")"))) (; ";")) (for_statement "for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)puVar1[3]) {\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }" (for "for") (( "(") (assignment_expression "puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(DAT_00077ec4 + 0x60)" (* "*") (cast_expression "(undefined4 **)(DAT_00077ec4 + 0x60)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00077ec4 + 0x60)" (( "(") (binary_expression "DAT_00077ec4 + 0x60" (identifier "DAT_00077ec4") (+ "+") (number_literal "0x60")) () ")"))))) (; ";") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined4 *)puVar1[3]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)puVar1[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")))) () ")") (compound_statement "{\n      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }\n    }" ({ "{") (if_statement "if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }" (if "if") (parenthesized_expression "((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0))" (( "(") (binary_expression "(*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)" (parenthesized_expression "(*(char *)*puVar1 != '*')" (( "(") (binary_expression "*(char *)*puVar1 != '*'" (pointer_expression "*(char *)*puVar1" (* "*") (cast_expression "(char *)*puVar1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (!= "!=") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)puVar1[0x20] != (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar1[0x20]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[0x20]" (identifier "puVar1") ([ "[") (number_literal "0x20") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }\n      }" ({ "{") (for_statement "for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }" (for "for") (( "(") (assignment_expression "piVar2 = *(int **)puVar1[0x20]" (identifier "piVar2") (= "=") (pointer_expression "*(int **)puVar1[0x20]" (* "*") (cast_expression "(int **)puVar1[0x20]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "puVar1[0x20]" (identifier "puVar1") ([ "[") (number_literal "0x20") (] "]"))))) (; ";") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "piVar2 = (int *)piVar2[2]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar2[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")))) () ")") (compound_statement "{\n          iVar4 = 0;\n          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }\n          fputc(10,param_1);\n          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);\n        }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (for_statement "for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {\n            iVar4 = iVar4 + 1;\n          }" (for "for") (( "(") (assignment_expression "iVar3 = *piVar2" (identifier "iVar3") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar3 = *(int *)(iVar3 + 0x30)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0x30)" (* "*") (cast_expression "(int *)(iVar3 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")"))))) () ")") (compound_statement "{\n            iVar4 = iVar4 + 1;\n          }" ({ "{") (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "fputc(10,param_1);" (call_expression "fputc(10,param_1)" (identifier "fputc") (argument_list "(10,param_1)" (( "(") (number_literal "10") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);" (call_expression "fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4)" (identifier "fprintf") (argument_list "(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4)" (( "(") (identifier "param_1") (, ",") (string_literal ""\t%p %-10s\t%10d frags\n"" (" """) (escape_sequence "\t") (string_content "%p %-10s") (escape_sequence "\t") (string_content "%10d frags") (escape_sequence "\n") (" """)) (, ",") (identifier "piVar2") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (identifier "iVar4") () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 *file)

{
  type_2 *var_3;
  int *var_4;
  int var_5;
  int var_6;
  
  if (var_1 != (type_3 *)0x0) {
    var_2("frag chains:\n",1,0xd,(type_1 *)file);
    for (var_3 = var_1->sections; var_3 != (type_2 *)0x0; var_3 = var_3->next) {
      if ((*var_3->name != '*') && ((type_4 *)var_3->userdata != (type_4 *)0x0)) {
                    /* WARNING: Load size is inaccurate */
        for (var_4 = *var_3->userdata; var_4 != (int *)0x0; var_4 = (int *)var_4[2]) {
          var_6 = 0;
          for (var_5 = *var_4; var_5 != 0; var_5 = *(int *)(var_5 + 0x30)) {
            var_6 = var_6 + 1;
          }
          var_7(10,(type_1 *)file);
          var_8((type_1 *)file,"\t%p %-10s\t%10d frags\n",var_4,var_3->name,var_6);
        }
      }
    }
  }
  return;
}


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

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

void MASKED(FILE *param_1)

{
  undefined4 *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  
  if (DAT_00077ec4 != 0) {
    fwrite("frag chains:\n",1,0xd,param_1);
    for (puVar1 = *(undefined4 **)(DAT_00077ec4 + 0x60); puVar1 != (undefined4 *)0x0;
        puVar1 = (undefined4 *)puVar1[3]) {
      if ((*(char *)*puVar1 != '*') && ((undefined4 *)puVar1[0x20] != (undefined4 *)0x0)) {
        for (piVar2 = *(int **)puVar1[0x20]; piVar2 != (int *)0x0; piVar2 = (int *)piVar2[2]) {
          iVar4 = 0;
          for (iVar3 = *piVar2; iVar3 != 0; iVar3 = *(int *)(iVar3 + 0x30)) {
            iVar4 = iVar4 + 1;
          }
          fputc(10,param_1);
          fprintf(param_1,"\t%p %-10s\t%10d frags\n",piVar2,*puVar1,iVar4);
        }
      }
    }
  }
  return;
}

