
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void lang_print_memory_usage(void)

{
  uint uVar1;
  float fVar2;
  double dVar3;
  float fVar4;
  bfd_vma bVar5;
  int iVar6;
  char *pcVar7;
  char *pcVar8;
  lang_memory_region_type *local_28;
  
  printf("Memory region         Used Size  Region Size  %%age Used\n");
  local_28 = lang_memory_region_list;
  if (lang_memory_region_list->next != (memory_region_struct *)0x0) {
    do {
      uVar1 = (uint)local_28->current;
      bVar5 = local_28->origin;
      iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -
              (uint)(uVar1 < (uint)local_28->origin);
      pcVar8 = (local_28->name_list).name;
      pcVar7 = "%16s: ";
      printf("%16s: ");
      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));
      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));
      fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);
      if (iVar6 < 0) {
        fVar2 = fVar2 + DAT_0006308c;
      }
      fVar4 = (float)(longlong)local_28->length;
      if (*(int *)((int)&local_28->length + 4) < 0) {
        fVar4 = fVar4 + DAT_0006308c;
      }
      dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;
      printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));
      local_28 = local_28->next;
    } while (local_28->next != (memory_region_struct *)0x0);
  }
  return;
}



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

void FUN_0002bf30(void)

{
  uint uVar1;
  uint uVar2;
  undefined4 *puVar3;
  float fVar4;
  float fVar5;
  int iVar6;
  
  printf("Memory region         Used Size  Region Size  %%age Used\n");
  iVar6 = DAT_0013cecc[2];
  puVar3 = DAT_0013cecc;
  while (iVar6 != 0) {
    uVar1 = puVar3[9];
    uVar2 = puVar3[4];
    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);
    printf("%16s: ",*puVar3);
    FUN_00022480();
    FUN_00022480();
    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);
    if (iVar6 < 0) {
      fVar4 = fVar4 + DAT_0006308c;
    }
    fVar5 = (float)*(longlong *)(puVar3 + 6);
    if ((int)puVar3[7] < 0) {
      fVar5 = fVar5 + DAT_0006308c;
    }
    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);
    puVar3 = (undefined4 *)puVar3[2];
    iVar6 = puVar3[2];
  }
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016a30
ADD EBX,0x1100c5
SUB ESP,0x38
LEA EAX,[EBX + 0xfff27050]
PUSH EAX
CALL 0x00015110
MOV EAX,dword ptr [EBX + 0xecc]
ADD ESP,0x10
MOV ECX,dword ptr [EAX + 0x8]
TEST ECX,ECX
JZ 0x0002c015
LEA EDX,[EBX + 0xfff261c9]
LEA ECX,[EBX + 0xfff261d0]
MOV dword ptr [EBP + -0x24],EAX
MOV dword ptr [EBP + -0x28],EDX
MOV dword ptr [EBP + -0x34],ECX
LEA ESI,[ESI]
MOV EAX,dword ptr [EBP + -0x24]
MOV ESI,dword ptr [EAX + 0x24]
MOV EDI,dword ptr [EAX + 0x28]
SUB ESI,dword ptr [EAX + 0x10]
SBB EDI,dword ptr [EAX + 0x14]
SUB ESP,0x8
PUSH dword ptr [EAX]
PUSH dword ptr [EBP + -0x28]
CALL 0x00015110
MOV EAX,ESI
MOV EDX,EDI
CALL 0x00022480
MOV EAX,dword ptr [EBP + -0x24]
MOV EDX,dword ptr [EAX + 0x1c]
MOV EAX,dword ptr [EAX + 0x18]
CALL 0x00022480
MOV dword ptr [EBP + -0x30],ESI
ADD ESP,0xc
MOV dword ptr [EBP + -0x2c],EDI
FILD qword ptr [EBP + -0x30]
TEST EDI,EDI
JNS 0x0002bfc9
FADD dword ptr [EBX + 0xfff2708c]
MOV EAX,dword ptr [EBP + -0x24]
FSTP qword ptr [EBP + -0x20]
FLD qword ptr [EBP + -0x20]
FMUL dword ptr [EBX + 0xfff27090]
MOV EDX,dword ptr [EAX + 0x1c]
FILD qword ptr [EAX + 0x18]
TEST EDX,EDX
JNS 0x0002bfe8
FADD dword ptr [EBX + 0xfff2708c]
FSTP qword ptr [EBP + -0x20]
FLD qword ptr [EBP + -0x20]
SUB ESP,0x8
FDIVP
FSTP qword ptr [ESP]
PUSH dword ptr [EBP + -0x34]
CALL 0x00015110
MOV EAX,dword ptr [EBP + -0x24]
ADD ESP,0x10
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [EBP + -0x24],EAX
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x0002bf80
LEA ESP,[EBP + -0xc]
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_0002bf30(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  float fVar4;\n  float fVar5;\n  int iVar6;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  iVar6 = DAT_0013cecc[2];\n  puVar3 = DAT_0013cecc;\n  while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0002bf30(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  float fVar4;\n  float fVar5;\n  int iVar6;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  iVar6 = DAT_0013cecc[2];\n  puVar3 = DAT_0013cecc;\n  while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0002bf30(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  float fVar4;\n  float fVar5;\n  int iVar6;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  iVar6 = DAT_0013cecc[2];\n  puVar3 = DAT_0013cecc;\n  while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "float fVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "printf("Memory region         Used Size  Region Size  %%age Used\n");" (call_expression "printf("Memory region         Used Size  Region Size  %%age Used\n")" identifier (argument_list "("Memory region         Used Size  Region Size  %%age Used\n")" ( (string_literal ""Memory region         Used Size  Region Size  %%age Used\n"" " string_content escape_sequence ") ))) ;) (expression_statement "iVar6 = DAT_0013cecc[2];" (assignment_expression "iVar6 = DAT_0013cecc[2]" identifier = (subscript_expression "DAT_0013cecc[2]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = DAT_0013cecc;" (assignment_expression "puVar3 = DAT_0013cecc" identifier = identifier) ;) (while_statement "while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }" while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }" { (expression_statement "uVar1 = puVar3[9];" (assignment_expression "uVar1 = puVar3[9]" identifier = (subscript_expression "puVar3[9]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = puVar3[4];" (assignment_expression "uVar2 = puVar3[4]" identifier = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);" (assignment_expression "iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4])" identifier = (binary_expression "(puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4])" (parenthesized_expression "(puVar3[10] - puVar3[5])" ( (binary_expression "puVar3[10] - puVar3[5]" (subscript_expression "puVar3[10]" identifier [ number_literal ]) - (subscript_expression "puVar3[5]" identifier [ number_literal ])) )) - (call_expression "(uint)(uVar1 < (uint)puVar3[4])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < (uint)puVar3[4])" ( (binary_expression "uVar1 < (uint)puVar3[4]" identifier < (cast_expression "(uint)puVar3[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar3[4]" identifier [ number_literal ]))) ))))) ;) (expression_statement "printf("%16s: ",*puVar3);" (call_expression "printf("%16s: ",*puVar3)" identifier (argument_list "("%16s: ",*puVar3)" ( (string_literal ""%16s: "" " string_content ") , (pointer_expression "*puVar3" * identifier) ))) ;) (expression_statement "FUN_00022480();" (call_expression "FUN_00022480()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00022480();" (call_expression "FUN_00022480()" identifier (argument_list "()" ( ))) ;) (expression_statement "fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);" (assignment_expression "fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2)" identifier = (cast_expression "(float)CONCAT44(iVar6,uVar1 - uVar2)" ( (type_descriptor "float" primitive_type) ) (call_expression "CONCAT44(iVar6,uVar1 - uVar2)" identifier (argument_list "(iVar6,uVar1 - uVar2)" ( identifier , (binary_expression "uVar1 - uVar2" identifier - identifier) ))))) ;) (if_statement "if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n      fVar4 = fVar4 + DAT_0006308c;\n    }" { (expression_statement "fVar4 = fVar4 + DAT_0006308c;" (assignment_expression "fVar4 = fVar4 + DAT_0006308c" identifier = (binary_expression "fVar4 + DAT_0006308c" identifier + identifier)) ;) })) (expression_statement "fVar5 = (float)*(longlong *)(puVar3 + 6);" (assignment_expression "fVar5 = (float)*(longlong *)(puVar3 + 6)" identifier = (cast_expression "(float)*(longlong *)(puVar3 + 6)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(longlong *)(puVar3 + 6)" * (cast_expression "(longlong *)(puVar3 + 6)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 6)" ( (binary_expression "puVar3 + 6" identifier + number_literal) )))))) ;) (if_statement "if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }" if (parenthesized_expression "((int)puVar3[7] < 0)" ( (binary_expression "(int)puVar3[7] < 0" (cast_expression "(int)puVar3[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar3[7]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n      fVar5 = fVar5 + DAT_0006308c;\n    }" { (expression_statement "fVar5 = fVar5 + DAT_0006308c;" (assignment_expression "fVar5 = fVar5 + DAT_0006308c" identifier = (binary_expression "fVar5 + DAT_0006308c" identifier + identifier)) ;) })) (expression_statement "printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);" (call_expression "printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5)" identifier (argument_list "("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5)" ( (string_literal ""    %6.2f%%\n"" " string_content escape_sequence ") , (binary_expression "((double)fVar4 * (double)DAT_00063090) / (double)fVar5" (parenthesized_expression "((double)fVar4 * (double)DAT_00063090)" ( (binary_expression "(double)fVar4 * (double)DAT_00063090" (cast_expression "(double)fVar4" ( (type_descriptor "double" primitive_type) ) identifier) * (cast_expression "(double)DAT_00063090" ( (type_descriptor "double" primitive_type) ) identifier)) )) / (cast_expression "(double)fVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ))) ;) (expression_statement "puVar3 = (undefined4 *)puVar3[2];" (assignment_expression "puVar3 = (undefined4 *)puVar3[2]" identifier = (cast_expression "(undefined4 *)puVar3[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = puVar3[2];" (assignment_expression "iVar6 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) })) (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 -- yet parameter storage is locked */\n\nvoid lang_print_memory_usage(void)\n\n{\n  uint uVar1;\n  float fVar2;\n  double dVar3;\n  float fVar4;\n  bfd_vma bVar5;\n  int iVar6;\n  char *pcVar7;\n  char *pcVar8;\n  lang_memory_region_type *local_28;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  local_28 = lang_memory_region_list;\n  if (lang_memory_region_list->next != (memory_region_struct *)0x0) {\n    do {\n      uVar1 = (uint)local_28->current;\n      bVar5 = local_28->origin;\n      iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin);\n      pcVar8 = (local_28->name_list).name;\n      pcVar7 = "%16s: ";\n      printf("%16s: ");\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);\n      if (iVar6 < 0) {\n        fVar2 = fVar2 + DAT_0006308c;\n      }\n      fVar4 = (float)(longlong)local_28->length;\n      if (*(int *)((int)&local_28->length + 4) < 0) {\n        fVar4 = fVar4 + DAT_0006308c;\n      }\n      dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;\n      printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));\n      local_28 = local_28->next;\n    } while (local_28->next != (memory_region_struct *)0x0);\n  }\n  return;\n}\n\n" comment comment (function_definition "void lang_print_memory_usage(void)\n\n{\n  uint uVar1;\n  float fVar2;\n  double dVar3;\n  float fVar4;\n  bfd_vma bVar5;\n  int iVar6;\n  char *pcVar7;\n  char *pcVar8;\n  lang_memory_region_type *local_28;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  local_28 = lang_memory_region_list;\n  if (lang_memory_region_list->next != (memory_region_struct *)0x0) {\n    do {\n      uVar1 = (uint)local_28->current;\n      bVar5 = local_28->origin;\n      iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin);\n      pcVar8 = (local_28->name_list).name;\n      pcVar7 = "%16s: ";\n      printf("%16s: ");\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);\n      if (iVar6 < 0) {\n        fVar2 = fVar2 + DAT_0006308c;\n      }\n      fVar4 = (float)(longlong)local_28->length;\n      if (*(int *)((int)&local_28->length + 4) < 0) {\n        fVar4 = fVar4 + DAT_0006308c;\n      }\n      dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;\n      printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));\n      local_28 = local_28->next;\n    } while (local_28->next != (memory_region_struct *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "lang_print_memory_usage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  float fVar2;\n  double dVar3;\n  float fVar4;\n  bfd_vma bVar5;\n  int iVar6;\n  char *pcVar7;\n  char *pcVar8;\n  lang_memory_region_type *local_28;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  local_28 = lang_memory_region_list;\n  if (lang_memory_region_list->next != (memory_region_struct *)0x0) {\n    do {\n      uVar1 = (uint)local_28->current;\n      bVar5 = local_28->origin;\n      iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin);\n      pcVar8 = (local_28->name_list).name;\n      pcVar7 = "%16s: ";\n      printf("%16s: ");\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);\n      if (iVar6 < 0) {\n        fVar2 = fVar2 + DAT_0006308c;\n      }\n      fVar4 = (float)(longlong)local_28->length;\n      if (*(int *)((int)&local_28->length + 4) < 0) {\n        fVar4 = fVar4 + DAT_0006308c;\n      }\n      dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;\n      printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));\n      local_28 = local_28->next;\n    } while (local_28->next != (memory_region_struct *)0x0);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "bfd_vma bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "lang_memory_region_type *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "printf("Memory region         Used Size  Region Size  %%age Used\n");" (call_expression "printf("Memory region         Used Size  Region Size  %%age Used\n")" identifier (argument_list "("Memory region         Used Size  Region Size  %%age Used\n")" ( (string_literal ""Memory region         Used Size  Region Size  %%age Used\n"" " string_content escape_sequence ") ))) ;) (expression_statement "local_28 = lang_memory_region_list;" (assignment_expression "local_28 = lang_memory_region_list" identifier = identifier) ;) (if_statement "if (lang_memory_region_list->next != (memory_region_struct *)0x0) {\n    do {\n      uVar1 = (uint)local_28->current;\n      bVar5 = local_28->origin;\n      iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin);\n      pcVar8 = (local_28->name_list).name;\n      pcVar7 = "%16s: ";\n      printf("%16s: ");\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);\n      if (iVar6 < 0) {\n        fVar2 = fVar2 + DAT_0006308c;\n      }\n      fVar4 = (float)(longlong)local_28->length;\n      if (*(int *)((int)&local_28->length + 4) < 0) {\n        fVar4 = fVar4 + DAT_0006308c;\n      }\n      dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;\n      printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));\n      local_28 = local_28->next;\n    } while (local_28->next != (memory_region_struct *)0x0);\n  }" if (parenthesized_expression "(lang_memory_region_list->next != (memory_region_struct *)0x0)" ( (binary_expression "lang_memory_region_list->next != (memory_region_struct *)0x0" (field_expression "lang_memory_region_list->next" identifier -> field_identifier) != (cast_expression "(memory_region_struct *)0x0" ( (type_descriptor "memory_region_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      uVar1 = (uint)local_28->current;\n      bVar5 = local_28->origin;\n      iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin);\n      pcVar8 = (local_28->name_list).name;\n      pcVar7 = "%16s: ";\n      printf("%16s: ");\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);\n      if (iVar6 < 0) {\n        fVar2 = fVar2 + DAT_0006308c;\n      }\n      fVar4 = (float)(longlong)local_28->length;\n      if (*(int *)((int)&local_28->length + 4) < 0) {\n        fVar4 = fVar4 + DAT_0006308c;\n      }\n      dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;\n      printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));\n      local_28 = local_28->next;\n    } while (local_28->next != (memory_region_struct *)0x0);\n  }" { (do_statement "do {\n      uVar1 = (uint)local_28->current;\n      bVar5 = local_28->origin;\n      iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin);\n      pcVar8 = (local_28->name_list).name;\n      pcVar7 = "%16s: ";\n      printf("%16s: ");\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);\n      if (iVar6 < 0) {\n        fVar2 = fVar2 + DAT_0006308c;\n      }\n      fVar4 = (float)(longlong)local_28->length;\n      if (*(int *)((int)&local_28->length + 4) < 0) {\n        fVar4 = fVar4 + DAT_0006308c;\n      }\n      dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;\n      printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));\n      local_28 = local_28->next;\n    } while (local_28->next != (memory_region_struct *)0x0);" do (compound_statement "{\n      uVar1 = (uint)local_28->current;\n      bVar5 = local_28->origin;\n      iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin);\n      pcVar8 = (local_28->name_list).name;\n      pcVar7 = "%16s: ";\n      printf("%16s: ");\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      lang_print_memory_size(CONCAT44(pcVar8,pcVar7));\n      fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);\n      if (iVar6 < 0) {\n        fVar2 = fVar2 + DAT_0006308c;\n      }\n      fVar4 = (float)(longlong)local_28->length;\n      if (*(int *)((int)&local_28->length + 4) < 0) {\n        fVar4 = fVar4 + DAT_0006308c;\n      }\n      dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;\n      printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));\n      local_28 = local_28->next;\n    }" { (expression_statement "uVar1 = (uint)local_28->current;" (assignment_expression "uVar1 = (uint)local_28->current" identifier = (cast_expression "(uint)local_28->current" ( (type_descriptor "uint" type_identifier) ) (field_expression "local_28->current" identifier -> field_identifier))) ;) (expression_statement "bVar5 = local_28->origin;" (assignment_expression "bVar5 = local_28->origin" identifier = (field_expression "local_28->origin" identifier -> field_identifier)) ;) (expression_statement "iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin);" (assignment_expression "iVar6 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin)" identifier = (binary_expression "(*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -\n              (uint)(uVar1 < (uint)local_28->origin)" (parenthesized_expression "(*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4))" ( (binary_expression "*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)" (pointer_expression "*(int *)((int)&local_28->current + 4)" * (cast_expression "(int *)((int)&local_28->current + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_28->current + 4)" ( (binary_expression "(int)&local_28->current + 4" (cast_expression "(int)&local_28->current" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_28->current" & (field_expression "local_28->current" identifier -> field_identifier))) + number_literal) )))) - (pointer_expression "*(int *)((int)&local_28->origin + 4)" * (cast_expression "(int *)((int)&local_28->origin + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_28->origin + 4)" ( (binary_expression "(int)&local_28->origin + 4" (cast_expression "(int)&local_28->origin" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_28->origin" & (field_expression "local_28->origin" identifier -> field_identifier))) + number_literal) ))))) )) - (call_expression "(uint)(uVar1 < (uint)local_28->origin)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < (uint)local_28->origin)" ( (binary_expression "uVar1 < (uint)local_28->origin" identifier < (cast_expression "(uint)local_28->origin" ( (type_descriptor "uint" type_identifier) ) (field_expression "local_28->origin" identifier -> field_identifier))) ))))) ;) (expression_statement "pcVar8 = (local_28->name_list).name;" (assignment_expression "pcVar8 = (local_28->name_list).name" identifier = (field_expression "(local_28->name_list).name" (parenthesized_expression "(local_28->name_list)" ( (field_expression "local_28->name_list" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar7 = "%16s: ";" (assignment_expression "pcVar7 = "%16s: "" identifier = (string_literal ""%16s: "" " string_content ")) ;) (expression_statement "printf("%16s: ");" (call_expression "printf("%16s: ")" identifier (argument_list "("%16s: ")" ( (string_literal ""%16s: "" " string_content ") ))) ;) (expression_statement "lang_print_memory_size(CONCAT44(pcVar8,pcVar7));" (call_expression "lang_print_memory_size(CONCAT44(pcVar8,pcVar7))" identifier (argument_list "(CONCAT44(pcVar8,pcVar7))" ( (call_expression "CONCAT44(pcVar8,pcVar7)" identifier (argument_list "(pcVar8,pcVar7)" ( identifier , identifier ))) ))) ;) (expression_statement "lang_print_memory_size(CONCAT44(pcVar8,pcVar7));" (call_expression "lang_print_memory_size(CONCAT44(pcVar8,pcVar7))" identifier (argument_list "(CONCAT44(pcVar8,pcVar7))" ( (call_expression "CONCAT44(pcVar8,pcVar7)" identifier (argument_list "(pcVar8,pcVar7)" ( identifier , identifier ))) ))) ;) (expression_statement "fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5);" (assignment_expression "fVar2 = (float)CONCAT44(iVar6,uVar1 - (int)bVar5)" identifier = (cast_expression "(float)CONCAT44(iVar6,uVar1 - (int)bVar5)" ( (type_descriptor "float" primitive_type) ) (call_expression "CONCAT44(iVar6,uVar1 - (int)bVar5)" identifier (argument_list "(iVar6,uVar1 - (int)bVar5)" ( identifier , (binary_expression "uVar1 - (int)bVar5" identifier - (cast_expression "(int)bVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (if_statement "if (iVar6 < 0) {\n        fVar2 = fVar2 + DAT_0006308c;\n      }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n        fVar2 = fVar2 + DAT_0006308c;\n      }" { (expression_statement "fVar2 = fVar2 + DAT_0006308c;" (assignment_expression "fVar2 = fVar2 + DAT_0006308c" identifier = (binary_expression "fVar2 + DAT_0006308c" identifier + identifier)) ;) })) (expression_statement "fVar4 = (float)(longlong)local_28->length;" (assignment_expression "fVar4 = (float)(longlong)local_28->length" identifier = (cast_expression "(float)(longlong)local_28->length" ( (type_descriptor "float" primitive_type) ) (cast_expression "(longlong)local_28->length" ( (type_descriptor "longlong" type_identifier) ) (field_expression "local_28->length" identifier -> field_identifier)))) ;) (if_statement "if (*(int *)((int)&local_28->length + 4) < 0) {\n        fVar4 = fVar4 + DAT_0006308c;\n      }" if (parenthesized_expression "(*(int *)((int)&local_28->length + 4) < 0)" ( (binary_expression "*(int *)((int)&local_28->length + 4) < 0" (pointer_expression "*(int *)((int)&local_28->length + 4)" * (cast_expression "(int *)((int)&local_28->length + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_28->length + 4)" ( (binary_expression "(int)&local_28->length + 4" (cast_expression "(int)&local_28->length" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_28->length" & (field_expression "local_28->length" identifier -> field_identifier))) + number_literal) )))) < number_literal) )) (compound_statement "{\n        fVar4 = fVar4 + DAT_0006308c;\n      }" { (expression_statement "fVar4 = fVar4 + DAT_0006308c;" (assignment_expression "fVar4 = fVar4 + DAT_0006308c" identifier = (binary_expression "fVar4 + DAT_0006308c" identifier + identifier)) ;) })) (expression_statement "dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4;" (assignment_expression "dVar3 = ((double)fVar2 * (double)DAT_00063090) / (double)fVar4" identifier = (binary_expression "((double)fVar2 * (double)DAT_00063090) / (double)fVar4" (parenthesized_expression "((double)fVar2 * (double)DAT_00063090)" ( (binary_expression "(double)fVar2 * (double)DAT_00063090" (cast_expression "(double)fVar2" ( (type_descriptor "double" primitive_type) ) identifier) * (cast_expression "(double)DAT_00063090" ( (type_descriptor "double" primitive_type) ) identifier)) )) / (cast_expression "(double)fVar4" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20));" (call_expression "printf("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20))" identifier (argument_list "("    %6.2f%%\n",SUB84(dVar3,0),(int)((ulonglong)dVar3 >> 0x20))" ( (string_literal ""    %6.2f%%\n"" " string_content escape_sequence ") , (call_expression "SUB84(dVar3,0)" identifier (argument_list "(dVar3,0)" ( identifier , number_literal ))) , (cast_expression "(int)((ulonglong)dVar3 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)dVar3 >> 0x20)" ( (binary_expression "(ulonglong)dVar3 >> 0x20" (cast_expression "(ulonglong)dVar3" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))) ;) (expression_statement "local_28 = local_28->next;" (assignment_expression "local_28 = local_28->next" identifier = (field_expression "local_28->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(local_28->next != (memory_region_struct *)0x0)" ( (binary_expression "local_28->next != (memory_region_struct *)0x0" (field_expression "local_28->next" identifier -> field_identifier) != (cast_expression "(memory_region_struct *)0x0" ( (type_descriptor "memory_region_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0002bf30(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  float fVar4;\n  float fVar5;\n  int iVar6;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  iVar6 = DAT_0013cecc[2];\n  puVar3 = DAT_0013cecc;\n  while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }\n  return;\n}\n\n" (function_definition "void FUN_0002bf30(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  float fVar4;\n  float fVar5;\n  int iVar6;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  iVar6 = DAT_0013cecc[2];\n  puVar3 = DAT_0013cecc;\n  while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0002bf30(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  float fVar4;\n  float fVar5;\n  int iVar6;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  iVar6 = DAT_0013cecc[2];\n  puVar3 = DAT_0013cecc;\n  while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "float fVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "printf("Memory region         Used Size  Region Size  %%age Used\n");" (call_expression "printf("Memory region         Used Size  Region Size  %%age Used\n")" identifier (argument_list "("Memory region         Used Size  Region Size  %%age Used\n")" ( (string_literal ""Memory region         Used Size  Region Size  %%age Used\n"" " string_content escape_sequence ") ))) ;) (expression_statement "iVar6 = DAT_0013cecc[2];" (assignment_expression "iVar6 = DAT_0013cecc[2]" identifier = (subscript_expression "DAT_0013cecc[2]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = DAT_0013cecc;" (assignment_expression "puVar3 = DAT_0013cecc" identifier = identifier) ;) (while_statement "while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }" while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }" { (expression_statement "uVar1 = puVar3[9];" (assignment_expression "uVar1 = puVar3[9]" identifier = (subscript_expression "puVar3[9]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = puVar3[4];" (assignment_expression "uVar2 = puVar3[4]" identifier = (subscript_expression "puVar3[4]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);" (assignment_expression "iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4])" identifier = (binary_expression "(puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4])" (parenthesized_expression "(puVar3[10] - puVar3[5])" ( (binary_expression "puVar3[10] - puVar3[5]" (subscript_expression "puVar3[10]" identifier [ number_literal ]) - (subscript_expression "puVar3[5]" identifier [ number_literal ])) )) - (call_expression "(uint)(uVar1 < (uint)puVar3[4])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < (uint)puVar3[4])" ( (binary_expression "uVar1 < (uint)puVar3[4]" identifier < (cast_expression "(uint)puVar3[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar3[4]" identifier [ number_literal ]))) ))))) ;) (expression_statement "printf("%16s: ",*puVar3);" (call_expression "printf("%16s: ",*puVar3)" identifier (argument_list "("%16s: ",*puVar3)" ( (string_literal ""%16s: "" " string_content ") , (pointer_expression "*puVar3" * identifier) ))) ;) (expression_statement "FUN_00022480();" (call_expression "FUN_00022480()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00022480();" (call_expression "FUN_00022480()" identifier (argument_list "()" ( ))) ;) (expression_statement "fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);" (assignment_expression "fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2)" identifier = (cast_expression "(float)CONCAT44(iVar6,uVar1 - uVar2)" ( (type_descriptor "float" primitive_type) ) (call_expression "CONCAT44(iVar6,uVar1 - uVar2)" identifier (argument_list "(iVar6,uVar1 - uVar2)" ( identifier , (binary_expression "uVar1 - uVar2" identifier - identifier) ))))) ;) (if_statement "if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n      fVar4 = fVar4 + DAT_0006308c;\n    }" { (expression_statement "fVar4 = fVar4 + DAT_0006308c;" (assignment_expression "fVar4 = fVar4 + DAT_0006308c" identifier = (binary_expression "fVar4 + DAT_0006308c" identifier + identifier)) ;) })) (expression_statement "fVar5 = (float)*(longlong *)(puVar3 + 6);" (assignment_expression "fVar5 = (float)*(longlong *)(puVar3 + 6)" identifier = (cast_expression "(float)*(longlong *)(puVar3 + 6)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(longlong *)(puVar3 + 6)" * (cast_expression "(longlong *)(puVar3 + 6)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 6)" ( (binary_expression "puVar3 + 6" identifier + number_literal) )))))) ;) (if_statement "if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }" if (parenthesized_expression "((int)puVar3[7] < 0)" ( (binary_expression "(int)puVar3[7] < 0" (cast_expression "(int)puVar3[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar3[7]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n      fVar5 = fVar5 + DAT_0006308c;\n    }" { (expression_statement "fVar5 = fVar5 + DAT_0006308c;" (assignment_expression "fVar5 = fVar5 + DAT_0006308c" identifier = (binary_expression "fVar5 + DAT_0006308c" identifier + identifier)) ;) })) (expression_statement "printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);" (call_expression "printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5)" identifier (argument_list "("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5)" ( (string_literal ""    %6.2f%%\n"" " string_content escape_sequence ") , (binary_expression "((double)fVar4 * (double)DAT_00063090) / (double)fVar5" (parenthesized_expression "((double)fVar4 * (double)DAT_00063090)" ( (binary_expression "(double)fVar4 * (double)DAT_00063090" (cast_expression "(double)fVar4" ( (type_descriptor "double" primitive_type) ) identifier) * (cast_expression "(double)DAT_00063090" ( (type_descriptor "double" primitive_type) ) identifier)) )) / (cast_expression "(double)fVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ))) ;) (expression_statement "puVar3 = (undefined4 *)puVar3[2];" (assignment_expression "puVar3 = (undefined4 *)puVar3[2]" identifier = (cast_expression "(undefined4 *)puVar3[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = puVar3[2];" (assignment_expression "iVar6 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ])) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT - IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) / (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0002bf30(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  float fVar4;\n  float fVar5;\n  int iVar6;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  iVar6 = DAT_0013cecc[2];\n  puVar3 = DAT_0013cecc;\n  while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002bf30(void)" (identifier "FUN_0002bf30") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  float fVar4;\n  float fVar5;\n  int iVar6;\n  \n  printf("Memory region         Used Size  Region Size  %%age Used\n");\n  iVar6 = DAT_0013cecc[2];\n  puVar3 = DAT_0013cecc;\n  while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "float fVar4;" (primitive_type "float") (identifier "fVar4") (; ";")) (declaration "float fVar5;" (primitive_type "float") (identifier "fVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "printf("Memory region         Used Size  Region Size  %%age Used\n");" (call_expression "printf("Memory region         Used Size  Region Size  %%age Used\n")" (identifier "printf") (argument_list "("Memory region         Used Size  Region Size  %%age Used\n")" (( "(") (string_literal ""Memory region         Used Size  Region Size  %%age Used\n"" (" """) (string_content "Memory region         Used Size  Region Size  %%age Used") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (expression_statement "iVar6 = DAT_0013cecc[2];" (assignment_expression "iVar6 = DAT_0013cecc[2]" (identifier "iVar6") (= "=") (subscript_expression "DAT_0013cecc[2]" (identifier "DAT_0013cecc") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar3 = DAT_0013cecc;" (assignment_expression "puVar3 = DAT_0013cecc" (identifier "puVar3") (= "=") (identifier "DAT_0013cecc")) (; ";")) (while_statement "while (iVar6 != 0) {\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }" (while "while") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = puVar3[9];\n    uVar2 = puVar3[4];\n    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);\n    printf("%16s: ",*puVar3);\n    FUN_00022480();\n    FUN_00022480();\n    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);\n    if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }\n    fVar5 = (float)*(longlong *)(puVar3 + 6);\n    if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }\n    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);\n    puVar3 = (undefined4 *)puVar3[2];\n    iVar6 = puVar3[2];\n  }" ({ "{") (expression_statement "uVar1 = puVar3[9];" (assignment_expression "uVar1 = puVar3[9]" (identifier "uVar1") (= "=") (subscript_expression "puVar3[9]" (identifier "puVar3") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "uVar2 = puVar3[4];" (assignment_expression "uVar2 = puVar3[4]" (identifier "uVar2") (= "=") (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);" (assignment_expression "iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4])" (identifier "iVar6") (= "=") (binary_expression "(puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4])" (parenthesized_expression "(puVar3[10] - puVar3[5])" (( "(") (binary_expression "puVar3[10] - puVar3[5]" (subscript_expression "puVar3[10]" (identifier "puVar3") ([ "[") (number_literal "10") (] "]")) (- "-") (subscript_expression "puVar3[5]" (identifier "puVar3") ([ "[") (number_literal "5") (] "]"))) () ")")) (- "-") (call_expression "(uint)(uVar1 < (uint)puVar3[4])" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < (uint)puVar3[4])" (( "(") (binary_expression "uVar1 < (uint)puVar3[4]" (identifier "uVar1") (< "<") (cast_expression "(uint)puVar3[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")))) () ")"))))) (; ";")) (expression_statement "printf("%16s: ",*puVar3);" (call_expression "printf("%16s: ",*puVar3)" (identifier "printf") (argument_list "("%16s: ",*puVar3)" (( "(") (string_literal ""%16s: "" (" """) (string_content "%16s: ") (" """)) (, ",") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")"))) (; ";")) (expression_statement "FUN_00022480();" (call_expression "FUN_00022480()" (identifier "FUN_00022480") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00022480();" (call_expression "FUN_00022480()" (identifier "FUN_00022480") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);" (assignment_expression "fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2)" (identifier "fVar4") (= "=") (cast_expression "(float)CONCAT44(iVar6,uVar1 - uVar2)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (call_expression "CONCAT44(iVar6,uVar1 - uVar2)" (identifier "CONCAT44") (argument_list "(iVar6,uVar1 - uVar2)" (( "(") (identifier "iVar6") (, ",") (binary_expression "uVar1 - uVar2" (identifier "uVar1") (- "-") (identifier "uVar2")) () ")"))))) (; ";")) (if_statement "if (iVar6 < 0) {\n      fVar4 = fVar4 + DAT_0006308c;\n    }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      fVar4 = fVar4 + DAT_0006308c;\n    }" ({ "{") (expression_statement "fVar4 = fVar4 + DAT_0006308c;" (assignment_expression "fVar4 = fVar4 + DAT_0006308c" (identifier "fVar4") (= "=") (binary_expression "fVar4 + DAT_0006308c" (identifier "fVar4") (+ "+") (identifier "DAT_0006308c"))) (; ";")) (} "}"))) (expression_statement "fVar5 = (float)*(longlong *)(puVar3 + 6);" (assignment_expression "fVar5 = (float)*(longlong *)(puVar3 + 6)" (identifier "fVar5") (= "=") (cast_expression "(float)*(longlong *)(puVar3 + 6)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(longlong *)(puVar3 + 6)" (* "*") (cast_expression "(longlong *)(puVar3 + 6)" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 6)" (( "(") (binary_expression "puVar3 + 6" (identifier "puVar3") (+ "+") (number_literal "6")) () ")")))))) (; ";")) (if_statement "if ((int)puVar3[7] < 0) {\n      fVar5 = fVar5 + DAT_0006308c;\n    }" (if "if") (parenthesized_expression "((int)puVar3[7] < 0)" (( "(") (binary_expression "(int)puVar3[7] < 0" (cast_expression "(int)puVar3[7]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar3[7]" (identifier "puVar3") ([ "[") (number_literal "7") (] "]"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      fVar5 = fVar5 + DAT_0006308c;\n    }" ({ "{") (expression_statement "fVar5 = fVar5 + DAT_0006308c;" (assignment_expression "fVar5 = fVar5 + DAT_0006308c" (identifier "fVar5") (= "=") (binary_expression "fVar5 + DAT_0006308c" (identifier "fVar5") (+ "+") (identifier "DAT_0006308c"))) (; ";")) (} "}"))) (expression_statement "printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);" (call_expression "printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5)" (identifier "printf") (argument_list "("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5)" (( "(") (string_literal ""    %6.2f%%\n"" (" """) (string_content "    %6.2f%%") (escape_sequence "\n") (" """)) (, ",") (binary_expression "((double)fVar4 * (double)DAT_00063090) / (double)fVar5" (parenthesized_expression "((double)fVar4 * (double)DAT_00063090)" (( "(") (binary_expression "(double)fVar4 * (double)DAT_00063090" (cast_expression "(double)fVar4" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar4")) (* "*") (cast_expression "(double)DAT_00063090" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_00063090"))) () ")")) (/ "/") (cast_expression "(double)fVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar5"))) () ")"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)puVar3[2];" (assignment_expression "puVar3 = (undefined4 *)puVar3[2]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)puVar3[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar6 = puVar3[2];" (assignment_expression "iVar6 = puVar3[2]" (identifier "iVar6") (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 var_2;
  float var_6;
  double dVar3;
  float var_8;
  type_2 bVar5;
  int var_5;
  char *pcVar7;
  char *pcVar8;
  type_3 *local_28;
  
  var_1("Memory region         Used Size  Region Size  %%age Used\n");
  local_28 = lang_memory_region_list;
  if (lang_memory_region_list->next != (type_4 *)0x0) {
    do {
      var_2 = (type_1)local_28->current;
      bVar5 = local_28->origin;
      var_5 = (*(int *)((int)&local_28->current + 4) - *(int *)((int)&local_28->origin + 4)) -
              (type_1)(var_2 < (type_1)local_28->origin);
      pcVar8 = (local_28->name_list).name;
      pcVar7 = "%16s: ";
      var_1("%16s: ");
      var_3(var_4(pcVar8,pcVar7));
      var_3(var_4(pcVar8,pcVar7));
      var_6 = (float)var_4(var_5,var_2 - (int)bVar5);
      if (var_5 < 0) {
        var_6 = var_6 + var_7;
      }
      var_8 = (float)(type_5)local_28->length;
      if (*(int *)((int)&local_28->length + 4) < 0) {
        var_8 = var_8 + var_7;
      }
      dVar3 = ((double)var_6 * (double)DAT_00063090) / (double)var_8;
      var_1("    %6.2f%%\n",var_9(dVar3,0),(int)((type_6)dVar3 >> 0x20));
      local_28 = local_28->next;
    } while (local_28->next != (type_4 *)0x0);
  }
  return;
}


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

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

void MASKED(void)

{
  uint uVar1;
  uint uVar2;
  undefined4 *puVar3;
  float fVar4;
  float fVar5;
  int iVar6;
  
  printf("Memory region         Used Size  Region Size  %%age Used\n");
  iVar6 = DAT_0013cecc[2];
  puVar3 = DAT_0013cecc;
  while (iVar6 != 0) {
    uVar1 = puVar3[9];
    uVar2 = puVar3[4];
    iVar6 = (puVar3[10] - puVar3[5]) - (uint)(uVar1 < (uint)puVar3[4]);
    printf("%16s: ",*puVar3);
    FUN_00022480();
    FUN_00022480();
    fVar4 = (float)CONCAT44(iVar6,uVar1 - uVar2);
    if (iVar6 < 0) {
      fVar4 = fVar4 + DAT_0006308c;
    }
    fVar5 = (float)*(longlong *)(puVar3 + 6);
    if ((int)puVar3[7] < 0) {
      fVar5 = fVar5 + DAT_0006308c;
    }
    printf("    %6.2f%%\n",((double)fVar4 * (double)DAT_00063090) / (double)fVar5);
    puVar3 = (undefined4 *)puVar3[2];
    iVar6 = puVar3[2];
  }
  return;
}

