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

void gold::options::parse_percent(char *option_name,char *arg,double *retval)

{
  char *endptr;
  
}



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

void FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)

{
  undefined4 uVar1;
  double dVar2;
  char *local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x2b58c7;
  dVar2 = strtod(param_2,&local_10);
  *param_3 = dVar2 / (double)DAT_00491cec;
  if (*local_10 == '\0') {
    return;
  }
  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");
                    /* WARNING: Subroutine does not return */
  FUN_0023b7b0(uVar1,param_1,param_2);
}


PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x334739
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x2c]
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH ESI
CALL 0x00039b10
FDIV dword ptr [EBX + 0xffea7cec]
MOV EAX,dword ptr [ESP + 0x38]
ADD ESP,0x10
FSTP qword ptr [EAX]
MOV EAX,dword ptr [ESP + 0xc]
CMP byte ptr [EAX],0x0
JNZ 0x002b58fd
ADD ESP,0x14
POP EBX
POP ESI
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xffea478c]
PUSH EAX
CALL 0x00039440
ADD ESP,0xc
PUSH ESI
PUSH dword ptr [ESP + 0x28]
PUSH EAX
CALL 0x0023b7b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)\n\n{\n  undefined4 uVar1;\n  double dVar2;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x2b58c7;\n  dVar2 = strtod(param_2,&local_10);\n  *param_3 = dVar2 / (double)DAT_00491cec;\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");\n                    /* WARNING: Subroutine does not return */\n  FUN_0023b7b0(uVar1,param_1,param_2);\n}\n\n" comment (function_definition "void FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)\n\n{\n  undefined4 uVar1;\n  double dVar2;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x2b58c7;\n  dVar2 = strtod(param_2,&local_10);\n  *param_3 = dVar2 / (double)DAT_00491cec;\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");\n                    /* WARNING: Subroutine does not return */\n  FUN_0023b7b0(uVar1,param_1,param_2);\n}" primitive_type (function_declarator "FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)" identifier (parameter_list "(undefined4 param_1,char *param_2,double *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "double *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  double dVar2;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x2b58c7;\n  dVar2 = strtod(param_2,&local_10);\n  *param_3 = dVar2 / (double)DAT_00491cec;\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");\n                    /* WARNING: Subroutine does not return */\n  FUN_0023b7b0(uVar1,param_1,param_2);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "char *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x2b58c7;" (assignment_expression "uStack_c = 0x2b58c7" identifier = number_literal) ;) (expression_statement "dVar2 = strtod(param_2,&local_10);" (assignment_expression "dVar2 = strtod(param_2,&local_10)" identifier = (call_expression "strtod(param_2,&local_10)" identifier (argument_list "(param_2,&local_10)" ( identifier , (pointer_expression "&local_10" & identifier) )))) ;) (expression_statement "*param_3 = dVar2 / (double)DAT_00491cec;" (assignment_expression "*param_3 = dVar2 / (double)DAT_00491cec" (pointer_expression "*param_3" * identifier) = (binary_expression "dVar2 / (double)DAT_00491cec" identifier / (cast_expression "(double)DAT_00491cec" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (if_statement "if (*local_10 == '\0') {\n    return;\n  }" if (parenthesized_expression "(*local_10 == '\0')" ( (binary_expression "*local_10 == '\0'" (pointer_expression "*local_10" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");" (assignment_expression "uVar1 = gettext("%s: invalid option value (expected a floating point number): %s")" identifier = (call_expression "gettext("%s: invalid option value (expected a floating point number): %s")" identifier (argument_list "("%s: invalid option value (expected a floating point number): %s")" ( (string_literal ""%s: invalid option value (expected a floating point number): %s"" " string_content ") )))) ;) comment (expression_statement "FUN_0023b7b0(uVar1,param_1,param_2);" (call_expression "FUN_0023b7b0(uVar1,param_1,param_2)" identifier (argument_list "(uVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid gold::options::parse_percent(char *option_name,char *arg,double *retval)\n\n{\n  char *endptr;\n  \n}\n\n" comment comment (function_definition "void gold::options::parse_percent(char *option_name,char *arg,double *retval)\n\n{\n  char *endptr;\n  \n}" primitive_type (ERROR "gold::options::" identifier : : identifier : :) (function_declarator "parse_percent(char *option_name,char *arg,double *retval)" identifier (parameter_list "(char *option_name,char *arg,double *retval)" ( (parameter_declaration "char *option_name" primitive_type (pointer_declarator "*option_name" * identifier)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "double *retval" primitive_type (pointer_declarator "*retval" * identifier)) ))) (compound_statement "{\n  char *endptr;\n  \n}" { (declaration "char *endptr;" primitive_type (pointer_declarator "*endptr" * identifier) ;) })))
(translation_unit "void FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)\n\n{\n  undefined4 uVar1;\n  double dVar2;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x2b58c7;\n  dVar2 = strtod(param_2,&local_10);\n  *param_3 = dVar2 / (double)DAT_00491cec;\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");\n                    \n  FUN_0023b7b0(uVar1,param_1,param_2);\n}\n\n" (function_definition "void FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)\n\n{\n  undefined4 uVar1;\n  double dVar2;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x2b58c7;\n  dVar2 = strtod(param_2,&local_10);\n  *param_3 = dVar2 / (double)DAT_00491cec;\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");\n                    \n  FUN_0023b7b0(uVar1,param_1,param_2);\n}" primitive_type (function_declarator "FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)" identifier (parameter_list "(undefined4 param_1,char *param_2,double *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "double *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  double dVar2;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x2b58c7;\n  dVar2 = strtod(param_2,&local_10);\n  *param_3 = dVar2 / (double)DAT_00491cec;\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");\n                    \n  FUN_0023b7b0(uVar1,param_1,param_2);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "char *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x2b58c7;" (assignment_expression "uStack_c = 0x2b58c7" identifier = number_literal) ;) (expression_statement "dVar2 = strtod(param_2,&local_10);" (assignment_expression "dVar2 = strtod(param_2,&local_10)" identifier = (call_expression "strtod(param_2,&local_10)" identifier (argument_list "(param_2,&local_10)" ( identifier , (pointer_expression "&local_10" & identifier) )))) ;) (expression_statement "*param_3 = dVar2 / (double)DAT_00491cec;" (assignment_expression "*param_3 = dVar2 / (double)DAT_00491cec" (pointer_expression "*param_3" * identifier) = (binary_expression "dVar2 / (double)DAT_00491cec" identifier / (cast_expression "(double)DAT_00491cec" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (if_statement "if (*local_10 == '\0') {\n    return;\n  }" if (parenthesized_expression "(*local_10 == '\0')" ( (binary_expression "*local_10 == '\0'" (pointer_expression "*local_10" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");" (assignment_expression "uVar1 = gettext("%s: invalid option value (expected a floating point number): %s")" identifier = (call_expression "gettext("%s: invalid option value (expected a floating point number): %s")" identifier (argument_list "("%s: invalid option value (expected a floating point number): %s")" ( (string_literal ""%s: invalid option value (expected a floating point number): %s"" " string_content ") )))) ;) (expression_statement "FUN_0023b7b0(uVar1,param_1,param_2);" (call_expression "FUN_0023b7b0(uVar1,param_1,param_2)" identifier (argument_list "(uVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT / (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })))
(function_definition "void FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)\n\n{\n  undefined4 uVar1;\n  double dVar2;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x2b58c7;\n  dVar2 = strtod(param_2,&local_10);\n  *param_3 = dVar2 / (double)DAT_00491cec;\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");\n                    \n  FUN_0023b7b0(uVar1,param_1,param_2);\n}" (primitive_type "void") (function_declarator "FUN_002b58c0(undefined4 param_1,char *param_2,double *param_3)" (identifier "FUN_002b58c0") (parameter_list "(undefined4 param_1,char *param_2,double *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "double *param_3" (primitive_type "double") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  double dVar2;\n  char *local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x2b58c7;\n  dVar2 = strtod(param_2,&local_10);\n  *param_3 = dVar2 / (double)DAT_00491cec;\n  if (*local_10 == '\0') {\n    return;\n  }\n  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");\n                    \n  FUN_0023b7b0(uVar1,param_1,param_2);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "double dVar2;" (primitive_type "double") (identifier "dVar2") (; ";")) (declaration "char *local_10;" (primitive_type "char") (pointer_declarator "*local_10" (* "*") (identifier "local_10")) (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "uStack_c = 0x2b58c7;" (assignment_expression "uStack_c = 0x2b58c7" (identifier "uStack_c") (= "=") (number_literal "0x2b58c7")) (; ";")) (expression_statement "dVar2 = strtod(param_2,&local_10);" (assignment_expression "dVar2 = strtod(param_2,&local_10)" (identifier "dVar2") (= "=") (call_expression "strtod(param_2,&local_10)" (identifier "strtod") (argument_list "(param_2,&local_10)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")")))) (; ";")) (expression_statement "*param_3 = dVar2 / (double)DAT_00491cec;" (assignment_expression "*param_3 = dVar2 / (double)DAT_00491cec" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "dVar2 / (double)DAT_00491cec" (identifier "dVar2") (/ "/") (cast_expression "(double)DAT_00491cec" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_00491cec")))) (; ";")) (if_statement "if (*local_10 == '\0') {\n    return;\n  }" (if "if") (parenthesized_expression "(*local_10 == '\0')" (( "(") (binary_expression "*local_10 == '\0'" (pointer_expression "*local_10" (* "*") (identifier "local_10")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");" (assignment_expression "uVar1 = gettext("%s: invalid option value (expected a floating point number): %s")" (identifier "uVar1") (= "=") (call_expression "gettext("%s: invalid option value (expected a floating point number): %s")" (identifier "gettext") (argument_list "("%s: invalid option value (expected a floating point number): %s")" (( "(") (string_literal ""%s: invalid option value (expected a floating point number): %s"" (" """) (string_content "%s: invalid option value (expected a floating point number): %s") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0023b7b0(uVar1,param_1,param_2);" (call_expression "FUN_0023b7b0(uVar1,param_1,param_2)" (identifier "FUN_0023b7b0") (argument_list "(uVar1,param_1,param_2)" (( "(") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

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

void gold::options::function_1(char *option_name,char *arg,double *retval)

{
  char *endptr;
  
}


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

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

void MASKED(undefined4 param_1,char *param_2,double *param_3)

{
  undefined4 uVar1;
  double dVar2;
  char *local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x2b58c7;
  dVar2 = strtod(param_2,&local_10);
  *param_3 = dVar2 / (double)DAT_00491cec;
  if (*local_10 == '\0') {
    return;
  }
  uVar1 = gettext("%s: invalid option value (expected a floating point number): %s");
                    /* WARNING: Subroutine does not return */
  FUN_0023b7b0(uVar1,param_1,param_2);
}

