
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::__throw_logic_error(char const*) */

void std::__throw_logic_error(char *param_1)

{
  logic_error *this;
  char *pcVar1;
  
  this = (logic_error *)__cxa_allocate_exception(0x10);
  pcVar1 = (char *)gettext(param_1);
                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */
  logic_error::logic_error(this,pcVar1);
  __throw_logic_error((char *)this);
  return;
}



void FUN_003194e0(undefined8 param_1)

{
  undefined8 uVar1;
  undefined8 uVar2;
  
  uVar1 = FUN_002dab00(0x10);
  uVar2 = gettext(param_1);
                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */
  FUN_00319e30(uVar1,uVar2);
  FUN_0014f231();
  return;
}


PUSH RBP
MOV RBP,RDI
MOV EDI,0x10
PUSH RBX
SUB RSP,0x8
CALL 0x002dab00
MOV RDI,RBP
MOV RBX,RAX
CALL 0x00147320
MOV RDI,RBX
MOV RSI,RAX
CALL 0x00319e30
JMP 0x0014f231
(translation_unit "void FUN_003194e0(undefined8 param_1)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = FUN_002dab00(0x10);\n  uVar2 = gettext(param_1);\n                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */\n  FUN_00319e30(uVar1,uVar2);\n  FUN_0014f231();\n  return;\n}\n\n" (function_definition "void FUN_003194e0(undefined8 param_1)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = FUN_002dab00(0x10);\n  uVar2 = gettext(param_1);\n                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */\n  FUN_00319e30(uVar1,uVar2);\n  FUN_0014f231();\n  return;\n}" primitive_type (function_declarator "FUN_003194e0(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = FUN_002dab00(0x10);\n  uVar2 = gettext(param_1);\n                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */\n  FUN_00319e30(uVar1,uVar2);\n  FUN_0014f231();\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_002dab00(0x10);" (assignment_expression "uVar1 = FUN_002dab00(0x10)" identifier = (call_expression "FUN_002dab00(0x10)" identifier (argument_list "(0x10)" ( number_literal )))) ;) (expression_statement "uVar2 = gettext(param_1);" (assignment_expression "uVar2 = gettext(param_1)" identifier = (call_expression "gettext(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) comment (expression_statement "FUN_00319e30(uVar1,uVar2);" (call_expression "FUN_00319e30(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier ))) ;) (expression_statement "FUN_0014f231();" (call_expression "FUN_0014f231()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::__throw_logic_error(char const*) */\n\nvoid std::__throw_logic_error(char *param_1)\n\n{\n  logic_error *this;\n  char *pcVar1;\n  \n  this = (logic_error *)__cxa_allocate_exception(0x10);\n  pcVar1 = (char *)gettext(param_1);\n                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */\n  logic_error::logic_error(this,pcVar1);\n  __throw_logic_error((char *)this);\n  return;\n}\n\n" comment comment (function_definition "void std::__throw_logic_error(char *param_1)\n\n{\n  logic_error *this;\n  char *pcVar1;\n  \n  this = (logic_error *)__cxa_allocate_exception(0x10);\n  pcVar1 = (char *)gettext(param_1);\n                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */\n  logic_error::logic_error(this,pcVar1);\n  __throw_logic_error((char *)this);\n  return;\n}" primitive_type (ERROR "std::" identifier : :) (function_declarator "__throw_logic_error(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  logic_error *this;\n  char *pcVar1;\n  \n  this = (logic_error *)__cxa_allocate_exception(0x10);\n  pcVar1 = (char *)gettext(param_1);\n                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */\n  logic_error::logic_error(this,pcVar1);\n  __throw_logic_error((char *)this);\n  return;\n}" { (declaration "logic_error *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "this = (logic_error *)__cxa_allocate_exception(0x10);" (assignment_expression "this = (logic_error *)__cxa_allocate_exception(0x10)" identifier = (cast_expression "(logic_error *)__cxa_allocate_exception(0x10)" ( (type_descriptor "logic_error *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__cxa_allocate_exception(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "pcVar1 = (char *)gettext(param_1);" (assignment_expression "pcVar1 = (char *)gettext(param_1)" identifier = (cast_expression "(char *)gettext(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) comment (labeled_statement "logic_error::logic_error(this,pcVar1);" statement_identifier : (ERROR ":" :) (expression_statement "logic_error(this,pcVar1);" (call_expression "logic_error(this,pcVar1)" identifier (argument_list "(this,pcVar1)" ( identifier , identifier ))) ;)) (expression_statement "__throw_logic_error((char *)this);" (call_expression "__throw_logic_error((char *)this)" identifier (argument_list "((char *)this)" ( (cast_expression "(char *)this" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_003194e0(undefined8 param_1)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = FUN_002dab00(0x10);\n  uVar2 = gettext(param_1);\n                    \n  FUN_00319e30(uVar1,uVar2);\n  FUN_0014f231();\n  return;\n}\n\n" (function_definition "void FUN_003194e0(undefined8 param_1)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = FUN_002dab00(0x10);\n  uVar2 = gettext(param_1);\n                    \n  FUN_00319e30(uVar1,uVar2);\n  FUN_0014f231();\n  return;\n}" primitive_type (function_declarator "FUN_003194e0(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = FUN_002dab00(0x10);\n  uVar2 = gettext(param_1);\n                    \n  FUN_00319e30(uVar1,uVar2);\n  FUN_0014f231();\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_002dab00(0x10);" (assignment_expression "uVar1 = FUN_002dab00(0x10)" identifier = (call_expression "FUN_002dab00(0x10)" identifier (argument_list "(0x10)" ( number_literal )))) ;) (expression_statement "uVar2 = gettext(param_1);" (assignment_expression "uVar2 = gettext(param_1)" identifier = (call_expression "gettext(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_00319e30(uVar1,uVar2);" (call_expression "FUN_00319e30(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier ))) ;) (expression_statement "FUN_0014f231();" (call_expression "FUN_0014f231()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_003194e0(undefined8 param_1)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = FUN_002dab00(0x10);\n  uVar2 = gettext(param_1);\n                    \n  FUN_00319e30(uVar1,uVar2);\n  FUN_0014f231();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003194e0(undefined8 param_1)" (identifier "FUN_003194e0") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = FUN_002dab00(0x10);\n  uVar2 = gettext(param_1);\n                    \n  FUN_00319e30(uVar1,uVar2);\n  FUN_0014f231();\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "uVar1 = FUN_002dab00(0x10);" (assignment_expression "uVar1 = FUN_002dab00(0x10)" (identifier "uVar1") (= "=") (call_expression "FUN_002dab00(0x10)" (identifier "FUN_002dab00") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")")))) (; ";")) (expression_statement "uVar2 = gettext(param_1);" (assignment_expression "uVar2 = gettext(param_1)" (identifier "uVar2") (= "=") (call_expression "gettext(param_1)" (identifier "gettext") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "FUN_00319e30(uVar1,uVar2);" (call_expression "FUN_00319e30(uVar1,uVar2)" (identifier "FUN_00319e30") (argument_list "(uVar1,uVar2)" (( "(") (identifier "uVar1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_0014f231();" (call_expression "FUN_0014f231()" (identifier "FUN_0014f231") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::__throw_logic_error(char const*) */

void std::function_1(char *param_1)

{
  type_1 *this;
  char *pcVar1;
  
  this = (type_1 *)var_1(0x10);
  pcVar1 = (char *)var_2(param_1);
                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */
  logic_error::type_1(this,pcVar1);
  function_1((char *)this);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(undefined8 param_1)

{
  undefined8 uVar1;
  undefined8 uVar2;
  
  uVar1 = FUN_002dab00(0x10);
  uVar2 = gettext(param_1);
                    /* try { // try from 00319504 to 00319508 has its CatchHandler @ 0031950e */
  FUN_00319e30(uVar1,uVar2);
  FUN_0014f231();
  return;
}

