
int * __cxa_current_exception_type(void)

{
  uint *puVar1;
  int *piVar2;
  
  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();
  piVar2 = (int *)*piVar2;
  if ((piVar2 != (int *)0x0) &&
     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {
    return (int *)piVar2[-0x12];
  }
  return piVar2;
}



int * __cxa_current_exception_type(void)

{
  uint *puVar1;
  int *piVar2;
  
  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();
  piVar2 = (int *)*piVar2;
  if ((piVar2 != (int *)0x0) &&
     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {
    return (int *)piVar2[-0x12];
  }
  return piVar2;
}


lui gp,0x14
addiu gp,gp,-0x3c50
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x416c(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_nop
lw v0,0x0(v0)
beq v0,zero,0x0038ced4
_lw ra,0x1c(sp)
lw v1,0x34(v0)
andi v1,v1,0x1
bne v1,zero,0x0038cedc
_lw v0,0x0(v0)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw v0,-0x48(v0)
jr ra
_addiu sp,sp,0x20
(translation_unit "int * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}\n\n" (function_definition "int * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}" primitive_type (pointer_declarator "* __cxa_current_exception_type(void)" * (function_declarator "__cxa_current_exception_type(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)()" identifier = (cast_expression "(int *)(*(code *)PTR___cxa_get_globals_004c50d4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___cxa_get_globals_004c50d4)()" (parenthesized_expression "(*(code *)PTR___cxa_get_globals_004c50d4)" ( (pointer_expression "*(code *)PTR___cxa_get_globals_004c50d4" * (cast_expression "(code *)PTR___cxa_get_globals_004c50d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }" if (parenthesized_expression "((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0))" ( (binary_expression "(piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" ( (comma_expression "puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "puVar1 = (uint *)(piVar2 + 0xd)" identifier = (cast_expression "(uint *)(piVar2 + 0xd)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 0xd)" ( (binary_expression "piVar2 + 0xd" identifier + number_literal) )))) , (comma_expression "piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "(*puVar1 & 1) != 0" (parenthesized_expression "(*puVar1 & 1)" ( (binary_expression "*puVar1 & 1" (pointer_expression "*puVar1" * identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n    return (int *)piVar2[-0x12];\n  }" { (return_statement "return (int *)piVar2[-0x12];" return (cast_expression "(int *)piVar2[-0x12]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[-0x12]" identifier [ number_literal ])) ;) })) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "int * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}\n\n" (function_definition "int * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}" primitive_type (pointer_declarator "* __cxa_current_exception_type(void)" * (function_declarator "__cxa_current_exception_type(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)()" identifier = (cast_expression "(int *)(*(code *)PTR___cxa_get_globals_004c50d4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___cxa_get_globals_004c50d4)()" (parenthesized_expression "(*(code *)PTR___cxa_get_globals_004c50d4)" ( (pointer_expression "*(code *)PTR___cxa_get_globals_004c50d4" * (cast_expression "(code *)PTR___cxa_get_globals_004c50d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }" if (parenthesized_expression "((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0))" ( (binary_expression "(piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" ( (comma_expression "puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "puVar1 = (uint *)(piVar2 + 0xd)" identifier = (cast_expression "(uint *)(piVar2 + 0xd)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 0xd)" ( (binary_expression "piVar2 + 0xd" identifier + number_literal) )))) , (comma_expression "piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "(*puVar1 & 1) != 0" (parenthesized_expression "(*puVar1 & 1)" ( (binary_expression "*puVar1 & 1" (pointer_expression "*puVar1" * identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n    return (int *)piVar2[-0x12];\n  }" { (return_statement "return (int *)piVar2[-0x12];" return (cast_expression "(int *)piVar2[-0x12]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[-0x12]" identifier [ number_literal ])) ;) })) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "int * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}\n\n" (function_definition "int * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}" primitive_type (pointer_declarator "* __cxa_current_exception_type(void)" * (function_declarator "__cxa_current_exception_type(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)()" identifier = (cast_expression "(int *)(*(code *)PTR___cxa_get_globals_004c50d4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___cxa_get_globals_004c50d4)()" (parenthesized_expression "(*(code *)PTR___cxa_get_globals_004c50d4)" ( (pointer_expression "*(code *)PTR___cxa_get_globals_004c50d4" * (cast_expression "(code *)PTR___cxa_get_globals_004c50d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }" if (parenthesized_expression "((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0))" ( (binary_expression "(piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" ( (comma_expression "puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "puVar1 = (uint *)(piVar2 + 0xd)" identifier = (cast_expression "(uint *)(piVar2 + 0xd)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 0xd)" ( (binary_expression "piVar2 + 0xd" identifier + number_literal) )))) , (comma_expression "piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "(*puVar1 & 1) != 0" (parenthesized_expression "(*puVar1 & 1)" ( (binary_expression "*puVar1 & 1" (pointer_expression "*puVar1" * identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n    return (int *)piVar2[-0x12];\n  }" { (return_statement "return (int *)piVar2[-0x12];" return (cast_expression "(int *)piVar2[-0x12]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[-0x12]" identifier [ number_literal ])) ;) })) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT))) ))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ;) })) (return_statement return IDENT ;) })))
(function_definition "int * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}" (primitive_type "int") (pointer_declarator "* __cxa_current_exception_type(void)" (* "*") (function_declarator "__cxa_current_exception_type(void)" (identifier "__cxa_current_exception_type") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }\n  return piVar2;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)()" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR___cxa_get_globals_004c50d4)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___cxa_get_globals_004c50d4)()" (parenthesized_expression "(*(code *)PTR___cxa_get_globals_004c50d4)" (( "(") (pointer_expression "*(code *)PTR___cxa_get_globals_004c50d4" (* "*") (cast_expression "(code *)PTR___cxa_get_globals_004c50d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___cxa_get_globals_004c50d4"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (if_statement "if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    return (int *)piVar2[-0x12];\n  }" (if "if") (parenthesized_expression "((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0))" (( "(") (binary_expression "(piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (( "(") (comma_expression "puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "puVar1 = (uint *)(piVar2 + 0xd)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(piVar2 + 0xd)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 0xd)" (( "(") (binary_expression "piVar2 + 0xd" (identifier "piVar2") (+ "+") (number_literal "0xd")) () ")")))) (, ",") (comma_expression "piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (, ",") (binary_expression "(*puVar1 & 1) != 0" (parenthesized_expression "(*puVar1 & 1)" (( "(") (binary_expression "*puVar1 & 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n    return (int *)piVar2[-0x12];\n  }" ({ "{") (return_statement "return (int *)piVar2[-0x12];" (return "return") (cast_expression "(int *)piVar2[-0x12]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[-0x12]" (identifier "piVar2") ([ "[") (number_literal "-0x12") (] "]"))) (; ";")) (} "}"))) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))))))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (return_statement (identifier)))))

int * MASKED(void)

{
  uint *puVar1;
  int *piVar2;
  
  piVar2 = (int *)(*(code *)PTR___cxa_get_globals_004c50d4)();
  piVar2 = (int *)*piVar2;
  if ((piVar2 != (int *)0x0) &&
     (puVar1 = (uint *)(piVar2 + 0xd), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {
    return (int *)piVar2[-0x12];
  }
  return piVar2;
}

