
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

bfd_boolean ar_emul_parse_arg(char *arg)

{
  bfd_boolean bVar1;
  
  if (bin_vanilla_emulation.ar_parse_arg != (_func_bfd_boolean_char_ptr *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg);
    return bVar1;
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_00017ad0(void)

{
  undefined4 uVar1;
  
  if (PTR_FUN_0002121c != (undefined *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (*(code *)PTR_FUN_0002121c)();
    return uVar1;
  }
  return 0;
}


CALL 0x0001537d
ADD EAX,0x952b
LEA EAX,[EAX + 0x210]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x00017af0
JMP EAX
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_00017ad0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00017ad0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00017ad0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }" if (parenthesized_expression "(PTR_FUN_0002121c != (undefined *)0x0)" ( (binary_expression "PTR_FUN_0002121c != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }" { comment comment (expression_statement "uVar1 = (*(code *)PTR_FUN_0002121c)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0002121c)()" identifier = (call_expression "(*(code *)PTR_FUN_0002121c)()" (parenthesized_expression "(*(code *)PTR_FUN_0002121c)" ( (pointer_expression "*(code *)PTR_FUN_0002121c" * (cast_expression "(code *)PTR_FUN_0002121c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean ar_emul_parse_arg(char *arg)\n\n{\n  bfd_boolean bVar1;\n  \n  if (bin_vanilla_emulation.ar_parse_arg != (_func_bfd_boolean_char_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg);\n    return bVar1;\n  }\n  return 0;\n}\n\n" comment comment (function_definition "bfd_boolean ar_emul_parse_arg(char *arg)\n\n{\n  bfd_boolean bVar1;\n  \n  if (bin_vanilla_emulation.ar_parse_arg != (_func_bfd_boolean_char_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg);\n    return bVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "ar_emul_parse_arg(char *arg)" identifier (parameter_list "(char *arg)" ( (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  \n  if (bin_vanilla_emulation.ar_parse_arg != (_func_bfd_boolean_char_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg);\n    return bVar1;\n  }\n  return 0;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (if_statement "if (bin_vanilla_emulation.ar_parse_arg != (_func_bfd_boolean_char_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg);\n    return bVar1;\n  }" if (parenthesized_expression "(bin_vanilla_emulation.ar_parse_arg != (_func_bfd_boolean_char_ptr *)0x0)" ( (binary_expression "bin_vanilla_emulation.ar_parse_arg != (_func_bfd_boolean_char_ptr *)0x0" (field_expression "bin_vanilla_emulation.ar_parse_arg" identifier . field_identifier) != (cast_expression "(_func_bfd_boolean_char_ptr *)0x0" ( (type_descriptor "_func_bfd_boolean_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg);\n    return bVar1;\n  }" { comment comment (expression_statement "bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg);" (assignment_expression "bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg)" identifier = (call_expression "(*bin_vanilla_emulation.ar_parse_arg)(arg)" (parenthesized_expression "(*bin_vanilla_emulation.ar_parse_arg)" ( (pointer_expression "*bin_vanilla_emulation.ar_parse_arg" * (field_expression "bin_vanilla_emulation.ar_parse_arg" identifier . field_identifier)) )) (argument_list "(arg)" ( identifier )))) ;) (return_statement "return bVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00017ad0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00017ad0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00017ad0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }" if (parenthesized_expression "(PTR_FUN_0002121c != (undefined *)0x0)" ( (binary_expression "PTR_FUN_0002121c != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_FUN_0002121c)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0002121c)()" identifier = (call_expression "(*(code *)PTR_FUN_0002121c)()" (parenthesized_expression "(*(code *)PTR_FUN_0002121c)" ( (pointer_expression "*(code *)PTR_FUN_0002121c" * (cast_expression "(code *)PTR_FUN_0002121c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00017ad0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00017ad0(void)" (identifier "FUN_00017ad0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (PTR_FUN_0002121c != (undefined *)0x0) {\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(PTR_FUN_0002121c != (undefined *)0x0)" (( "(") (binary_expression "PTR_FUN_0002121c != (undefined *)0x0" (identifier "PTR_FUN_0002121c") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n                    \n    uVar1 = (*(code *)PTR_FUN_0002121c)();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_FUN_0002121c)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0002121c)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_FUN_0002121c)()" (parenthesized_expression "(*(code *)PTR_FUN_0002121c)" (( "(") (pointer_expression "*(code *)PTR_FUN_0002121c" (* "*") (cast_expression "(code *)PTR_FUN_0002121c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0002121c"))) () ")")) (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.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

type_1 function_1(char *arg)

{
  type_1 bVar1;
  
  if (bin_vanilla_emulation.ar_parse_arg != (type_2 *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    bVar1 = (*bin_vanilla_emulation.ar_parse_arg)(arg);
    return bVar1;
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (identifier)))) arguments: (argument_list)))) (return_statement (identifier)))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(void)

{
  undefined4 uVar1;
  
  if (PTR_FUN_0002121c != (undefined *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017ae7. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (*(code *)PTR_FUN_0002121c)();
    return uVar1;
  }
  return 0;
}

