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

void __regparm3 set_output_format(char *f)

{
  char *format;
  
  switch(*f) {
  case 'B':
  case 'b':
    ::format = formats;
    return;
  default:
    format = (char *)dcgettext(0,"%s: invalid output format",5,f);
                    /* WARNING: Subroutine does not return */
    fatal(format,f);
  case 'P':
  case 'p':
    ::format = formats + 2;
    return;
  case 'S':
  case 's':
    ::format = formats + 1;
    return;
  }
}



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

void __regparm3 FUN_000141a0(undefined1 *param_1)

{
  undefined4 uVar1;
  
  switch(*param_1) {
  case 0x42:
  case 0x62:
    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;
    return;
  default:
    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);
                    /* WARNING: Subroutine does not return */
    FUN_00015450(uVar1,param_1);
  case 0x50:
  case 0x70:
    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;
    return;
  case 0x53:
  case 0x73:
    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;
    return;
  }
}


PUSH ESI
PUSH EBX
CALL 0x00012a60
ADD EBX,0x7e59
SUB ESP,0x4
MOVZX ESI,byte ptr [EAX]
LEA EDX,[ESI + -0x42]
CMP DL,0x31
JA 0x00014212
MOVZX EDX,DL
MOV ECX,dword ptr [EBX + EDX*0x4 + 0xffffbdfc]
ADD ECX,EBX
JMP ECX
MOV ESI,EAX
PUSH EAX
LEA EAX,[EBX + 0xffffb070]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012160
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00015450
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000141a0(undefined1 *param_1)\n\n{\n  undefined4 uVar1;\n  \n  switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    /* WARNING: Subroutine does not return */\n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }\n}\n\n" comment (function_definition "void __regparm3 FUN_000141a0(undefined1 *param_1)\n\n{\n  undefined4 uVar1;\n  \n  switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    /* WARNING: Subroutine does not return */\n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000141a0(undefined1 *param_1)" identifier (parameter_list "(undefined1 *param_1)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    /* WARNING: Subroutine does not return */\n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (switch_statement "switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    /* WARNING: Subroutine does not return */\n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }" switch (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (compound_statement "{\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    /* WARNING: Subroutine does not return */\n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }" { (case_statement "case 0x42:" case number_literal :) (case_statement "case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;" case number_literal : (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360" identifier = (cast_expression "(undefined *)&PTR_FUN_0001c360" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR_FUN_0001c360" & identifier))) ;) (return_statement "return;" return ;)) (case_statement "default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    /* WARNING: Subroutine does not return */\n    FUN_00015450(uVar1,param_1);" default : (expression_statement "uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);" (assignment_expression "uVar1 = dcgettext(0,"%s: invalid output format",5,param_1)" identifier = (call_expression "dcgettext(0,"%s: invalid output format",5,param_1)" identifier (argument_list "(0,"%s: invalid output format",5,param_1)" ( number_literal , (string_literal ""%s: invalid output format"" " string_content ") , number_literal , identifier )))) ;) comment (expression_statement "FUN_00015450(uVar1,param_1);" (call_expression "FUN_00015450(uVar1,param_1)" identifier (argument_list "(uVar1,param_1)" ( identifier , identifier ))) ;)) (case_statement "case 0x50:" case number_literal :) (case_statement "case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;" case number_literal : (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388" identifier = (cast_expression "(undefined *)&PTR_FUN_0001c388" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR_FUN_0001c388" & identifier))) ;) (return_statement "return;" return ;)) (case_statement "case 0x53:" case number_literal :) (case_statement "case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;" case number_literal : (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374" identifier = (cast_expression "(undefined *)&PTR_FUN_0001c374" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR_FUN_0001c374" & identifier))) ;) (return_statement "return;" return ;)) })) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 set_output_format(char *f)\n\n{\n  char *format;\n  \n  switch(*f) {\n  case 'B':\n  case 'b':\n    ::format = formats;\n    return;\n  default:\n    format = (char *)dcgettext(0,"%s: invalid output format",5,f);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,f);\n  case 'P':\n  case 'p':\n    ::format = formats + 2;\n    return;\n  case 'S':\n  case 's':\n    ::format = formats + 1;\n    return;\n  }\n}\n\n" comment (function_definition "void __regparm3 set_output_format(char *f)\n\n{\n  char *format;\n  \n  switch(*f) {\n  case 'B':\n  case 'b':\n    ::format = formats;\n    return;\n  default:\n    format = (char *)dcgettext(0,"%s: invalid output format",5,f);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,f);\n  case 'P':\n  case 'p':\n    ::format = formats + 2;\n    return;\n  case 'S':\n  case 's':\n    ::format = formats + 1;\n    return;\n  }\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "set_output_format(char *f)" identifier (parameter_list "(char *f)" ( (parameter_declaration "char *f" primitive_type (pointer_declarator "*f" * identifier)) ))) (compound_statement "{\n  char *format;\n  \n  switch(*f) {\n  case 'B':\n  case 'b':\n    ::format = formats;\n    return;\n  default:\n    format = (char *)dcgettext(0,"%s: invalid output format",5,f);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,f);\n  case 'P':\n  case 'p':\n    ::format = formats + 2;\n    return;\n  case 'S':\n  case 's':\n    ::format = formats + 1;\n    return;\n  }\n}" { (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (switch_statement "switch(*f) {\n  case 'B':\n  case 'b':\n    ::format = formats;\n    return;\n  default:\n    format = (char *)dcgettext(0,"%s: invalid output format",5,f);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,f);\n  case 'P':\n  case 'p':\n    ::format = formats + 2;\n    return;\n  case 'S':\n  case 's':\n    ::format = formats + 1;\n    return;\n  }" switch (parenthesized_expression "(*f)" ( (pointer_expression "*f" * identifier) )) (compound_statement "{\n  case 'B':\n  case 'b':\n    ::format = formats;\n    return;\n  default:\n    format = (char *)dcgettext(0,"%s: invalid output format",5,f);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,f);\n  case 'P':\n  case 'p':\n    ::format = formats + 2;\n    return;\n  case 'S':\n  case 's':\n    ::format = formats + 1;\n    return;\n  }" { (case_statement "case 'B':" case (char_literal "'B'" ' character ') :) (case_statement "case 'b':\n    ::format = formats;\n    return;" case (char_literal "'b'" ' character ') : (ERROR "::" : :) (expression_statement "format = formats;" (assignment_expression "format = formats" identifier = identifier) ;) (return_statement "return;" return ;)) (case_statement "default:\n    format = (char *)dcgettext(0,"%s: invalid output format",5,f);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,f);" default : (expression_statement "format = (char *)dcgettext(0,"%s: invalid output format",5,f);" (assignment_expression "format = (char *)dcgettext(0,"%s: invalid output format",5,f)" identifier = (cast_expression "(char *)dcgettext(0,"%s: invalid output format",5,f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: invalid output format",5,f)" identifier (argument_list "(0,"%s: invalid output format",5,f)" ( number_literal , (string_literal ""%s: invalid output format"" " string_content ") , number_literal , identifier ))))) ;) comment (expression_statement "fatal(format,f);" (call_expression "fatal(format,f)" identifier (argument_list "(format,f)" ( identifier , identifier ))) ;)) (case_statement "case 'P':" case (char_literal "'P'" ' character ') :) (case_statement "case 'p':\n    ::format = formats + 2;\n    return;" case (char_literal "'p'" ' character ') : (ERROR "::" : :) (expression_statement "format = formats + 2;" (assignment_expression "format = formats + 2" identifier = (binary_expression "formats + 2" identifier + number_literal)) ;) (return_statement "return;" return ;)) (case_statement "case 'S':" case (char_literal "'S'" ' character ') :) (case_statement "case 's':\n    ::format = formats + 1;\n    return;" case (char_literal "'s'" ' character ') : (ERROR "::" : :) (expression_statement "format = formats + 1;" (assignment_expression "format = formats + 1" identifier = (binary_expression "formats + 1" identifier + number_literal)) ;) (return_statement "return;" return ;)) })) })))
(translation_unit "void __regparm3 FUN_000141a0(undefined1 *param_1)\n\n{\n  undefined4 uVar1;\n  \n  switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }\n}\n\n" (function_definition "void __regparm3 FUN_000141a0(undefined1 *param_1)\n\n{\n  undefined4 uVar1;\n  \n  switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000141a0(undefined1 *param_1)" identifier (parameter_list "(undefined1 *param_1)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (switch_statement "switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }" switch (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (compound_statement "{\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }" { (case_statement "case 0x42:" case number_literal :) (case_statement "case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;" case number_literal : (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360" identifier = (cast_expression "(undefined *)&PTR_FUN_0001c360" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR_FUN_0001c360" & identifier))) ;) (return_statement "return;" return ;)) (case_statement "default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);" default : (expression_statement "uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);" (assignment_expression "uVar1 = dcgettext(0,"%s: invalid output format",5,param_1)" identifier = (call_expression "dcgettext(0,"%s: invalid output format",5,param_1)" identifier (argument_list "(0,"%s: invalid output format",5,param_1)" ( number_literal , (string_literal ""%s: invalid output format"" " string_content ") , number_literal , identifier )))) ;) (expression_statement "FUN_00015450(uVar1,param_1);" (call_expression "FUN_00015450(uVar1,param_1)" identifier (argument_list "(uVar1,param_1)" ( identifier , identifier ))) ;)) (case_statement "case 0x50:" case number_literal :) (case_statement "case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;" case number_literal : (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388" identifier = (cast_expression "(undefined *)&PTR_FUN_0001c388" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR_FUN_0001c388" & identifier))) ;) (return_statement "return;" return ;)) (case_statement "case 0x53:" case number_literal :) (case_statement "case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;" case number_literal : (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374" identifier = (cast_expression "(undefined *)&PTR_FUN_0001c374" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR_FUN_0001c374" & identifier))) ;) (return_statement "return;" return ;)) })) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (switch_statement switch (parenthesized_expression ( (pointer_expression * IDENT) )) (compound_statement { (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (return_statement return ;)) (case_statement default : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (return_statement return ;)) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (return_statement return ;)) })) })))
(function_definition "void __regparm3 FUN_000141a0(undefined1 *param_1)\n\n{\n  undefined4 uVar1;\n  \n  switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000141a0(undefined1 *param_1)" (identifier "FUN_000141a0") (parameter_list "(undefined1 *param_1)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (switch_statement "switch(*param_1) {\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }" (switch "switch") (parenthesized_expression "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")) (compound_statement "{\n  case 0x42:\n  case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;\n  default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);\n  case 0x50:\n  case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;\n  case 0x53:\n  case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;\n  }" ({ "{") (case_statement "case 0x42:" (case "case") (number_literal "0x42") (: ":")) (case_statement "case 0x62:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;\n    return;" (case "case") (number_literal "0x62") (: ":") (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360" (identifier "PTR_PTR_FUN_0001c350") (= "=") (cast_expression "(undefined *)&PTR_FUN_0001c360" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&PTR_FUN_0001c360" (& "&") (identifier "PTR_FUN_0001c360")))) (; ";")) (return_statement "return;" (return "return") (; ";"))) (case_statement "default:\n    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);\n                    \n    FUN_00015450(uVar1,param_1);" (default "default") (: ":") (expression_statement "uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);" (assignment_expression "uVar1 = dcgettext(0,"%s: invalid output format",5,param_1)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"%s: invalid output format",5,param_1)" (identifier "dcgettext") (argument_list "(0,"%s: invalid output format",5,param_1)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: invalid output format"" (" """) (string_content "%s: invalid output format") (" """)) (, ",") (number_literal "5") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "FUN_00015450(uVar1,param_1);" (call_expression "FUN_00015450(uVar1,param_1)" (identifier "FUN_00015450") (argument_list "(uVar1,param_1)" (( "(") (identifier "uVar1") (, ",") (identifier "param_1") () ")"))) (; ";"))) (case_statement "case 0x50:" (case "case") (number_literal "0x50") (: ":")) (case_statement "case 0x70:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;\n    return;" (case "case") (number_literal "0x70") (: ":") (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388" (identifier "PTR_PTR_FUN_0001c350") (= "=") (cast_expression "(undefined *)&PTR_FUN_0001c388" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&PTR_FUN_0001c388" (& "&") (identifier "PTR_FUN_0001c388")))) (; ";")) (return_statement "return;" (return "return") (; ";"))) (case_statement "case 0x53:" (case "case") (number_literal "0x53") (: ":")) (case_statement "case 0x73:\n    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;\n    return;" (case "case") (number_literal "0x73") (: ":") (expression_statement "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;" (assignment_expression "PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374" (identifier "PTR_PTR_FUN_0001c350") (= "=") (cast_expression "(undefined *)&PTR_FUN_0001c374" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&PTR_FUN_0001c374" (& "&") (identifier "PTR_FUN_0001c374")))) (; ";")) (return_statement "return;" (return "return") (; ";"))) (} "}"))) (} "}")))

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

void __regparm3 function_1(char *f)

{
  char *format;
  
  switch(*f) {
  case 'B':
  case 'b':
    ::format = var_3;
    return;
  default:
    format = (char *)var_1(0,"%s: invalid output format",5,f);
                    /* WARNING: Subroutine does not return */
    var_2(format,f);
  case 'P':
  case 'p':
    ::format = var_3 + 2;
    return;
  case 'S':
  case 's':
    ::format = var_3 + 1;
    return;
  }
}


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

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

void __regparm3 MASKED(undefined1 *param_1)

{
  undefined4 uVar1;
  
  switch(*param_1) {
  case 0x42:
  case 0x62:
    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c360;
    return;
  default:
    uVar1 = dcgettext(0,"%s: invalid output format",5,param_1);
                    /* WARNING: Subroutine does not return */
    FUN_00015450(uVar1,param_1);
  case 0x50:
  case 0x70:
    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c388;
    return;
  case 0x53:
  case 0x73:
    PTR_PTR_FUN_0001c350 = (undefined *)&PTR_FUN_0001c374;
    return;
  }
}

