
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int loc_offsets_compar(void *ap,void *bp)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  
                    /* WARNING: Load size is inaccurate */
  iVar1 = *ap;
                    /* WARNING: Load size is inaccurate */
  iVar2 = *bp;
  uVar3 = *(uint *)((int)loc_offsets + iVar1 * 8 + 4);
  uVar4 = *(uint *)((int)loc_offsets + iVar2 * 8 + 4);
  iVar5 = (uint)(uVar4 < uVar3 ||
                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])) -
          (uint)(uVar3 < uVar4 ||
                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]));
  if (iVar5 == 0) {
    uVar3 = *(uint *)((int)loc_views + iVar1 * 8 + 4);
    uVar4 = *(uint *)((int)loc_views + iVar2 * 8 + 4);
    iVar5 = (uint)(uVar4 < uVar3 ||
                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -
            (uint)(uVar3 < uVar4 ||
                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]));
  }
  return iVar5;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int FUN_0004c710(int *param_1,int *param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  int iVar7;
  
  iVar1 = *param_1;
  iVar2 = *param_2;
  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);
  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);
  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);
  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);
  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -
          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));
  if (iVar7 == 0) {
    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);
    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);
    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);
    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);
    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -
            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));
  }
  return iVar7;
}


CALL 0x0004ab79
ADD EAX,0x678eb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x14
MOV EDX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [EAX + 0x5cdc]
MOV ECX,dword ptr [EDX]
MOV EDX,dword ptr [ESP + 0x2c]
MOV EDX,dword ptr [EDX]
LEA EDI,[ECX*0x8 + 0x0]
MOV EBP,dword ptr [EAX + ECX*0x8]
MOV ESI,dword ptr [EAX + EDI*0x1 + 0x4]
MOV dword ptr [ESP + 0x8],EDI
LEA EBX,[EDX*0x8 + 0x0]
MOV EDI,dword ptr [EAX + EDX*0x8]
MOV dword ptr [ESP + 0xc],EBX
MOV EBX,dword ptr [EAX + EBX*0x1 + 0x4]
CMP EDI,EBP
MOV EAX,EBX
SBB EAX,ESI
SETC AL
CMP EBP,EDI
MOVZX EAX,AL
SBB ESI,EBX
SBB EAX,0x0
TEST EAX,EAX
JNZ 0x0004c7a5
MOV EAX,dword ptr [ESP + 0x4]
MOV EDI,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [EAX + 0x5cd8]
MOV ESI,dword ptr [EAX + EDX*0x8]
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EAX + ECX*0x8]
MOV EBX,dword ptr [EAX + EDI*0x1 + 0x4]
MOV EDX,dword ptr [EAX + EDX*0x1 + 0x4]
CMP ESI,ECX
MOV EAX,EDX
SBB EAX,EBX
SETC AL
CMP ECX,ESI
MOVZX EAX,AL
SBB EBX,EDX
SBB EAX,0x0
ADD ESP,0x14
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint FUN_0004c710(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);\n  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);\n  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);\n  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);\n  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));\n  if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }\n  return iVar7;\n}\n\n" comment (function_definition "int FUN_0004c710(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);\n  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);\n  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);\n  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);\n  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));\n  if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }\n  return iVar7;\n}" primitive_type (function_declarator "FUN_0004c710(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);\n  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);\n  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);\n  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);\n  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));\n  if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }\n  return iVar7;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);" (assignment_expression "uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cdc + iVar1 * 8)" * (cast_expression "(uint *)(DAT_000b9cdc + iVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cdc + iVar1 * 8)" ( (binary_expression "DAT_000b9cdc + iVar1 * 8" identifier + (binary_expression "iVar1 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);" (assignment_expression "uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" * (cast_expression "(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cdc + 4 + iVar1 * 8)" ( (binary_expression "DAT_000b9cdc + 4 + iVar1 * 8" (binary_expression "DAT_000b9cdc + 4" identifier + number_literal) + (binary_expression "iVar1 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);" (assignment_expression "uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cdc + iVar2 * 8)" * (cast_expression "(uint *)(DAT_000b9cdc + iVar2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cdc + iVar2 * 8)" ( (binary_expression "DAT_000b9cdc + iVar2 * 8" identifier + (binary_expression "iVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);" (assignment_expression "uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" * (cast_expression "(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cdc + 4 + iVar2 * 8)" ( (binary_expression "DAT_000b9cdc + 4 + iVar2 * 8" (binary_expression "DAT_000b9cdc + 4" identifier + number_literal) + (binary_expression "iVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));" (assignment_expression "iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" identifier = (binary_expression "(uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" (call_expression "(uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3))" ( (binary_expression "uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)" (binary_expression "uVar6 < uVar4" identifier < identifier) || (binary_expression "uVar6 - uVar4 < (uint)(uVar5 < uVar3)" (binary_expression "uVar6 - uVar4" identifier - identifier) < (call_expression "(uint)(uVar5 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < uVar3)" ( (binary_expression "uVar5 < uVar3" identifier < identifier) ))))) ))) - (call_expression "(uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" ( (binary_expression "uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5)" (binary_expression "uVar4 < uVar6" identifier < identifier) || (binary_expression "uVar4 - uVar6 < (uint)(uVar3 < uVar5)" (binary_expression "uVar4 - uVar6" identifier - identifier) < (call_expression "(uint)(uVar3 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar5)" ( (binary_expression "uVar3 < uVar5" identifier < identifier) ))))) ))))) ;) (if_statement "if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }" { (expression_statement "uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);" (assignment_expression "uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cd8 + iVar2 * 8)" * (cast_expression "(uint *)(DAT_000b9cd8 + iVar2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cd8 + iVar2 * 8)" ( (binary_expression "DAT_000b9cd8 + iVar2 * 8" identifier + (binary_expression "iVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);" (assignment_expression "uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cd8 + iVar1 * 8)" * (cast_expression "(uint *)(DAT_000b9cd8 + iVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cd8 + iVar1 * 8)" ( (binary_expression "DAT_000b9cd8 + iVar1 * 8" identifier + (binary_expression "iVar1 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);" (assignment_expression "uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" * (cast_expression "(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cd8 + 4 + iVar1 * 8)" ( (binary_expression "DAT_000b9cd8 + 4 + iVar1 * 8" (binary_expression "DAT_000b9cd8 + 4" identifier + number_literal) + (binary_expression "iVar1 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);" (assignment_expression "uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" * (cast_expression "(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cd8 + 4 + iVar2 * 8)" ( (binary_expression "DAT_000b9cd8 + 4 + iVar2 * 8" (binary_expression "DAT_000b9cd8 + 4" identifier + number_literal) + (binary_expression "iVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));" (assignment_expression "iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" identifier = (binary_expression "(uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" (call_expression "(uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4))" ( (binary_expression "uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)" (binary_expression "uVar6 < uVar5" identifier < identifier) || (binary_expression "uVar6 - uVar5 < (uint)(uVar3 < uVar4)" (binary_expression "uVar6 - uVar5" identifier - identifier) < (call_expression "(uint)(uVar3 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) ))))) ))) - (call_expression "(uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" ( (binary_expression "uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3)" (binary_expression "uVar5 < uVar6" identifier < identifier) || (binary_expression "uVar5 - uVar6 < (uint)(uVar4 < uVar3)" (binary_expression "uVar5 - uVar6" identifier - identifier) < (call_expression "(uint)(uVar4 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar3)" ( (binary_expression "uVar4 < uVar3" identifier < identifier) ))))) ))))) ;) })) (return_statement "return iVar7;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nint loc_offsets_compar(void *ap,void *bp)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = *ap;\n                    /* WARNING: Load size is inaccurate */\n  iVar2 = *bp;\n  uVar3 = *(uint *)((int)loc_offsets + iVar1 * 8 + 4);\n  uVar4 = *(uint *)((int)loc_offsets + iVar2 * 8 + 4);\n  iVar5 = (uint)(uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])) -\n          (uint)(uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]));\n  if (iVar5 == 0) {\n    uVar3 = *(uint *)((int)loc_views + iVar1 * 8 + 4);\n    uVar4 = *(uint *)((int)loc_views + iVar2 * 8 + 4);\n    iVar5 = (uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -\n            (uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]));\n  }\n  return iVar5;\n}\n\n" comment comment (function_definition "int loc_offsets_compar(void *ap,void *bp)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = *ap;\n                    /* WARNING: Load size is inaccurate */\n  iVar2 = *bp;\n  uVar3 = *(uint *)((int)loc_offsets + iVar1 * 8 + 4);\n  uVar4 = *(uint *)((int)loc_offsets + iVar2 * 8 + 4);\n  iVar5 = (uint)(uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])) -\n          (uint)(uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]));\n  if (iVar5 == 0) {\n    uVar3 = *(uint *)((int)loc_views + iVar1 * 8 + 4);\n    uVar4 = *(uint *)((int)loc_views + iVar2 * 8 + 4);\n    iVar5 = (uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -\n            (uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]));\n  }\n  return iVar5;\n}" primitive_type (function_declarator "loc_offsets_compar(void *ap,void *bp)" identifier (parameter_list "(void *ap,void *bp)" ( (parameter_declaration "void *ap" primitive_type (pointer_declarator "*ap" * identifier)) , (parameter_declaration "void *bp" primitive_type (pointer_declarator "*bp" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = *ap;\n                    /* WARNING: Load size is inaccurate */\n  iVar2 = *bp;\n  uVar3 = *(uint *)((int)loc_offsets + iVar1 * 8 + 4);\n  uVar4 = *(uint *)((int)loc_offsets + iVar2 * 8 + 4);\n  iVar5 = (uint)(uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])) -\n          (uint)(uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]));\n  if (iVar5 == 0) {\n    uVar3 = *(uint *)((int)loc_views + iVar1 * 8 + 4);\n    uVar4 = *(uint *)((int)loc_views + iVar2 * 8 + 4);\n    iVar5 = (uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -\n            (uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]));\n  }\n  return iVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) comment (expression_statement "iVar1 = *ap;" (assignment_expression "iVar1 = *ap" identifier = (pointer_expression "*ap" * identifier)) ;) comment (expression_statement "iVar2 = *bp;" (assignment_expression "iVar2 = *bp" identifier = (pointer_expression "*bp" * identifier)) ;) (expression_statement "uVar3 = *(uint *)((int)loc_offsets + iVar1 * 8 + 4);" (assignment_expression "uVar3 = *(uint *)((int)loc_offsets + iVar1 * 8 + 4)" identifier = (pointer_expression "*(uint *)((int)loc_offsets + iVar1 * 8 + 4)" * (cast_expression "(uint *)((int)loc_offsets + iVar1 * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)loc_offsets + iVar1 * 8 + 4)" ( (binary_expression "(int)loc_offsets + iVar1 * 8 + 4" (binary_expression "(int)loc_offsets + iVar1 * 8" (cast_expression "(int)loc_offsets" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar1 * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)((int)loc_offsets + iVar2 * 8 + 4);" (assignment_expression "uVar4 = *(uint *)((int)loc_offsets + iVar2 * 8 + 4)" identifier = (pointer_expression "*(uint *)((int)loc_offsets + iVar2 * 8 + 4)" * (cast_expression "(uint *)((int)loc_offsets + iVar2 * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)loc_offsets + iVar2 * 8 + 4)" ( (binary_expression "(int)loc_offsets + iVar2 * 8 + 4" (binary_expression "(int)loc_offsets + iVar2 * 8" (cast_expression "(int)loc_offsets" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar2 * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "iVar5 = (uint)(uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])) -\n          (uint)(uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]));" (assignment_expression "iVar5 = (uint)(uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])) -\n          (uint)(uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]))" identifier = (binary_expression "(uint)(uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])) -\n          (uint)(uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]))" (call_expression "(uint)(uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1]))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1]))" ( (binary_expression "uVar4 < uVar3 ||\n                uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])" (binary_expression "uVar4 < uVar3" identifier < identifier) || (binary_expression "uVar4 - uVar3 < (uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])" (binary_expression "uVar4 - uVar3" identifier - identifier) < (call_expression "(uint)((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1])" ( (binary_expression "(uint)loc_offsets[iVar2] < (uint)loc_offsets[iVar1]" (cast_expression "(uint)loc_offsets[iVar2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "loc_offsets[iVar2]" identifier [ identifier ])) < (cast_expression "(uint)loc_offsets[iVar1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "loc_offsets[iVar1]" identifier [ identifier ]))) ))))) ))) - (call_expression "(uint)(uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]))" ( (binary_expression "uVar3 < uVar4 ||\n                uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2])" (binary_expression "uVar3 < uVar4" identifier < identifier) || (binary_expression "uVar3 - uVar4 < (uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2])" (binary_expression "uVar3 - uVar4" identifier - identifier) < (call_expression "(uint)((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2])" ( (binary_expression "(uint)loc_offsets[iVar1] < (uint)loc_offsets[iVar2]" (cast_expression "(uint)loc_offsets[iVar1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "loc_offsets[iVar1]" identifier [ identifier ])) < (cast_expression "(uint)loc_offsets[iVar2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "loc_offsets[iVar2]" identifier [ identifier ]))) ))))) ))))) ;) (if_statement "if (iVar5 == 0) {\n    uVar3 = *(uint *)((int)loc_views + iVar1 * 8 + 4);\n    uVar4 = *(uint *)((int)loc_views + iVar2 * 8 + 4);\n    iVar5 = (uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -\n            (uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]));\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = *(uint *)((int)loc_views + iVar1 * 8 + 4);\n    uVar4 = *(uint *)((int)loc_views + iVar2 * 8 + 4);\n    iVar5 = (uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -\n            (uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]));\n  }" { (expression_statement "uVar3 = *(uint *)((int)loc_views + iVar1 * 8 + 4);" (assignment_expression "uVar3 = *(uint *)((int)loc_views + iVar1 * 8 + 4)" identifier = (pointer_expression "*(uint *)((int)loc_views + iVar1 * 8 + 4)" * (cast_expression "(uint *)((int)loc_views + iVar1 * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)loc_views + iVar1 * 8 + 4)" ( (binary_expression "(int)loc_views + iVar1 * 8 + 4" (binary_expression "(int)loc_views + iVar1 * 8" (cast_expression "(int)loc_views" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar1 * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)((int)loc_views + iVar2 * 8 + 4);" (assignment_expression "uVar4 = *(uint *)((int)loc_views + iVar2 * 8 + 4)" identifier = (pointer_expression "*(uint *)((int)loc_views + iVar2 * 8 + 4)" * (cast_expression "(uint *)((int)loc_views + iVar2 * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)loc_views + iVar2 * 8 + 4)" ( (binary_expression "(int)loc_views + iVar2 * 8 + 4" (binary_expression "(int)loc_views + iVar2 * 8" (cast_expression "(int)loc_views" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar2 * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "iVar5 = (uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -\n            (uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]));" (assignment_expression "iVar5 = (uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -\n            (uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]))" identifier = (binary_expression "(uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])) -\n            (uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]))" (call_expression "(uint)(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1]))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1]))" ( (binary_expression "uVar4 < uVar3 ||\n                  uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])" (binary_expression "uVar4 < uVar3" identifier < identifier) || (binary_expression "uVar4 - uVar3 < (uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])" (binary_expression "uVar4 - uVar3" identifier - identifier) < (call_expression "(uint)((uint)loc_views[iVar2] < (uint)loc_views[iVar1])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)loc_views[iVar2] < (uint)loc_views[iVar1])" ( (binary_expression "(uint)loc_views[iVar2] < (uint)loc_views[iVar1]" (cast_expression "(uint)loc_views[iVar2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "loc_views[iVar2]" identifier [ identifier ])) < (cast_expression "(uint)loc_views[iVar1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "loc_views[iVar1]" identifier [ identifier ]))) ))))) ))) - (call_expression "(uint)(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2]))" ( (binary_expression "uVar3 < uVar4 ||\n                  uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2])" (binary_expression "uVar3 < uVar4" identifier < identifier) || (binary_expression "uVar3 - uVar4 < (uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2])" (binary_expression "uVar3 - uVar4" identifier - identifier) < (call_expression "(uint)((uint)loc_views[iVar1] < (uint)loc_views[iVar2])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)loc_views[iVar1] < (uint)loc_views[iVar2])" ( (binary_expression "(uint)loc_views[iVar1] < (uint)loc_views[iVar2]" (cast_expression "(uint)loc_views[iVar1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "loc_views[iVar1]" identifier [ identifier ])) < (cast_expression "(uint)loc_views[iVar2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "loc_views[iVar2]" identifier [ identifier ]))) ))))) ))))) ;) })) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "int FUN_0004c710(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);\n  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);\n  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);\n  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);\n  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));\n  if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }\n  return iVar7;\n}\n\n" (function_definition "int FUN_0004c710(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);\n  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);\n  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);\n  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);\n  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));\n  if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }\n  return iVar7;\n}" primitive_type (function_declarator "FUN_0004c710(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);\n  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);\n  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);\n  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);\n  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));\n  if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }\n  return iVar7;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);" (assignment_expression "uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cdc + iVar1 * 8)" * (cast_expression "(uint *)(DAT_000b9cdc + iVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cdc + iVar1 * 8)" ( (binary_expression "DAT_000b9cdc + iVar1 * 8" identifier + (binary_expression "iVar1 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);" (assignment_expression "uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" * (cast_expression "(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cdc + 4 + iVar1 * 8)" ( (binary_expression "DAT_000b9cdc + 4 + iVar1 * 8" (binary_expression "DAT_000b9cdc + 4" identifier + number_literal) + (binary_expression "iVar1 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);" (assignment_expression "uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cdc + iVar2 * 8)" * (cast_expression "(uint *)(DAT_000b9cdc + iVar2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cdc + iVar2 * 8)" ( (binary_expression "DAT_000b9cdc + iVar2 * 8" identifier + (binary_expression "iVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);" (assignment_expression "uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" * (cast_expression "(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cdc + 4 + iVar2 * 8)" ( (binary_expression "DAT_000b9cdc + 4 + iVar2 * 8" (binary_expression "DAT_000b9cdc + 4" identifier + number_literal) + (binary_expression "iVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));" (assignment_expression "iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" identifier = (binary_expression "(uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" (call_expression "(uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3))" ( (binary_expression "uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)" (binary_expression "uVar6 < uVar4" identifier < identifier) || (binary_expression "uVar6 - uVar4 < (uint)(uVar5 < uVar3)" (binary_expression "uVar6 - uVar4" identifier - identifier) < (call_expression "(uint)(uVar5 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < uVar3)" ( (binary_expression "uVar5 < uVar3" identifier < identifier) ))))) ))) - (call_expression "(uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" ( (binary_expression "uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5)" (binary_expression "uVar4 < uVar6" identifier < identifier) || (binary_expression "uVar4 - uVar6 < (uint)(uVar3 < uVar5)" (binary_expression "uVar4 - uVar6" identifier - identifier) < (call_expression "(uint)(uVar3 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar5)" ( (binary_expression "uVar3 < uVar5" identifier < identifier) ))))) ))))) ;) (if_statement "if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }" { (expression_statement "uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);" (assignment_expression "uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cd8 + iVar2 * 8)" * (cast_expression "(uint *)(DAT_000b9cd8 + iVar2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cd8 + iVar2 * 8)" ( (binary_expression "DAT_000b9cd8 + iVar2 * 8" identifier + (binary_expression "iVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);" (assignment_expression "uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cd8 + iVar1 * 8)" * (cast_expression "(uint *)(DAT_000b9cd8 + iVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cd8 + iVar1 * 8)" ( (binary_expression "DAT_000b9cd8 + iVar1 * 8" identifier + (binary_expression "iVar1 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);" (assignment_expression "uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" * (cast_expression "(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cd8 + 4 + iVar1 * 8)" ( (binary_expression "DAT_000b9cd8 + 4 + iVar1 * 8" (binary_expression "DAT_000b9cd8 + 4" identifier + number_literal) + (binary_expression "iVar1 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);" (assignment_expression "uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" identifier = (pointer_expression "*(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" * (cast_expression "(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b9cd8 + 4 + iVar2 * 8)" ( (binary_expression "DAT_000b9cd8 + 4 + iVar2 * 8" (binary_expression "DAT_000b9cd8 + 4" identifier + number_literal) + (binary_expression "iVar2 * 8" identifier * number_literal)) ))))) ;) (expression_statement "iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));" (assignment_expression "iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" identifier = (binary_expression "(uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" (call_expression "(uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4))" ( (binary_expression "uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)" (binary_expression "uVar6 < uVar5" identifier < identifier) || (binary_expression "uVar6 - uVar5 < (uint)(uVar3 < uVar4)" (binary_expression "uVar6 - uVar5" identifier - identifier) < (call_expression "(uint)(uVar3 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) ))))) ))) - (call_expression "(uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" ( (binary_expression "uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3)" (binary_expression "uVar5 < uVar6" identifier < identifier) || (binary_expression "uVar5 - uVar6 < (uint)(uVar4 < uVar3)" (binary_expression "uVar5 - uVar6" identifier - identifier) < (call_expression "(uint)(uVar4 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar3)" ( (binary_expression "uVar4 < uVar3" identifier < identifier) ))))) ))))) ;) })) (return_statement "return iVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ))) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ))) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0004c710(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);\n  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);\n  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);\n  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);\n  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));\n  if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }\n  return iVar7;\n}" (primitive_type "int") (function_declarator "FUN_0004c710(int *param_1,int *param_2)" (identifier "FUN_0004c710") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);\n  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);\n  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);\n  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);\n  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));\n  if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }\n  return iVar7;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);" (assignment_expression "uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(DAT_000b9cdc + iVar1 * 8)" (* "*") (cast_expression "(uint *)(DAT_000b9cdc + iVar1 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b9cdc + iVar1 * 8)" (( "(") (binary_expression "DAT_000b9cdc + iVar1 * 8" (identifier "DAT_000b9cdc") (+ "+") (binary_expression "iVar1 * 8" (identifier "iVar1") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);" (assignment_expression "uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" (* "*") (cast_expression "(uint *)(DAT_000b9cdc + 4 + iVar1 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b9cdc + 4 + iVar1 * 8)" (( "(") (binary_expression "DAT_000b9cdc + 4 + iVar1 * 8" (binary_expression "DAT_000b9cdc + 4" (identifier "DAT_000b9cdc") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar1 * 8" (identifier "iVar1") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);" (assignment_expression "uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(DAT_000b9cdc + iVar2 * 8)" (* "*") (cast_expression "(uint *)(DAT_000b9cdc + iVar2 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b9cdc + iVar2 * 8)" (( "(") (binary_expression "DAT_000b9cdc + iVar2 * 8" (identifier "DAT_000b9cdc") (+ "+") (binary_expression "iVar2 * 8" (identifier "iVar2") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);" (assignment_expression "uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" (* "*") (cast_expression "(uint *)(DAT_000b9cdc + 4 + iVar2 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b9cdc + 4 + iVar2 * 8)" (( "(") (binary_expression "DAT_000b9cdc + 4 + iVar2 * 8" (binary_expression "DAT_000b9cdc + 4" (identifier "DAT_000b9cdc") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar2 * 8" (identifier "iVar2") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));" (assignment_expression "iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" (identifier "iVar7") (= "=") (binary_expression "(uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -\n          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" (call_expression "(uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3))" (( "(") (binary_expression "uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)" (binary_expression "uVar6 < uVar4" (identifier "uVar6") (< "<") (identifier "uVar4")) (|| "||") (binary_expression "uVar6 - uVar4 < (uint)(uVar5 < uVar3)" (binary_expression "uVar6 - uVar4" (identifier "uVar6") (- "-") (identifier "uVar4")) (< "<") (call_expression "(uint)(uVar5 < uVar3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar5 < uVar3)" (( "(") (binary_expression "uVar5 < uVar3" (identifier "uVar5") (< "<") (identifier "uVar3")) () ")"))))) () ")"))) (- "-") (call_expression "(uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5))" (( "(") (binary_expression "uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5)" (binary_expression "uVar4 < uVar6" (identifier "uVar4") (< "<") (identifier "uVar6")) (|| "||") (binary_expression "uVar4 - uVar6 < (uint)(uVar3 < uVar5)" (binary_expression "uVar4 - uVar6" (identifier "uVar4") (- "-") (identifier "uVar6")) (< "<") (call_expression "(uint)(uVar3 < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar3 < uVar5)" (( "(") (binary_expression "uVar3 < uVar5" (identifier "uVar3") (< "<") (identifier "uVar5")) () ")"))))) () ")"))))) (; ";")) (if_statement "if (iVar7 == 0) {\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);\n    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);\n    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);\n    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);\n    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));\n  }" ({ "{") (expression_statement "uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);" (assignment_expression "uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(DAT_000b9cd8 + iVar2 * 8)" (* "*") (cast_expression "(uint *)(DAT_000b9cd8 + iVar2 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b9cd8 + iVar2 * 8)" (( "(") (binary_expression "DAT_000b9cd8 + iVar2 * 8" (identifier "DAT_000b9cd8") (+ "+") (binary_expression "iVar2 * 8" (identifier "iVar2") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);" (assignment_expression "uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(DAT_000b9cd8 + iVar1 * 8)" (* "*") (cast_expression "(uint *)(DAT_000b9cd8 + iVar1 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b9cd8 + iVar1 * 8)" (( "(") (binary_expression "DAT_000b9cd8 + iVar1 * 8" (identifier "DAT_000b9cd8") (+ "+") (binary_expression "iVar1 * 8" (identifier "iVar1") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);" (assignment_expression "uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" (* "*") (cast_expression "(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b9cd8 + 4 + iVar1 * 8)" (( "(") (binary_expression "DAT_000b9cd8 + 4 + iVar1 * 8" (binary_expression "DAT_000b9cd8 + 4" (identifier "DAT_000b9cd8") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar1 * 8" (identifier "iVar1") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);" (assignment_expression "uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" (* "*") (cast_expression "(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b9cd8 + 4 + iVar2 * 8)" (( "(") (binary_expression "DAT_000b9cd8 + 4 + iVar2 * 8" (binary_expression "DAT_000b9cd8 + 4" (identifier "DAT_000b9cd8") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar2 * 8" (identifier "iVar2") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));" (assignment_expression "iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" (identifier "iVar7") (= "=") (binary_expression "(uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -\n            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" (call_expression "(uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4))" (( "(") (binary_expression "uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)" (binary_expression "uVar6 < uVar5" (identifier "uVar6") (< "<") (identifier "uVar5")) (|| "||") (binary_expression "uVar6 - uVar5 < (uint)(uVar3 < uVar4)" (binary_expression "uVar6 - uVar5" (identifier "uVar6") (- "-") (identifier "uVar5")) (< "<") (call_expression "(uint)(uVar3 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar3 < uVar4)" (( "(") (binary_expression "uVar3 < uVar4" (identifier "uVar3") (< "<") (identifier "uVar4")) () ")"))))) () ")"))) (- "-") (call_expression "(uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3))" (( "(") (binary_expression "uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3)" (binary_expression "uVar5 < uVar6" (identifier "uVar5") (< "<") (identifier "uVar6")) (|| "||") (binary_expression "uVar5 - uVar6 < (uint)(uVar4 < uVar3)" (binary_expression "uVar5 - uVar6" (identifier "uVar5") (- "-") (identifier "uVar6")) (< "<") (call_expression "(uint)(uVar4 < uVar3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar4 < uVar3)" (( "(") (binary_expression "uVar4 < uVar3" (identifier "uVar4") (< "<") (identifier "uVar3")) () ")"))))) () ")"))))) (; ";")) (} "}"))) (return_statement "return iVar7;" (return "return") (identifier "iVar7") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int function_1(void *ap,void *bp)

{
  int var_1;
  int var_2;
  type_1 var_4;
  type_1 var_3;
  int var_5;
  
                    /* WARNING: Load size is inaccurate */
  var_1 = *ap;
                    /* WARNING: Load size is inaccurate */
  var_2 = *bp;
  var_4 = *(type_1 *)((int)loc_offsets + var_1 * 8 + 4);
  var_3 = *(type_1 *)((int)loc_offsets + var_2 * 8 + 4);
  var_5 = (type_1)(var_3 < var_4 ||
                var_3 - var_4 < (type_1)((type_1)loc_offsets[var_2] < (type_1)loc_offsets[var_1])) -
          (type_1)(var_4 < var_3 ||
                var_4 - var_3 < (type_1)((type_1)loc_offsets[var_1] < (type_1)loc_offsets[var_2]));
  if (var_5 == 0) {
    var_4 = *(type_1 *)((int)loc_views + var_1 * 8 + 4);
    var_3 = *(type_1 *)((int)loc_views + var_2 * 8 + 4);
    var_5 = (type_1)(var_3 < var_4 ||
                  var_3 - var_4 < (type_1)((type_1)loc_views[var_2] < (type_1)loc_views[var_1])) -
            (type_1)(var_4 < var_3 ||
                  var_4 - var_3 < (type_1)((type_1)loc_views[var_1] < (type_1)loc_views[var_2]));
  }
  return var_5;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int MASKED(int *param_1,int *param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  int iVar7;
  
  iVar1 = *param_1;
  iVar2 = *param_2;
  uVar3 = *(uint *)(DAT_000b9cdc + iVar1 * 8);
  uVar4 = *(uint *)(DAT_000b9cdc + 4 + iVar1 * 8);
  uVar5 = *(uint *)(DAT_000b9cdc + iVar2 * 8);
  uVar6 = *(uint *)(DAT_000b9cdc + 4 + iVar2 * 8);
  iVar7 = (uint)(uVar6 < uVar4 || uVar6 - uVar4 < (uint)(uVar5 < uVar3)) -
          (uint)(uVar4 < uVar6 || uVar4 - uVar6 < (uint)(uVar3 < uVar5));
  if (iVar7 == 0) {
    uVar3 = *(uint *)(DAT_000b9cd8 + iVar2 * 8);
    uVar4 = *(uint *)(DAT_000b9cd8 + iVar1 * 8);
    uVar5 = *(uint *)(DAT_000b9cd8 + 4 + iVar1 * 8);
    uVar6 = *(uint *)(DAT_000b9cd8 + 4 + iVar2 * 8);
    iVar7 = (uint)(uVar6 < uVar5 || uVar6 - uVar5 < (uint)(uVar3 < uVar4)) -
            (uint)(uVar5 < uVar6 || uVar5 - uVar6 < (uint)(uVar4 < uVar3));
  }
  return iVar7;
}

