
int cmp_total(void *lp,void *rp)

{
  long lVar1;
  long lVar2;
  char *__s1;
  char *__s2;
  int iVar3;
  double dVar4;
  
                    /* WARNING: Load size is inaccurate */
  lVar1 = *lp;
                    /* WARNING: Load size is inaccurate */
  lVar2 = *rp;
  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -
          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));
  if (dVar4 < 0.0) {
    return 1;
  }
  if (dVar4 <= 0.0) {
    __s1 = *(char **)(lVar1 + 0x10);
    if (__s1 != (char *)0x0) {
      __s2 = *(char **)(lVar2 + 0x10);
      if (__s2 != (char *)0x0) {
        if (*__s1 == '_') {
          if (*__s2 != '_') {
            return 1;
          }
        }
        else if (*__s2 == '_') {
          return -1;
        }
        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {
          return -1;
        }
        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {
          iVar3 = strcmp(__s1,__s2);
          return iVar3;
        }
      }
      return 1;
    }
    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {
      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;
    }
  }
  return -1;
}



uint FUN_001043a0(long *param_1,long *param_2)

{
  long lVar1;
  long lVar2;
  char *__s1;
  char *__s2;
  uint uVar3;
  double dVar4;
  
  lVar1 = *param_1;
  lVar2 = *param_2;
  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -
          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));
  if (dVar4 < 0.0) {
    return 1;
  }
  if (dVar4 <= 0.0) {
    __s1 = *(char **)(lVar1 + 0x10);
    if (__s1 != (char *)0x0) {
      __s2 = *(char **)(lVar2 + 0x10);
      if (__s2 != (char *)0x0) {
        if (*__s1 == '_') {
          if (*__s2 != '_') {
            return 1;
          }
        }
        else if (*__s2 == '_') {
          return 0xffffffff;
        }
        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {
          return 0xffffffff;
        }
        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {
          uVar3 = strcmp(__s1,__s2);
          return uVar3;
        }
      }
      return 1;
    }
    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {
      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;
    }
  }
  return 0xffffffff;
}


