
/* std::string::_S_copy(char*, char const*, unsigned int) */

void std::string::_S_copy(char *param_1,char *param_2,uint param_3)

{
  if (param_3 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (param_3 == 0) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_memcpy_00436788)();
  return;
}



void FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)

{
  if (param_3 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (param_3 == 0) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_memcpy_00436788)();
  return;
}


lui gp,0x18
addiu gp,gp,-0x5688
addu gp,gp,t9
li v1,0x1
beq a2,v1,0x002bf888
_nop
bne a2,zero,0x002bf880
_lw t9,-0x3a48(gp)
jr ra
_nop
jr t9
_nop
lb v0,0x0(a1)
jr ra
_sb v0,0x0(a0)
(translation_unit "void FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}\n\n" (function_definition "void FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}" primitive_type (function_declarator "FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)" identifier (parameter_list "(undefined1 *param_1,undefined1 *param_2,int param_3)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}" { (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR_memcpy_00436788)();" (call_expression "(*(code *)PTR_memcpy_00436788)()" (parenthesized_expression "(*(code *)PTR_memcpy_00436788)" ( (pointer_expression "*(code *)PTR_memcpy_00436788" * (cast_expression "(code *)PTR_memcpy_00436788" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::string::_S_copy(char*, char const*, unsigned int) */\n\nvoid std::string::_S_copy(char *param_1,char *param_2,uint param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}\n\n" comment (function_definition "void std::string::_S_copy(char *param_1,char *param_2,uint param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}" primitive_type (ERROR "std::string::" identifier : : identifier : :) (function_declarator "_S_copy(char *param_1,char *param_2,uint param_3)" identifier (parameter_list "(char *param_1,char *param_2,uint param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}" { (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR_memcpy_00436788)();" (call_expression "(*(code *)PTR_memcpy_00436788)()" (parenthesized_expression "(*(code *)PTR_memcpy_00436788)" ( (pointer_expression "*(code *)PTR_memcpy_00436788" * (cast_expression "(code *)PTR_memcpy_00436788" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}\n\n" (function_definition "void FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}" primitive_type (function_declarator "FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)" identifier (parameter_list "(undefined1 *param_1,undefined1 *param_2,int param_3)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}" { (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_memcpy_00436788)();" (call_expression "(*(code *)PTR_memcpy_00436788)()" (parenthesized_expression "(*(code *)PTR_memcpy_00436788)" ( (pointer_expression "*(code *)PTR_memcpy_00436788" * (cast_expression "(code *)PTR_memcpy_00436788" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002bf858(undefined1 *param_1,undefined1 *param_2,int param_3)" (identifier "FUN_002bf858") (parameter_list "(undefined1 *param_1,undefined1 *param_2,int param_3)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_memcpy_00436788)();\n  return;\n}" ({ "{") (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 1)" (( "(") (binary_expression "param_3 == 1" (identifier "param_3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_memcpy_00436788)();" (call_expression "(*(code *)PTR_memcpy_00436788)()" (parenthesized_expression "(*(code *)PTR_memcpy_00436788)" (( "(") (pointer_expression "*(code *)PTR_memcpy_00436788" (* "*") (cast_expression "(code *)PTR_memcpy_00436788" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_00436788"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_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))) (return_statement))))

void MASKED(undefined1 *param_1,undefined1 *param_2,int param_3)

{
  if (param_3 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (param_3 == 0) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x002bf880. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_memcpy_00436788)();
  return;
}

