
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::__throw_ios_failure(char const*) */

void std::__throw_ios_failure(char *param_1)

{
  failure_abi_cxx11_ *this;
  char *pcVar1;
  undefined4 local_24;
  undefined4 local_20;
  
  this = (failure_abi_cxx11_ *)__cxa_allocate_exception(0x18);
  pcVar1 = (char *)gettext(param_1);
  local_20 = iostream_category();
  local_24 = 1;
                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */
  ios_base::failure[abi:cxx11]::failure(this,pcVar1,(error_code *)&local_24);
  *(undefined ***)this = &PTR____ios_failure_0038d1ac;
  pcVar1 = (char *)runtime_error::what((runtime_error *)this);
                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */
  __construct_ios_failure(this + 0x10,pcVar1);
                    /* WARNING: Subroutine does not return */
  __cxa_throw(this,PTR_PTR_0038ecac,PTR____ios_failure_0038ee7c);
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void FUN_00226af0(undefined4 param_1)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 local_24;
  undefined4 local_20;
  
  puVar1 = (undefined4 *)FUN_001e6be0(0x18);
  uVar2 = gettext(param_1);
  local_20 = FUN_00226370();
  local_24 = 1;
                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */
  FUN_002268d0(puVar1,uVar2,&local_24);
  *puVar1 = &PTR_FUN_0038d1ac;
  uVar2 = FUN_002367c0(puVar1);
                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */
  FUN_002384f0(puVar1 + 4,uVar2);
                    /* WARNING: Subroutine does not return */
  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
CALL 0x000559ea
ADD ESI,0x168506
PUSH EBX
SUB ESP,0x38
PUSH 0x18
MOV EBX,ESI
CALL 0x001e6be0
MOV EDI,EAX
POP EAX
PUSH dword ptr [EBP + 0x8]
CALL 0x000293b0
MOV dword ptr [EBP + -0x2c],EAX
CALL 0x00226370
ADD ESP,0xc
MOV dword ptr [EBP + -0x20],0x1
MOV dword ptr [EBP + -0x1c],EAX
LEA EAX,[EBP + -0x20]
PUSH EAX
PUSH dword ptr [EBP + -0x2c]
PUSH EDI
CALL 0x002268d0
LEA EAX,[ESI + 0xffffe1a4]
MOV dword ptr [ESP],EDI
ADD EAX,0x8
MOV dword ptr [EDI],EAX
CALL 0x002367c0
POP EDX
POP ECX
PUSH EAX
LEA EAX,[EDI + 0x10]
PUSH EAX
CALL 0x002384f0
ADD ESP,0xc
PUSH dword ptr [ESI + 0xfffffe7c]
PUSH dword ptr [ESI + 0xfffffcac]
PUSH EDI
CALL 0x001e5630
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_00226af0(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  puVar1 = (undefined4 *)FUN_001e6be0(0x18);\n  uVar2 = gettext(param_1);\n  local_20 = FUN_00226370();\n  local_24 = 1;\n                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */\n  FUN_002268d0(puVar1,uVar2,&local_24);\n  *puVar1 = &PTR_FUN_0038d1ac;\n  uVar2 = FUN_002367c0(puVar1);\n                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */\n  FUN_002384f0(puVar1 + 4,uVar2);\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);\n}\n\n" comment (function_definition "void FUN_00226af0(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  puVar1 = (undefined4 *)FUN_001e6be0(0x18);\n  uVar2 = gettext(param_1);\n  local_20 = FUN_00226370();\n  local_24 = 1;\n                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */\n  FUN_002268d0(puVar1,uVar2,&local_24);\n  *puVar1 = &PTR_FUN_0038d1ac;\n  uVar2 = FUN_002367c0(puVar1);\n                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */\n  FUN_002384f0(puVar1 + 4,uVar2);\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);\n}" primitive_type (function_declarator "FUN_00226af0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  puVar1 = (undefined4 *)FUN_001e6be0(0x18);\n  uVar2 = gettext(param_1);\n  local_20 = FUN_00226370();\n  local_24 = 1;\n                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */\n  FUN_002268d0(puVar1,uVar2,&local_24);\n  *puVar1 = &PTR_FUN_0038d1ac;\n  uVar2 = FUN_002367c0(puVar1);\n                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */\n  FUN_002384f0(puVar1 + 4,uVar2);\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_001e6be0(0x18);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e6be0(0x18)" identifier = (cast_expression "(undefined4 *)FUN_001e6be0(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e6be0(0x18)" identifier (argument_list "(0x18)" ( 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 "local_20 = FUN_00226370();" (assignment_expression "local_20 = FUN_00226370()" identifier = (call_expression "FUN_00226370()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) comment (expression_statement "FUN_002268d0(puVar1,uVar2,&local_24);" (call_expression "FUN_002268d0(puVar1,uVar2,&local_24)" identifier (argument_list "(puVar1,uVar2,&local_24)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) ))) ;) (expression_statement "*puVar1 = &PTR_FUN_0038d1ac;" (assignment_expression "*puVar1 = &PTR_FUN_0038d1ac" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_0038d1ac" & identifier)) ;) (expression_statement "uVar2 = FUN_002367c0(puVar1);" (assignment_expression "uVar2 = FUN_002367c0(puVar1)" identifier = (call_expression "FUN_002367c0(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) comment (expression_statement "FUN_002384f0(puVar1 + 4,uVar2);" (call_expression "FUN_002384f0(puVar1 + 4,uVar2)" identifier (argument_list "(puVar1 + 4,uVar2)" ( (binary_expression "puVar1 + 4" identifier + number_literal) , identifier ))) ;) comment (expression_statement "FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);" (call_expression "FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c)" identifier (argument_list "(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::__throw_ios_failure(char const*) */\n\nvoid std::__throw_ios_failure(char *param_1)\n\n{\n  failure_abi_cxx11_ *this;\n  char *pcVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  this = (failure_abi_cxx11_ *)__cxa_allocate_exception(0x18);\n  pcVar1 = (char *)gettext(param_1);\n  local_20 = iostream_category();\n  local_24 = 1;\n                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */\n  ios_base::failure[abi:cxx11]::failure(this,pcVar1,(error_code *)&local_24);\n  *(undefined ***)this = &PTR____ios_failure_0038d1ac;\n  pcVar1 = (char *)runtime_error::what((runtime_error *)this);\n                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */\n  __construct_ios_failure(this + 0x10,pcVar1);\n                    /* WARNING: Subroutine does not return */\n  __cxa_throw(this,PTR_PTR_0038ecac,PTR____ios_failure_0038ee7c);\n}\n\n" comment comment comment (function_definition "void std::__throw_ios_failure(char *param_1)\n\n{\n  failure_abi_cxx11_ *this;\n  char *pcVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  this = (failure_abi_cxx11_ *)__cxa_allocate_exception(0x18);\n  pcVar1 = (char *)gettext(param_1);\n  local_20 = iostream_category();\n  local_24 = 1;\n                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */\n  ios_base::failure[abi:cxx11]::failure(this,pcVar1,(error_code *)&local_24);\n  *(undefined ***)this = &PTR____ios_failure_0038d1ac;\n  pcVar1 = (char *)runtime_error::what((runtime_error *)this);\n                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */\n  __construct_ios_failure(this + 0x10,pcVar1);\n                    /* WARNING: Subroutine does not return */\n  __cxa_throw(this,PTR_PTR_0038ecac,PTR____ios_failure_0038ee7c);\n}" primitive_type (ERROR "std::" identifier : :) (function_declarator "__throw_ios_failure(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  failure_abi_cxx11_ *this;\n  char *pcVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  this = (failure_abi_cxx11_ *)__cxa_allocate_exception(0x18);\n  pcVar1 = (char *)gettext(param_1);\n  local_20 = iostream_category();\n  local_24 = 1;\n                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */\n  ios_base::failure[abi:cxx11]::failure(this,pcVar1,(error_code *)&local_24);\n  *(undefined ***)this = &PTR____ios_failure_0038d1ac;\n  pcVar1 = (char *)runtime_error::what((runtime_error *)this);\n                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */\n  __construct_ios_failure(this + 0x10,pcVar1);\n                    /* WARNING: Subroutine does not return */\n  __cxa_throw(this,PTR_PTR_0038ecac,PTR____ios_failure_0038ee7c);\n}" { (declaration "failure_abi_cxx11_ *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "this = (failure_abi_cxx11_ *)__cxa_allocate_exception(0x18);" (assignment_expression "this = (failure_abi_cxx11_ *)__cxa_allocate_exception(0x18)" identifier = (cast_expression "(failure_abi_cxx11_ *)__cxa_allocate_exception(0x18)" ( (type_descriptor "failure_abi_cxx11_ *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__cxa_allocate_exception(0x18)" identifier (argument_list "(0x18)" ( 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 ))))) ;) (expression_statement "local_20 = iostream_category();" (assignment_expression "local_20 = iostream_category()" identifier = (call_expression "iostream_category()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) comment (labeled_statement "ios_base::failure[abi:cxx11]::failure(this,pcVar1,(error_code *)&local_24);" statement_identifier (ERROR "::failure[abi:cxx11]:" : : (subscript_expression "failure[abi:cxx11]" identifier [ (ERROR "abi:" identifier :) identifier ]) :) : (expression_statement "failure(this,pcVar1,(error_code *)&local_24);" (call_expression "failure(this,pcVar1,(error_code *)&local_24)" identifier (argument_list "(this,pcVar1,(error_code *)&local_24)" ( identifier , identifier , (cast_expression "(error_code *)&local_24" ( (type_descriptor "error_code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) ))) ;)) (expression_statement "*(undefined ***)this = &PTR____ios_failure_0038d1ac;" (assignment_expression "*(undefined ***)this = &PTR____ios_failure_0038d1ac" (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____ios_failure_0038d1ac" & identifier)) ;) (ERROR "pcVar1 = (char *)runtime_error::" (assignment_expression "pcVar1 = (char *)runtime_error" identifier = (cast_expression "(char *)runtime_error" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) : :) (expression_statement "what((runtime_error *)this);" (call_expression "what((runtime_error *)this)" identifier (argument_list "((runtime_error *)this)" ( (cast_expression "(runtime_error *)this" ( (type_descriptor "runtime_error *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) comment (expression_statement "__construct_ios_failure(this + 0x10,pcVar1);" (call_expression "__construct_ios_failure(this + 0x10,pcVar1)" identifier (argument_list "(this + 0x10,pcVar1)" ( (binary_expression "this + 0x10" identifier + number_literal) , identifier ))) ;) comment (expression_statement "__cxa_throw(this,PTR_PTR_0038ecac,PTR____ios_failure_0038ee7c);" (call_expression "__cxa_throw(this,PTR_PTR_0038ecac,PTR____ios_failure_0038ee7c)" identifier (argument_list "(this,PTR_PTR_0038ecac,PTR____ios_failure_0038ee7c)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "void FUN_00226af0(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  puVar1 = (undefined4 *)FUN_001e6be0(0x18);\n  uVar2 = gettext(param_1);\n  local_20 = FUN_00226370();\n  local_24 = 1;\n                    \n  FUN_002268d0(puVar1,uVar2,&local_24);\n  *puVar1 = &PTR_FUN_0038d1ac;\n  uVar2 = FUN_002367c0(puVar1);\n                    \n  FUN_002384f0(puVar1 + 4,uVar2);\n                    \n  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);\n}\n\n" (function_definition "void FUN_00226af0(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  puVar1 = (undefined4 *)FUN_001e6be0(0x18);\n  uVar2 = gettext(param_1);\n  local_20 = FUN_00226370();\n  local_24 = 1;\n                    \n  FUN_002268d0(puVar1,uVar2,&local_24);\n  *puVar1 = &PTR_FUN_0038d1ac;\n  uVar2 = FUN_002367c0(puVar1);\n                    \n  FUN_002384f0(puVar1 + 4,uVar2);\n                    \n  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);\n}" primitive_type (function_declarator "FUN_00226af0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  puVar1 = (undefined4 *)FUN_001e6be0(0x18);\n  uVar2 = gettext(param_1);\n  local_20 = FUN_00226370();\n  local_24 = 1;\n                    \n  FUN_002268d0(puVar1,uVar2,&local_24);\n  *puVar1 = &PTR_FUN_0038d1ac;\n  uVar2 = FUN_002367c0(puVar1);\n                    \n  FUN_002384f0(puVar1 + 4,uVar2);\n                    \n  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_001e6be0(0x18);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e6be0(0x18)" identifier = (cast_expression "(undefined4 *)FUN_001e6be0(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e6be0(0x18)" identifier (argument_list "(0x18)" ( 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 "local_20 = FUN_00226370();" (assignment_expression "local_20 = FUN_00226370()" identifier = (call_expression "FUN_00226370()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "FUN_002268d0(puVar1,uVar2,&local_24);" (call_expression "FUN_002268d0(puVar1,uVar2,&local_24)" identifier (argument_list "(puVar1,uVar2,&local_24)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) ))) ;) (expression_statement "*puVar1 = &PTR_FUN_0038d1ac;" (assignment_expression "*puVar1 = &PTR_FUN_0038d1ac" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&PTR_FUN_0038d1ac" & identifier)) ;) (expression_statement "uVar2 = FUN_002367c0(puVar1);" (assignment_expression "uVar2 = FUN_002367c0(puVar1)" identifier = (call_expression "FUN_002367c0(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (expression_statement "FUN_002384f0(puVar1 + 4,uVar2);" (call_expression "FUN_002384f0(puVar1 + 4,uVar2)" identifier (argument_list "(puVar1 + 4,uVar2)" ( (binary_expression "puVar1 + 4" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);" (call_expression "FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c)" identifier (argument_list "(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })))
(function_definition "void FUN_00226af0(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  puVar1 = (undefined4 *)FUN_001e6be0(0x18);\n  uVar2 = gettext(param_1);\n  local_20 = FUN_00226370();\n  local_24 = 1;\n                    \n  FUN_002268d0(puVar1,uVar2,&local_24);\n  *puVar1 = &PTR_FUN_0038d1ac;\n  uVar2 = FUN_002367c0(puVar1);\n                    \n  FUN_002384f0(puVar1 + 4,uVar2);\n                    \n  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);\n}" (primitive_type "void") (function_declarator "FUN_00226af0(undefined4 param_1)" (identifier "FUN_00226af0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  puVar1 = (undefined4 *)FUN_001e6be0(0x18);\n  uVar2 = gettext(param_1);\n  local_20 = FUN_00226370();\n  local_24 = 1;\n                    \n  FUN_002268d0(puVar1,uVar2,&local_24);\n  *puVar1 = &PTR_FUN_0038d1ac;\n  uVar2 = FUN_002367c0(puVar1);\n                    \n  FUN_002384f0(puVar1 + 4,uVar2);\n                    \n  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_001e6be0(0x18);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e6be0(0x18)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_001e6be0(0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e6be0(0x18)" (identifier "FUN_001e6be0") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (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 "local_20 = FUN_00226370();" (assignment_expression "local_20 = FUN_00226370()" (identifier "local_20") (= "=") (call_expression "FUN_00226370()" (identifier "FUN_00226370") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_002268d0(puVar1,uVar2,&local_24);" (call_expression "FUN_002268d0(puVar1,uVar2,&local_24)" (identifier "FUN_002268d0") (argument_list "(puVar1,uVar2,&local_24)" (( "(") (identifier "puVar1") (, ",") (identifier "uVar2") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")"))) (; ";")) (expression_statement "*puVar1 = &PTR_FUN_0038d1ac;" (assignment_expression "*puVar1 = &PTR_FUN_0038d1ac" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&PTR_FUN_0038d1ac" (& "&") (identifier "PTR_FUN_0038d1ac"))) (; ";")) (expression_statement "uVar2 = FUN_002367c0(puVar1);" (assignment_expression "uVar2 = FUN_002367c0(puVar1)" (identifier "uVar2") (= "=") (call_expression "FUN_002367c0(puVar1)" (identifier "FUN_002367c0") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")")))) (; ";")) (expression_statement "FUN_002384f0(puVar1 + 4,uVar2);" (call_expression "FUN_002384f0(puVar1 + 4,uVar2)" (identifier "FUN_002384f0") (argument_list "(puVar1 + 4,uVar2)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);" (call_expression "FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c)" (identifier "FUN_001e5630") (argument_list "(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c)" (( "(") (identifier "puVar1") (, ",") (identifier "PTR_PTR_0038ecac") (, ",") (identifier "PTR_FUN_0038ee7c") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::__throw_ios_failure(char const*) */

void std::function_1(char *param_1)

{
  type_1 *var_7;
  char *pcVar1;
  type_2 local_24;
  type_2 local_20;
  
  var_7 = (type_1 *)var_1(0x18);
  pcVar1 = (char *)var_2(param_1);
  local_20 = var_3();
  local_24 = 1;
                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */
  ios_base::var_4[abi:cxx11]::var_4(var_7,pcVar1,(type_3 *)&local_24);
  *(type_4 ***)var_7 = &PTR____ios_failure_0038d1ac;
  pcVar1 = (char *)type_5::var_5((type_5 *)var_7);
                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */
  var_6(var_7 + 0x10,pcVar1);
                    /* WARNING: Subroutine does not return */
  var_8(var_7,PTR_PTR_0038ecac,PTR____ios_failure_0038ee7c);
}


(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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void MASKED(undefined4 param_1)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 local_24;
  undefined4 local_20;
  
  puVar1 = (undefined4 *)FUN_001e6be0(0x18);
  uVar2 = gettext(param_1);
  local_20 = FUN_00226370();
  local_24 = 1;
                    /* try { // try from 00226b35 to 00226b39 has its CatchHandler @ 00226b6e */
  FUN_002268d0(puVar1,uVar2,&local_24);
  *puVar1 = &PTR_FUN_0038d1ac;
  uVar2 = FUN_002367c0(puVar1);
                    /* try { // try from 00226b54 to 00226b58 has its CatchHandler @ 00226b76 */
  FUN_002384f0(puVar1 + 4,uVar2);
                    /* WARNING: Subroutine does not return */
  FUN_001e5630(puVar1,PTR_PTR_0038ecac,PTR_FUN_0038ee7c);
}

