
char * get_remote_username(Conf *conf)

{
  char *s;
  
  s = conf_get_str(conf,0x34);
  if (*s == '\0') {
                    /* WARNING: Subroutine does not return */
    conf_get_int(conf,0x35);
  }
                    /* WARNING: Subroutine does not return */
  dupstr(s);
}



void FUN_000269a0(undefined4 param_1)

{
  char *pcVar1;
  int iVar2;
  
  pcVar1 = (char *)conf_get_str(param_1,0x34);
  if (*pcVar1 != '\0') {
    dupstr(pcVar1);
    return;
  }
  iVar2 = conf_get_int(param_1,0x35);
  if (iVar2 != 0) {
                    /* WARNING: Could not recover jumptable at 0x000269fc. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_get_username_0007915c)();
    return;
  }
  return;
}


lui gp,0x6
addiu gp,gp,-0x5930
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7e10(gp)
li a1,0x34
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
bal 0x0001a920
_or s0,a0,zero
lb v1,0x0(v0)
bne v1,zero,0x00026a14
_lw gp,0x10(sp)
lw t9,-0x7e5c(gp)
li a1,0x35
bal 0x0001a6f0
_or a0,s0,zero
beq v0,zero,0x00026a04
_lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7f14(gp)
jr t9
_addiu sp,sp,0x20
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or a0,v0,zero
lw s0,0x18(sp)
lw t9,-0x7f74(gp)
b 0x0001cdac
_addiu sp,sp,0x20
(translation_unit "void FUN_000269a0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  pcVar1 = (char *)conf_get_str(param_1,0x34);\n  if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }\n  iVar2 = conf_get_int(param_1,0x35);\n  if (iVar2 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x000269fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000269a0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  pcVar1 = (char *)conf_get_str(param_1,0x34);\n  if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }\n  iVar2 = conf_get_int(param_1,0x35);\n  if (iVar2 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x000269fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000269a0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  \n  pcVar1 = (char *)conf_get_str(param_1,0x34);\n  if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }\n  iVar2 = conf_get_int(param_1,0x35);\n  if (iVar2 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x000269fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "pcVar1 = (char *)conf_get_str(param_1,0x34);" (assignment_expression "pcVar1 = (char *)conf_get_str(param_1,0x34)" identifier = (cast_expression "(char *)conf_get_str(param_1,0x34)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "conf_get_str(param_1,0x34)" identifier (argument_list "(param_1,0x34)" ( identifier , number_literal ))))) ;) (if_statement "if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }" if (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    dupstr(pcVar1);\n    return;\n  }" { (expression_statement "dupstr(pcVar1);" (call_expression "dupstr(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = conf_get_int(param_1,0x35);" (assignment_expression "iVar2 = conf_get_int(param_1,0x35)" identifier = (call_expression "conf_get_int(param_1,0x35)" identifier (argument_list "(param_1,0x35)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x000269fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000269fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }" { comment comment (expression_statement "(*(code *)PTR_get_username_0007915c)();" (call_expression "(*(code *)PTR_get_username_0007915c)()" (parenthesized_expression "(*(code *)PTR_get_username_0007915c)" ( (pointer_expression "*(code *)PTR_get_username_0007915c" * (cast_expression "(code *)PTR_get_username_0007915c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "char * get_remote_username(Conf *conf)\n\n{\n  char *s;\n  \n  s = conf_get_str(conf,0x34);\n  if (*s == '\0') {\n                    /* WARNING: Subroutine does not return */\n    conf_get_int(conf,0x35);\n  }\n                    /* WARNING: Subroutine does not return */\n  dupstr(s);\n}\n\n" (function_definition "char * get_remote_username(Conf *conf)\n\n{\n  char *s;\n  \n  s = conf_get_str(conf,0x34);\n  if (*s == '\0') {\n                    /* WARNING: Subroutine does not return */\n    conf_get_int(conf,0x35);\n  }\n                    /* WARNING: Subroutine does not return */\n  dupstr(s);\n}" primitive_type (pointer_declarator "* get_remote_username(Conf *conf)" * (function_declarator "get_remote_username(Conf *conf)" identifier (parameter_list "(Conf *conf)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) )))) (compound_statement "{\n  char *s;\n  \n  s = conf_get_str(conf,0x34);\n  if (*s == '\0') {\n                    /* WARNING: Subroutine does not return */\n    conf_get_int(conf,0x35);\n  }\n                    /* WARNING: Subroutine does not return */\n  dupstr(s);\n}" { (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (expression_statement "s = conf_get_str(conf,0x34);" (assignment_expression "s = conf_get_str(conf,0x34)" identifier = (call_expression "conf_get_str(conf,0x34)" identifier (argument_list "(conf,0x34)" ( identifier , number_literal )))) ;) (if_statement "if (*s == '\0') {\n                    /* WARNING: Subroutine does not return */\n    conf_get_int(conf,0x35);\n  }" if (parenthesized_expression "(*s == '\0')" ( (binary_expression "*s == '\0'" (pointer_expression "*s" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    conf_get_int(conf,0x35);\n  }" { comment (expression_statement "conf_get_int(conf,0x35);" (call_expression "conf_get_int(conf,0x35)" identifier (argument_list "(conf,0x35)" ( identifier , number_literal ))) ;) })) comment (expression_statement "dupstr(s);" (call_expression "dupstr(s)" identifier (argument_list "(s)" ( identifier ))) ;) })))
(translation_unit "void FUN_000269a0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  pcVar1 = (char *)conf_get_str(param_1,0x34);\n  if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }\n  iVar2 = conf_get_int(param_1,0x35);\n  if (iVar2 != 0) {\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000269a0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  pcVar1 = (char *)conf_get_str(param_1,0x34);\n  if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }\n  iVar2 = conf_get_int(param_1,0x35);\n  if (iVar2 != 0) {\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000269a0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  \n  pcVar1 = (char *)conf_get_str(param_1,0x34);\n  if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }\n  iVar2 = conf_get_int(param_1,0x35);\n  if (iVar2 != 0) {\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "pcVar1 = (char *)conf_get_str(param_1,0x34);" (assignment_expression "pcVar1 = (char *)conf_get_str(param_1,0x34)" identifier = (cast_expression "(char *)conf_get_str(param_1,0x34)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "conf_get_str(param_1,0x34)" identifier (argument_list "(param_1,0x34)" ( identifier , number_literal ))))) ;) (if_statement "if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }" if (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    dupstr(pcVar1);\n    return;\n  }" { (expression_statement "dupstr(pcVar1);" (call_expression "dupstr(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = conf_get_int(param_1,0x35);" (assignment_expression "iVar2 = conf_get_int(param_1,0x35)" identifier = (call_expression "conf_get_int(param_1,0x35)" identifier (argument_list "(param_1,0x35)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }" { (expression_statement "(*(code *)PTR_get_username_0007915c)();" (call_expression "(*(code *)PTR_get_username_0007915c)()" (parenthesized_expression "(*(code *)PTR_get_username_0007915c)" ( (pointer_expression "*(code *)PTR_get_username_0007915c" * (cast_expression "(code *)PTR_get_username_0007915c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_000269a0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  pcVar1 = (char *)conf_get_str(param_1,0x34);\n  if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }\n  iVar2 = conf_get_int(param_1,0x35);\n  if (iVar2 != 0) {\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000269a0(undefined4 param_1)" (identifier "FUN_000269a0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  \n  pcVar1 = (char *)conf_get_str(param_1,0x34);\n  if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }\n  iVar2 = conf_get_int(param_1,0x35);\n  if (iVar2 != 0) {\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "pcVar1 = (char *)conf_get_str(param_1,0x34);" (assignment_expression "pcVar1 = (char *)conf_get_str(param_1,0x34)" (identifier "pcVar1") (= "=") (cast_expression "(char *)conf_get_str(param_1,0x34)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "conf_get_str(param_1,0x34)" (identifier "conf_get_str") (argument_list "(param_1,0x34)" (( "(") (identifier "param_1") (, ",") (number_literal "0x34") () ")"))))) (; ";")) (if_statement "if (*pcVar1 != '\0') {\n    dupstr(pcVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(*pcVar1 != '\0')" (( "(") (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    dupstr(pcVar1);\n    return;\n  }" ({ "{") (expression_statement "dupstr(pcVar1);" (call_expression "dupstr(pcVar1)" (identifier "dupstr") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = conf_get_int(param_1,0x35);" (assignment_expression "iVar2 = conf_get_int(param_1,0x35)" (identifier "iVar2") (= "=") (call_expression "conf_get_int(param_1,0x35)" (identifier "conf_get_int") (argument_list "(param_1,0x35)" (( "(") (identifier "param_1") (, ",") (number_literal "0x35") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_get_username_0007915c)();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_get_username_0007915c)();" (call_expression "(*(code *)PTR_get_username_0007915c)()" (parenthesized_expression "(*(code *)PTR_get_username_0007915c)" (( "(") (pointer_expression "*(code *)PTR_get_username_0007915c" (* "*") (cast_expression "(code *)PTR_get_username_0007915c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_get_username_0007915c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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))) (return_statement))) (return_statement))))

void MASKED(undefined4 param_1)

{
  char *pcVar1;
  int iVar2;
  
  pcVar1 = (char *)conf_get_str(param_1,0x34);
  if (*pcVar1 != '\0') {
    dupstr(pcVar1);
    return;
  }
  iVar2 = conf_get_int(param_1,0x35);
  if (iVar2 != 0) {
                    /* WARNING: Could not recover jumptable at 0x000269fc. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_get_username_0007915c)();
    return;
  }
  return;
}

