
int set_cert_ex(ulong *flags,char *arg)

{
  int iVar1;
  
  if (arg != (char *)0x0) {
    iVar1 = set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc));
    return iVar1;
  }
  return 0;
}



undefined4 set_cert_ex(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_2 != 0) {
    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);
    return uVar1;
  }
  return 0;
}


lui gp,0x5
addiu gp,gp,-0x1ed4
addu gp,gp,t9
beq a1,zero,0x00079258
_lw a2,-0x7fcc(gp)
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x7e28
b 0x000781d8
_addiu a2,a2,0x6abc
jr ra
_or v0,zero,zero
(translation_unit "undefined4 set_cert_ex(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 set_cert_ex(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "set_cert_ex(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);" (assignment_expression "uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" identifier = (call_expression "FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" identifier (argument_list "(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" ( identifier , identifier , (binary_expression "PTR_DAT_000bf394 + 0x6abc" identifier + number_literal) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int set_cert_ex(ulong *flags,char *arg)\n\n{\n  int iVar1;\n  \n  if (arg != (char *)0x0) {\n    iVar1 = set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc));\n    return iVar1;\n  }\n  return 0;\n}\n\n" (function_definition "int set_cert_ex(ulong *flags,char *arg)\n\n{\n  int iVar1;\n  \n  if (arg != (char *)0x0) {\n    iVar1 = set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc));\n    return iVar1;\n  }\n  return 0;\n}" primitive_type (function_declarator "set_cert_ex(ulong *flags,char *arg)" identifier (parameter_list "(ulong *flags,char *arg)" ( (parameter_declaration "ulong *flags" type_identifier (pointer_declarator "*flags" * identifier)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (arg != (char *)0x0) {\n    iVar1 = set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc));\n    return iVar1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (arg != (char *)0x0) {\n    iVar1 = set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc));\n    return iVar1;\n  }" if (parenthesized_expression "(arg != (char *)0x0)" ( (binary_expression "arg != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc));\n    return iVar1;\n  }" { (expression_statement "iVar1 = set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc));" (assignment_expression "iVar1 = set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc))" identifier = (call_expression "set_multi_opts(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc))" identifier (argument_list "(flags,arg,(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc))" ( identifier , identifier , (cast_expression "(NAME_EX_TBL *)(PTR_DAT_000bf394 + 0x6abc)" ( (type_descriptor "NAME_EX_TBL *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000bf394 + 0x6abc)" ( (binary_expression "PTR_DAT_000bf394 + 0x6abc" identifier + number_literal) ))) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 set_cert_ex(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 set_cert_ex(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "set_cert_ex(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);" (assignment_expression "uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" identifier = (call_expression "FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" identifier (argument_list "(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" ( identifier , identifier , (binary_expression "PTR_DAT_000bf394 + 0x6abc" identifier + number_literal) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 set_cert_ex(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "set_cert_ex(undefined4 param_1,int param_2)" (identifier "set_cert_ex") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);" (assignment_expression "uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" (identifier "uVar1") (= "=") (call_expression "FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" (identifier "FUN_000781d8") (argument_list "(param_1,param_2,PTR_DAT_000bf394 + 0x6abc)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "PTR_DAT_000bf394 + 0x6abc" (identifier "PTR_DAT_000bf394") (+ "+") (number_literal "0x6abc")) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_2 != 0) {
    uVar1 = FUN_000781d8(param_1,param_2,PTR_DAT_000bf394 + 0x6abc);
    return uVar1;
  }
  return 0;
}

