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

void png_set_gAMA(png_const_structrp png_ptr,png_inforp info_ptr,double file_gamma)

{
  png_fixed_point file_gamma_00;
  
  file_gamma_00 = png_fixed(png_ptr,file_gamma,"png_set_gAMA");
  png_set_gAMA_fixed(png_ptr,info_ptr,file_gamma_00);
  return;
}



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

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

{
  undefined4 uVar1;
  
  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");
  png_set_gAMA_fixed(param_1,param_2,uVar1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00014970
ADD EBX,0x1dac9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xffff0919]
PUSH EAX
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x20]
PUSH ESI
CALL 0x00017650
ADD ESP,0xc
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x000142b0
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid png_set_gAMA(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");\n  png_set_gAMA_fixed(param_1,param_2,uVar1);\n  return;\n}\n\n" comment (function_definition "void png_set_gAMA(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");\n  png_set_gAMA_fixed(param_1,param_2,uVar1);\n  return;\n}" primitive_type (function_declarator "png_set_gAMA(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  undefined4 uVar1;\n  \n  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");\n  png_set_gAMA_fixed(param_1,param_2,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");" (assignment_expression "uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA")" identifier = (call_expression "FUN_00017650(param_1,param_3,param_4,"png_set_gAMA")" identifier (argument_list "(param_1,param_3,param_4,"png_set_gAMA")" ( identifier , identifier , identifier , (string_literal ""png_set_gAMA"" " string_content ") )))) ;) (expression_statement "png_set_gAMA_fixed(param_1,param_2,uVar1);" (call_expression "png_set_gAMA_fixed(param_1,param_2,uVar1)" identifier (argument_list "(param_1,param_2,uVar1)" ( identifier , identifier , identifier ))) ;) (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\nvoid png_set_gAMA(png_const_structrp png_ptr,png_inforp info_ptr,double file_gamma)\n\n{\n  png_fixed_point file_gamma_00;\n  \n  file_gamma_00 = png_fixed(png_ptr,file_gamma,"png_set_gAMA");\n  png_set_gAMA_fixed(png_ptr,info_ptr,file_gamma_00);\n  return;\n}\n\n" comment comment (function_definition "void png_set_gAMA(png_const_structrp png_ptr,png_inforp info_ptr,double file_gamma)\n\n{\n  png_fixed_point file_gamma_00;\n  \n  file_gamma_00 = png_fixed(png_ptr,file_gamma,"png_set_gAMA");\n  png_set_gAMA_fixed(png_ptr,info_ptr,file_gamma_00);\n  return;\n}" primitive_type (function_declarator "png_set_gAMA(png_const_structrp png_ptr,png_inforp info_ptr,double file_gamma)" identifier (parameter_list "(png_const_structrp png_ptr,png_inforp info_ptr,double file_gamma)" ( (parameter_declaration "png_const_structrp png_ptr" type_identifier identifier) , (parameter_declaration "png_inforp info_ptr" type_identifier identifier) , (parameter_declaration "double file_gamma" primitive_type identifier) ))) (compound_statement "{\n  png_fixed_point file_gamma_00;\n  \n  file_gamma_00 = png_fixed(png_ptr,file_gamma,"png_set_gAMA");\n  png_set_gAMA_fixed(png_ptr,info_ptr,file_gamma_00);\n  return;\n}" { (declaration "png_fixed_point file_gamma_00;" type_identifier identifier ;) (expression_statement "file_gamma_00 = png_fixed(png_ptr,file_gamma,"png_set_gAMA");" (assignment_expression "file_gamma_00 = png_fixed(png_ptr,file_gamma,"png_set_gAMA")" identifier = (call_expression "png_fixed(png_ptr,file_gamma,"png_set_gAMA")" identifier (argument_list "(png_ptr,file_gamma,"png_set_gAMA")" ( identifier , identifier , (string_literal ""png_set_gAMA"" " string_content ") )))) ;) (expression_statement "png_set_gAMA_fixed(png_ptr,info_ptr,file_gamma_00);" (call_expression "png_set_gAMA_fixed(png_ptr,info_ptr,file_gamma_00)" identifier (argument_list "(png_ptr,info_ptr,file_gamma_00)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void png_set_gAMA(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");\n  png_set_gAMA_fixed(param_1,param_2,uVar1);\n  return;\n}\n\n" (function_definition "void png_set_gAMA(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");\n  png_set_gAMA_fixed(param_1,param_2,uVar1);\n  return;\n}" primitive_type (function_declarator "png_set_gAMA(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  undefined4 uVar1;\n  \n  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");\n  png_set_gAMA_fixed(param_1,param_2,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");" (assignment_expression "uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA")" identifier = (call_expression "FUN_00017650(param_1,param_3,param_4,"png_set_gAMA")" identifier (argument_list "(param_1,param_3,param_4,"png_set_gAMA")" ( identifier , identifier , identifier , (string_literal ""png_set_gAMA"" " string_content ") )))) ;) (expression_statement "png_set_gAMA_fixed(param_1,param_2,uVar1);" (call_expression "png_set_gAMA_fixed(param_1,param_2,uVar1)" identifier (argument_list "(param_1,param_2,uVar1)" ( identifier , identifier , identifier ))) ;) (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 { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void png_set_gAMA(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");\n  png_set_gAMA_fixed(param_1,param_2,uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "png_set_gAMA(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "png_set_gAMA") (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  undefined4 uVar1;\n  \n  uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");\n  png_set_gAMA_fixed(param_1,param_2,uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA");" (assignment_expression "uVar1 = FUN_00017650(param_1,param_3,param_4,"png_set_gAMA")" (identifier "uVar1") (= "=") (call_expression "FUN_00017650(param_1,param_3,param_4,"png_set_gAMA")" (identifier "FUN_00017650") (argument_list "(param_1,param_3,param_4,"png_set_gAMA")" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (string_literal ""png_set_gAMA"" (" """) (string_content "png_set_gAMA") (" """)) () ")")))) (; ";")) (expression_statement "png_set_gAMA_fixed(param_1,param_2,uVar1);" (call_expression "png_set_gAMA_fixed(param_1,param_2,uVar1)" (identifier "png_set_gAMA_fixed") (argument_list "(param_1,param_2,uVar1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 png_ptr,type_2 info_ptr,double file_gamma)

{
  type_3 file_gamma_00;
  
  file_gamma_00 = var_1(png_ptr,file_gamma,"png_set_gAMA");
  var_2(png_ptr,info_ptr,file_gamma_00);
  return;
}


(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 (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (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)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00017650(param_1,param_3,param_4,"MASKED");
  MASKED_fixed(param_1,param_2,uVar1);
  return;
}