MOV RAX,qword ptr [RDI]
MOV RDX,qword ptr [RSI]
MOVSD XMM0,qword ptr [RAX + 0x120]
MOVSD XMM1,qword ptr [RDX + 0x120]
ADDSD XMM0,qword ptr [RAX + 0x128]
ADDSD XMM1,qword ptr [RDX + 0x128]
SUBSD XMM0,XMM1
PXOR XMM1,XMM1
COMISD XMM1,XMM0
JA 0x00104415
COMISD XMM0,XMM1
JA 0x00104440
MOV RDI,qword ptr [RAX + 0x10]
TEST RDI,RDI
JZ 0x00104420
MOV RSI,qword ptr [RDX + 0x10]
TEST RSI,RSI
JZ 0x00104415
CMP byte ptr [RDI],0x5f
MOVZX ECX,byte ptr [RSI]
JZ 0x00104410
CMP CL,0x5f
JZ 0x00104440
MOV RCX,qword ptr [RDX + 0x28]
CMP qword ptr [RAX + 0x28],RCX
JA 0x00104440
JC 0x00104415
JMP 0x001022d0
CMP CL,0x5f
JZ 0x001043f9
MOV EAX,0x1
RET
MOV EAX,dword ptr [RAX + 0x130]
TEST EAX,EAX
JNZ 0x00104440
CMP qword ptr [RDX + 0x10],0x0
JNZ 0x00104440
CMP dword ptr [RDX + 0x130],0x1
SBB EAX,EAX
OR EAX,0x1
RET
MOV EAX,0xffffffff
RET
(translation_unit "uint FUN_001043a0(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  uint uVar3;\n  double dVar4;\n  \n  lVar1 = *param_1;\n  lVar2 = *param_2;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return 0xffffffff;\n}\n\n" (function_definition "uint FUN_001043a0(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  uint uVar3;\n  double dVar4;\n  \n  lVar1 = *param_1;\n  lVar2 = *param_2;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return 0xffffffff;\n}" type_identifier (function_declarator "FUN_001043a0(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  uint uVar3;\n  double dVar4;\n  \n  lVar1 = *param_1;\n  lVar2 = *param_2;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return 0xffffffff;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "double dVar4;" primitive_type identifier ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "lVar2 = *param_2;" (assignment_expression "lVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));" (assignment_expression "dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" identifier = (binary_expression "(*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" (parenthesized_expression "(*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128))" ( (binary_expression "*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)" (pointer_expression "*(double *)(lVar1 + 0x120)" * (cast_expression "(double *)(lVar1 + 0x120)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x120)" ( (binary_expression "lVar1 + 0x120" identifier + number_literal) )))) + (pointer_expression "*(double *)(lVar1 + 0x128)" * (cast_expression "(double *)(lVar1 + 0x128)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x128)" ( (binary_expression "lVar1 + 0x128" identifier + number_literal) ))))) )) - (parenthesized_expression "(*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" ( (binary_expression "*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128)" (pointer_expression "*(double *)(lVar2 + 0x120)" * (cast_expression "(double *)(lVar2 + 0x120)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x120)" ( (binary_expression "lVar2 + 0x120" identifier + number_literal) )))) + (pointer_expression "*(double *)(lVar2 + 0x128)" * (cast_expression "(double *)(lVar2 + 0x128)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x128)" ( (binary_expression "lVar2 + 0x128" identifier + number_literal) ))))) )))) ;) (if_statement "if (dVar4 < 0.0) {\n    return 1;\n  }" if (parenthesized_expression "(dVar4 < 0.0)" ( (binary_expression "dVar4 < 0.0" identifier < number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }" if (parenthesized_expression "(dVar4 <= 0.0)" ( (binary_expression "dVar4 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }" { (expression_statement "__s1 = *(char **)(lVar1 + 0x10);" (assignment_expression "__s1 = *(char **)(lVar1 + 0x10)" identifier = (pointer_expression "*(char **)(lVar1 + 0x10)" * (cast_expression "(char **)(lVar1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }" if (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }" { (expression_statement "__s2 = *(char **)(lVar2 + 0x10);" (assignment_expression "__s2 = *(char **)(lVar2 + 0x10)" identifier = (pointer_expression "*(char **)(lVar2 + 0x10)" * (cast_expression "(char **)(lVar2 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }" if (parenthesized_expression "(__s2 != (char *)0x0)" ( (binary_expression "__s2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }" { (if_statement "if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }" if (parenthesized_expression "(*__s1 == '_')" ( (binary_expression "*__s1 == '_'" (pointer_expression "*__s1" * identifier) == (char_literal "'_'" ' character ')) )) (compound_statement "{\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }" { (if_statement "if (*__s2 != '_') {\n            return 1;\n          }" if (parenthesized_expression "(*__s2 != '_')" ( (binary_expression "*__s2 != '_'" (pointer_expression "*__s2" * identifier) != (char_literal "'_'" ' character ')) )) (compound_statement "{\n            return 1;\n          }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else if (*__s2 == '_') {\n          return 0xffffffff;\n        }" else (if_statement "if (*__s2 == '_') {\n          return 0xffffffff;\n        }" if (parenthesized_expression "(*__s2 == '_')" ( (binary_expression "*__s2 == '_'" (pointer_expression "*__s2" * identifier) == (char_literal "'_'" ' character ')) )) (compound_statement "{\n          return 0xffffffff;\n        }" { (return_statement "return 0xffffffff;" return number_literal ;) })))) (if_statement "if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }" if (parenthesized_expression "(*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28))" ( (binary_expression "*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)" (pointer_expression "*(ulong *)(lVar2 + 0x28)" * (cast_expression "(ulong *)(lVar2 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) < (pointer_expression "*(ulong *)(lVar1 + 0x28)" * (cast_expression "(ulong *)(lVar1 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n          return 0xffffffff;\n        }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (if_statement "if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }" if (parenthesized_expression "(*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28))" ( (binary_expression "*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)" (pointer_expression "*(ulong *)(lVar2 + 0x28)" * (cast_expression "(ulong *)(lVar2 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) <= (pointer_expression "*(ulong *)(lVar1 + 0x28)" * (cast_expression "(ulong *)(lVar1 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }" { (expression_statement "uVar3 = strcmp(__s1,__s2);" (assignment_expression "uVar3 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) })) (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }" if (parenthesized_expression "((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0))" ( (binary_expression "(*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)" (parenthesized_expression "(*(int *)(lVar1 + 0x130) == 0)" ( (binary_expression "*(int *)(lVar1 + 0x130) == 0" (pointer_expression "*(int *)(lVar1 + 0x130)" * (cast_expression "(int *)(lVar1 + 0x130)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x130)" ( (binary_expression "lVar1 + 0x130" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(long *)(lVar2 + 0x10) == 0)" ( (binary_expression "*(long *)(lVar2 + 0x10) == 0" (pointer_expression "*(long *)(lVar2 + 0x10)" * (cast_expression "(long *)(lVar2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }" { (return_statement "return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;" return (binary_expression "-(uint)(*(int *)(lVar2 + 0x130) == 0) | 1" (unary_expression "-(uint)(*(int *)(lVar2 + 0x130) == 0)" - (call_expression "(uint)(*(int *)(lVar2 + 0x130) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(lVar2 + 0x130) == 0)" ( (binary_expression "*(int *)(lVar2 + 0x130) == 0" (pointer_expression "*(int *)(lVar2 + 0x130)" * (cast_expression "(int *)(lVar2 + 0x130)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x130)" ( (binary_expression "lVar2 + 0x130" identifier + number_literal) )))) == number_literal) )))) | number_literal) ;) })) })) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit "int cmp_total(void *lp,void *rp)\n\n{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  int iVar3;\n  double dVar4;\n  \n                    /* WARNING: Load size is inaccurate */\n  lVar1 = *lp;\n                    /* WARNING: Load size is inaccurate */\n  lVar2 = *rp;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return -1;\n}\n\n" (function_definition "int cmp_total(void *lp,void *rp)\n\n{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  int iVar3;\n  double dVar4;\n  \n                    /* WARNING: Load size is inaccurate */\n  lVar1 = *lp;\n                    /* WARNING: Load size is inaccurate */\n  lVar2 = *rp;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return -1;\n}" primitive_type (function_declarator "cmp_total(void *lp,void *rp)" identifier (parameter_list "(void *lp,void *rp)" ( (parameter_declaration "void *lp" primitive_type (pointer_declarator "*lp" * identifier)) , (parameter_declaration "void *rp" primitive_type (pointer_declarator "*rp" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  int iVar3;\n  double dVar4;\n  \n                    /* WARNING: Load size is inaccurate */\n  lVar1 = *lp;\n                    /* WARNING: Load size is inaccurate */\n  lVar2 = *rp;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return -1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "double dVar4;" primitive_type identifier ;) comment (expression_statement "lVar1 = *lp;" (assignment_expression "lVar1 = *lp" identifier = (pointer_expression "*lp" * identifier)) ;) comment (expression_statement "lVar2 = *rp;" (assignment_expression "lVar2 = *rp" identifier = (pointer_expression "*rp" * identifier)) ;) (expression_statement "dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));" (assignment_expression "dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" identifier = (binary_expression "(*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" (parenthesized_expression "(*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128))" ( (binary_expression "*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)" (pointer_expression "*(double *)(lVar1 + 0x120)" * (cast_expression "(double *)(lVar1 + 0x120)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x120)" ( (binary_expression "lVar1 + 0x120" identifier + number_literal) )))) + (pointer_expression "*(double *)(lVar1 + 0x128)" * (cast_expression "(double *)(lVar1 + 0x128)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x128)" ( (binary_expression "lVar1 + 0x128" identifier + number_literal) ))))) )) - (parenthesized_expression "(*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" ( (binary_expression "*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128)" (pointer_expression "*(double *)(lVar2 + 0x120)" * (cast_expression "(double *)(lVar2 + 0x120)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x120)" ( (binary_expression "lVar2 + 0x120" identifier + number_literal) )))) + (pointer_expression "*(double *)(lVar2 + 0x128)" * (cast_expression "(double *)(lVar2 + 0x128)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x128)" ( (binary_expression "lVar2 + 0x128" identifier + number_literal) ))))) )))) ;) (if_statement "if (dVar4 < 0.0) {\n    return 1;\n  }" if (parenthesized_expression "(dVar4 < 0.0)" ( (binary_expression "dVar4 < 0.0" identifier < number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }" if (parenthesized_expression "(dVar4 <= 0.0)" ( (binary_expression "dVar4 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }" { (expression_statement "__s1 = *(char **)(lVar1 + 0x10);" (assignment_expression "__s1 = *(char **)(lVar1 + 0x10)" identifier = (pointer_expression "*(char **)(lVar1 + 0x10)" * (cast_expression "(char **)(lVar1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }\n      return 1;\n    }" if (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }\n      return 1;\n    }" { (expression_statement "__s2 = *(char **)(lVar2 + 0x10);" (assignment_expression "__s2 = *(char **)(lVar2 + 0x10)" identifier = (pointer_expression "*(char **)(lVar2 + 0x10)" * (cast_expression "(char **)(lVar2 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }" if (parenthesized_expression "(__s2 != (char *)0x0)" ( (binary_expression "__s2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }\n      }" { (if_statement "if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return -1;\n        }" if (parenthesized_expression "(*__s1 == '_')" ( (binary_expression "*__s1 == '_'" (pointer_expression "*__s1" * identifier) == (char_literal "'_'" ' character ')) )) (compound_statement "{\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }" { (if_statement "if (*__s2 != '_') {\n            return 1;\n          }" if (parenthesized_expression "(*__s2 != '_')" ( (binary_expression "*__s2 != '_'" (pointer_expression "*__s2" * identifier) != (char_literal "'_'" ' character ')) )) (compound_statement "{\n            return 1;\n          }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else if (*__s2 == '_') {\n          return -1;\n        }" else (if_statement "if (*__s2 == '_') {\n          return -1;\n        }" if (parenthesized_expression "(*__s2 == '_')" ( (binary_expression "*__s2 == '_'" (pointer_expression "*__s2" * identifier) == (char_literal "'_'" ' character ')) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })))) (if_statement "if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return -1;\n        }" if (parenthesized_expression "(*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28))" ( (binary_expression "*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)" (pointer_expression "*(ulong *)(lVar2 + 0x28)" * (cast_expression "(ulong *)(lVar2 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) < (pointer_expression "*(ulong *)(lVar1 + 0x28)" * (cast_expression "(ulong *)(lVar1 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }" if (parenthesized_expression "(*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28))" ( (binary_expression "*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)" (pointer_expression "*(ulong *)(lVar2 + 0x28)" * (cast_expression "(ulong *)(lVar2 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) <= (pointer_expression "*(ulong *)(lVar1 + 0x28)" * (cast_expression "(ulong *)(lVar1 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n          iVar3 = strcmp(__s1,__s2);\n          return iVar3;\n        }" { (expression_statement "iVar3 = strcmp(__s1,__s2);" (assignment_expression "iVar3 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (return_statement "return iVar3;" return identifier ;) })) })) (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }" if (parenthesized_expression "((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0))" ( (binary_expression "(*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)" (parenthesized_expression "(*(int *)(lVar1 + 0x130) == 0)" ( (binary_expression "*(int *)(lVar1 + 0x130) == 0" (pointer_expression "*(int *)(lVar1 + 0x130)" * (cast_expression "(int *)(lVar1 + 0x130)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x130)" ( (binary_expression "lVar1 + 0x130" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(long *)(lVar2 + 0x10) == 0)" ( (binary_expression "*(long *)(lVar2 + 0x10) == 0" (pointer_expression "*(long *)(lVar2 + 0x10)" * (cast_expression "(long *)(lVar2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }" { (return_statement "return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;" return (binary_expression "-(uint)(*(int *)(lVar2 + 0x130) == 0) | 1" (unary_expression "-(uint)(*(int *)(lVar2 + 0x130) == 0)" - (call_expression "(uint)(*(int *)(lVar2 + 0x130) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(lVar2 + 0x130) == 0)" ( (binary_expression "*(int *)(lVar2 + 0x130) == 0" (pointer_expression "*(int *)(lVar2 + 0x130)" * (cast_expression "(int *)(lVar2 + 0x130)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x130)" ( (binary_expression "lVar2 + 0x130" identifier + number_literal) )))) == number_literal) )))) | number_literal) ;) })) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "uint FUN_001043a0(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  uint uVar3;\n  double dVar4;\n  \n  lVar1 = *param_1;\n  lVar2 = *param_2;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return 0xffffffff;\n}\n\n" (function_definition "uint FUN_001043a0(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  uint uVar3;\n  double dVar4;\n  \n  lVar1 = *param_1;\n  lVar2 = *param_2;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return 0xffffffff;\n}" type_identifier (function_declarator "FUN_001043a0(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  uint uVar3;\n  double dVar4;\n  \n  lVar1 = *param_1;\n  lVar2 = *param_2;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return 0xffffffff;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "double dVar4;" primitive_type identifier ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "lVar2 = *param_2;" (assignment_expression "lVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));" (assignment_expression "dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" identifier = (binary_expression "(*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" (parenthesized_expression "(*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128))" ( (binary_expression "*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)" (pointer_expression "*(double *)(lVar1 + 0x120)" * (cast_expression "(double *)(lVar1 + 0x120)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x120)" ( (binary_expression "lVar1 + 0x120" identifier + number_literal) )))) + (pointer_expression "*(double *)(lVar1 + 0x128)" * (cast_expression "(double *)(lVar1 + 0x128)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x128)" ( (binary_expression "lVar1 + 0x128" identifier + number_literal) ))))) )) - (parenthesized_expression "(*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" ( (binary_expression "*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128)" (pointer_expression "*(double *)(lVar2 + 0x120)" * (cast_expression "(double *)(lVar2 + 0x120)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x120)" ( (binary_expression "lVar2 + 0x120" identifier + number_literal) )))) + (pointer_expression "*(double *)(lVar2 + 0x128)" * (cast_expression "(double *)(lVar2 + 0x128)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x128)" ( (binary_expression "lVar2 + 0x128" identifier + number_literal) ))))) )))) ;) (if_statement "if (dVar4 < 0.0) {\n    return 1;\n  }" if (parenthesized_expression "(dVar4 < 0.0)" ( (binary_expression "dVar4 < 0.0" identifier < number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }" if (parenthesized_expression "(dVar4 <= 0.0)" ( (binary_expression "dVar4 <= 0.0" identifier <= number_literal) )) (compound_statement "{\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }" { (expression_statement "__s1 = *(char **)(lVar1 + 0x10);" (assignment_expression "__s1 = *(char **)(lVar1 + 0x10)" identifier = (pointer_expression "*(char **)(lVar1 + 0x10)" * (cast_expression "(char **)(lVar1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }" if (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }" { (expression_statement "__s2 = *(char **)(lVar2 + 0x10);" (assignment_expression "__s2 = *(char **)(lVar2 + 0x10)" identifier = (pointer_expression "*(char **)(lVar2 + 0x10)" * (cast_expression "(char **)(lVar2 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }" if (parenthesized_expression "(__s2 != (char *)0x0)" ( (binary_expression "__s2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }" { (if_statement "if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }" if (parenthesized_expression "(*__s1 == '_')" ( (binary_expression "*__s1 == '_'" (pointer_expression "*__s1" * identifier) == (char_literal "'_'" ' character ')) )) (compound_statement "{\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }" { (if_statement "if (*__s2 != '_') {\n            return 1;\n          }" if (parenthesized_expression "(*__s2 != '_')" ( (binary_expression "*__s2 != '_'" (pointer_expression "*__s2" * identifier) != (char_literal "'_'" ' character ')) )) (compound_statement "{\n            return 1;\n          }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else if (*__s2 == '_') {\n          return 0xffffffff;\n        }" else (if_statement "if (*__s2 == '_') {\n          return 0xffffffff;\n        }" if (parenthesized_expression "(*__s2 == '_')" ( (binary_expression "*__s2 == '_'" (pointer_expression "*__s2" * identifier) == (char_literal "'_'" ' character ')) )) (compound_statement "{\n          return 0xffffffff;\n        }" { (return_statement "return 0xffffffff;" return number_literal ;) })))) (if_statement "if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }" if (parenthesized_expression "(*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28))" ( (binary_expression "*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)" (pointer_expression "*(ulong *)(lVar2 + 0x28)" * (cast_expression "(ulong *)(lVar2 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) < (pointer_expression "*(ulong *)(lVar1 + 0x28)" * (cast_expression "(ulong *)(lVar1 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n          return 0xffffffff;\n        }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (if_statement "if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }" if (parenthesized_expression "(*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28))" ( (binary_expression "*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)" (pointer_expression "*(ulong *)(lVar2 + 0x28)" * (cast_expression "(ulong *)(lVar2 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) <= (pointer_expression "*(ulong *)(lVar1 + 0x28)" * (cast_expression "(ulong *)(lVar1 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }" { (expression_statement "uVar3 = strcmp(__s1,__s2);" (assignment_expression "uVar3 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) })) (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }" if (parenthesized_expression "((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0))" ( (binary_expression "(*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)" (parenthesized_expression "(*(int *)(lVar1 + 0x130) == 0)" ( (binary_expression "*(int *)(lVar1 + 0x130) == 0" (pointer_expression "*(int *)(lVar1 + 0x130)" * (cast_expression "(int *)(lVar1 + 0x130)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x130)" ( (binary_expression "lVar1 + 0x130" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(long *)(lVar2 + 0x10) == 0)" ( (binary_expression "*(long *)(lVar2 + 0x10) == 0" (pointer_expression "*(long *)(lVar2 + 0x10)" * (cast_expression "(long *)(lVar2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }" { (return_statement "return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;" return (binary_expression "-(uint)(*(int *)(lVar2 + 0x130) == 0) | 1" (unary_expression "-(uint)(*(int *)(lVar2 + 0x130) == 0)" - (call_expression "(uint)(*(int *)(lVar2 + 0x130) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(lVar2 + 0x130) == 0)" ( (binary_expression "*(int *)(lVar2 + 0x130) == 0" (pointer_expression "*(int *)(lVar2 + 0x130)" * (cast_expression "(int *)(lVar2 + 0x130)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x130)" ( (binary_expression "lVar2 + 0x130" identifier + number_literal) )))) == number_literal) )))) | number_literal) ;) })) })) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (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) ))))) )) - (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) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (return_statement return 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 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 { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) })) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (return_statement return (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )))) | LIT) ;) })) })) (return_statement return LIT ;) })))
(function_definition "uint FUN_001043a0(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  uint uVar3;\n  double dVar4;\n  \n  lVar1 = *param_1;\n  lVar2 = *param_2;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return 0xffffffff;\n}" (type_identifier "uint") (function_declarator "FUN_001043a0(long *param_1,long *param_2)" (identifier "FUN_001043a0") (parameter_list "(long *param_1,long *param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  char *__s1;\n  char *__s2;\n  uint uVar3;\n  double dVar4;\n  \n  lVar1 = *param_1;\n  lVar2 = *param_2;\n  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));\n  if (dVar4 < 0.0) {\n    return 1;\n  }\n  if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }\n  return 0xffffffff;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "double dVar4;" (primitive_type "double") (identifier "dVar4") (; ";")) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" (identifier "lVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "lVar2 = *param_2;" (assignment_expression "lVar2 = *param_2" (identifier "lVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));" (assignment_expression "dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" (identifier "dVar4") (= "=") (binary_expression "(*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -\n          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" (parenthesized_expression "(*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128))" (( "(") (binary_expression "*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)" (pointer_expression "*(double *)(lVar1 + 0x120)" (* "*") (cast_expression "(double *)(lVar1 + 0x120)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x120)" (( "(") (binary_expression "lVar1 + 0x120" (identifier "lVar1") (+ "+") (number_literal "0x120")) () ")")))) (+ "+") (pointer_expression "*(double *)(lVar1 + 0x128)" (* "*") (cast_expression "(double *)(lVar1 + 0x128)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x128)" (( "(") (binary_expression "lVar1 + 0x128" (identifier "lVar1") (+ "+") (number_literal "0x128")) () ")"))))) () ")")) (- "-") (parenthesized_expression "(*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128))" (( "(") (binary_expression "*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128)" (pointer_expression "*(double *)(lVar2 + 0x120)" (* "*") (cast_expression "(double *)(lVar2 + 0x120)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x120)" (( "(") (binary_expression "lVar2 + 0x120" (identifier "lVar2") (+ "+") (number_literal "0x120")) () ")")))) (+ "+") (pointer_expression "*(double *)(lVar2 + 0x128)" (* "*") (cast_expression "(double *)(lVar2 + 0x128)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x128)" (( "(") (binary_expression "lVar2 + 0x128" (identifier "lVar2") (+ "+") (number_literal "0x128")) () ")"))))) () ")")))) (; ";")) (if_statement "if (dVar4 < 0.0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(dVar4 < 0.0)" (( "(") (binary_expression "dVar4 < 0.0" (identifier "dVar4") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (dVar4 <= 0.0) {\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }" (if "if") (parenthesized_expression "(dVar4 <= 0.0)" (( "(") (binary_expression "dVar4 <= 0.0" (identifier "dVar4") (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n    __s1 = *(char **)(lVar1 + 0x10);\n    if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }\n    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }\n  }" ({ "{") (expression_statement "__s1 = *(char **)(lVar1 + 0x10);" (assignment_expression "__s1 = *(char **)(lVar1 + 0x10)" (identifier "__s1") (= "=") (pointer_expression "*(char **)(lVar1 + 0x10)" (* "*") (cast_expression "(char **)(lVar1 + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (__s1 != (char *)0x0) {\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }" (if "if") (parenthesized_expression "(__s1 != (char *)0x0)" (( "(") (binary_expression "__s1 != (char *)0x0" (identifier "__s1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      __s2 = *(char **)(lVar2 + 0x10);\n      if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }\n      return 1;\n    }" ({ "{") (expression_statement "__s2 = *(char **)(lVar2 + 0x10);" (assignment_expression "__s2 = *(char **)(lVar2 + 0x10)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(lVar2 + 0x10)" (* "*") (cast_expression "(char **)(lVar2 + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar2 + 0x10)" (( "(") (binary_expression "lVar2 + 0x10" (identifier "lVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (__s2 != (char *)0x0) {\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }" (if "if") (parenthesized_expression "(__s2 != (char *)0x0)" (( "(") (binary_expression "__s2 != (char *)0x0" (identifier "__s2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }\n        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }\n      }" ({ "{") (if_statement "if (*__s1 == '_') {\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }\n        else if (*__s2 == '_') {\n          return 0xffffffff;\n        }" (if "if") (parenthesized_expression "(*__s1 == '_')" (( "(") (binary_expression "*__s1 == '_'" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")")) (compound_statement "{\n          if (*__s2 != '_') {\n            return 1;\n          }\n        }" ({ "{") (if_statement "if (*__s2 != '_') {\n            return 1;\n          }" (if "if") (parenthesized_expression "(*__s2 != '_')" (( "(") (binary_expression "*__s2 != '_'" (pointer_expression "*__s2" (* "*") (identifier "__s2")) (!= "!=") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")")) (compound_statement "{\n            return 1;\n          }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else if (*__s2 == '_') {\n          return 0xffffffff;\n        }" (else "else") (if_statement "if (*__s2 == '_') {\n          return 0xffffffff;\n        }" (if "if") (parenthesized_expression "(*__s2 == '_')" (( "(") (binary_expression "*__s2 == '_'" (pointer_expression "*__s2" (* "*") (identifier "__s2")) (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")")) (compound_statement "{\n          return 0xffffffff;\n        }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))))) (if_statement "if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {\n          return 0xffffffff;\n        }" (if "if") (parenthesized_expression "(*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28))" (( "(") (binary_expression "*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)" (pointer_expression "*(ulong *)(lVar2 + 0x28)" (* "*") (cast_expression "(ulong *)(lVar2 + 0x28)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")")))) (< "<") (pointer_expression "*(ulong *)(lVar1 + 0x28)" (* "*") (cast_expression "(ulong *)(lVar1 + 0x28)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x28)" (( "(") (binary_expression "lVar1 + 0x28" (identifier "lVar1") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n          return 0xffffffff;\n        }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (if_statement "if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }" (if "if") (parenthesized_expression "(*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28))" (( "(") (binary_expression "*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)" (pointer_expression "*(ulong *)(lVar2 + 0x28)" (* "*") (cast_expression "(ulong *)(lVar2 + 0x28)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")")))) (<= "<=") (pointer_expression "*(ulong *)(lVar1 + 0x28)" (* "*") (cast_expression "(ulong *)(lVar1 + 0x28)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x28)" (( "(") (binary_expression "lVar1 + 0x28" (identifier "lVar1") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n          uVar3 = strcmp(__s1,__s2);\n          return uVar3;\n        }" ({ "{") (expression_statement "uVar3 = strcmp(__s1,__s2);" (assignment_expression "uVar3 = strcmp(__s1,__s2)" (identifier "uVar3") (= "=") (call_expression "strcmp(__s1,__s2)" (identifier "strcmp") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }" (if "if") (parenthesized_expression "((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0))" (( "(") (binary_expression "(*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)" (parenthesized_expression "(*(int *)(lVar1 + 0x130) == 0)" (( "(") (binary_expression "*(int *)(lVar1 + 0x130) == 0" (pointer_expression "*(int *)(lVar1 + 0x130)" (* "*") (cast_expression "(int *)(lVar1 + 0x130)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x130)" (( "(") (binary_expression "lVar1 + 0x130" (identifier "lVar1") (+ "+") (number_literal "0x130")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(long *)(lVar2 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(lVar2 + 0x10) == 0" (pointer_expression "*(long *)(lVar2 + 0x10)" (* "*") (cast_expression "(long *)(lVar2 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x10)" (( "(") (binary_expression "lVar2 + 0x10" (identifier "lVar2") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;\n    }" ({ "{") (return_statement "return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;" (return "return") (binary_expression "-(uint)(*(int *)(lVar2 + 0x130) == 0) | 1" (unary_expression "-(uint)(*(int *)(lVar2 + 0x130) == 0)" (- "-") (call_expression "(uint)(*(int *)(lVar2 + 0x130) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(lVar2 + 0x130) == 0)" (( "(") (binary_expression "*(int *)(lVar2 + 0x130) == 0" (pointer_expression "*(int *)(lVar2 + 0x130)" (* "*") (cast_expression "(int *)(lVar2 + 0x130)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x130)" (( "(") (binary_expression "lVar2 + 0x130" (identifier "lVar2") (+ "+") (number_literal "0x130")) () ")")))) (== "==") (number_literal "0")) () ")")))) (| "|") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}")))

int function_1(void *lp,void *rp)

{
  long var_1;
  long var_2;
  char *var_4;
  char *var_5;
  int iVar3;
  double var_3;
  
                    /* WARNING: Load size is inaccurate */
  var_1 = *lp;
                    /* WARNING: Load size is inaccurate */
  var_2 = *rp;
  var_3 = (*(double *)(var_1 + 0x120) + *(double *)(var_1 + 0x128)) -
          (*(double *)(var_2 + 0x120) + *(double *)(var_2 + 0x128));
  if (var_3 < 0.0) {
    return 1;
  }
  if (var_3 <= 0.0) {
    var_4 = *(char **)(var_1 + 0x10);
    if (var_4 != (char *)0x0) {
      var_5 = *(char **)(var_2 + 0x10);
      if (var_5 != (char *)0x0) {
        if (*var_4 == '_') {
          if (*var_5 != '_') {
            return 1;
          }
        }
        else if (*var_5 == '_') {
          return -1;
        }
        if (*(type_1 *)(var_2 + 0x28) < *(type_1 *)(var_1 + 0x28)) {
          return -1;
        }
        if (*(type_1 *)(var_2 + 0x28) <= *(type_1 *)(var_1 + 0x28)) {
          iVar3 = var_6(var_4,var_5);
          return iVar3;
        }
      }
      return 1;
    }
    if ((*(int *)(var_1 + 0x130) == 0) && (*(long *)(var_2 + 0x10) == 0)) {
      return -(uint)(*(int *)(var_2 + 0x130) == 0) | 1;
    }
  }
  return -1;
}


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

uint MASKED(long *param_1,long *param_2)

{
  long lVar1;
  long lVar2;
  char *__s1;
  char *__s2;
  uint uVar3;
  double dVar4;
  
  lVar1 = *param_1;
  lVar2 = *param_2;
  dVar4 = (*(double *)(lVar1 + 0x120) + *(double *)(lVar1 + 0x128)) -
          (*(double *)(lVar2 + 0x120) + *(double *)(lVar2 + 0x128));
  if (dVar4 < 0.0) {
    return 1;
  }
  if (dVar4 <= 0.0) {
    __s1 = *(char **)(lVar1 + 0x10);
    if (__s1 != (char *)0x0) {
      __s2 = *(char **)(lVar2 + 0x10);
      if (__s2 != (char *)0x0) {
        if (*__s1 == '_') {
          if (*__s2 != '_') {
            return 1;
          }
        }
        else if (*__s2 == '_') {
          return 0xffffffff;
        }
        if (*(ulong *)(lVar2 + 0x28) < *(ulong *)(lVar1 + 0x28)) {
          return 0xffffffff;
        }
        if (*(ulong *)(lVar2 + 0x28) <= *(ulong *)(lVar1 + 0x28)) {
          uVar3 = strcmp(__s1,__s2);
          return uVar3;
        }
      }
      return 1;
    }
    if ((*(int *)(lVar1 + 0x130) == 0) && (*(long *)(lVar2 + 0x10) == 0)) {
      return -(uint)(*(int *)(lVar2 + 0x130) == 0) | 1;
    }
  }
  return 0xffffffff;
}

