
void gppi(void *handle,char *name,int def,Conf *conf,int primary)

{
  undefined4 uVar1;
  int value;
  
  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(name,def);
  value = (*(code *)PTR_read_setting_i_000a7404)(handle,name,uVar1);
  conf_set_int(conf,primary,value);
  return;
}



void FUN_00036664(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5)

{
  undefined4 uVar1;
  
  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);
  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);
  conf_set_int(param_4,param_5,uVar1);
  return;
}


lui gp,0x8
addiu gp,gp,-0x75d4
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7c90(gp)
sw s0,0x1c(sp)
or s0,a1,zero
sw ra,0x2c(sp)
or a1,a2,zero
sw s3,0x28(sp)
or s3,a0,zero
sw s2,0x24(sp)
or a0,s0,zero
sw s1,0x20(sp)
or s1,a3,zero
sw gp,0x10(sp)
jalr t9
_lw s2,0x40(sp)
or a1,s0,zero
lw gp,0x10(sp)
or a0,s3,zero
lw t9,-0x7c8c(gp)
jalr t9
_or a2,v0,zero
or a1,s2,zero
lw gp,0x10(sp)
or a0,s1,zero
lw ra,0x2c(sp)
or a2,v0,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7f70(gp)
b 0x0002099c
_addiu sp,sp,0x30
(translation_unit "void FUN_00036664(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);\n  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);\n  conf_set_int(param_4,param_5,uVar1);\n  return;\n}\n\n" (function_definition "void FUN_00036664(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);\n  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);\n  conf_set_int(param_4,param_5,uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00036664(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 uVar1;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);\n  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);\n  conf_set_int(param_4,param_5,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);" (assignment_expression "uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3)" identifier = (call_expression "(*(code *)PTR_platform_default_i_000a7400)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_platform_default_i_000a7400)" ( (pointer_expression "*(code *)PTR_platform_default_i_000a7400" * (cast_expression "(code *)PTR_platform_default_i_000a7400" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (expression_statement "uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1)" identifier = (call_expression "(*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1)" (parenthesized_expression "(*(code *)PTR_read_setting_i_000a7404)" ( (pointer_expression "*(code *)PTR_read_setting_i_000a7404" * (cast_expression "(code *)PTR_read_setting_i_000a7404" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,uVar1)" ( identifier , identifier , identifier )))) ;) (expression_statement "conf_set_int(param_4,param_5,uVar1);" (call_expression "conf_set_int(param_4,param_5,uVar1)" identifier (argument_list "(param_4,param_5,uVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void gppi(void *handle,char *name,int def,Conf *conf,int primary)\n\n{\n  undefined4 uVar1;\n  int value;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(name,def);\n  value = (*(code *)PTR_read_setting_i_000a7404)(handle,name,uVar1);\n  conf_set_int(conf,primary,value);\n  return;\n}\n\n" (function_definition "void gppi(void *handle,char *name,int def,Conf *conf,int primary)\n\n{\n  undefined4 uVar1;\n  int value;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(name,def);\n  value = (*(code *)PTR_read_setting_i_000a7404)(handle,name,uVar1);\n  conf_set_int(conf,primary,value);\n  return;\n}" primitive_type (function_declarator "gppi(void *handle,char *name,int def,Conf *conf,int primary)" identifier (parameter_list "(void *handle,char *name,int def,Conf *conf,int primary)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "int def" primitive_type identifier) , (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) , (parameter_declaration "int primary" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int value;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(name,def);\n  value = (*(code *)PTR_read_setting_i_000a7404)(handle,name,uVar1);\n  conf_set_int(conf,primary,value);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int value;" primitive_type identifier ;) (expression_statement "uVar1 = (*(code *)PTR_platform_default_i_000a7400)(name,def);" (assignment_expression "uVar1 = (*(code *)PTR_platform_default_i_000a7400)(name,def)" identifier = (call_expression "(*(code *)PTR_platform_default_i_000a7400)(name,def)" (parenthesized_expression "(*(code *)PTR_platform_default_i_000a7400)" ( (pointer_expression "*(code *)PTR_platform_default_i_000a7400" * (cast_expression "(code *)PTR_platform_default_i_000a7400" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(name,def)" ( identifier , identifier )))) ;) (expression_statement "value = (*(code *)PTR_read_setting_i_000a7404)(handle,name,uVar1);" (assignment_expression "value = (*(code *)PTR_read_setting_i_000a7404)(handle,name,uVar1)" identifier = (call_expression "(*(code *)PTR_read_setting_i_000a7404)(handle,name,uVar1)" (parenthesized_expression "(*(code *)PTR_read_setting_i_000a7404)" ( (pointer_expression "*(code *)PTR_read_setting_i_000a7404" * (cast_expression "(code *)PTR_read_setting_i_000a7404" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(handle,name,uVar1)" ( identifier , identifier , identifier )))) ;) (expression_statement "conf_set_int(conf,primary,value);" (call_expression "conf_set_int(conf,primary,value)" identifier (argument_list "(conf,primary,value)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00036664(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);\n  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);\n  conf_set_int(param_4,param_5,uVar1);\n  return;\n}\n\n" (function_definition "void FUN_00036664(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);\n  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);\n  conf_set_int(param_4,param_5,uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00036664(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 uVar1;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);\n  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);\n  conf_set_int(param_4,param_5,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);" (assignment_expression "uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3)" identifier = (call_expression "(*(code *)PTR_platform_default_i_000a7400)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_platform_default_i_000a7400)" ( (pointer_expression "*(code *)PTR_platform_default_i_000a7400" * (cast_expression "(code *)PTR_platform_default_i_000a7400" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (expression_statement "uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1)" identifier = (call_expression "(*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1)" (parenthesized_expression "(*(code *)PTR_read_setting_i_000a7404)" ( (pointer_expression "*(code *)PTR_read_setting_i_000a7404" * (cast_expression "(code *)PTR_read_setting_i_000a7404" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,uVar1)" ( identifier , identifier , identifier )))) ;) (expression_statement "conf_set_int(param_4,param_5,uVar1);" (call_expression "conf_set_int(param_4,param_5,uVar1)" identifier (argument_list "(param_4,param_5,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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00036664(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);\n  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);\n  conf_set_int(param_4,param_5,uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00036664(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" (identifier "FUN_00036664") (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 uVar1;\n  \n  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);\n  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);\n  conf_set_int(param_4,param_5,uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);" (assignment_expression "uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_platform_default_i_000a7400)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_platform_default_i_000a7400)" (( "(") (pointer_expression "*(code *)PTR_platform_default_i_000a7400" (* "*") (cast_expression "(code *)PTR_platform_default_i_000a7400" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_platform_default_i_000a7400"))) () ")")) (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1)" (parenthesized_expression "(*(code *)PTR_read_setting_i_000a7404)" (( "(") (pointer_expression "*(code *)PTR_read_setting_i_000a7404" (* "*") (cast_expression "(code *)PTR_read_setting_i_000a7404" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_read_setting_i_000a7404"))) () ")")) (argument_list "(param_1,param_2,uVar1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "conf_set_int(param_4,param_5,uVar1);" (call_expression "conf_set_int(param_4,param_5,uVar1)" (identifier "conf_set_int") (argument_list "(param_4,param_5,uVar1)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *handle,char *name,int def,type_1 *conf,int primary)

{
  type_2 uVar1;
  int value;
  
  uVar1 = (*(type_3 *)PTR_platform_default_i_000a7400)(name,def);
  value = (*(type_3 *)PTR_read_setting_i_000a7404)(handle,name,uVar1);
  var_1(conf,primary,value);
  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)) (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

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

{
  undefined4 uVar1;
  
  uVar1 = (*(code *)PTR_platform_default_i_000a7400)(param_2,param_3);
  uVar1 = (*(code *)PTR_read_setting_i_000a7404)(param_1,param_2,uVar1);
  conf_set_int(param_4,param_5,uVar1);
  return;
}

