
void png_set_gamma(png_structrp png_ptr,double scrn_gamma,double file_gamma)

{
  png_fixed_point pVar1;
  png_fixed_point pVar2;
  
  pVar1 = convert_gamma_value(png_ptr,scrn_gamma);
  pVar2 = convert_gamma_value(png_ptr,scrn_gamma);
                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_png_set_gamma_fixed_00053470)(png_ptr,pVar1,pVar2);
  return;
}



void png_set_gamma(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = FUN_00024d58();
  uVar2 = FUN_00024d58(param_1);
                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);
  return;
}


lui gp,0x3
addiu gp,gp,0x4ee4
addu gp,gp,t9
addiu sp,sp,-0x28
sw s0,0x18(sp)
lw s0,-0x7f80(gp)
sw ra,0x24(sp)
sw s2,0x20(sp)
addiu s0,s0,0x4d58
sw s1,0x1c(sp)
sw gp,0x10(sp)
or t9,s0,zero
bal 0x00024d58
_or s1,a0,zero
or a0,s1,zero
lw a2,0x38(sp)
or t9,s0,zero
lw a3,0x3c(sp)
bal 0x00024d58
_or s2,v0,zero
or a1,s2,zero
lw gp,0x10(sp)
or a0,s1,zero
lw ra,0x24(sp)
or a2,v0,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7b80(gp)
jr t9
_addiu sp,sp,0x28
(translation_unit "void png_set_gamma(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00024d58();\n  uVar2 = FUN_00024d58(param_1);\n                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);\n  return;\n}\n\n" (function_definition "void png_set_gamma(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00024d58();\n  uVar2 = FUN_00024d58(param_1);\n                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);\n  return;\n}" primitive_type (function_declarator "png_set_gamma(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00024d58();\n  uVar2 = FUN_00024d58(param_1);\n                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00024d58();" (assignment_expression "uVar1 = FUN_00024d58()" identifier = (call_expression "FUN_00024d58()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_00024d58(param_1);" (assignment_expression "uVar2 = FUN_00024d58(param_1)" identifier = (call_expression "FUN_00024d58(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) comment comment (expression_statement "(*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);" (call_expression "(*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2)" (parenthesized_expression "(*(code *)PTR_png_set_gamma_fixed_00053470)" ( (pointer_expression "*(code *)PTR_png_set_gamma_fixed_00053470" * (cast_expression "(code *)PTR_png_set_gamma_fixed_00053470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar1,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void png_set_gamma(png_structrp png_ptr,double scrn_gamma,double file_gamma)\n\n{\n  png_fixed_point pVar1;\n  png_fixed_point pVar2;\n  \n  pVar1 = convert_gamma_value(png_ptr,scrn_gamma);\n  pVar2 = convert_gamma_value(png_ptr,scrn_gamma);\n                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_png_set_gamma_fixed_00053470)(png_ptr,pVar1,pVar2);\n  return;\n}\n\n" (function_definition "void png_set_gamma(png_structrp png_ptr,double scrn_gamma,double file_gamma)\n\n{\n  png_fixed_point pVar1;\n  png_fixed_point pVar2;\n  \n  pVar1 = convert_gamma_value(png_ptr,scrn_gamma);\n  pVar2 = convert_gamma_value(png_ptr,scrn_gamma);\n                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_png_set_gamma_fixed_00053470)(png_ptr,pVar1,pVar2);\n  return;\n}" primitive_type (function_declarator "png_set_gamma(png_structrp png_ptr,double scrn_gamma,double file_gamma)" identifier (parameter_list "(png_structrp png_ptr,double scrn_gamma,double file_gamma)" ( (parameter_declaration "png_structrp png_ptr" type_identifier identifier) , (parameter_declaration "double scrn_gamma" primitive_type identifier) , (parameter_declaration "double file_gamma" primitive_type identifier) ))) (compound_statement "{\n  png_fixed_point pVar1;\n  png_fixed_point pVar2;\n  \n  pVar1 = convert_gamma_value(png_ptr,scrn_gamma);\n  pVar2 = convert_gamma_value(png_ptr,scrn_gamma);\n                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_png_set_gamma_fixed_00053470)(png_ptr,pVar1,pVar2);\n  return;\n}" { (declaration "png_fixed_point pVar1;" type_identifier identifier ;) (declaration "png_fixed_point pVar2;" type_identifier identifier ;) (expression_statement "pVar1 = convert_gamma_value(png_ptr,scrn_gamma);" (assignment_expression "pVar1 = convert_gamma_value(png_ptr,scrn_gamma)" identifier = (call_expression "convert_gamma_value(png_ptr,scrn_gamma)" identifier (argument_list "(png_ptr,scrn_gamma)" ( identifier , identifier )))) ;) (expression_statement "pVar2 = convert_gamma_value(png_ptr,scrn_gamma);" (assignment_expression "pVar2 = convert_gamma_value(png_ptr,scrn_gamma)" identifier = (call_expression "convert_gamma_value(png_ptr,scrn_gamma)" identifier (argument_list "(png_ptr,scrn_gamma)" ( identifier , identifier )))) ;) comment comment (expression_statement "(*(code *)PTR_png_set_gamma_fixed_00053470)(png_ptr,pVar1,pVar2);" (call_expression "(*(code *)PTR_png_set_gamma_fixed_00053470)(png_ptr,pVar1,pVar2)" (parenthesized_expression "(*(code *)PTR_png_set_gamma_fixed_00053470)" ( (pointer_expression "*(code *)PTR_png_set_gamma_fixed_00053470" * (cast_expression "(code *)PTR_png_set_gamma_fixed_00053470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(png_ptr,pVar1,pVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void png_set_gamma(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00024d58();\n  uVar2 = FUN_00024d58(param_1);\n                    \n                    \n  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);\n  return;\n}\n\n" (function_definition "void png_set_gamma(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00024d58();\n  uVar2 = FUN_00024d58(param_1);\n                    \n                    \n  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);\n  return;\n}" primitive_type (function_declarator "png_set_gamma(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00024d58();\n  uVar2 = FUN_00024d58(param_1);\n                    \n                    \n  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00024d58();" (assignment_expression "uVar1 = FUN_00024d58()" identifier = (call_expression "FUN_00024d58()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_00024d58(param_1);" (assignment_expression "uVar2 = FUN_00024d58(param_1)" identifier = (call_expression "FUN_00024d58(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);" (call_expression "(*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2)" (parenthesized_expression "(*(code *)PTR_png_set_gamma_fixed_00053470)" ( (pointer_expression "*(code *)PTR_png_set_gamma_fixed_00053470" * (cast_expression "(code *)PTR_png_set_gamma_fixed_00053470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar1,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void png_set_gamma(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00024d58();\n  uVar2 = FUN_00024d58(param_1);\n                    \n                    \n  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);\n  return;\n}" (primitive_type "void") (function_declarator "png_set_gamma(undefined4 param_1)" (identifier "png_set_gamma") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00024d58();\n  uVar2 = FUN_00024d58(param_1);\n                    \n                    \n  (*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar1 = FUN_00024d58();" (assignment_expression "uVar1 = FUN_00024d58()" (identifier "uVar1") (= "=") (call_expression "FUN_00024d58()" (identifier "FUN_00024d58") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_00024d58(param_1);" (assignment_expression "uVar2 = FUN_00024d58(param_1)" (identifier "uVar2") (= "=") (call_expression "FUN_00024d58(param_1)" (identifier "FUN_00024d58") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2);" (call_expression "(*(code *)PTR_png_set_gamma_fixed_00053470)(param_1,uVar1,uVar2)" (parenthesized_expression "(*(code *)PTR_png_set_gamma_fixed_00053470)" (( "(") (pointer_expression "*(code *)PTR_png_set_gamma_fixed_00053470" (* "*") (cast_expression "(code *)PTR_png_set_gamma_fixed_00053470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_png_set_gamma_fixed_00053470"))) () ")")) (argument_list "(param_1,uVar1,uVar2)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = FUN_00024d58();
  uVar2 = FUN_00024d58(param_1);
                    /* WARNING: Could not recover jumptable at 0x00026180. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_MASKED_fixed_00053470)(param_1,uVar1,uVar2);
  return;
}

