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

png_structp
png_create_write_struct
          (png_const_charp user_png_ver,png_voidp error_ptr,png_error_ptr error_fn,
          png_error_ptr warn_fn)

{
  png_structp ppVar1;
  
  ppVar1 = png_create_write_struct_2
                     (user_png_ver,error_ptr,error_fn,warn_fn,(png_voidp)0x0,(png_malloc_ptr)0x0,
                      (png_free_ptr)0x0);
  return ppVar1;
}



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

void png_create_write_struct
               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);
  return;
}


PUSH EBX
CALL 0x00014970
ADD EBX,0x1c8ea
SUB ESP,0xc
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
CALL 0x00014710
ADD ESP,0x28
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid png_create_write_struct\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);\n  return;\n}\n\n" comment (function_definition "void png_create_write_struct\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);\n  return;\n}" primitive_type (function_declarator "png_create_write_struct\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (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) ))) (compound_statement "{\n  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);\n  return;\n}" { (expression_statement "png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);" (call_expression "png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0)" identifier (argument_list "(param_1,param_2,param_3,param_4,0,0,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\npng_structp\npng_create_write_struct\n          (png_const_charp user_png_ver,png_voidp error_ptr,png_error_ptr error_fn,\n          png_error_ptr warn_fn)\n\n{\n  png_structp ppVar1;\n  \n  ppVar1 = png_create_write_struct_2\n                     (user_png_ver,error_ptr,error_fn,warn_fn,(png_voidp)0x0,(png_malloc_ptr)0x0,\n                      (png_free_ptr)0x0);\n  return ppVar1;\n}\n\n" comment comment (function_definition "png_structp\npng_create_write_struct\n          (png_const_charp user_png_ver,png_voidp error_ptr,png_error_ptr error_fn,\n          png_error_ptr warn_fn)\n\n{\n  png_structp ppVar1;\n  \n  ppVar1 = png_create_write_struct_2\n                     (user_png_ver,error_ptr,error_fn,warn_fn,(png_voidp)0x0,(png_malloc_ptr)0x0,\n                      (png_free_ptr)0x0);\n  return ppVar1;\n}" type_identifier (function_declarator "png_create_write_struct\n          (png_const_charp user_png_ver,png_voidp error_ptr,png_error_ptr error_fn,\n          png_error_ptr warn_fn)" identifier (parameter_list "(png_const_charp user_png_ver,png_voidp error_ptr,png_error_ptr error_fn,\n          png_error_ptr warn_fn)" ( (parameter_declaration "png_const_charp user_png_ver" type_identifier identifier) , (parameter_declaration "png_voidp error_ptr" type_identifier identifier) , (parameter_declaration "png_error_ptr error_fn" type_identifier identifier) , (parameter_declaration "png_error_ptr warn_fn" type_identifier identifier) ))) (compound_statement "{\n  png_structp ppVar1;\n  \n  ppVar1 = png_create_write_struct_2\n                     (user_png_ver,error_ptr,error_fn,warn_fn,(png_voidp)0x0,(png_malloc_ptr)0x0,\n                      (png_free_ptr)0x0);\n  return ppVar1;\n}" { (declaration "png_structp ppVar1;" type_identifier identifier ;) (expression_statement "ppVar1 = png_create_write_struct_2\n                     (user_png_ver,error_ptr,error_fn,warn_fn,(png_voidp)0x0,(png_malloc_ptr)0x0,\n                      (png_free_ptr)0x0);" (assignment_expression "ppVar1 = png_create_write_struct_2\n                     (user_png_ver,error_ptr,error_fn,warn_fn,(png_voidp)0x0,(png_malloc_ptr)0x0,\n                      (png_free_ptr)0x0)" identifier = (call_expression "png_create_write_struct_2\n                     (user_png_ver,error_ptr,error_fn,warn_fn,(png_voidp)0x0,(png_malloc_ptr)0x0,\n                      (png_free_ptr)0x0)" identifier (argument_list "(user_png_ver,error_ptr,error_fn,warn_fn,(png_voidp)0x0,(png_malloc_ptr)0x0,\n                      (png_free_ptr)0x0)" ( identifier , identifier , identifier , identifier , (cast_expression "(png_voidp)0x0" ( (type_descriptor "png_voidp" type_identifier) ) number_literal) , (cast_expression "(png_malloc_ptr)0x0" ( (type_descriptor "png_malloc_ptr" type_identifier) ) number_literal) , (cast_expression "(png_free_ptr)0x0" ( (type_descriptor "png_free_ptr" type_identifier) ) number_literal) )))) ;) (return_statement "return ppVar1;" return identifier ;) })))
(translation_unit "void png_create_write_struct\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);\n  return;\n}\n\n" (function_definition "void png_create_write_struct\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);\n  return;\n}" primitive_type (function_declarator "png_create_write_struct\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (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) ))) (compound_statement "{\n  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);\n  return;\n}" { (expression_statement "png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);" (call_expression "png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0)" identifier (argument_list "(param_1,param_2,param_3,param_4,0,0,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT , LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void png_create_write_struct\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);\n  return;\n}" (primitive_type "void") (function_declarator "png_create_write_struct\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "png_create_write_struct") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (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")) () ")"))) (compound_statement "{\n  png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);\n  return;\n}" ({ "{") (expression_statement "png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0);" (call_expression "png_create_write_struct_2(param_1,param_2,param_3,param_4,0,0,0)" (identifier "png_create_write_struct_2") (argument_list "(param_1,param_2,param_3,param_4,0,0,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1
function_1
          (type_2 user_png_ver,type_3 error_ptr,type_4 error_fn,
          type_4 warn_fn)

{
  type_1 ppVar1;
  
  ppVar1 = var_1
                     (user_png_ver,error_ptr,error_fn,warn_fn,(type_3)0x0,(type_5)0x0,
                      (type_6)0x0);
  return ppVar1;
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (number_literal) (number_literal) (number_literal)))) (return_statement))))

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

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

{
  MASKED_2(param_1,param_2,param_3,param_4,0,0,0);
  return;
}

