
void print_unicode_char(FILE *stream,uint code,int exit_on_error)

{
  _func_long_uint_char_ptr_void_ptr *failure;
  
  if (exit_on_error == 0) {
    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214);
  }
  else {
    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290);
  }
  unicode_to_mb(code,(_func_long_char_ptr_size_t_void_ptr *)PTR_fwrite_success_callback_0002a18c,
                failure,stream);
  return;
}



void print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)

{
  undefined *puVar1;
  
  if (param_3 == 0) {
    puVar1 = PTR_0002a0f4 + 0x6214;
  }
  else {
    puVar1 = PTR_0002a0f4 + 0x6290;
  }
  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);
  return;
}


lui gp,0x2
addiu gp,gp,-0x45c4
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
bne a2,zero,0x000166d4
_or v0,a1,zero
lw a2,-0x7fcc(gp)
addiu a2,a2,0x6214
or a3,a0,zero
lw a1,-0x7f34(gp)
or a0,v0,zero
lw t9,-0x7f30(gp)
bal 0x00016388
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw a2,-0x7fcc(gp)
b 0x000166ac
_addiu a2,a2,0x6290
(translation_unit "void print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }\n  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);\n  return;\n}\n\n" (function_definition "void print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }\n  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);\n  return;\n}" primitive_type (function_declarator "print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }\n  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }" { (expression_statement "puVar1 = PTR_0002a0f4 + 0x6214;" (assignment_expression "puVar1 = PTR_0002a0f4 + 0x6214" identifier = (binary_expression "PTR_0002a0f4 + 0x6214" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" else (compound_statement "{\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" { (expression_statement "puVar1 = PTR_0002a0f4 + 0x6290;" (assignment_expression "puVar1 = PTR_0002a0f4 + 0x6290" identifier = (binary_expression "PTR_0002a0f4 + 0x6290" identifier + number_literal)) ;) }))) (expression_statement "unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);" (call_expression "unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1)" identifier (argument_list "(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void print_unicode_char(FILE *stream,uint code,int exit_on_error)\n\n{\n  _func_long_uint_char_ptr_void_ptr *failure;\n  \n  if (exit_on_error == 0) {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214);\n  }\n  else {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290);\n  }\n  unicode_to_mb(code,(_func_long_char_ptr_size_t_void_ptr *)PTR_fwrite_success_callback_0002a18c,\n                failure,stream);\n  return;\n}\n\n" (function_definition "void print_unicode_char(FILE *stream,uint code,int exit_on_error)\n\n{\n  _func_long_uint_char_ptr_void_ptr *failure;\n  \n  if (exit_on_error == 0) {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214);\n  }\n  else {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290);\n  }\n  unicode_to_mb(code,(_func_long_char_ptr_size_t_void_ptr *)PTR_fwrite_success_callback_0002a18c,\n                failure,stream);\n  return;\n}" primitive_type (function_declarator "print_unicode_char(FILE *stream,uint code,int exit_on_error)" identifier (parameter_list "(FILE *stream,uint code,int exit_on_error)" ( (parameter_declaration "FILE *stream" type_identifier (pointer_declarator "*stream" * identifier)) , (parameter_declaration "uint code" type_identifier identifier) , (parameter_declaration "int exit_on_error" primitive_type identifier) ))) (compound_statement "{\n  _func_long_uint_char_ptr_void_ptr *failure;\n  \n  if (exit_on_error == 0) {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214);\n  }\n  else {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290);\n  }\n  unicode_to_mb(code,(_func_long_char_ptr_size_t_void_ptr *)PTR_fwrite_success_callback_0002a18c,\n                failure,stream);\n  return;\n}" { (declaration "_func_long_uint_char_ptr_void_ptr *failure;" type_identifier (pointer_declarator "*failure" * identifier) ;) (if_statement "if (exit_on_error == 0) {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214);\n  }\n  else {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290);\n  }" if (parenthesized_expression "(exit_on_error == 0)" ( (binary_expression "exit_on_error == 0" identifier == number_literal) )) (compound_statement "{\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214);\n  }" { (expression_statement "failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214);" (assignment_expression "failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214)" identifier = (cast_expression "(_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6214)" ( (type_descriptor "_func_long_uint_char_ptr_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_0002a0f4 + 0x6214)" ( (binary_expression "PTR_0002a0f4 + 0x6214" identifier + number_literal) )))) ;) }) (else_clause "else {\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290);\n  }" else (compound_statement "{\n    failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290);\n  }" { (expression_statement "failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290);" (assignment_expression "failure = (_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290)" identifier = (cast_expression "(_func_long_uint_char_ptr_void_ptr *)(PTR_0002a0f4 + 0x6290)" ( (type_descriptor "_func_long_uint_char_ptr_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_0002a0f4 + 0x6290)" ( (binary_expression "PTR_0002a0f4 + 0x6290" identifier + number_literal) )))) ;) }))) (expression_statement "unicode_to_mb(code,(_func_long_char_ptr_size_t_void_ptr *)PTR_fwrite_success_callback_0002a18c,\n                failure,stream);" (call_expression "unicode_to_mb(code,(_func_long_char_ptr_size_t_void_ptr *)PTR_fwrite_success_callback_0002a18c,\n                failure,stream)" identifier (argument_list "(code,(_func_long_char_ptr_size_t_void_ptr *)PTR_fwrite_success_callback_0002a18c,\n                failure,stream)" ( identifier , (cast_expression "(_func_long_char_ptr_size_t_void_ptr *)PTR_fwrite_success_callback_0002a18c" ( (type_descriptor "_func_long_char_ptr_size_t_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }\n  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);\n  return;\n}\n\n" (function_definition "void print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }\n  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);\n  return;\n}" primitive_type (function_declarator "print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }\n  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }" { (expression_statement "puVar1 = PTR_0002a0f4 + 0x6214;" (assignment_expression "puVar1 = PTR_0002a0f4 + 0x6214" identifier = (binary_expression "PTR_0002a0f4 + 0x6214" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" else (compound_statement "{\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" { (expression_statement "puVar1 = PTR_0002a0f4 + 0x6290;" (assignment_expression "puVar1 = PTR_0002a0f4 + 0x6290" identifier = (binary_expression "PTR_0002a0f4 + 0x6290" identifier + number_literal)) ;) }))) (expression_statement "unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);" (call_expression "unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1)" identifier (argument_list "(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }\n  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);\n  return;\n}" (primitive_type "void") (function_declarator "print_unicode_char(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "print_unicode_char") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }\n  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (param_3 == 0) {\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }\n  else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = PTR_0002a0f4 + 0x6214;\n  }" ({ "{") (expression_statement "puVar1 = PTR_0002a0f4 + 0x6214;" (assignment_expression "puVar1 = PTR_0002a0f4 + 0x6214" (identifier "puVar1") (= "=") (binary_expression "PTR_0002a0f4 + 0x6214" (identifier "PTR_0002a0f4") (+ "+") (number_literal "0x6214"))) (; ";")) (} "}")) (else_clause "else {\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" (else "else") (compound_statement "{\n    puVar1 = PTR_0002a0f4 + 0x6290;\n  }" ({ "{") (expression_statement "puVar1 = PTR_0002a0f4 + 0x6290;" (assignment_expression "puVar1 = PTR_0002a0f4 + 0x6290" (identifier "puVar1") (= "=") (binary_expression "PTR_0002a0f4 + 0x6290" (identifier "PTR_0002a0f4") (+ "+") (number_literal "0x6290"))) (; ";")) (} "}")))) (expression_statement "unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);" (call_expression "unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1)" (identifier "unicode_to_mb") (argument_list "(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1)" (( "(") (identifier "param_2") (, ",") (identifier "PTR_fwrite_success_callback_0002a18c") (, ",") (identifier "puVar1") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  undefined *puVar1;
  
  if (param_3 == 0) {
    puVar1 = PTR_0002a0f4 + 0x6214;
  }
  else {
    puVar1 = PTR_0002a0f4 + 0x6290;
  }
  unicode_to_mb(param_2,PTR_fwrite_success_callback_0002a18c,puVar1,param_1);
  return;
}

