
int cref_sort_array(void *a1,void *a2)

{
  int iVar1;
  cref_hash_entry **p2;
  cref_hash_entry **p1;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  if (demangling != 0) {
    iVar1 = strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18));
    return iVar1;
  }
  iVar1 = strcmp(*(char **)(*a1 + 8),*(char **)(*a2 + 8));
  return iVar1;
}



void FUN_0012ab80(long *param_1,long *param_2)

{
  if (DAT_002a6684 != 0) {
    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));
    return;
  }
  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));
  return;
}


MOV ECX,dword ptr [0x002a6684]
MOV RDX,qword ptr [RSI]
MOV RAX,qword ptr [RDI]
TEST ECX,ECX
JZ 0x0012aba0
MOV RSI,qword ptr [RDX + 0x18]
MOV RDI,qword ptr [RAX + 0x18]
JMP 0x0010d780
MOV RSI,qword ptr [RDX + 0x8]
MOV RDI,qword ptr [RAX + 0x8]
JMP 0x0010d780
(translation_unit "void FUN_0012ab80(long *param_1,long *param_2)\n\n{\n  if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }\n  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));\n  return;\n}\n\n" (function_definition "void FUN_0012ab80(long *param_1,long *param_2)\n\n{\n  if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }\n  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_0012ab80(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  if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }\n  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));\n  return;\n}" { (if_statement "if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }" if (parenthesized_expression "(DAT_002a6684 != 0)" ( (binary_expression "DAT_002a6684 != 0" identifier != number_literal) )) (compound_statement "{\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }" { (expression_statement "strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));" (call_expression "strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18))" identifier (argument_list "(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18))" ( (pointer_expression "*(char **)(*param_1 + 0x18)" * (cast_expression "(char **)(*param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) , (pointer_expression "*(char **)(*param_2 + 0x18)" * (cast_expression "(char **)(*param_2 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));" (call_expression "strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8))" identifier (argument_list "(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8))" ( (pointer_expression "*(char **)(*param_1 + 8)" * (cast_expression "(char **)(*param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) , (pointer_expression "*(char **)(*param_2 + 8)" * (cast_expression "(char **)(*param_2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int cref_sort_array(void *a1,void *a2)\n\n{\n  int iVar1;\n  cref_hash_entry **p2;\n  cref_hash_entry **p1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  if (demangling != 0) {\n    iVar1 = strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18));\n    return iVar1;\n  }\n  iVar1 = strcmp(*(char **)(*a1 + 8),*(char **)(*a2 + 8));\n  return iVar1;\n}\n\n" (function_definition "int cref_sort_array(void *a1,void *a2)\n\n{\n  int iVar1;\n  cref_hash_entry **p2;\n  cref_hash_entry **p1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  if (demangling != 0) {\n    iVar1 = strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18));\n    return iVar1;\n  }\n  iVar1 = strcmp(*(char **)(*a1 + 8),*(char **)(*a2 + 8));\n  return iVar1;\n}" primitive_type (function_declarator "cref_sort_array(void *a1,void *a2)" identifier (parameter_list "(void *a1,void *a2)" ( (parameter_declaration "void *a1" primitive_type (pointer_declarator "*a1" * identifier)) , (parameter_declaration "void *a2" primitive_type (pointer_declarator "*a2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  cref_hash_entry **p2;\n  cref_hash_entry **p1;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  if (demangling != 0) {\n    iVar1 = strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18));\n    return iVar1;\n  }\n  iVar1 = strcmp(*(char **)(*a1 + 8),*(char **)(*a2 + 8));\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "cref_hash_entry **p2;" type_identifier (pointer_declarator "**p2" * (pointer_declarator "*p2" * identifier)) ;) (declaration "cref_hash_entry **p1;" type_identifier (pointer_declarator "**p1" * (pointer_declarator "*p1" * identifier)) ;) comment comment (if_statement "if (demangling != 0) {\n    iVar1 = strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18));\n    return iVar1;\n  }" if (parenthesized_expression "(demangling != 0)" ( (binary_expression "demangling != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18));\n    return iVar1;\n  }" { (expression_statement "iVar1 = strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18));" (assignment_expression "iVar1 = strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18))" identifier = (call_expression "strcmp(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18))" identifier (argument_list "(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18))" ( (pointer_expression "*(char **)(*a1 + 0x18)" * (cast_expression "(char **)(*a1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*a1 + 0x18)" ( (binary_expression "*a1 + 0x18" (pointer_expression "*a1" * identifier) + number_literal) )))) , (pointer_expression "*(char **)(*a2 + 0x18)" * (cast_expression "(char **)(*a2 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*a2 + 0x18)" ( (binary_expression "*a2 + 0x18" (pointer_expression "*a2" * identifier) + number_literal) )))) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = strcmp(*(char **)(*a1 + 8),*(char **)(*a2 + 8));" (assignment_expression "iVar1 = strcmp(*(char **)(*a1 + 8),*(char **)(*a2 + 8))" identifier = (call_expression "strcmp(*(char **)(*a1 + 8),*(char **)(*a2 + 8))" identifier (argument_list "(*(char **)(*a1 + 8),*(char **)(*a2 + 8))" ( (pointer_expression "*(char **)(*a1 + 8)" * (cast_expression "(char **)(*a1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*a1 + 8)" ( (binary_expression "*a1 + 8" (pointer_expression "*a1" * identifier) + number_literal) )))) , (pointer_expression "*(char **)(*a2 + 8)" * (cast_expression "(char **)(*a2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*a2 + 8)" ( (binary_expression "*a2 + 8" (pointer_expression "*a2" * identifier) + number_literal) )))) )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_0012ab80(long *param_1,long *param_2)\n\n{\n  if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }\n  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));\n  return;\n}\n\n" (function_definition "void FUN_0012ab80(long *param_1,long *param_2)\n\n{\n  if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }\n  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_0012ab80(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  if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }\n  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));\n  return;\n}" { (if_statement "if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }" if (parenthesized_expression "(DAT_002a6684 != 0)" ( (binary_expression "DAT_002a6684 != 0" identifier != number_literal) )) (compound_statement "{\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }" { (expression_statement "strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));" (call_expression "strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18))" identifier (argument_list "(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18))" ( (pointer_expression "*(char **)(*param_1 + 0x18)" * (cast_expression "(char **)(*param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) , (pointer_expression "*(char **)(*param_2 + 0x18)" * (cast_expression "(char **)(*param_2 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));" (call_expression "strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8))" identifier (argument_list "(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8))" ( (pointer_expression "*(char **)(*param_1 + 8)" * (cast_expression "(char **)(*param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) , (pointer_expression "*(char **)(*param_2 + 8)" * (cast_expression "(char **)(*param_2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0012ab80(long *param_1,long *param_2)\n\n{\n  if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }\n  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012ab80(long *param_1,long *param_2)" (identifier "FUN_0012ab80") (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  if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }\n  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));\n  return;\n}" ({ "{") (if_statement "if (DAT_002a6684 != 0) {\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_002a6684 != 0)" (( "(") (binary_expression "DAT_002a6684 != 0" (identifier "DAT_002a6684") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));\n    return;\n  }" ({ "{") (expression_statement "strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));" (call_expression "strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18))" (identifier "strcmp") (argument_list "(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18))" (( "(") (pointer_expression "*(char **)(*param_1 + 0x18)" (* "*") (cast_expression "(char **)(*param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x18)" (( "(") (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x18")) () ")")))) (, ",") (pointer_expression "*(char **)(*param_2 + 0x18)" (* "*") (cast_expression "(char **)(*param_2 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x18)" (( "(") (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x18")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));" (call_expression "strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8))" (identifier "strcmp") (argument_list "(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8))" (( "(") (pointer_expression "*(char **)(*param_1 + 8)" (* "*") (cast_expression "(char **)(*param_1 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(char **)(*param_2 + 8)" (* "*") (cast_expression "(char **)(*param_2 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 8)" (( "(") (binary_expression "*param_2 + 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1(void *a1,void *a2)

{
  int iVar1;
  type_1 **p2;
  type_1 **p1;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  if (var_1 != 0) {
    iVar1 = var_2(*(char **)(*a1 + 0x18),*(char **)(*a2 + 0x18));
    return iVar1;
  }
  iVar1 = var_2(*(char **)(*a1 + 8),*(char **)(*a2 + 8));
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) 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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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: (pointer_expression argument: (identifier)) right: (number_literal))))) (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: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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: (pointer_expression argument: (identifier)) right: (number_literal))))) (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: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (return_statement))))

void MASKED(long *param_1,long *param_2)

{
  if (DAT_002a6684 != 0) {
    strcmp(*(char **)(*param_1 + 0x18),*(char **)(*param_2 + 0x18));
    return;
  }
  strcmp(*(char **)(*param_1 + 8),*(char **)(*param_2 + 8));
  return;
}

