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

int size_forward2(void *P_x,void *P_y)

{
  int iVar1;
  
  if (*(uint *)((int)P_x + 4) < *(uint *)((int)P_y + 4)) {
    return -(uint)(reverse_sort == 0) | 1;
  }
  if (*(uint *)((int)P_y + 4) < *(uint *)((int)P_x + 4)) {
    return (-(uint)(reverse_sort == 0) & 2) - 1;
  }
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar1 = (*sorters[0][reverse_sort])(*P_x,*P_y);
  return iVar1;
}



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

uint FUN_00014140(int param_1,int param_2)

{
  uint uVar1;
  
  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {
    return -(uint)(DAT_0001c40c == 0) | 1;
  }
  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {
    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;
  }
                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();
  return uVar1;
}


CALL 0x00015062
ADD EAX,0x7ebb
PUSH ESI
PUSH EBX
MOV ECX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ECX + 0x4]
MOV EBX,dword ptr [EAX + 0x40c]
CMP dword ptr [EDX + 0x4],ESI
JC 0x00014190
JBE 0x00014178
CMP EBX,0x1
POP EBX
POP ESI
SBB EAX,EAX
AND EAX,0x2
SUB EAX,0x1
RET
MOV ECX,dword ptr [ECX]
MOV EAX,dword ptr [EAX + EBX*0x4 + 0xfffffed4]
MOV dword ptr [ESP + 0x10],ECX
MOV EDX,dword ptr [EDX]
MOV dword ptr [ESP + 0xc],EDX
POP EBX
POP ESI
JMP EAX
CMP EBX,0x1
POP EBX
POP ESI
SBB EAX,EAX
OR EAX,0x1
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nuint FUN_00014140(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }\n  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();\n  return uVar1;\n}\n\n" comment (function_definition "uint FUN_00014140(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }\n  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00014140(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }\n  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }" if (parenthesized_expression "(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" ( (binary_expression "*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }" { (return_statement "return -(uint)(DAT_0001c40c == 0) | 1;" return (binary_expression "-(uint)(DAT_0001c40c == 0) | 1" (unary_expression "-(uint)(DAT_0001c40c == 0)" - (call_expression "(uint)(DAT_0001c40c == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0001c40c == 0)" ( (binary_expression "DAT_0001c40c == 0" identifier == number_literal) )))) | number_literal) ;) })) (if_statement "if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }" { (return_statement "return (-(uint)(DAT_0001c40c == 0) & 2) - 1;" return (binary_expression "(-(uint)(DAT_0001c40c == 0) & 2) - 1" (parenthesized_expression "(-(uint)(DAT_0001c40c == 0) & 2)" ( (binary_expression "-(uint)(DAT_0001c40c == 0) & 2" (unary_expression "-(uint)(DAT_0001c40c == 0)" - (call_expression "(uint)(DAT_0001c40c == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0001c40c == 0)" ( (binary_expression "DAT_0001c40c == 0" identifier == number_literal) )))) & number_literal) )) - number_literal) ;) })) comment comment (expression_statement "uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();" (assignment_expression "uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])()" identifier = (call_expression "(*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])()" (parenthesized_expression "(*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])" ( (pointer_expression "*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c]" * (cast_expression "(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&PTR_FUN_0001bed4)[DAT_0001c40c]" (parenthesized_expression "(&PTR_FUN_0001bed4)" ( (pointer_expression "&PTR_FUN_0001bed4" & identifier) )) [ identifier ]))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint size_forward2(void *P_x,void *P_y)\n\n{\n  int iVar1;\n  \n  if (*(uint *)((int)P_x + 4) < *(uint *)((int)P_y + 4)) {\n    return -(uint)(reverse_sort == 0) | 1;\n  }\n  if (*(uint *)((int)P_y + 4) < *(uint *)((int)P_x + 4)) {\n    return (-(uint)(reverse_sort == 0) & 2) - 1;\n  }\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (*sorters[0][reverse_sort])(*P_x,*P_y);\n  return iVar1;\n}\n\n" comment (function_definition "int size_forward2(void *P_x,void *P_y)\n\n{\n  int iVar1;\n  \n  if (*(uint *)((int)P_x + 4) < *(uint *)((int)P_y + 4)) {\n    return -(uint)(reverse_sort == 0) | 1;\n  }\n  if (*(uint *)((int)P_y + 4) < *(uint *)((int)P_x + 4)) {\n    return (-(uint)(reverse_sort == 0) & 2) - 1;\n  }\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (*sorters[0][reverse_sort])(*P_x,*P_y);\n  return iVar1;\n}" primitive_type (function_declarator "size_forward2(void *P_x,void *P_y)" identifier (parameter_list "(void *P_x,void *P_y)" ( (parameter_declaration "void *P_x" primitive_type (pointer_declarator "*P_x" * identifier)) , (parameter_declaration "void *P_y" primitive_type (pointer_declarator "*P_y" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(uint *)((int)P_x + 4) < *(uint *)((int)P_y + 4)) {\n    return -(uint)(reverse_sort == 0) | 1;\n  }\n  if (*(uint *)((int)P_y + 4) < *(uint *)((int)P_x + 4)) {\n    return (-(uint)(reverse_sort == 0) & 2) - 1;\n  }\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (*sorters[0][reverse_sort])(*P_x,*P_y);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(uint *)((int)P_x + 4) < *(uint *)((int)P_y + 4)) {\n    return -(uint)(reverse_sort == 0) | 1;\n  }" if (parenthesized_expression "(*(uint *)((int)P_x + 4) < *(uint *)((int)P_y + 4))" ( (binary_expression "*(uint *)((int)P_x + 4) < *(uint *)((int)P_y + 4)" (pointer_expression "*(uint *)((int)P_x + 4)" * (cast_expression "(uint *)((int)P_x + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)P_x + 4)" ( (binary_expression "(int)P_x + 4" (cast_expression "(int)P_x" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (pointer_expression "*(uint *)((int)P_y + 4)" * (cast_expression "(uint *)((int)P_y + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)P_y + 4)" ( (binary_expression "(int)P_y + 4" (cast_expression "(int)P_y" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n    return -(uint)(reverse_sort == 0) | 1;\n  }" { (return_statement "return -(uint)(reverse_sort == 0) | 1;" return (binary_expression "-(uint)(reverse_sort == 0) | 1" (unary_expression "-(uint)(reverse_sort == 0)" - (call_expression "(uint)(reverse_sort == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(reverse_sort == 0)" ( (binary_expression "reverse_sort == 0" identifier == number_literal) )))) | number_literal) ;) })) (if_statement "if (*(uint *)((int)P_y + 4) < *(uint *)((int)P_x + 4)) {\n    return (-(uint)(reverse_sort == 0) & 2) - 1;\n  }" if (parenthesized_expression "(*(uint *)((int)P_y + 4) < *(uint *)((int)P_x + 4))" ( (binary_expression "*(uint *)((int)P_y + 4) < *(uint *)((int)P_x + 4)" (pointer_expression "*(uint *)((int)P_y + 4)" * (cast_expression "(uint *)((int)P_y + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)P_y + 4)" ( (binary_expression "(int)P_y + 4" (cast_expression "(int)P_y" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (pointer_expression "*(uint *)((int)P_x + 4)" * (cast_expression "(uint *)((int)P_x + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)P_x + 4)" ( (binary_expression "(int)P_x + 4" (cast_expression "(int)P_x" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n    return (-(uint)(reverse_sort == 0) & 2) - 1;\n  }" { (return_statement "return (-(uint)(reverse_sort == 0) & 2) - 1;" return (binary_expression "(-(uint)(reverse_sort == 0) & 2) - 1" (parenthesized_expression "(-(uint)(reverse_sort == 0) & 2)" ( (binary_expression "-(uint)(reverse_sort == 0) & 2" (unary_expression "-(uint)(reverse_sort == 0)" - (call_expression "(uint)(reverse_sort == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(reverse_sort == 0)" ( (binary_expression "reverse_sort == 0" identifier == number_literal) )))) & number_literal) )) - number_literal) ;) })) comment comment comment comment (expression_statement "iVar1 = (*sorters[0][reverse_sort])(*P_x,*P_y);" (assignment_expression "iVar1 = (*sorters[0][reverse_sort])(*P_x,*P_y)" identifier = (call_expression "(*sorters[0][reverse_sort])(*P_x,*P_y)" (parenthesized_expression "(*sorters[0][reverse_sort])" ( (pointer_expression "*sorters[0][reverse_sort]" * (subscript_expression "sorters[0][reverse_sort]" (subscript_expression "sorters[0]" identifier [ number_literal ]) [ identifier ])) )) (argument_list "(*P_x,*P_y)" ( (pointer_expression "*P_x" * identifier) , (pointer_expression "*P_y" * identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "uint FUN_00014140(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }\n  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }\n                    \n                    \n  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00014140(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }\n  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }\n                    \n                    \n  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00014140(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }\n  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }\n                    \n                    \n  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }" if (parenthesized_expression "(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" ( (binary_expression "*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }" { (return_statement "return -(uint)(DAT_0001c40c == 0) | 1;" return (binary_expression "-(uint)(DAT_0001c40c == 0) | 1" (unary_expression "-(uint)(DAT_0001c40c == 0)" - (call_expression "(uint)(DAT_0001c40c == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0001c40c == 0)" ( (binary_expression "DAT_0001c40c == 0" identifier == number_literal) )))) | number_literal) ;) })) (if_statement "if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }" { (return_statement "return (-(uint)(DAT_0001c40c == 0) & 2) - 1;" return (binary_expression "(-(uint)(DAT_0001c40c == 0) & 2) - 1" (parenthesized_expression "(-(uint)(DAT_0001c40c == 0) & 2)" ( (binary_expression "-(uint)(DAT_0001c40c == 0) & 2" (unary_expression "-(uint)(DAT_0001c40c == 0)" - (call_expression "(uint)(DAT_0001c40c == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0001c40c == 0)" ( (binary_expression "DAT_0001c40c == 0" identifier == number_literal) )))) & number_literal) )) - number_literal) ;) })) (expression_statement "uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();" (assignment_expression "uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])()" identifier = (call_expression "(*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])()" (parenthesized_expression "(*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])" ( (pointer_expression "*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c]" * (cast_expression "(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&PTR_FUN_0001bed4)[DAT_0001c40c]" (parenthesized_expression "(&PTR_FUN_0001bed4)" ( (pointer_expression "&PTR_FUN_0001bed4" & identifier) )) [ identifier ]))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) | LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) & LIT) )) - LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00014140(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }\n  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }\n                    \n                    \n  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_00014140(int param_1,int param_2)" (identifier "FUN_00014140") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }\n  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }\n                    \n                    \n  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4))" (( "(") (binary_expression "*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n    return -(uint)(DAT_0001c40c == 0) | 1;\n  }" ({ "{") (return_statement "return -(uint)(DAT_0001c40c == 0) | 1;" (return "return") (binary_expression "-(uint)(DAT_0001c40c == 0) | 1" (unary_expression "-(uint)(DAT_0001c40c == 0)" (- "-") (call_expression "(uint)(DAT_0001c40c == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_0001c40c == 0)" (( "(") (binary_expression "DAT_0001c40c == 0" (identifier "DAT_0001c40c") (== "==") (number_literal "0")) () ")")))) (| "|") (number_literal "1")) (; ";")) (} "}"))) (if_statement "if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (( "(") (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;\n  }" ({ "{") (return_statement "return (-(uint)(DAT_0001c40c == 0) & 2) - 1;" (return "return") (binary_expression "(-(uint)(DAT_0001c40c == 0) & 2) - 1" (parenthesized_expression "(-(uint)(DAT_0001c40c == 0) & 2)" (( "(") (binary_expression "-(uint)(DAT_0001c40c == 0) & 2" (unary_expression "-(uint)(DAT_0001c40c == 0)" (- "-") (call_expression "(uint)(DAT_0001c40c == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_0001c40c == 0)" (( "(") (binary_expression "DAT_0001c40c == 0" (identifier "DAT_0001c40c") (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "2")) () ")")) (- "-") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();" (assignment_expression "uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])()" (identifier "uVar1") (= "=") (call_expression "(*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])()" (parenthesized_expression "(*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])" (( "(") (pointer_expression "*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c]" (* "*") (cast_expression "(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "(&PTR_FUN_0001bed4)[DAT_0001c40c]" (parenthesized_expression "(&PTR_FUN_0001bed4)" (( "(") (pointer_expression "&PTR_FUN_0001bed4" (& "&") (identifier "PTR_FUN_0001bed4")) () ")")) ([ "[") (identifier "DAT_0001c40c") (] "]")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

int function_1(void *P_x,void *P_y)

{
  int iVar1;
  
  if (*(type_1 *)((int)P_x + 4) < *(type_1 *)((int)P_y + 4)) {
    return -(type_1)(var_1 == 0) | 1;
  }
  if (*(type_1 *)((int)P_y + 4) < *(type_1 *)((int)P_x + 4)) {
    return (-(type_1)(var_1 == 0) & 2) - 1;
  }
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar1 = (*sorters[0][var_1])(*P_x,*P_y);
  return iVar1;
}


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

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

uint MASKED(int param_1,int param_2)

{
  uint uVar1;
  
  if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {
    return -(uint)(DAT_0001c40c == 0) | 1;
  }
  if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {
    return (-(uint)(DAT_0001c40c == 0) & 2) - 1;
  }
                    /* WARNING: Could not recover jumptable at 0x0001418d. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (*(code *)(&PTR_FUN_0001bed4)[DAT_0001c40c])();
  return uVar1;
}

