
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void logflush(void *handle)

{
  LogContext *ctx;
  
  if ((0 < *(int *)((int)handle + 0x20)) && (*(int *)((int)handle + 4) == 2)) {
                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
                    /* WARNING: Load size is inaccurate */
    (*(code *)PTR_fflush_000b2f20)(*handle);
    return;
  }
  return;
}



void FUN_0001e570(undefined4 *param_1)

{
  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {
                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_fflush_000b2f20)(*param_1);
    return;
  }
  return;
}


lui gp,0xa
addiu gp,gp,-0x4200
addu gp,gp,t9
lw v0,0x20(a0)
blez v0,0x0001e594
_li v0,0x2
lw v1,0x4(a0)
beq v1,v0,0x0001e59c
_lw t9,-0x7450(gp)
jr ra
_nop
jr t9
_lw a0,0x0(a0)
(translation_unit "void FUN_0001e570(undefined4 *param_1)\n\n{\n  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001e570(undefined4 *param_1)\n\n{\n  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001e570(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }\n  return;\n}" { (if_statement "if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }" if (parenthesized_expression "((0 < (int)param_1[8]) && (param_1[1] == 2))" ( (binary_expression "(0 < (int)param_1[8]) && (param_1[1] == 2)" (parenthesized_expression "(0 < (int)param_1[8])" ( (binary_expression "0 < (int)param_1[8]" number_literal < (cast_expression "(int)param_1[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) )) && (parenthesized_expression "(param_1[1] == 2)" ( (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }" { comment comment (expression_statement "(*(code *)PTR_fflush_000b2f20)(*param_1);" (call_expression "(*(code *)PTR_fflush_000b2f20)(*param_1)" (parenthesized_expression "(*(code *)PTR_fflush_000b2f20)" ( (pointer_expression "*(code *)PTR_fflush_000b2f20" * (cast_expression "(code *)PTR_fflush_000b2f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid logflush(void *handle)\n\n{\n  LogContext *ctx;\n  \n  if ((0 < *(int *)((int)handle + 0x20)) && (*(int *)((int)handle + 4) == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n                    /* WARNING: Load size is inaccurate */\n    (*(code *)PTR_fflush_000b2f20)(*handle);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void logflush(void *handle)\n\n{\n  LogContext *ctx;\n  \n  if ((0 < *(int *)((int)handle + 0x20)) && (*(int *)((int)handle + 4) == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n                    /* WARNING: Load size is inaccurate */\n    (*(code *)PTR_fflush_000b2f20)(*handle);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "logflush(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) ))) (compound_statement "{\n  LogContext *ctx;\n  \n  if ((0 < *(int *)((int)handle + 0x20)) && (*(int *)((int)handle + 4) == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n                    /* WARNING: Load size is inaccurate */\n    (*(code *)PTR_fflush_000b2f20)(*handle);\n    return;\n  }\n  return;\n}" { (declaration "LogContext *ctx;" type_identifier (pointer_declarator "*ctx" * identifier) ;) (if_statement "if ((0 < *(int *)((int)handle + 0x20)) && (*(int *)((int)handle + 4) == 2)) {\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n                    /* WARNING: Load size is inaccurate */\n    (*(code *)PTR_fflush_000b2f20)(*handle);\n    return;\n  }" if (parenthesized_expression "((0 < *(int *)((int)handle + 0x20)) && (*(int *)((int)handle + 4) == 2))" ( (binary_expression "(0 < *(int *)((int)handle + 0x20)) && (*(int *)((int)handle + 4) == 2)" (parenthesized_expression "(0 < *(int *)((int)handle + 0x20))" ( (binary_expression "0 < *(int *)((int)handle + 0x20)" number_literal < (pointer_expression "*(int *)((int)handle + 0x20)" * (cast_expression "(int *)((int)handle + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x20)" ( (binary_expression "(int)handle + 0x20" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) && (parenthesized_expression "(*(int *)((int)handle + 4) == 2)" ( (binary_expression "*(int *)((int)handle + 4) == 2" (pointer_expression "*(int *)((int)handle + 4)" * (cast_expression "(int *)((int)handle + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n                    /* WARNING: Load size is inaccurate */\n    (*(code *)PTR_fflush_000b2f20)(*handle);\n    return;\n  }" { comment comment comment (expression_statement "(*(code *)PTR_fflush_000b2f20)(*handle);" (call_expression "(*(code *)PTR_fflush_000b2f20)(*handle)" (parenthesized_expression "(*(code *)PTR_fflush_000b2f20)" ( (pointer_expression "*(code *)PTR_fflush_000b2f20" * (cast_expression "(code *)PTR_fflush_000b2f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*handle)" ( (pointer_expression "*handle" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001e570(undefined4 *param_1)\n\n{\n  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001e570(undefined4 *param_1)\n\n{\n  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001e570(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }\n  return;\n}" { (if_statement "if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }" if (parenthesized_expression "((0 < (int)param_1[8]) && (param_1[1] == 2))" ( (binary_expression "(0 < (int)param_1[8]) && (param_1[1] == 2)" (parenthesized_expression "(0 < (int)param_1[8])" ( (binary_expression "0 < (int)param_1[8]" number_literal < (cast_expression "(int)param_1[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) )) && (parenthesized_expression "(param_1[1] == 2)" ( (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }" { (expression_statement "(*(code *)PTR_fflush_000b2f20)(*param_1);" (call_expression "(*(code *)PTR_fflush_000b2f20)(*param_1)" (parenthesized_expression "(*(code *)PTR_fflush_000b2f20)" ( (pointer_expression "*(code *)PTR_fflush_000b2f20" * (cast_expression "(code *)PTR_fflush_000b2f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0001e570(undefined4 *param_1)\n\n{\n  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001e570(undefined4 *param_1)" (identifier "FUN_0001e570") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }" (if "if") (parenthesized_expression "((0 < (int)param_1[8]) && (param_1[1] == 2))" (( "(") (binary_expression "(0 < (int)param_1[8]) && (param_1[1] == 2)" (parenthesized_expression "(0 < (int)param_1[8])" (( "(") (binary_expression "0 < (int)param_1[8]" (number_literal "0") (< "<") (cast_expression "(int)param_1[8]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")))) () ")")) (&& "&&") (parenthesized_expression "(param_1[1] == 2)" (( "(") (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_fflush_000b2f20)(*param_1);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_fflush_000b2f20)(*param_1);" (call_expression "(*(code *)PTR_fflush_000b2f20)(*param_1)" (parenthesized_expression "(*(code *)PTR_fflush_000b2f20)" (( "(") (pointer_expression "*(code *)PTR_fflush_000b2f20" (* "*") (cast_expression "(code *)PTR_fflush_000b2f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_000b2f20"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(void *handle)

{
  type_1 *ctx;
  
  if ((0 < *(int *)((int)handle + 0x20)) && (*(int *)((int)handle + 4) == 2)) {
                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
                    /* WARNING: Load size is inaccurate */
    (*(type_2 *)PTR_fflush_000b2f20)(*handle);
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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 (pointer_expression argument: (identifier))))) (return_statement))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  if ((0 < (int)param_1[8]) && (param_1[1] == 2)) {
                    /* WARNING: Could not recover jumptable at 0x0001e59c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_fflush_000b2f20)(*param_1);
    return;
  }
  return;
}

