
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

char * __regparm3 elf_aarch64_reloc_type(ulong rtype)

{
  char *pcVar1;
  
  if (rtype < 0x409) {
                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    pcVar1 = (char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))
                               ();
    return pcVar1;
  }
  return (char *)0x0;
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

undefined4 __regparm3 FUN_000140b0(uint param_1)

{
  undefined4 uVar1;
  
  if (param_1 < 0x409) {
                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();
    return uVar1;
  }
  return 0;
}


CALL 0x000140a5
ADD EDX,0x9ff4b
CMP EAX,0x408
JA 0x00014618
MOV ECX,dword ptr [EDX + EAX*0x4 + 0xfffd26f4]
ADD ECX,EDX
JMP ECX
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nundefined4 __regparm3 FUN_000140b0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x409) {\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_000140b0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x409) {\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000140b0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x409) {\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 < 0x409) {\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }" if (parenthesized_expression "(param_1 < 0x409)" ( (binary_expression "param_1 < 0x409" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }" { comment comment (expression_statement "uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();" (assignment_expression "uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))()" identifier = (call_expression "(*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))()" (parenthesized_expression "(*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))" ( (pointer_expression "*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" * (cast_expression "(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" ( (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)" (cast_expression "(int)&__DT_PLTGOT" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__DT_PLTGOT" & identifier)) + (pointer_expression "*(int *)(&DAT_000866f4 + param_1 * 4)" * (cast_expression "(int *)(&DAT_000866f4 + param_1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000866f4 + param_1 * 4)" ( (binary_expression "&DAT_000866f4 + param_1 * 4" (pointer_expression "&DAT_000866f4" & identifier) + (binary_expression "param_1 * 4" identifier * number_literal)) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nchar * __regparm3 elf_aarch64_reloc_type(ulong rtype)\n\n{\n  char *pcVar1;\n  \n  if (rtype < 0x409) {\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ();\n    return pcVar1;\n  }\n  return (char *)0x0;\n}\n\n" comment (function_definition "char * __regparm3 elf_aarch64_reloc_type(ulong rtype)\n\n{\n  char *pcVar1;\n  \n  if (rtype < 0x409) {\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ();\n    return pcVar1;\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* __regparm3 elf_aarch64_reloc_type(ulong rtype)" * (ERROR "__regparm3" identifier) (function_declarator "elf_aarch64_reloc_type(ulong rtype)" identifier (parameter_list "(ulong rtype)" ( (parameter_declaration "ulong rtype" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  if (rtype < 0x409) {\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ();\n    return pcVar1;\n  }\n  return (char *)0x0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (rtype < 0x409) {\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ();\n    return pcVar1;\n  }" if (parenthesized_expression "(rtype < 0x409)" ( (binary_expression "rtype < 0x409" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ();\n    return pcVar1;\n  }" { comment comment (expression_statement "pcVar1 = (char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ();" (assignment_expression "pcVar1 = (char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ()" identifier = (cast_expression "(char *)(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))\n                               ()" (parenthesized_expression "(*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)))" ( (pointer_expression "*(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4))" * (cast_expression "(code *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4))" ( (binary_expression "(int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + rtype * 4)" (cast_expression "(int)&_GLOBAL_OFFSET_TABLE_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) + (pointer_expression "*(int *)(&DAT_000866f4 + rtype * 4)" * (cast_expression "(int *)(&DAT_000866f4 + rtype * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000866f4 + rtype * 4)" ( (binary_expression "&DAT_000866f4 + rtype * 4" (pointer_expression "&DAT_000866f4" & identifier) + (binary_expression "rtype * 4" identifier * number_literal)) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return pcVar1;" return identifier ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 __regparm3 FUN_000140b0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x409) {\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_000140b0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x409) {\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000140b0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x409) {\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 < 0x409) {\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }" if (parenthesized_expression "(param_1 < 0x409)" ( (binary_expression "param_1 < 0x409" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();" (assignment_expression "uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))()" identifier = (call_expression "(*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))()" (parenthesized_expression "(*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))" ( (pointer_expression "*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" * (cast_expression "(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" ( (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)" (cast_expression "(int)&__DT_PLTGOT" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__DT_PLTGOT" & identifier)) + (pointer_expression "*(int *)(&DAT_000866f4 + param_1 * 4)" * (cast_expression "(int *)(&DAT_000866f4 + param_1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000866f4 + param_1 * 4)" ( (binary_expression "&DAT_000866f4 + param_1 * 4" (pointer_expression "&DAT_000866f4" & identifier) + (binary_expression "param_1 * 4" identifier * number_literal)) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_000140b0(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x409) {\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000140b0(uint param_1)" (identifier "FUN_000140b0") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x409) {\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 < 0x409) {\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_1 < 0x409)" (( "(") (binary_expression "param_1 < 0x409" (identifier "param_1") (< "<") (number_literal "0x409")) () ")")) (compound_statement "{\n                    \n                    \n    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();" (assignment_expression "uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))()" (identifier "uVar1") (= "=") (call_expression "(*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))()" (parenthesized_expression "(*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))" (( "(") (pointer_expression "*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" (* "*") (cast_expression "(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4))" (( "(") (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)" (cast_expression "(int)&__DT_PLTGOT" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (+ "+") (pointer_expression "*(int *)(&DAT_000866f4 + param_1 * 4)" (* "*") (cast_expression "(int *)(&DAT_000866f4 + param_1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_000866f4 + param_1 * 4)" (( "(") (binary_expression "&DAT_000866f4 + param_1 * 4" (pointer_expression "&DAT_000866f4" (& "&") (identifier "DAT_000866f4")) (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4"))) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

char * __regparm3 function_1(type_1 var_1)

{
  char *pcVar1;
  
  if (var_1 < 0x409) {
                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    pcVar1 = (char *)(*(type_2 *)((int)&_GLOBAL_OFFSET_TABLE_ + *(int *)(&DAT_000866f4 + var_1 * 4)))
                               ();
    return pcVar1;
  }
  return (char *)0x0;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))))))) arguments: (argument_list)))) (return_statement (identifier)))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

undefined4 __regparm3 MASKED(uint param_1)

{
  undefined4 uVar1;
  
  if (param_1 < 0x409) {
                    /* WARNING: Could not recover jumptable at 0x000140cf. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (*(code *)((int)&__DT_PLTGOT + *(int *)(&DAT_000866f4 + param_1 * 4)))();
    return uVar1;
  }
  return 0;
}

