
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int __regparm3 gmon_io_read_64(FILE *ifp,ulonglong *valp)

{
  size_t sVar1;
  bfd_uint64_t bVar2;
  char buf [8];
  
  buf[4] = '\x1a';
  buf[5] = -0x65;
  buf[6] = '\x01';
  buf[7] = '\0';
  sVar1 = fread(buf,1,8,(FILE *)ifp);
  if (sVar1 == 8) {
    bVar2 = (*core_bfd->xvec->bfd_getx64)(buf);
    *valp = bVar2;
    return 0;
  }
  return 1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 FUN_00019b10(FILE *param_1,undefined8 *param_2)

{
  size_t sVar1;
  undefined8 uVar2;
  undefined1 local_14 [4];
  undefined4 uStack_10;
  
  uStack_10 = 0x19b1a;
  sVar1 = fread(local_14,1,8,param_1);
  if (sVar1 == 8) {
    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);
    *param_2 = uVar2;
    return 0;
  }
  return 1;
}


PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0x134e6
SUB ESP,0x10
PUSH EAX
PUSH 0x8
PUSH 0x1
LEA ESI,[ESP + 0x14]
PUSH ESI
CALL 0x00012200
ADD ESP,0x10
CMP EAX,0x8
JNZ 0x00019b60
LEA EAX,[EBX + 0x14ec]
SUB ESP,0xc
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x4]
PUSH ESI
CALL dword ptr [EAX + 0x1c]
ADD ESP,0x10
MOV dword ptr [EDI],EAX
XOR EAX,EAX
MOV dword ptr [EDI + 0x4],EDX
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
ADD ESP,0x10
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00019b10(FILE *param_1,undefined8 *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  undefined1 local_14 [4];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x19b1a;\n  sVar1 = fread(local_14,1,8,param_1);\n  if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00019b10(FILE *param_1,undefined8 *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  undefined1 local_14 [4];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x19b1a;\n  sVar1 = fread(local_14,1,8,param_1);\n  if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00019b10(FILE *param_1,undefined8 *param_2)" identifier (parameter_list "(FILE *param_1,undefined8 *param_2)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  undefined8 uVar2;\n  undefined1 local_14 [4];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x19b1a;\n  sVar1 = fread(local_14,1,8,param_1);\n  if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }\n  return 1;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined1 local_14 [4];" type_identifier (array_declarator "local_14 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_10;" type_identifier identifier ;) (expression_statement "uStack_10 = 0x19b1a;" (assignment_expression "uStack_10 = 0x19b1a" identifier = number_literal) ;) (expression_statement "sVar1 = fread(local_14,1,8,param_1);" (assignment_expression "sVar1 = fread(local_14,1,8,param_1)" identifier = (call_expression "fread(local_14,1,8,param_1)" identifier (argument_list "(local_14,1,8,param_1)" ( identifier , number_literal , number_literal , identifier )))) ;) (if_statement "if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }" if (parenthesized_expression "(sVar1 == 8)" ( (binary_expression "sVar1 == 8" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }" { (expression_statement "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);" (assignment_expression "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" * (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" * (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x1c)" ( (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x1c" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" * (cast_expression "(int *)(DAT_0002e4ec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4ec + 4)" ( (binary_expression "DAT_0002e4ec + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(local_14)" ( identifier )))) ;) (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 gmon_io_read_64(FILE *ifp,ulonglong *valp)\n\n{\n  size_t sVar1;\n  bfd_uint64_t bVar2;\n  char buf [8];\n  \n  buf[4] = '\x1a';\n  buf[5] = -0x65;\n  buf[6] = '\x01';\n  buf[7] = '\0';\n  sVar1 = fread(buf,1,8,(FILE *)ifp);\n  if (sVar1 == 8) {\n    bVar2 = (*core_bfd->xvec->bfd_getx64)(buf);\n    *valp = bVar2;\n    return 0;\n  }\n  return 1;\n}\n\n" comment (function_definition "int __regparm3 gmon_io_read_64(FILE *ifp,ulonglong *valp)\n\n{\n  size_t sVar1;\n  bfd_uint64_t bVar2;\n  char buf [8];\n  \n  buf[4] = '\x1a';\n  buf[5] = -0x65;\n  buf[6] = '\x01';\n  buf[7] = '\0';\n  sVar1 = fread(buf,1,8,(FILE *)ifp);\n  if (sVar1 == 8) {\n    bVar2 = (*core_bfd->xvec->bfd_getx64)(buf);\n    *valp = bVar2;\n    return 0;\n  }\n  return 1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "gmon_io_read_64(FILE *ifp,ulonglong *valp)" identifier (parameter_list "(FILE *ifp,ulonglong *valp)" ( (parameter_declaration "FILE *ifp" type_identifier (pointer_declarator "*ifp" * identifier)) , (parameter_declaration "ulonglong *valp" type_identifier (pointer_declarator "*valp" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  bfd_uint64_t bVar2;\n  char buf [8];\n  \n  buf[4] = '\x1a';\n  buf[5] = -0x65;\n  buf[6] = '\x01';\n  buf[7] = '\0';\n  sVar1 = fread(buf,1,8,(FILE *)ifp);\n  if (sVar1 == 8) {\n    bVar2 = (*core_bfd->xvec->bfd_getx64)(buf);\n    *valp = bVar2;\n    return 0;\n  }\n  return 1;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "bfd_uint64_t bVar2;" type_identifier identifier ;) (declaration "char buf [8];" primitive_type (array_declarator "buf [8]" identifier [ number_literal ]) ;) (expression_statement "buf[4] = '\x1a';" (assignment_expression "buf[4] = '\x1a'" (subscript_expression "buf[4]" identifier [ number_literal ]) = (char_literal "'\x1a'" ' escape_sequence ')) ;) (expression_statement "buf[5] = -0x65;" (assignment_expression "buf[5] = -0x65" (subscript_expression "buf[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "buf[6] = '\x01';" (assignment_expression "buf[6] = '\x01'" (subscript_expression "buf[6]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "buf[7] = '\0';" (assignment_expression "buf[7] = '\0'" (subscript_expression "buf[7]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "sVar1 = fread(buf,1,8,(FILE *)ifp);" (assignment_expression "sVar1 = fread(buf,1,8,(FILE *)ifp)" identifier = (call_expression "fread(buf,1,8,(FILE *)ifp)" identifier (argument_list "(buf,1,8,(FILE *)ifp)" ( identifier , number_literal , number_literal , (cast_expression "(FILE *)ifp" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (sVar1 == 8) {\n    bVar2 = (*core_bfd->xvec->bfd_getx64)(buf);\n    *valp = bVar2;\n    return 0;\n  }" if (parenthesized_expression "(sVar1 == 8)" ( (binary_expression "sVar1 == 8" identifier == number_literal) )) (compound_statement "{\n    bVar2 = (*core_bfd->xvec->bfd_getx64)(buf);\n    *valp = bVar2;\n    return 0;\n  }" { (expression_statement "bVar2 = (*core_bfd->xvec->bfd_getx64)(buf);" (assignment_expression "bVar2 = (*core_bfd->xvec->bfd_getx64)(buf)" identifier = (call_expression "(*core_bfd->xvec->bfd_getx64)(buf)" (parenthesized_expression "(*core_bfd->xvec->bfd_getx64)" ( (pointer_expression "*core_bfd->xvec->bfd_getx64" * (field_expression "core_bfd->xvec->bfd_getx64" (field_expression "core_bfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(buf)" ( identifier )))) ;) (expression_statement "*valp = bVar2;" (assignment_expression "*valp = bVar2" (pointer_expression "*valp" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_00019b10(FILE *param_1,undefined8 *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  undefined1 local_14 [4];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x19b1a;\n  sVar1 = fread(local_14,1,8,param_1);\n  if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00019b10(FILE *param_1,undefined8 *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  undefined1 local_14 [4];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x19b1a;\n  sVar1 = fread(local_14,1,8,param_1);\n  if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00019b10(FILE *param_1,undefined8 *param_2)" identifier (parameter_list "(FILE *param_1,undefined8 *param_2)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  undefined8 uVar2;\n  undefined1 local_14 [4];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x19b1a;\n  sVar1 = fread(local_14,1,8,param_1);\n  if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }\n  return 1;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined1 local_14 [4];" type_identifier (array_declarator "local_14 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_10;" type_identifier identifier ;) (expression_statement "uStack_10 = 0x19b1a;" (assignment_expression "uStack_10 = 0x19b1a" identifier = number_literal) ;) (expression_statement "sVar1 = fread(local_14,1,8,param_1);" (assignment_expression "sVar1 = fread(local_14,1,8,param_1)" identifier = (call_expression "fread(local_14,1,8,param_1)" identifier (argument_list "(local_14,1,8,param_1)" ( identifier , number_literal , number_literal , identifier )))) ;) (if_statement "if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }" if (parenthesized_expression "(sVar1 == 8)" ( (binary_expression "sVar1 == 8" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }" { (expression_statement "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);" (assignment_expression "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" * (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" * (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x1c)" ( (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x1c" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" * (cast_expression "(int *)(DAT_0002e4ec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4ec + 4)" ( (binary_expression "DAT_0002e4ec + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(local_14)" ( identifier )))) ;) (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00019b10(FILE *param_1,undefined8 *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  undefined1 local_14 [4];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x19b1a;\n  sVar1 = fread(local_14,1,8,param_1);\n  if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00019b10(FILE *param_1,undefined8 *param_2)" (identifier "FUN_00019b10") (parameter_list "(FILE *param_1,undefined8 *param_2)" (( "(") (parameter_declaration "FILE *param_1" (type_identifier "FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  size_t sVar1;\n  undefined8 uVar2;\n  undefined1 local_14 [4];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x19b1a;\n  sVar1 = fread(local_14,1,8,param_1);\n  if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }\n  return 1;\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined1 local_14 [4];" (type_identifier "undefined1") (array_declarator "local_14 [4]" (identifier "local_14") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 uStack_10;" (type_identifier "undefined4") (identifier "uStack_10") (; ";")) (expression_statement "uStack_10 = 0x19b1a;" (assignment_expression "uStack_10 = 0x19b1a" (identifier "uStack_10") (= "=") (number_literal "0x19b1a")) (; ";")) (expression_statement "sVar1 = fread(local_14,1,8,param_1);" (assignment_expression "sVar1 = fread(local_14,1,8,param_1)" (identifier "sVar1") (= "=") (call_expression "fread(local_14,1,8,param_1)" (identifier "fread") (argument_list "(local_14,1,8,param_1)" (( "(") (identifier "local_14") (, ",") (number_literal "1") (, ",") (number_literal "8") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (sVar1 == 8) {\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }" (if "if") (parenthesized_expression "(sVar1 == 8)" (( "(") (binary_expression "sVar1 == 8" (identifier "sVar1") (== "==") (number_literal "8")) () ")")) (compound_statement "{\n    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);\n    *param_2 = uVar2;\n    return 0;\n  }" ({ "{") (expression_statement "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);" (assignment_expression "uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" (* "*") (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x1c)" (( "(") (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x1c" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" (* "*") (cast_expression "(int *)(DAT_0002e4ec + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002e4ec + 4)" (( "(") (binary_expression "DAT_0002e4ec + 4" (identifier "DAT_0002e4ec") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "(local_14)" (( "(") (identifier "local_14") () ")")))) (; ";")) (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int __regparm3 function_1(type_1 *ifp,type_2 *valp)

{
  size_t var_2;
  type_3 bVar2;
  char buf [8];
  
  buf[4] = '\x1a';
  buf[5] = -0x65;
  buf[6] = '\x01';
  buf[7] = '\0';
  var_2 = var_1(buf,1,8,(type_1 *)ifp);
  if (var_2 == 8) {
    bVar2 = (*core_bfd->xvec->bfd_getx64)(buf);
    *valp = bVar2;
    return 0;
  }
  return 1;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal)))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 MASKED(FILE *param_1,undefined8 *param_2)

{
  size_t sVar1;
  undefined8 uVar2;
  undefined1 local_14 [4];
  undefined4 uStack_10;
  
  uStack_10 = 0x19b1a;
  sVar1 = fread(local_14,1,8,param_1);
  if (sVar1 == 8) {
    uVar2 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x1c))(local_14);
    *param_2 = uVar2;
    return 0;
  }
  return 1;
}

