
int rev_xstrcoll_df_name(V a,V b)

{
  int iVar1;
  int iVar2;
  
  iVar2 = *(int *)((int)a + 0x6c);
  iVar1 = *(int *)((int)b + 0x6c);
  if ((iVar1 == 9 || iVar1 == 3) || (iVar2 != 3 && iVar2 != 9)) {
    if ((iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3)) {
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
      iVar2 = xstrcoll(*b,*a);
      return iVar2;
    }
  }
  else {
    iVar2 = -1;
  }
  return iVar2;
}



undefined4 FUN_00015580(int param_1,int param_2)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  
  iVar1 = *(int *)(param_1 + 0x6c);
  iVar2 = *(int *)(param_2 + 0x6c);
  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {
    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {
      uVar3 = FUN_00014f20();
      return uVar3;
    }
  }
  else {
    uVar3 = 0xffffffff;
  }
  return uVar3;
}


PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESI + 0x6c]
MOV EDX,dword ptr [EBX + 0x6c]
CMP EAX,0x3
SETZ CL
CMP EAX,0x9
SETZ AL
OR ECX,EAX
CMP EDX,0x3
SETZ AL
CMP EDX,0x9
SETZ DL
OR DL,AL
JNZ 0x000155b2
TEST CL,CL
JNZ 0x000155d8
TEST CL,CL
JNZ 0x000155c8
MOV EAX,0x1
TEST DL,DL
JZ 0x000155c8
POP EBX
POP ESI
RET
MOV EDX,dword ptr [ESI]
MOV EAX,dword ptr [EBX]
POP EBX
POP ESI
JMP 0x00014f20
MOV EAX,0xffffffff
JMP 0x000155bf
(translation_unit "undefined4 FUN_00015580(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x6c);\n  iVar2 = *(int *)(param_2 + 0x6c);\n  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00015580(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x6c);\n  iVar2 = *(int *)(param_2 + 0x6c);\n  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00015580(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  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x6c);\n  iVar2 = *(int *)(param_2 + 0x6c);\n  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x6c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x6c)" identifier = (pointer_expression "*(int *)(param_1 + 0x6c)" * (cast_expression "(int *)(param_1 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x6c);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x6c)" identifier = (pointer_expression "*(int *)(param_2 + 0x6c)" * (cast_expression "(int *)(param_2 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) ))))) ;) (if_statement "if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }" if (parenthesized_expression "((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9))" ( (binary_expression "(iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)" (parenthesized_expression "(iVar2 == 9 || iVar2 == 3)" ( (binary_expression "iVar2 == 9 || iVar2 == 3" (binary_expression "iVar2 == 9" identifier == number_literal) || (binary_expression "iVar2 == 3" identifier == number_literal)) )) || (parenthesized_expression "(iVar1 != 3 && iVar1 != 9)" ( (binary_expression "iVar1 != 3 && iVar1 != 9" (binary_expression "iVar1 != 3" identifier != number_literal) && (binary_expression "iVar1 != 9" identifier != number_literal)) ))) )) (compound_statement "{\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }" { (if_statement "if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }" if (parenthesized_expression "((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3))" ( (binary_expression "(iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)" (parenthesized_expression "(iVar1 == 3 || iVar1 == 9)" ( (binary_expression "iVar1 == 3 || iVar1 == 9" (binary_expression "iVar1 == 3" identifier == number_literal) || (binary_expression "iVar1 == 9" identifier == number_literal)) )) || (parenthesized_expression "(uVar3 = 1, iVar2 != 9 && iVar2 != 3)" ( (comma_expression "uVar3 = 1, iVar2 != 9 && iVar2 != 3" (assignment_expression "uVar3 = 1" identifier = number_literal) , (binary_expression "iVar2 != 9 && iVar2 != 3" (binary_expression "iVar2 != 9" identifier != number_literal) && (binary_expression "iVar2 != 3" identifier != number_literal))) ))) )) (compound_statement "{\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }" { (expression_statement "uVar3 = FUN_00014f20();" (assignment_expression "uVar3 = FUN_00014f20()" identifier = (call_expression "FUN_00014f20()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) }) (else_clause "else {\n    uVar3 = 0xffffffff;\n  }" else (compound_statement "{\n    uVar3 = 0xffffffff;\n  }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "int rev_xstrcoll_df_name(V a,V b)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)((int)a + 0x6c);\n  iVar1 = *(int *)((int)b + 0x6c);\n  if ((iVar1 == 9 || iVar1 == 3) || (iVar2 != 3 && iVar2 != 9)) {\n    if ((iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar2 = xstrcoll(*b,*a);\n      return iVar2;\n    }\n  }\n  else {\n    iVar2 = -1;\n  }\n  return iVar2;\n}\n\n" (function_definition "int rev_xstrcoll_df_name(V a,V b)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)((int)a + 0x6c);\n  iVar1 = *(int *)((int)b + 0x6c);\n  if ((iVar1 == 9 || iVar1 == 3) || (iVar2 != 3 && iVar2 != 9)) {\n    if ((iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar2 = xstrcoll(*b,*a);\n      return iVar2;\n    }\n  }\n  else {\n    iVar2 = -1;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "rev_xstrcoll_df_name(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  \n  iVar2 = *(int *)((int)a + 0x6c);\n  iVar1 = *(int *)((int)b + 0x6c);\n  if ((iVar1 == 9 || iVar1 == 3) || (iVar2 != 3 && iVar2 != 9)) {\n    if ((iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar2 = xstrcoll(*b,*a);\n      return iVar2;\n    }\n  }\n  else {\n    iVar2 = -1;\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)((int)a + 0x6c);" (assignment_expression "iVar2 = *(int *)((int)a + 0x6c)" identifier = (pointer_expression "*(int *)((int)a + 0x6c)" * (cast_expression "(int *)((int)a + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)a + 0x6c)" ( (binary_expression "(int)a + 0x6c" (cast_expression "(int)a" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)((int)b + 0x6c);" (assignment_expression "iVar1 = *(int *)((int)b + 0x6c)" identifier = (pointer_expression "*(int *)((int)b + 0x6c)" * (cast_expression "(int *)((int)b + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)b + 0x6c)" ( (binary_expression "(int)b + 0x6c" (cast_expression "(int)b" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((iVar1 == 9 || iVar1 == 3) || (iVar2 != 3 && iVar2 != 9)) {\n    if ((iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar2 = xstrcoll(*b,*a);\n      return iVar2;\n    }\n  }\n  else {\n    iVar2 = -1;\n  }" if (parenthesized_expression "((iVar1 == 9 || iVar1 == 3) || (iVar2 != 3 && iVar2 != 9))" ( (binary_expression "(iVar1 == 9 || iVar1 == 3) || (iVar2 != 3 && iVar2 != 9)" (parenthesized_expression "(iVar1 == 9 || iVar1 == 3)" ( (binary_expression "iVar1 == 9 || iVar1 == 3" (binary_expression "iVar1 == 9" identifier == number_literal) || (binary_expression "iVar1 == 3" identifier == number_literal)) )) || (parenthesized_expression "(iVar2 != 3 && iVar2 != 9)" ( (binary_expression "iVar2 != 3 && iVar2 != 9" (binary_expression "iVar2 != 3" identifier != number_literal) && (binary_expression "iVar2 != 9" identifier != number_literal)) ))) )) (compound_statement "{\n    if ((iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar2 = xstrcoll(*b,*a);\n      return iVar2;\n    }\n  }" { (if_statement "if ((iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3)) {\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar2 = xstrcoll(*b,*a);\n      return iVar2;\n    }" if (parenthesized_expression "((iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3))" ( (binary_expression "(iVar2 == 3 || iVar2 == 9) || (iVar2 = 1, iVar1 != 9 && iVar1 != 3)" (parenthesized_expression "(iVar2 == 3 || iVar2 == 9)" ( (binary_expression "iVar2 == 3 || iVar2 == 9" (binary_expression "iVar2 == 3" identifier == number_literal) || (binary_expression "iVar2 == 9" identifier == number_literal)) )) || (parenthesized_expression "(iVar2 = 1, iVar1 != 9 && iVar1 != 3)" ( (comma_expression "iVar2 = 1, iVar1 != 9 && iVar1 != 3" (assignment_expression "iVar2 = 1" identifier = number_literal) , (binary_expression "iVar1 != 9 && iVar1 != 3" (binary_expression "iVar1 != 9" identifier != number_literal) && (binary_expression "iVar1 != 3" identifier != number_literal))) ))) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n      iVar2 = xstrcoll(*b,*a);\n      return iVar2;\n    }" { comment comment (expression_statement "iVar2 = xstrcoll(*b,*a);" (assignment_expression "iVar2 = xstrcoll(*b,*a)" identifier = (call_expression "xstrcoll(*b,*a)" identifier (argument_list "(*b,*a)" ( (pointer_expression "*b" * identifier) , (pointer_expression "*a" * identifier) )))) ;) (return_statement "return iVar2;" return identifier ;) })) }) (else_clause "else {\n    iVar2 = -1;\n  }" else (compound_statement "{\n    iVar2 = -1;\n  }" { (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_00015580(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x6c);\n  iVar2 = *(int *)(param_2 + 0x6c);\n  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00015580(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x6c);\n  iVar2 = *(int *)(param_2 + 0x6c);\n  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00015580(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  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x6c);\n  iVar2 = *(int *)(param_2 + 0x6c);\n  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x6c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x6c)" identifier = (pointer_expression "*(int *)(param_1 + 0x6c)" * (cast_expression "(int *)(param_1 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x6c);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x6c)" identifier = (pointer_expression "*(int *)(param_2 + 0x6c)" * (cast_expression "(int *)(param_2 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) ))))) ;) (if_statement "if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }" if (parenthesized_expression "((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9))" ( (binary_expression "(iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)" (parenthesized_expression "(iVar2 == 9 || iVar2 == 3)" ( (binary_expression "iVar2 == 9 || iVar2 == 3" (binary_expression "iVar2 == 9" identifier == number_literal) || (binary_expression "iVar2 == 3" identifier == number_literal)) )) || (parenthesized_expression "(iVar1 != 3 && iVar1 != 9)" ( (binary_expression "iVar1 != 3 && iVar1 != 9" (binary_expression "iVar1 != 3" identifier != number_literal) && (binary_expression "iVar1 != 9" identifier != number_literal)) ))) )) (compound_statement "{\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }" { (if_statement "if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }" if (parenthesized_expression "((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3))" ( (binary_expression "(iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)" (parenthesized_expression "(iVar1 == 3 || iVar1 == 9)" ( (binary_expression "iVar1 == 3 || iVar1 == 9" (binary_expression "iVar1 == 3" identifier == number_literal) || (binary_expression "iVar1 == 9" identifier == number_literal)) )) || (parenthesized_expression "(uVar3 = 1, iVar2 != 9 && iVar2 != 3)" ( (comma_expression "uVar3 = 1, iVar2 != 9 && iVar2 != 3" (assignment_expression "uVar3 = 1" identifier = number_literal) , (binary_expression "iVar2 != 9 && iVar2 != 3" (binary_expression "iVar2 != 9" identifier != number_literal) && (binary_expression "iVar2 != 3" identifier != number_literal))) ))) )) (compound_statement "{\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }" { (expression_statement "uVar3 = FUN_00014f20();" (assignment_expression "uVar3 = FUN_00014f20()" identifier = (call_expression "FUN_00014f20()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) }) (else_clause "else {\n    uVar3 = 0xffffffff;\n  }" else (compound_statement "{\n    uVar3 = 0xffffffff;\n  }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }))) (return_statement "return uVar3;" 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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (binary_expression IDENT == LIT)) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (binary_expression IDENT == LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT != LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00015580(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x6c);\n  iVar2 = *(int *)(param_2 + 0x6c);\n  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_00015580(int param_1,int param_2)" (identifier "FUN_00015580") (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  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x6c);\n  iVar2 = *(int *)(param_2 + 0x6c);\n  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }\n  return uVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x6c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x6c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x6c)" (* "*") (cast_expression "(int *)(param_1 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0x6c);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x6c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x6c)" (* "*") (cast_expression "(int *)(param_2 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x6c)" (( "(") (binary_expression "param_2 + 0x6c" (identifier "param_2") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (if_statement "if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }\n  else {\n    uVar3 = 0xffffffff;\n  }" (if "if") (parenthesized_expression "((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9))" (( "(") (binary_expression "(iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)" (parenthesized_expression "(iVar2 == 9 || iVar2 == 3)" (( "(") (binary_expression "iVar2 == 9 || iVar2 == 3" (binary_expression "iVar2 == 9" (identifier "iVar2") (== "==") (number_literal "9")) (|| "||") (binary_expression "iVar2 == 3" (identifier "iVar2") (== "==") (number_literal "3"))) () ")")) (|| "||") (parenthesized_expression "(iVar1 != 3 && iVar1 != 9)" (( "(") (binary_expression "iVar1 != 3 && iVar1 != 9" (binary_expression "iVar1 != 3" (identifier "iVar1") (!= "!=") (number_literal "3")) (&& "&&") (binary_expression "iVar1 != 9" (identifier "iVar1") (!= "!=") (number_literal "9"))) () ")"))) () ")")) (compound_statement "{\n    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }\n  }" ({ "{") (if_statement "if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }" (if "if") (parenthesized_expression "((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3))" (( "(") (binary_expression "(iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)" (parenthesized_expression "(iVar1 == 3 || iVar1 == 9)" (( "(") (binary_expression "iVar1 == 3 || iVar1 == 9" (binary_expression "iVar1 == 3" (identifier "iVar1") (== "==") (number_literal "3")) (|| "||") (binary_expression "iVar1 == 9" (identifier "iVar1") (== "==") (number_literal "9"))) () ")")) (|| "||") (parenthesized_expression "(uVar3 = 1, iVar2 != 9 && iVar2 != 3)" (( "(") (comma_expression "uVar3 = 1, iVar2 != 9 && iVar2 != 3" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (, ",") (binary_expression "iVar2 != 9 && iVar2 != 3" (binary_expression "iVar2 != 9" (identifier "iVar2") (!= "!=") (number_literal "9")) (&& "&&") (binary_expression "iVar2 != 3" (identifier "iVar2") (!= "!=") (number_literal "3")))) () ")"))) () ")")) (compound_statement "{\n      uVar3 = FUN_00014f20();\n      return uVar3;\n    }" ({ "{") (expression_statement "uVar3 = FUN_00014f20();" (assignment_expression "uVar3 = FUN_00014f20()" (identifier "uVar3") (= "=") (call_expression "FUN_00014f20()" (identifier "FUN_00014f20") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar3 = 0xffffffff;\n  }" (else "else") (compound_statement "{\n    uVar3 = 0xffffffff;\n  }" ({ "{") (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

int function_1(type_1 a,type_1 b)

{
  int var_1;
  int var_2;
  
  var_2 = *(int *)((int)a + 0x6c);
  var_1 = *(int *)((int)b + 0x6c);
  if ((var_1 == 9 || var_1 == 3) || (var_2 != 3 && var_2 != 9)) {
    if ((var_2 == 3 || var_2 == 9) || (var_2 = 1, var_1 != 9 && var_1 != 3)) {
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
      var_2 = var_3(*b,*a);
      return var_2;
    }
  }
  else {
    var_2 = -1;
  }
  return var_2;
}


(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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1,int param_2)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  
  iVar1 = *(int *)(param_1 + 0x6c);
  iVar2 = *(int *)(param_2 + 0x6c);
  if ((iVar2 == 9 || iVar2 == 3) || (iVar1 != 3 && iVar1 != 9)) {
    if ((iVar1 == 3 || iVar1 == 9) || (uVar3 = 1, iVar2 != 9 && iVar2 != 3)) {
      uVar3 = FUN_00014f20();
      return uVar3;
    }
  }
  else {
    uVar3 = 0xffffffff;
  }
  return uVar3;
}

