
/* stdio_sync_filebuf<wchar_t, std::char_traits<wchar_t> >::overflow(unsigned int) */

int __thiscall
stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>>::overflow
          (stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> *this,uint param_1)

{
  int iVar1;
  
  if (param_1 != 0xffffffff) {
                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)PTR_putwc_00436894)(param_1,*(undefined4 *)(this + 0x20));
    return iVar1;
  }
  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(this + 0x20));
  return -(uint)(iVar1 != 0);
}



int FUN_002f961c(int param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != -1) {
                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));
    return iVar1;
  }
  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));
  return -(uint)(iVar1 != 0);
}


lui gp,0x14
addiu gp,gp,0xbb4
addu gp,gp,t9
addiu sp,sp,-0x20
lw v0,0x20(a0)
li v1,-0x1
sw gp,0x10(sp)
sw ra,0x1c(sp)
beq a1,v1,0x002f9658
_lw ra,0x1c(sp)
addiu sp,sp,0x20
lw t9,-0x393c(gp)
or a0,a1,zero
jr t9
_or a1,v0,zero
lw t9,-0x39f8(gp)
jalr t9
_or a0,v0,zero
lw ra,0x1c(sp)
sltu v0,zero,v0
subu v0,zero,v0
jr ra
_addiu sp,sp,0x20
(translation_unit "int FUN_002f961c(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != -1) {\n                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));\n  return -(uint)(iVar1 != 0);\n}\n\n" (function_definition "int FUN_002f961c(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != -1) {\n                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));\n  return -(uint)(iVar1 != 0);\n}" primitive_type (function_declarator "FUN_002f961c(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != -1) {\n                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));\n  return -(uint)(iVar1 != 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 != -1) {\n                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }" if (parenthesized_expression "(param_2 != -1)" ( (binary_expression "param_2 != -1" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));" (assignment_expression "iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20))" identifier = (call_expression "(*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20))" (parenthesized_expression "(*(code *)PTR_putwc_00436894)" ( (pointer_expression "*(code *)PTR_putwc_00436894" * (cast_expression "(code *)PTR_putwc_00436894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,*(undefined4 *)(param_1 + 0x20))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));" (assignment_expression "iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20))" identifier = (call_expression "(*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20))" (parenthesized_expression "(*(code *)PTR_fflush_004367d8)" ( (pointer_expression "*(code *)PTR_fflush_004367d8" * (cast_expression "(code *)PTR_fflush_004367d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x20))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) )))) ;) (return_statement "return -(uint)(iVar1 != 0);" return (unary_expression "-(uint)(iVar1 != 0)" - (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )))) ;) })))
(translation_unit "/* stdio_sync_filebuf<wchar_t, std::char_traits<wchar_t> >::overflow(unsigned int) */\n\nint __thiscall\nstdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>>::overflow\n          (stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> *this,uint param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 != 0xffffffff) {\n                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_putwc_00436894)(param_1,*(undefined4 *)(this + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(this + 0x20));\n  return -(uint)(iVar1 != 0);\n}\n\n" comment (declaration "int __thiscall\nstdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>>::overflow\n          (stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> *this,uint param_1)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) identifier (ERROR "<wchar_t" < identifier) , (ERROR "std::char_traits<wchar_t>>::overflow\n          (stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> *this,uint param_1)\n\n{\n  int" identifier : : identifier < identifier >> : : (function_declarator "overflow\n          (stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> *this,uint param_1)" identifier (parameter_list "(stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>> *this,uint param_1)" ( (parameter_declaration "stdio_sync_filebuf<wchar_t" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "std::char_traits<wchar_t>> *this" type_identifier (ERROR "::char_traits<wchar_t>>" : : identifier < identifier >>) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) { primitive_type) identifier ;) (if_statement "if (param_1 != 0xffffffff) {\n                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_putwc_00436894)(param_1,*(undefined4 *)(this + 0x20));\n    return iVar1;\n  }" if (parenthesized_expression "(param_1 != 0xffffffff)" ( (binary_expression "param_1 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_putwc_00436894)(param_1,*(undefined4 *)(this + 0x20));\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*(code *)PTR_putwc_00436894)(param_1,*(undefined4 *)(this + 0x20));" (assignment_expression "iVar1 = (*(code *)PTR_putwc_00436894)(param_1,*(undefined4 *)(this + 0x20))" identifier = (call_expression "(*(code *)PTR_putwc_00436894)(param_1,*(undefined4 *)(this + 0x20))" (parenthesized_expression "(*(code *)PTR_putwc_00436894)" ( (pointer_expression "*(code *)PTR_putwc_00436894" * (cast_expression "(code *)PTR_putwc_00436894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,*(undefined4 *)(this + 0x20))" ( identifier , (pointer_expression "*(undefined4 *)(this + 0x20)" * (cast_expression "(undefined4 *)(this + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(this + 0x20));" (assignment_expression "iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(this + 0x20))" identifier = (call_expression "(*(code *)PTR_fflush_004367d8)(*(undefined4 *)(this + 0x20))" (parenthesized_expression "(*(code *)PTR_fflush_004367d8)" ( (pointer_expression "*(code *)PTR_fflush_004367d8" * (cast_expression "(code *)PTR_fflush_004367d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(this + 0x20))" ( (pointer_expression "*(undefined4 *)(this + 0x20)" * (cast_expression "(undefined4 *)(this + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) )))) ;) (return_statement "return -(uint)(iVar1 != 0);" return (unary_expression "-(uint)(iVar1 != 0)" - (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )))) ;) (ERROR "}" }))
(translation_unit "int FUN_002f961c(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != -1) {\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));\n  return -(uint)(iVar1 != 0);\n}\n\n" (function_definition "int FUN_002f961c(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != -1) {\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));\n  return -(uint)(iVar1 != 0);\n}" primitive_type (function_declarator "FUN_002f961c(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != -1) {\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));\n  return -(uint)(iVar1 != 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 != -1) {\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }" if (parenthesized_expression "(param_2 != -1)" ( (binary_expression "param_2 != -1" identifier != number_literal) )) (compound_statement "{\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));" (assignment_expression "iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20))" identifier = (call_expression "(*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20))" (parenthesized_expression "(*(code *)PTR_putwc_00436894)" ( (pointer_expression "*(code *)PTR_putwc_00436894" * (cast_expression "(code *)PTR_putwc_00436894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,*(undefined4 *)(param_1 + 0x20))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));" (assignment_expression "iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20))" identifier = (call_expression "(*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20))" (parenthesized_expression "(*(code *)PTR_fflush_004367d8)" ( (pointer_expression "*(code *)PTR_fflush_004367d8" * (cast_expression "(code *)PTR_fflush_004367d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x20))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) )))) ;) (return_statement "return -(uint)(iVar1 != 0);" return (unary_expression "-(uint)(iVar1 != 0)" - (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) })))
(function_definition "int FUN_002f961c(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != -1) {\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));\n  return -(uint)(iVar1 != 0);\n}" (primitive_type "int") (function_declarator "FUN_002f961c(int param_1,int param_2)" (identifier "FUN_002f961c") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != -1) {\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }\n  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));\n  return -(uint)(iVar1 != 0);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_2 != -1) {\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(param_2 != -1)" (( "(") (binary_expression "param_2 != -1" (identifier "param_2") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n                    \n                    \n    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));" (assignment_expression "iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20))" (parenthesized_expression "(*(code *)PTR_putwc_00436894)" (( "(") (pointer_expression "*(code *)PTR_putwc_00436894" (* "*") (cast_expression "(code *)PTR_putwc_00436894" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putwc_00436894"))) () ")")) (argument_list "(param_2,*(undefined4 *)(param_1 + 0x20))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));" (assignment_expression "iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20))" (parenthesized_expression "(*(code *)PTR_fflush_004367d8)" (( "(") (pointer_expression "*(code *)PTR_fflush_004367d8" (* "*") (cast_expression "(code *)PTR_fflush_004367d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_004367d8"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x20))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")")))) (; ";")) (return_statement "return -(uint)(iVar1 != 0);" (return "return") (unary_expression "-(uint)(iVar1 != 0)" (- "-") (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (identifier) (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 (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 (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 (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))))

int MASKED(int param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != -1) {
                    /* WARNING: Could not recover jumptable at 0x002f9650. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)PTR_putwc_00436894)(param_2,*(undefined4 *)(param_1 + 0x20));
    return iVar1;
  }
  iVar1 = (*(code *)PTR_fflush_004367d8)(*(undefined4 *)(param_1 + 0x20));
  return -(uint)(iVar1 != 0);
}

