
char * GetEnvironmentValue(char *name)

{
  int iVar1;
  char *pcVar2;
  
  iVar1 = (*(code *)PTR_getenv_003a9780)();
  if (iVar1 != 0) {
                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    pcVar2 = (char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1);
    return pcVar2;
  }
  return (char *)0x0;
}



void GetEnvironmentValue(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_getenv_003a9780)();
  if (iVar1 != 0) {
                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_ConstantString_003a90b4)(iVar1);
    return;
  }
  return;
}


lui gp,0x1f
addiu gp,gp,0x2a5c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7130(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_nop
beq v0,zero,0x001bde94
_lw gp,0x10(sp)
lw ra,0x1c(sp)
addiu sp,sp,0x20
lw t9,-0x77fc(gp)
jr t9
_or a0,v0,zero
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void GetEnvironmentValue(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void GetEnvironmentValue(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "GetEnvironmentValue(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_getenv_003a9780)();" (assignment_expression "iVar1 = (*(code *)PTR_getenv_003a9780)()" identifier = (call_expression "(*(code *)PTR_getenv_003a9780)()" (parenthesized_expression "(*(code *)PTR_getenv_003a9780)" ( (pointer_expression "*(code *)PTR_getenv_003a9780" * (cast_expression "(code *)PTR_getenv_003a9780" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }" { comment comment (expression_statement "(*(code *)PTR_ConstantString_003a90b4)(iVar1);" (call_expression "(*(code *)PTR_ConstantString_003a90b4)(iVar1)" (parenthesized_expression "(*(code *)PTR_ConstantString_003a90b4)" ( (pointer_expression "*(code *)PTR_ConstantString_003a90b4" * (cast_expression "(code *)PTR_ConstantString_003a90b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "char * GetEnvironmentValue(char *name)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return pcVar2;\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * GetEnvironmentValue(char *name)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return pcVar2;\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* GetEnvironmentValue(char *name)" * (function_declarator "GetEnvironmentValue(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return pcVar2;\n  }\n  return (char *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_getenv_003a9780)();" (assignment_expression "iVar1 = (*(code *)PTR_getenv_003a9780)()" identifier = (call_expression "(*(code *)PTR_getenv_003a9780)()" (parenthesized_expression "(*(code *)PTR_getenv_003a9780)" ( (pointer_expression "*(code *)PTR_getenv_003a9780" * (cast_expression "(code *)PTR_getenv_003a9780" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return pcVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar2 = (char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return pcVar2;\n  }" { comment comment (expression_statement "pcVar2 = (char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1)" identifier = (cast_expression "(char *)(*(code *)PTR_ConstantString_003a90b4)(iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ConstantString_003a90b4)(iVar1)" (parenthesized_expression "(*(code *)PTR_ConstantString_003a90b4)" ( (pointer_expression "*(code *)PTR_ConstantString_003a90b4" * (cast_expression "(code *)PTR_ConstantString_003a90b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))))) ;) (return_statement "return pcVar2;" return identifier ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "void GetEnvironmentValue(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void GetEnvironmentValue(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "GetEnvironmentValue(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_getenv_003a9780)();" (assignment_expression "iVar1 = (*(code *)PTR_getenv_003a9780)()" identifier = (call_expression "(*(code *)PTR_getenv_003a9780)()" (parenthesized_expression "(*(code *)PTR_getenv_003a9780)" ( (pointer_expression "*(code *)PTR_getenv_003a9780" * (cast_expression "(code *)PTR_getenv_003a9780" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }" { (expression_statement "(*(code *)PTR_ConstantString_003a90b4)(iVar1);" (call_expression "(*(code *)PTR_ConstantString_003a90b4)(iVar1)" (parenthesized_expression "(*(code *)PTR_ConstantString_003a90b4)" ( (pointer_expression "*(code *)PTR_ConstantString_003a90b4" * (cast_expression "(code *)PTR_ConstantString_003a90b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (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 ( )))) ;) (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 ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void GetEnvironmentValue(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "GetEnvironmentValue(void)" (identifier "GetEnvironmentValue") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_getenv_003a9780)();\n  if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_getenv_003a9780)();" (assignment_expression "iVar1 = (*(code *)PTR_getenv_003a9780)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_getenv_003a9780)()" (parenthesized_expression "(*(code *)PTR_getenv_003a9780)" (( "(") (pointer_expression "*(code *)PTR_getenv_003a9780" (* "*") (cast_expression "(code *)PTR_getenv_003a9780" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_003a9780"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_ConstantString_003a90b4)(iVar1);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_ConstantString_003a90b4)(iVar1);" (call_expression "(*(code *)PTR_ConstantString_003a90b4)(iVar1)" (parenthesized_expression "(*(code *)PTR_ConstantString_003a90b4)" (( "(") (pointer_expression "*(code *)PTR_ConstantString_003a90b4" (* "*") (cast_expression "(code *)PTR_ConstantString_003a90b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ConstantString_003a90b4"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

char * function_1(char *name)

{
  int var_1;
  char *pcVar2;
  
  var_1 = (*(type_1 *)PTR_getenv_003a9780)();
  if (var_1 != 0) {
                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    pcVar2 = (char *)(*(type_1 *)PTR_ConstantString_003a90b4)(var_1);
    return pcVar2;
  }
  return (char *)0x0;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) 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)))) (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 (identifier)))) (return_statement))) (return_statement))))

void MASKED(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_getenv_003a9780)();
  if (iVar1 != 0) {
                    /* WARNING: Could not recover jumptable at 0x001bde8c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_ConstantString_003a90b4)(iVar1);
    return;
  }
  return;
}

