
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void save_cookies(void)

{
  if (*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058) != (cookie_jar *)0x0) {
    cookie_jar_save(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),
                    *(char **)(PTR_opt_000af488 + 0x1e4));
    return;
  }
  return;
}



void save_cookies(void)

{
  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {
    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));
    return;
  }
  return;
}


lui gp,0x8
addiu gp,gp,-0x744c
addu gp,gp,t9
lw v0,-0x7fd8(gp)
lw a0,0x2058(v0)
beq a0,zero,0x0003e8a4
_lw v0,-0x7fa8(gp)
lw t9,-0x7b80(gp)
b 0x000212d8
_lw a1,0x1e4(v0)
jr ra
_nop
(translation_unit "void save_cookies(void)\n\n{\n  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void save_cookies(void)\n\n{\n  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "save_cookies(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}" { (if_statement "if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000af458 + 0x2058) != 0)" ( (binary_expression "*(int *)(PTR_DAT_000af458 + 0x2058) != 0" (pointer_expression "*(int *)(PTR_DAT_000af458 + 0x2058)" * (cast_expression "(int *)(PTR_DAT_000af458 + 0x2058)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000af458 + 0x2058)" ( (binary_expression "PTR_DAT_000af458 + 0x2058" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }" { (expression_statement "cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));" (call_expression "cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4))" identifier (argument_list "(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4))" ( (pointer_expression "*(int *)(PTR_DAT_000af458 + 0x2058)" * (cast_expression "(int *)(PTR_DAT_000af458 + 0x2058)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000af458 + 0x2058)" ( (binary_expression "PTR_DAT_000af458 + 0x2058" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(PTR_opt_000af488 + 0x1e4)" * (cast_expression "(undefined4 *)(PTR_opt_000af488 + 0x1e4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_opt_000af488 + 0x1e4)" ( (binary_expression "PTR_opt_000af488 + 0x1e4" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid save_cookies(void)\n\n{\n  if (*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058) != (cookie_jar *)0x0) {\n    cookie_jar_save(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),\n                    *(char **)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void save_cookies(void)\n\n{\n  if (*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058) != (cookie_jar *)0x0) {\n    cookie_jar_save(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),\n                    *(char **)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "save_cookies(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058) != (cookie_jar *)0x0) {\n    cookie_jar_save(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),\n                    *(char **)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}" { (if_statement "if (*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058) != (cookie_jar *)0x0) {\n    cookie_jar_save(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),\n                    *(char **)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }" if (parenthesized_expression "(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058) != (cookie_jar *)0x0)" ( (binary_expression "*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058) != (cookie_jar *)0x0" (pointer_expression "*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058)" * (cast_expression "(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058)" ( (type_descriptor "cookie_jar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_host_name_addresses_map_000af458 + 0x2058)" ( (binary_expression "PTR_host_name_addresses_map_000af458 + 0x2058" identifier + number_literal) )))) != (cast_expression "(cookie_jar *)0x0" ( (type_descriptor "cookie_jar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cookie_jar_save(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),\n                    *(char **)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }" { (expression_statement "cookie_jar_save(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),\n                    *(char **)(PTR_opt_000af488 + 0x1e4));" (call_expression "cookie_jar_save(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),\n                    *(char **)(PTR_opt_000af488 + 0x1e4))" identifier (argument_list "(*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058),\n                    *(char **)(PTR_opt_000af488 + 0x1e4))" ( (pointer_expression "*(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058)" * (cast_expression "(cookie_jar **)(PTR_host_name_addresses_map_000af458 + 0x2058)" ( (type_descriptor "cookie_jar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_host_name_addresses_map_000af458 + 0x2058)" ( (binary_expression "PTR_host_name_addresses_map_000af458 + 0x2058" identifier + number_literal) )))) , (pointer_expression "*(char **)(PTR_opt_000af488 + 0x1e4)" * (cast_expression "(char **)(PTR_opt_000af488 + 0x1e4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_opt_000af488 + 0x1e4)" ( (binary_expression "PTR_opt_000af488 + 0x1e4" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void save_cookies(void)\n\n{\n  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void save_cookies(void)\n\n{\n  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "save_cookies(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}" { (if_statement "if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000af458 + 0x2058) != 0)" ( (binary_expression "*(int *)(PTR_DAT_000af458 + 0x2058) != 0" (pointer_expression "*(int *)(PTR_DAT_000af458 + 0x2058)" * (cast_expression "(int *)(PTR_DAT_000af458 + 0x2058)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000af458 + 0x2058)" ( (binary_expression "PTR_DAT_000af458 + 0x2058" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }" { (expression_statement "cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));" (call_expression "cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4))" identifier (argument_list "(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4))" ( (pointer_expression "*(int *)(PTR_DAT_000af458 + 0x2058)" * (cast_expression "(int *)(PTR_DAT_000af458 + 0x2058)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000af458 + 0x2058)" ( (binary_expression "PTR_DAT_000af458 + 0x2058" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(PTR_opt_000af488 + 0x1e4)" * (cast_expression "(undefined4 *)(PTR_opt_000af488 + 0x1e4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_opt_000af488 + 0x1e4)" ( (binary_expression "PTR_opt_000af488 + 0x1e4" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void save_cookies(void)\n\n{\n  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "save_cookies(void)" (identifier "save_cookies") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_000af458 + 0x2058) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000af458 + 0x2058) != 0" (pointer_expression "*(int *)(PTR_DAT_000af458 + 0x2058)" (* "*") (cast_expression "(int *)(PTR_DAT_000af458 + 0x2058)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000af458 + 0x2058)" (( "(") (binary_expression "PTR_DAT_000af458 + 0x2058" (identifier "PTR_DAT_000af458") (+ "+") (number_literal "0x2058")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));\n    return;\n  }" ({ "{") (expression_statement "cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));" (call_expression "cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4))" (identifier "cookie_jar_save") (argument_list "(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4))" (( "(") (pointer_expression "*(int *)(PTR_DAT_000af458 + 0x2058)" (* "*") (cast_expression "(int *)(PTR_DAT_000af458 + 0x2058)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000af458 + 0x2058)" (( "(") (binary_expression "PTR_DAT_000af458 + 0x2058" (identifier "PTR_DAT_000af458") (+ "+") (number_literal "0x2058")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(PTR_opt_000af488 + 0x1e4)" (* "*") (cast_expression "(undefined4 *)(PTR_opt_000af488 + 0x1e4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_opt_000af488 + 0x1e4)" (( "(") (binary_expression "PTR_opt_000af488 + 0x1e4" (identifier "PTR_opt_000af488") (+ "+") (number_literal "0x1e4")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  if (*(type_1 **)(var_1 + 0x2058) != (type_1 *)0x0) {
    var_2(*(type_1 **)(var_1 + 0x2058),
                    *(char **)(var_3 + 0x1e4));
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement))) (return_statement))))

void MASKED(void)

{
  if (*(int *)(PTR_DAT_000af458 + 0x2058) != 0) {
    cookie_jar_save(*(int *)(PTR_DAT_000af458 + 0x2058),*(undefined4 *)(PTR_opt_000af488 + 0x1e4));
    return;
  }
  return;
}

