
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00012160 */
/* WARNING: Unknown calling convention */

int deflateInit_(z_streamp strm,int level,char *version,int stream_size)

{
  int iVar1;
  
  iVar1 = deflateInit2_(strm,level,8,0xf,8,0,version,stream_size);
  return iVar1;
}



/* WARNING: Switch with 1 destination removed at 0x00012160 */

void __regparm2
deflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5)

{
  undefined4 unaff_retaddr;
  
  entry(param_2,0x17436,&__DT_PLTGOT);
  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);
  return;
}


JMP dword ptr [EBX + 0x58]
(translation_unit "/* WARNING: Switch with 1 destination removed at 0x00012160 */\n\nvoid __regparm2\ndeflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x17436,&__DT_PLTGOT);\n  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);\n  return;\n}\n\n" comment (function_definition "void __regparm2\ndeflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x17436,&__DT_PLTGOT);\n  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "deflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x17436,&__DT_PLTGOT);\n  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);\n  return;\n}" { (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x17436,&__DT_PLTGOT);" (call_expression "entry(param_2,0x17436,&__DT_PLTGOT)" identifier (argument_list "(param_2,0x17436,&__DT_PLTGOT)" ( identifier , number_literal , (pointer_expression "&__DT_PLTGOT" & identifier) ))) ;) (expression_statement "deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);" (call_expression "deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5)" identifier (argument_list "(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5)" ( identifier , identifier , number_literal , number_literal , number_literal , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Switch with 1 destination removed at 0x00012160 */\n/* WARNING: Unknown calling convention */\n\nint deflateInit_(z_streamp strm,int level,char *version,int stream_size)\n\n{\n  int iVar1;\n  \n  iVar1 = deflateInit2_(strm,level,8,0xf,8,0,version,stream_size);\n  return iVar1;\n}\n\n" comment comment comment (function_definition "int deflateInit_(z_streamp strm,int level,char *version,int stream_size)\n\n{\n  int iVar1;\n  \n  iVar1 = deflateInit2_(strm,level,8,0xf,8,0,version,stream_size);\n  return iVar1;\n}" primitive_type (function_declarator "deflateInit_(z_streamp strm,int level,char *version,int stream_size)" identifier (parameter_list "(z_streamp strm,int level,char *version,int stream_size)" ( (parameter_declaration "z_streamp strm" type_identifier identifier) , (parameter_declaration "int level" primitive_type identifier) , (parameter_declaration "char *version" primitive_type (pointer_declarator "*version" * identifier)) , (parameter_declaration "int stream_size" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = deflateInit2_(strm,level,8,0xf,8,0,version,stream_size);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = deflateInit2_(strm,level,8,0xf,8,0,version,stream_size);" (assignment_expression "iVar1 = deflateInit2_(strm,level,8,0xf,8,0,version,stream_size)" identifier = (call_expression "deflateInit2_(strm,level,8,0xf,8,0,version,stream_size)" identifier (argument_list "(strm,level,8,0xf,8,0,version,stream_size)" ( identifier , identifier , number_literal , number_literal , number_literal , number_literal , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void __regparm2\ndeflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x17436,&__DT_PLTGOT);\n  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);\n  return;\n}\n\n" (function_definition "void __regparm2\ndeflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x17436,&__DT_PLTGOT);\n  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "deflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x17436,&__DT_PLTGOT);\n  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);\n  return;\n}" { (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x17436,&__DT_PLTGOT);" (call_expression "entry(param_2,0x17436,&__DT_PLTGOT)" identifier (argument_list "(param_2,0x17436,&__DT_PLTGOT)" ( identifier , number_literal , (pointer_expression "&__DT_PLTGOT" & identifier) ))) ;) (expression_statement "deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);" (call_expression "deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5)" identifier (argument_list "(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5)" ( identifier , identifier , number_literal , number_literal , number_literal , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT , LIT , LIT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm2\ndeflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x17436,&__DT_PLTGOT);\n  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "deflateInit_(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)" (identifier "deflateInit_") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x17436,&__DT_PLTGOT);\n  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);\n  return;\n}" ({ "{") (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (expression_statement "entry(param_2,0x17436,&__DT_PLTGOT);" (call_expression "entry(param_2,0x17436,&__DT_PLTGOT)" (identifier "entry") (argument_list "(param_2,0x17436,&__DT_PLTGOT)" (( "(") (identifier "param_2") (, ",") (number_literal "0x17436") (, ",") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT")) () ")"))) (; ";")) (expression_statement "deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);" (call_expression "deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5)" (identifier "deflateInit2_") (argument_list "(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_3") (, ",") (number_literal "8") (, ",") (number_literal "0xf") (, ",") (number_literal "8") (, ",") (number_literal "0") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00012160 */
/* WARNING: Unknown calling convention */

int function_1(type_1 strm,int level,char *version,int stream_size)

{
  int iVar1;
  
  iVar1 = var_1(strm,level,8,0xf,8,0,version,stream_size);
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal) (number_literal) (number_literal) (identifier) (identifier)))) (return_statement))))

/* WARNING: Switch with 1 destination removed at 0x00012160 */

void __regparm2
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5)

{
  undefined4 unaff_retaddr;
  
  entry(param_2,0x17436,&__DT_PLTGOT);
  deflateInit2_(unaff_retaddr,param_3,8,0xf,8,0,param_4,param_5);
  return;
}

