
/* std::logic_error::logic_error(std::string const&) */

void __thiscall std::logic_error::logic_error(logic_error *this,string *param_1)

{
  *(undefined ***)this = &PTR__logic_error_004b7458;
                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */
  std::string::string((string *)(this + 8),param_1);
  return;
}



void FUN_00380da0(undefined8 *param_1)

{
  *param_1 = &PTR_FUN_004b7458;
                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */
  FUN_0036cbb0();
  return;
}


PUSH RBP
PUSH RBX
MOV RBX,RDI
LEA RDI,[RDI + 0x8]
SUB RSP,0x8
LEA RAX,[0x4b7448]
ADD RAX,0x10
MOV qword ptr [RDI + -0x8],RAX
CALL 0x0036cbb0
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_00380da0(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_004b7458;\n                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */\n  FUN_0036cbb0();\n  return;\n}\n\n" (function_definition "void FUN_00380da0(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_004b7458;\n                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */\n  FUN_0036cbb0();\n  return;\n}" primitive_type (function_declarator "FUN_00380da0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_004b7458;\n                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */\n  FUN_0036cbb0();\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_004b7458;" (assignment_expression "*param_1 = &PTR_FUN_004b7458" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004b7458" & identifier)) ;) comment (expression_statement "FUN_0036cbb0();" (call_expression "FUN_0036cbb0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::logic_error::logic_error(std::string const&) */\n\nvoid __thiscall std::logic_error::logic_error(logic_error *this,string *param_1)\n\n{\n  *(undefined ***)this = &PTR__logic_error_004b7458;\n                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */\n  std::string::string((string *)(this + 8),param_1);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::logic_error::logic_error(logic_error *this,string *param_1)\n\n{\n  *(undefined ***)this = &PTR__logic_error_004b7458;\n                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */\n  std::string::string((string *)(this + 8),param_1);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::logic_error::" identifier : : identifier : :) (function_declarator "logic_error(logic_error *this,string *param_1)" identifier (parameter_list "(logic_error *this,string *param_1)" ( (parameter_declaration "logic_error *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *(undefined ***)this = &PTR__logic_error_004b7458;\n                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */\n  std::string::string((string *)(this + 8),param_1);\n  return;\n}" { (expression_statement "*(undefined ***)this = &PTR__logic_error_004b7458;" (assignment_expression "*(undefined ***)this = &PTR__logic_error_004b7458" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__logic_error_004b7458" & identifier)) ;) comment (labeled_statement "std::string::string((string *)(this + 8),param_1);" statement_identifier : (ERROR ":" :) (labeled_statement "string::string((string *)(this + 8),param_1);" statement_identifier : (ERROR ":" :) (expression_statement "string((string *)(this + 8),param_1);" (call_expression "string((string *)(this + 8),param_1)" identifier (argument_list "((string *)(this + 8),param_1)" ( (cast_expression "(string *)(this + 8)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) , identifier ))) ;))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00380da0(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_004b7458;\n                    \n  FUN_0036cbb0();\n  return;\n}\n\n" (function_definition "void FUN_00380da0(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_004b7458;\n                    \n  FUN_0036cbb0();\n  return;\n}" primitive_type (function_declarator "FUN_00380da0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_004b7458;\n                    \n  FUN_0036cbb0();\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_004b7458;" (assignment_expression "*param_1 = &PTR_FUN_004b7458" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004b7458" & identifier)) ;) (expression_statement "FUN_0036cbb0();" (call_expression "FUN_0036cbb0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00380da0(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_004b7458;\n                    \n  FUN_0036cbb0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00380da0(undefined8 *param_1)" (identifier "FUN_00380da0") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  *param_1 = &PTR_FUN_004b7458;\n                    \n  FUN_0036cbb0();\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_004b7458;" (assignment_expression "*param_1 = &PTR_FUN_004b7458" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_004b7458" (& "&") (identifier "PTR_FUN_004b7458"))) (; ";")) (expression_statement "FUN_0036cbb0();" (call_expression "FUN_0036cbb0()" (identifier "FUN_0036cbb0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::logic_error::logic_error(std::string const&) */

void __thiscall std::function_1::function_1(function_1 *var_1,type_1 *param_1)

{
  *(type_2 ***)var_1 = &PTR__logic_error_004b7458;
                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */
  std::string::type_1((type_1 *)(var_1 + 8),param_1);
  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 (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(undefined8 *param_1)

{
  *param_1 = &PTR_FUN_004b7458;
                    /* try { // try from 00380dbc to 00380dc0 has its CatchHandler @ 00380dc8 */
  FUN_0036cbb0();
  return;
}

