
void subsegs_print_statistics(FILE *file)

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



void FUN_0012db80(FILE *param_1)

{
  undefined8 *puVar1;
  long *plVar2;
  long lVar3;
  ulong uVar4;
  
  if (DAT_0016e3b0 == 0) {
    return;
  }
  fwrite("frag chains:\n",1,0xd,param_1);
  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;
      puVar1 = (undefined8 *)puVar1[2]) {
    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {
      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {
        uVar4 = 0;
        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {
          uVar4 = (ulong)((int)uVar4 + 1);
        }
        fputc(10,param_1);
        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);
      }
    }
  }
  return;
}


CMP qword ptr [0x0016e3b0],0x0
JZ 0x0012dc4c
PUSH R14
MOV RCX,RDI
MOV EDX,0xd
MOV ESI,0x1
PUSH R13
MOV R13,RDI
LEA RDI,[0x14ae0b]
PUSH R12
PUSH RBP
PUSH RBX
CALL 0x00109720
MOV RAX,qword ptr [0x0016e3b0]
MOV R12,qword ptr [RAX + 0x90]
TEST R12,R12
JZ 0x0012dc43
LEA R14,[0x14ae19]
NOP dword ptr [RAX]
MOV RAX,qword ptr [R12]
CMP byte ptr [RAX],0x2a
JZ 0x0012dc39
MOV RAX,qword ptr [R12 + 0xa8]
TEST RAX,RAX
JZ 0x0012dc39
MOV RBP,qword ptr [RAX]
TEST RBP,RBP
JZ 0x0012dc39
NOP
MOV RAX,qword ptr [RBP]
XOR EBX,EBX
TEST RAX,RAX
JZ 0x0012dc0c
NOP dword ptr [RAX + RAX*0x1]
MOV RAX,qword ptr [RAX + 0x38]
ADD EBX,0x1
TEST RAX,RAX
JNZ 0x0012dc00
MOV RSI,R13
MOV EDI,0xa
CALL 0x00109370
MOV RCX,qword ptr [R12]
MOV RDX,RBP
MOV R8D,EBX
MOV RSI,R14
MOV RDI,R13
XOR EAX,EAX
CALL 0x00109450
MOV RBP,qword ptr [RBP + 0x10]
TEST RBP,RBP
JNZ 0x0012dbf0
MOV R12,qword ptr [R12 + 0x10]
TEST R12,R12
JNZ 0x0012dbd0
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
RET
(translation_unit "void FUN_0012db80(FILE *param_1)\n\n{\n  undefined8 *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (DAT_0016e3b0 == 0) {\n    return;\n  }\n  fwrite("frag chains:\n",1,0xd,param_1);\n  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0012db80(FILE *param_1)\n\n{\n  undefined8 *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (DAT_0016e3b0 == 0) {\n    return;\n  }\n  fwrite("frag chains:\n",1,0xd,param_1);\n  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0012db80(FILE *param_1)" identifier (parameter_list "(FILE *param_1)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (DAT_0016e3b0 == 0) {\n    return;\n  }\n  fwrite("frag chains:\n",1,0xd,param_1);\n  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (if_statement "if (DAT_0016e3b0 == 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_0016e3b0 == 0)" ( (binary_expression "DAT_0016e3b0 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (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 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }" for ( (assignment_expression "puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90)" identifier = (pointer_expression "*(undefined8 **)(DAT_0016e3b0 + 0x90)" * (cast_expression "(undefined8 **)(DAT_0016e3b0 + 0x90)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0016e3b0 + 0x90)" ( (binary_expression "DAT_0016e3b0 + 0x90" identifier + number_literal) ))))) ; (binary_expression "puVar1 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined8 *)puVar1[2]" identifier = (cast_expression "(undefined8 *)puVar1[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ]))) ) (compound_statement "{\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }" { (if_statement "if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }" if (parenthesized_expression "((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0))" ( (binary_expression "(*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)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 "((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)" ( (binary_expression "(undefined8 *)puVar1[0x15] != (undefined8 *)0x0" (cast_expression "(undefined8 *)puVar1[0x15]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[0x15]" identifier [ number_literal ])) != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }" { (for_statement "for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }" for ( (assignment_expression "plVar2 = *(long **)puVar1[0x15]" identifier = (pointer_expression "*(long **)puVar1[0x15]" * (cast_expression "(long **)puVar1[0x15]" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[0x15]" identifier [ number_literal ])))) ; (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "plVar2 = (long *)plVar2[2]" identifier = (cast_expression "(long *)plVar2[2]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar2[2]" identifier [ number_literal ]))) ) (compound_statement "{\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (for_statement "for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }" for ( (assignment_expression "lVar3 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ; (binary_expression "lVar3 != 0" identifier != number_literal) ; (assignment_expression "lVar3 = *(long *)(lVar3 + 0x38)" identifier = (pointer_expression "*(long *)(lVar3 + 0x38)" * (cast_expression "(long *)(lVar3 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x38)" ( (binary_expression "lVar3 + 0x38" identifier + number_literal) ))))) ) (compound_statement "{\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }" { (expression_statement "uVar4 = (ulong)((int)uVar4 + 1);" (assignment_expression "uVar4 = (ulong)((int)uVar4 + 1)" identifier = (call_expression "(ulong)((int)uVar4 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((int)uVar4 + 1)" ( (binary_expression "(int)uVar4 + 1" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) 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",plVar2,*puVar1,uVar4);" (call_expression "fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4)" identifier (argument_list "(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4)" ( 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 "void subsegs_print_statistics(FILE *file)\n\n{\n  bfd_section *pbVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (stdoutput == (bfd *)0x0) {\n    return;\n  }\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 != '*') && ((undefined8 *)pbVar1->userdata != (undefined8 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n      for (plVar2 = *pbVar1->userdata; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void subsegs_print_statistics(FILE *file)\n\n{\n  bfd_section *pbVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (stdoutput == (bfd *)0x0) {\n    return;\n  }\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 != '*') && ((undefined8 *)pbVar1->userdata != (undefined8 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n      for (plVar2 = *pbVar1->userdata; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\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  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (stdoutput == (bfd *)0x0) {\n    return;\n  }\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 != '*') && ((undefined8 *)pbVar1->userdata != (undefined8 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n      for (plVar2 = *pbVar1->userdata; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\n      }\n    }\n  }\n  return;\n}" { (declaration "bfd_section *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (if_statement "if (stdoutput == (bfd *)0x0) {\n    return;\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    return;\n  }" { (return_statement "return;" return ;) })) (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 != '*') && ((undefined8 *)pbVar1->userdata != (undefined8 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n      for (plVar2 = *pbVar1->userdata; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\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 != '*') && ((undefined8 *)pbVar1->userdata != (undefined8 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n      for (plVar2 = *pbVar1->userdata; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\n      }\n    }\n  }" { (if_statement "if ((*pbVar1->name != '*') && ((undefined8 *)pbVar1->userdata != (undefined8 *)0x0)) {\n                    /* WARNING: Load size is inaccurate */\n      for (plVar2 = *pbVar1->userdata; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\n      }\n    }" if (parenthesized_expression "((*pbVar1->name != '*') && ((undefined8 *)pbVar1->userdata != (undefined8 *)0x0))" ( (binary_expression "(*pbVar1->name != '*') && ((undefined8 *)pbVar1->userdata != (undefined8 *)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 "((undefined8 *)pbVar1->userdata != (undefined8 *)0x0)" ( (binary_expression "(undefined8 *)pbVar1->userdata != (undefined8 *)0x0" (cast_expression "(undefined8 *)pbVar1->userdata" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pbVar1->userdata" identifier -> field_identifier)) != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n      for (plVar2 = *pbVar1->userdata; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\n      }\n    }" { comment (for_statement "for (plVar2 = *pbVar1->userdata; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\n      }" for ( (assignment_expression "plVar2 = *pbVar1->userdata" identifier = (pointer_expression "*pbVar1->userdata" * (field_expression "pbVar1->userdata" identifier -> field_identifier))) ; (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "plVar2 = (long *)plVar2[2]" identifier = (cast_expression "(long *)plVar2[2]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar2[2]" identifier [ number_literal ]))) ) (compound_statement "{\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,(FILE *)file);\n        fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4);\n      }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (for_statement "for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }" for ( (assignment_expression "lVar3 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ; (binary_expression "lVar3 != 0" identifier != number_literal) ; (assignment_expression "lVar3 = *(long *)(lVar3 + 0x38)" identifier = (pointer_expression "*(long *)(lVar3 + 0x38)" * (cast_expression "(long *)(lVar3 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x38)" ( (binary_expression "lVar3 + 0x38" identifier + number_literal) ))))) ) (compound_statement "{\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }" { (expression_statement "uVar4 = (ulong)((int)uVar4 + 1);" (assignment_expression "uVar4 = (ulong)((int)uVar4 + 1)" identifier = (call_expression "(ulong)((int)uVar4 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((int)uVar4 + 1)" ( (binary_expression "(int)uVar4 + 1" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) 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",plVar2,pbVar1->name,uVar4);" (call_expression "fprintf((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4)" identifier (argument_list "((FILE *)file,"\t%p %-10s\t%10d frags\n",plVar2,pbVar1->name,uVar4)" ( (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_0012db80(FILE *param_1)\n\n{\n  undefined8 *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (DAT_0016e3b0 == 0) {\n    return;\n  }\n  fwrite("frag chains:\n",1,0xd,param_1);\n  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0012db80(FILE *param_1)\n\n{\n  undefined8 *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (DAT_0016e3b0 == 0) {\n    return;\n  }\n  fwrite("frag chains:\n",1,0xd,param_1);\n  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0012db80(FILE *param_1)" identifier (parameter_list "(FILE *param_1)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (DAT_0016e3b0 == 0) {\n    return;\n  }\n  fwrite("frag chains:\n",1,0xd,param_1);\n  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (if_statement "if (DAT_0016e3b0 == 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_0016e3b0 == 0)" ( (binary_expression "DAT_0016e3b0 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (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 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }" for ( (assignment_expression "puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90)" identifier = (pointer_expression "*(undefined8 **)(DAT_0016e3b0 + 0x90)" * (cast_expression "(undefined8 **)(DAT_0016e3b0 + 0x90)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0016e3b0 + 0x90)" ( (binary_expression "DAT_0016e3b0 + 0x90" identifier + number_literal) ))))) ; (binary_expression "puVar1 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined8 *)puVar1[2]" identifier = (cast_expression "(undefined8 *)puVar1[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ]))) ) (compound_statement "{\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }" { (if_statement "if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }" if (parenthesized_expression "((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0))" ( (binary_expression "(*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)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 "((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)" ( (binary_expression "(undefined8 *)puVar1[0x15] != (undefined8 *)0x0" (cast_expression "(undefined8 *)puVar1[0x15]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[0x15]" identifier [ number_literal ])) != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }" { (for_statement "for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }" for ( (assignment_expression "plVar2 = *(long **)puVar1[0x15]" identifier = (pointer_expression "*(long **)puVar1[0x15]" * (cast_expression "(long **)puVar1[0x15]" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[0x15]" identifier [ number_literal ])))) ; (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "plVar2 = (long *)plVar2[2]" identifier = (cast_expression "(long *)plVar2[2]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar2[2]" identifier [ number_literal ]))) ) (compound_statement "{\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (for_statement "for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }" for ( (assignment_expression "lVar3 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ; (binary_expression "lVar3 != 0" identifier != number_literal) ; (assignment_expression "lVar3 = *(long *)(lVar3 + 0x38)" identifier = (pointer_expression "*(long *)(lVar3 + 0x38)" * (cast_expression "(long *)(lVar3 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x38)" ( (binary_expression "lVar3 + 0x38" identifier + number_literal) ))))) ) (compound_statement "{\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }" { (expression_statement "uVar4 = (ulong)((int)uVar4 + 1);" (assignment_expression "uVar4 = (ulong)((int)uVar4 + 1)" identifier = (call_expression "(ulong)((int)uVar4 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((int)uVar4 + 1)" ( (binary_expression "(int)uVar4 + 1" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) 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",plVar2,*puVar1,uVar4);" (call_expression "fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4)" identifier (argument_list "(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4)" ( 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 (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (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 (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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_0012db80(FILE *param_1)\n\n{\n  undefined8 *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (DAT_0016e3b0 == 0) {\n    return;\n  }\n  fwrite("frag chains:\n",1,0xd,param_1);\n  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012db80(FILE *param_1)" (identifier "FUN_0012db80") (parameter_list "(FILE *param_1)" (( "(") (parameter_declaration "FILE *param_1" (type_identifier "FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  \n  if (DAT_0016e3b0 == 0) {\n    return;\n  }\n  fwrite("frag chains:\n",1,0xd,param_1);\n  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (if_statement "if (DAT_0016e3b0 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_0016e3b0 == 0)" (( "(") (binary_expression "DAT_0016e3b0 == 0" (identifier "DAT_0016e3b0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (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 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;\n      puVar1 = (undefined8 *)puVar1[2]) {\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }" (for "for") (( "(") (assignment_expression "puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined8 **)(DAT_0016e3b0 + 0x90)" (* "*") (cast_expression "(undefined8 **)(DAT_0016e3b0 + 0x90)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_0016e3b0 + 0x90)" (( "(") (binary_expression "DAT_0016e3b0 + 0x90" (identifier "DAT_0016e3b0") (+ "+") (number_literal "0x90")) () ")"))))) (; ";") (binary_expression "puVar1 != (undefined8 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined8 *)puVar1[2]" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)puVar1[2]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")))) () ")") (compound_statement "{\n    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }\n  }" ({ "{") (if_statement "if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }" (if "if") (parenthesized_expression "((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0))" (( "(") (binary_expression "(*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)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 "((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)" (( "(") (binary_expression "(undefined8 *)puVar1[0x15] != (undefined8 *)0x0" (cast_expression "(undefined8 *)puVar1[0x15]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[0x15]" (identifier "puVar1") ([ "[") (number_literal "0x15") (] "]"))) (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }\n    }" ({ "{") (for_statement "for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }" (for "for") (( "(") (assignment_expression "plVar2 = *(long **)puVar1[0x15]" (identifier "plVar2") (= "=") (pointer_expression "*(long **)puVar1[0x15]" (* "*") (cast_expression "(long **)puVar1[0x15]" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "puVar1[0x15]" (identifier "puVar1") ([ "[") (number_literal "0x15") (] "]"))))) (; ";") (binary_expression "plVar2 != (long *)0x0" (identifier "plVar2") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "plVar2 = (long *)plVar2[2]" (identifier "plVar2") (= "=") (cast_expression "(long *)plVar2[2]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar2[2]" (identifier "plVar2") ([ "[") (number_literal "2") (] "]")))) () ")") (compound_statement "{\n        uVar4 = 0;\n        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }\n        fputc(10,param_1);\n        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);\n      }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (for_statement "for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }" (for "for") (( "(") (assignment_expression "lVar3 = *plVar2" (identifier "lVar3") (= "=") (pointer_expression "*plVar2" (* "*") (identifier "plVar2"))) (; ";") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "lVar3 = *(long *)(lVar3 + 0x38)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(lVar3 + 0x38)" (* "*") (cast_expression "(long *)(lVar3 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x38)" (( "(") (binary_expression "lVar3 + 0x38" (identifier "lVar3") (+ "+") (number_literal "0x38")) () ")"))))) () ")") (compound_statement "{\n          uVar4 = (ulong)((int)uVar4 + 1);\n        }" ({ "{") (expression_statement "uVar4 = (ulong)((int)uVar4 + 1);" (assignment_expression "uVar4 = (ulong)((int)uVar4 + 1)" (identifier "uVar4") (= "=") (call_expression "(ulong)((int)uVar4 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((int)uVar4 + 1)" (( "(") (binary_expression "(int)uVar4 + 1" (cast_expression "(int)uVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar4")) (+ "+") (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",plVar2,*puVar1,uVar4);" (call_expression "fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4)" (identifier "fprintf") (argument_list "(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4)" (( "(") (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 "plVar2") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *file)

{
  type_2 *var_3;
  long *var_4;
  long var_5;
  type_3 uVar4;
  
  if (var_1 == (type_4 *)0x0) {
    return;
  }
  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_5 *)var_3->userdata != (type_5 *)0x0)) {
                    /* WARNING: Load size is inaccurate */
      for (var_4 = *var_3->userdata; var_4 != (long *)0x0; var_4 = (long *)var_4[2]) {
        uVar4 = 0;
        for (var_5 = *var_4; var_5 != 0; var_5 = *(long *)(var_5 + 0x38)) {
          uVar4 = (type_3)((int)uVar4 + 1);
        }
        var_6(10,(type_1 *)file);
        var_7((type_1 *)file,"\t%p %-10s\t%10d frags\n",var_4,var_3->name,uVar4);
      }
    }
  }
  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: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_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: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))

void MASKED(FILE *param_1)

{
  undefined8 *puVar1;
  long *plVar2;
  long lVar3;
  ulong uVar4;
  
  if (DAT_0016e3b0 == 0) {
    return;
  }
  fwrite("frag chains:\n",1,0xd,param_1);
  for (puVar1 = *(undefined8 **)(DAT_0016e3b0 + 0x90); puVar1 != (undefined8 *)0x0;
      puVar1 = (undefined8 *)puVar1[2]) {
    if ((*(char *)*puVar1 != '*') && ((undefined8 *)puVar1[0x15] != (undefined8 *)0x0)) {
      for (plVar2 = *(long **)puVar1[0x15]; plVar2 != (long *)0x0; plVar2 = (long *)plVar2[2]) {
        uVar4 = 0;
        for (lVar3 = *plVar2; lVar3 != 0; lVar3 = *(long *)(lVar3 + 0x38)) {
          uVar4 = (ulong)((int)uVar4 + 1);
        }
        fputc(10,param_1);
        fprintf(param_1,"\t%p %-10s\t%10d frags\n",plVar2,*puVar1,uVar4);
      }
    }
  }
  return;
}

