
int rev_strcmp_size(V a,V b)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  
  iVar2 = *(int *)((int)a + 0x48);
  uVar3 = *(uint *)((int)a + 0x4c);
  iVar1 = *(int *)((int)b + 0x48);
  uVar4 = *(uint *)((int)b + 0x4c);
  if ((iVar2 < iVar1) || ((iVar1 == iVar2 && (uVar3 < uVar4)))) {
    return -1;
  }
  if ((iVar2 == iVar1) && (uVar3 == uVar4)) {
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
    iVar1 = (*(code *)PTR_strcmp_00049638)(*b,*a);
    return iVar1;
  }
  if ((iVar2 <= iVar1) && ((iVar2 != iVar1 || (uVar3 <= uVar4)))) {
    return 0;
  }
  return 1;
}



undefined4 FUN_0001a008(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  
  iVar3 = param_1[0x12];
  uVar4 = param_1[0x13];
  iVar2 = param_2[0x12];
  uVar5 = param_2[0x13];
  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {
    return 0xffffffff;
  }
  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {
    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);
    return uVar1;
  }
  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {
    return 0;
  }
  return 1;
}


lui gp,0x3
addiu gp,gp,0x71d8
addu gp,gp,t9
or v0,a1,zero
lw a1,0x48(a0)
lw a3,0x4c(a0)
lw v1,0x48(v0)
slt a2,a1,v1
bne a2,zero,0x0001a06c
_lw t0,0x4c(v0)
beq v1,a1,0x0001a064
_sltu a2,a3,t0
bne a1,v1,0x0001a048
_nop
beq a3,t0,0x0001a074
_lw t9,-0x7ba8(gp)
slt a0,v1,a1
bne a0,zero,0x0001a088
_li v0,0x1
beq a1,v1,0x0001a080
_sltu a3,t0,a3
jr ra
_or v0,zero,zero
beq a2,zero,0x0001a038
_nop
jr ra
_li v0,-0x1
lw a1,0x0(a0)
jr t9
_lw a0,0x0(v0)
beq a3,zero,0x0001a05c
_nop
jr ra
_nop
(translation_unit "undefined4 FUN_0001a008(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar3 = param_1[0x12];\n  uVar4 = param_1[0x13];\n  iVar2 = param_2[0x12];\n  uVar5 = param_2[0x13];\n  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }\n  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }\n  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0001a008(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar3 = param_1[0x12];\n  uVar4 = param_1[0x13];\n  iVar2 = param_2[0x12];\n  uVar5 = param_2[0x13];\n  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }\n  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }\n  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0001a008(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar3 = param_1[0x12];\n  uVar4 = param_1[0x13];\n  iVar2 = param_2[0x12];\n  uVar5 = param_2[0x13];\n  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }\n  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }\n  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar3 = param_1[0x12];" (assignment_expression "iVar3 = param_1[0x12]" identifier = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_1[0x13];" (assignment_expression "uVar4 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_2[0x12];" (assignment_expression "iVar2 = param_2[0x12]" identifier = (subscript_expression "param_2[0x12]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = param_2[0x13];" (assignment_expression "uVar5 = param_2[0x13]" identifier = (subscript_expression "param_2[0x13]" identifier [ number_literal ])) ;) (if_statement "if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5))))" ( (binary_expression "(iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))" (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) || (parenthesized_expression "((iVar2 == iVar3 && (uVar4 < uVar5)))" ( (parenthesized_expression "(iVar2 == iVar3 && (uVar4 < uVar5))" ( (binary_expression "iVar2 == iVar3 && (uVar4 < uVar5)" (binary_expression "iVar2 == iVar3" identifier == identifier) && (parenthesized_expression "(uVar4 < uVar5)" ( (binary_expression "uVar4 < uVar5" identifier < identifier) ))) )) ))) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (if_statement "if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }" if (parenthesized_expression "((iVar3 == iVar2) && (uVar4 == uVar5))" ( (binary_expression "(iVar3 == iVar2) && (uVar4 == uVar5)" (parenthesized_expression "(iVar3 == iVar2)" ( (binary_expression "iVar3 == iVar2" identifier == identifier) )) && (parenthesized_expression "(uVar4 == uVar5)" ( (binary_expression "uVar4 == uVar5" identifier == identifier) ))) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);" (assignment_expression "uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_00049638)(*param_2,*param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_00049638)" ( (pointer_expression "*(code *)PTR_strcmp_00049638" * (cast_expression "(code *)PTR_strcmp_00049638" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_2,*param_1)" ( (pointer_expression "*param_2" * identifier) , (pointer_expression "*param_1" * identifier) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }" if (parenthesized_expression "((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5))))" ( (binary_expression "(iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))" (parenthesized_expression "(iVar3 <= iVar2)" ( (binary_expression "iVar3 <= iVar2" identifier <= identifier) )) && (parenthesized_expression "((iVar3 != iVar2 || (uVar4 <= uVar5)))" ( (parenthesized_expression "(iVar3 != iVar2 || (uVar4 <= uVar5))" ( (binary_expression "iVar3 != iVar2 || (uVar4 <= uVar5)" (binary_expression "iVar3 != iVar2" identifier != identifier) || (parenthesized_expression "(uVar4 <= uVar5)" ( (binary_expression "uVar4 <= uVar5" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int rev_strcmp_size(V a,V b)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  iVar2 = *(int *)((int)a + 0x48);\n  uVar3 = *(uint *)((int)a + 0x4c);\n  iVar1 = *(int *)((int)b + 0x48);\n  uVar4 = *(uint *)((int)b + 0x4c);\n  if ((iVar2 < iVar1) || ((iVar1 == iVar2 && (uVar3 < uVar4)))) {\n    return -1;\n  }\n  if ((iVar2 == iVar1) && (uVar3 == uVar4)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = (*(code *)PTR_strcmp_00049638)(*b,*a);\n    return iVar1;\n  }\n  if ((iVar2 <= iVar1) && ((iVar2 != iVar1 || (uVar3 <= uVar4)))) {\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "int rev_strcmp_size(V a,V b)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  iVar2 = *(int *)((int)a + 0x48);\n  uVar3 = *(uint *)((int)a + 0x4c);\n  iVar1 = *(int *)((int)b + 0x48);\n  uVar4 = *(uint *)((int)b + 0x4c);\n  if ((iVar2 < iVar1) || ((iVar1 == iVar2 && (uVar3 < uVar4)))) {\n    return -1;\n  }\n  if ((iVar2 == iVar1) && (uVar3 == uVar4)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = (*(code *)PTR_strcmp_00049638)(*b,*a);\n    return iVar1;\n  }\n  if ((iVar2 <= iVar1) && ((iVar2 != iVar1 || (uVar3 <= uVar4)))) {\n    return 0;\n  }\n  return 1;\n}" primitive_type (function_declarator "rev_strcmp_size(V a,V b)" identifier (parameter_list "(V a,V b)" ( (parameter_declaration "V a" type_identifier identifier) , (parameter_declaration "V b" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  iVar2 = *(int *)((int)a + 0x48);\n  uVar3 = *(uint *)((int)a + 0x4c);\n  iVar1 = *(int *)((int)b + 0x48);\n  uVar4 = *(uint *)((int)b + 0x4c);\n  if ((iVar2 < iVar1) || ((iVar1 == iVar2 && (uVar3 < uVar4)))) {\n    return -1;\n  }\n  if ((iVar2 == iVar1) && (uVar3 == uVar4)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = (*(code *)PTR_strcmp_00049638)(*b,*a);\n    return iVar1;\n  }\n  if ((iVar2 <= iVar1) && ((iVar2 != iVar1 || (uVar3 <= uVar4)))) {\n    return 0;\n  }\n  return 1;\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 ;) (expression_statement "iVar2 = *(int *)((int)a + 0x48);" (assignment_expression "iVar2 = *(int *)((int)a + 0x48)" identifier = (pointer_expression "*(int *)((int)a + 0x48)" * (cast_expression "(int *)((int)a + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 0x48)" ( (binary_expression "(int)a + 0x48" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)((int)a + 0x4c);" (assignment_expression "uVar3 = *(uint *)((int)a + 0x4c)" identifier = (pointer_expression "*(uint *)((int)a + 0x4c)" * (cast_expression "(uint *)((int)a + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 0x4c)" ( (binary_expression "(int)a + 0x4c" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)((int)b + 0x48);" (assignment_expression "iVar1 = *(int *)((int)b + 0x48)" identifier = (pointer_expression "*(int *)((int)b + 0x48)" * (cast_expression "(int *)((int)b + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 0x48)" ( (binary_expression "(int)b + 0x48" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)((int)b + 0x4c);" (assignment_expression "uVar4 = *(uint *)((int)b + 0x4c)" identifier = (pointer_expression "*(uint *)((int)b + 0x4c)" * (cast_expression "(uint *)((int)b + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 0x4c)" ( (binary_expression "(int)b + 0x4c" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((iVar2 < iVar1) || ((iVar1 == iVar2 && (uVar3 < uVar4)))) {\n    return -1;\n  }" if (parenthesized_expression "((iVar2 < iVar1) || ((iVar1 == iVar2 && (uVar3 < uVar4))))" ( (binary_expression "(iVar2 < iVar1) || ((iVar1 == iVar2 && (uVar3 < uVar4)))" (parenthesized_expression "(iVar2 < iVar1)" ( (binary_expression "iVar2 < iVar1" identifier < identifier) )) || (parenthesized_expression "((iVar1 == iVar2 && (uVar3 < uVar4)))" ( (parenthesized_expression "(iVar1 == iVar2 && (uVar3 < uVar4))" ( (binary_expression "iVar1 == iVar2 && (uVar3 < uVar4)" (binary_expression "iVar1 == iVar2" identifier == identifier) && (parenthesized_expression "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) ))) )) ))) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if ((iVar2 == iVar1) && (uVar3 == uVar4)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = (*(code *)PTR_strcmp_00049638)(*b,*a);\n    return iVar1;\n  }" if (parenthesized_expression "((iVar2 == iVar1) && (uVar3 == uVar4))" ( (binary_expression "(iVar2 == iVar1) && (uVar3 == uVar4)" (parenthesized_expression "(iVar2 == iVar1)" ( (binary_expression "iVar2 == iVar1" identifier == identifier) )) && (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) ))) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = (*(code *)PTR_strcmp_00049638)(*b,*a);\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*(code *)PTR_strcmp_00049638)(*b,*a);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_00049638)(*b,*a)" identifier = (call_expression "(*(code *)PTR_strcmp_00049638)(*b,*a)" (parenthesized_expression "(*(code *)PTR_strcmp_00049638)" ( (pointer_expression "*(code *)PTR_strcmp_00049638" * (cast_expression "(code *)PTR_strcmp_00049638" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*b,*a)" ( (pointer_expression "*b" * identifier) , (pointer_expression "*a" * identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((iVar2 <= iVar1) && ((iVar2 != iVar1 || (uVar3 <= uVar4)))) {\n    return 0;\n  }" if (parenthesized_expression "((iVar2 <= iVar1) && ((iVar2 != iVar1 || (uVar3 <= uVar4))))" ( (binary_expression "(iVar2 <= iVar1) && ((iVar2 != iVar1 || (uVar3 <= uVar4)))" (parenthesized_expression "(iVar2 <= iVar1)" ( (binary_expression "iVar2 <= iVar1" identifier <= identifier) )) && (parenthesized_expression "((iVar2 != iVar1 || (uVar3 <= uVar4)))" ( (parenthesized_expression "(iVar2 != iVar1 || (uVar3 <= uVar4))" ( (binary_expression "iVar2 != iVar1 || (uVar3 <= uVar4)" (binary_expression "iVar2 != iVar1" identifier != identifier) || (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0001a008(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar3 = param_1[0x12];\n  uVar4 = param_1[0x13];\n  iVar2 = param_2[0x12];\n  uVar5 = param_2[0x13];\n  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }\n  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }\n  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0001a008(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar3 = param_1[0x12];\n  uVar4 = param_1[0x13];\n  iVar2 = param_2[0x12];\n  uVar5 = param_2[0x13];\n  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }\n  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }\n  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0001a008(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar3 = param_1[0x12];\n  uVar4 = param_1[0x13];\n  iVar2 = param_2[0x12];\n  uVar5 = param_2[0x13];\n  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }\n  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }\n  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar3 = param_1[0x12];" (assignment_expression "iVar3 = param_1[0x12]" identifier = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_1[0x13];" (assignment_expression "uVar4 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_2[0x12];" (assignment_expression "iVar2 = param_2[0x12]" identifier = (subscript_expression "param_2[0x12]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = param_2[0x13];" (assignment_expression "uVar5 = param_2[0x13]" identifier = (subscript_expression "param_2[0x13]" identifier [ number_literal ])) ;) (if_statement "if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5))))" ( (binary_expression "(iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))" (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) || (parenthesized_expression "((iVar2 == iVar3 && (uVar4 < uVar5)))" ( (parenthesized_expression "(iVar2 == iVar3 && (uVar4 < uVar5))" ( (binary_expression "iVar2 == iVar3 && (uVar4 < uVar5)" (binary_expression "iVar2 == iVar3" identifier == identifier) && (parenthesized_expression "(uVar4 < uVar5)" ( (binary_expression "uVar4 < uVar5" identifier < identifier) ))) )) ))) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (if_statement "if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }" if (parenthesized_expression "((iVar3 == iVar2) && (uVar4 == uVar5))" ( (binary_expression "(iVar3 == iVar2) && (uVar4 == uVar5)" (parenthesized_expression "(iVar3 == iVar2)" ( (binary_expression "iVar3 == iVar2" identifier == identifier) )) && (parenthesized_expression "(uVar4 == uVar5)" ( (binary_expression "uVar4 == uVar5" identifier == identifier) ))) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);" (assignment_expression "uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_00049638)(*param_2,*param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_00049638)" ( (pointer_expression "*(code *)PTR_strcmp_00049638" * (cast_expression "(code *)PTR_strcmp_00049638" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_2,*param_1)" ( (pointer_expression "*param_2" * identifier) , (pointer_expression "*param_1" * identifier) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }" if (parenthesized_expression "((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5))))" ( (binary_expression "(iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))" (parenthesized_expression "(iVar3 <= iVar2)" ( (binary_expression "iVar3 <= iVar2" identifier <= identifier) )) && (parenthesized_expression "((iVar3 != iVar2 || (uVar4 <= uVar5)))" ( (parenthesized_expression "(iVar3 != iVar2 || (uVar4 <= uVar5))" ( (binary_expression "iVar3 != iVar2 || (uVar4 <= uVar5)" (binary_expression "iVar3 != iVar2" identifier != identifier) || (parenthesized_expression "(uVar4 <= uVar5)" ( (binary_expression "uVar4 <= uVar5" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(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 ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) ))) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0001a008(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar3 = param_1[0x12];\n  uVar4 = param_1[0x13];\n  iVar2 = param_2[0x12];\n  uVar5 = param_2[0x13];\n  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }\n  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }\n  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001a008(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_0001a008") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar3 = param_1[0x12];\n  uVar4 = param_1[0x13];\n  iVar2 = param_2[0x12];\n  uVar5 = param_2[0x13];\n  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }\n  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }\n  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }\n  return 1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "iVar3 = param_1[0x12];" (assignment_expression "iVar3 = param_1[0x12]" (identifier "iVar3") (= "=") (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]"))) (; ";")) (expression_statement "uVar4 = param_1[0x13];" (assignment_expression "uVar4 = param_1[0x13]" (identifier "uVar4") (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";")) (expression_statement "iVar2 = param_2[0x12];" (assignment_expression "iVar2 = param_2[0x12]" (identifier "iVar2") (= "=") (subscript_expression "param_2[0x12]" (identifier "param_2") ([ "[") (number_literal "0x12") (] "]"))) (; ";")) (expression_statement "uVar5 = param_2[0x13];" (assignment_expression "uVar5 = param_2[0x13]" (identifier "uVar5") (= "=") (subscript_expression "param_2[0x13]" (identifier "param_2") ([ "[") (number_literal "0x13") (] "]"))) (; ";")) (if_statement "if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {\n    return 0xffffffff;\n  }" (if "if") (parenthesized_expression "((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5))))" (( "(") (binary_expression "(iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))" (parenthesized_expression "(iVar3 < iVar2)" (( "(") (binary_expression "iVar3 < iVar2" (identifier "iVar3") (< "<") (identifier "iVar2")) () ")")) (|| "||") (parenthesized_expression "((iVar2 == iVar3 && (uVar4 < uVar5)))" (( "(") (parenthesized_expression "(iVar2 == iVar3 && (uVar4 < uVar5))" (( "(") (binary_expression "iVar2 == iVar3 && (uVar4 < uVar5)" (binary_expression "iVar2 == iVar3" (identifier "iVar2") (== "==") (identifier "iVar3")) (&& "&&") (parenthesized_expression "(uVar4 < uVar5)" (( "(") (binary_expression "uVar4 < uVar5" (identifier "uVar4") (< "<") (identifier "uVar5")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    return 0xffffffff;\n  }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (if_statement "if ((iVar3 == iVar2) && (uVar4 == uVar5)) {\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }" (if "if") (parenthesized_expression "((iVar3 == iVar2) && (uVar4 == uVar5))" (( "(") (binary_expression "(iVar3 == iVar2) && (uVar4 == uVar5)" (parenthesized_expression "(iVar3 == iVar2)" (( "(") (binary_expression "iVar3 == iVar2" (identifier "iVar3") (== "==") (identifier "iVar2")) () ")")) (&& "&&") (parenthesized_expression "(uVar4 == uVar5)" (( "(") (binary_expression "uVar4 == uVar5" (identifier "uVar4") (== "==") (identifier "uVar5")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);" (assignment_expression "uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_00049638)(*param_2,*param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_00049638)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00049638" (* "*") (cast_expression "(code *)PTR_strcmp_00049638" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00049638"))) () ")")) (argument_list "(*param_2,*param_1)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5))))" (( "(") (binary_expression "(iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))" (parenthesized_expression "(iVar3 <= iVar2)" (( "(") (binary_expression "iVar3 <= iVar2" (identifier "iVar3") (<= "<=") (identifier "iVar2")) () ")")) (&& "&&") (parenthesized_expression "((iVar3 != iVar2 || (uVar4 <= uVar5)))" (( "(") (parenthesized_expression "(iVar3 != iVar2 || (uVar4 <= uVar5))" (( "(") (binary_expression "iVar3 != iVar2 || (uVar4 <= uVar5)" (binary_expression "iVar3 != iVar2" (identifier "iVar3") (!= "!=") (identifier "iVar2")) (|| "||") (parenthesized_expression "(uVar4 <= uVar5)" (( "(") (binary_expression "uVar4 <= uVar5" (identifier "uVar4") (<= "<=") (identifier "uVar5")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (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: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) consequence: (compound_statement (return_statement (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  
  iVar3 = param_1[0x12];
  uVar4 = param_1[0x13];
  iVar2 = param_2[0x12];
  uVar5 = param_2[0x13];
  if ((iVar3 < iVar2) || ((iVar2 == iVar3 && (uVar4 < uVar5)))) {
    return 0xffffffff;
  }
  if ((iVar3 == iVar2) && (uVar4 == uVar5)) {
    uVar1 = (*(code *)PTR_strcmp_00049638)(*param_2,*param_1);
    return uVar1;
  }
  if ((iVar3 <= iVar2) && ((iVar3 != iVar2 || (uVar4 <= uVar5)))) {
    return 0;
  }
  return 1;
}

