
/* (anonymous namespace)::io_error_category::message[abi:cxx11](int) const */

int (anonymous_namespace)::io_error_category::message_abi_cxx11_(int param_1)

{
  char *pcVar1;
  int unaff_EDI;
  int in_stack_0000000c;
  uint uVar2;
  
  __x86_get_pc_thunk_di();
  *(undefined4 *)(param_1 + 4) = 0;
  *(int *)param_1 = param_1 + 8;
  *(undefined1 *)(param_1 + 8) = 0;
  if (in_stack_0000000c == 1) {
    pcVar1 = (char *)(unaff_EDI + 0x7ecdc);
    uVar2 = 0xe;
  }
  else {
    pcVar1 = (char *)(unaff_EDI + 0x7eceb);
    uVar2 = 0xd;
  }
                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */
  std::string::_M_replace((string *)param_1,0,0,pcVar1,uVar2);
  return param_1;
}



int * FUN_002262f0(int *param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  int unaff_EDI;
  undefined4 uVar2;
  
  FUN_000559ee();
  param_1[1] = 0;
  *param_1 = (int)(param_1 + 2);
  *(undefined1 *)(param_1 + 2) = 0;
  if (param_3 == 1) {
    iVar1 = unaff_EDI + 0x7ecdc;
    uVar2 = 0xe;
  }
  else {
    iVar1 = unaff_EDI + 0x7eceb;
    uVar2 = 0xd;
  }
                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */
  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000559ee
ADD EDI,0x168d07
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [EBP + 0x8]
CMP dword ptr [EBP + 0x10],0x1
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESI + 0x4],0x0
MOV dword ptr [EBP + -0x1c],EAX
MOV dword ptr [ESI],EAX
MOV byte ptr [ESI + 0x8],0x0
JZ 0x00226350
SUB ESP,0xc
LEA EAX,[EDI + 0xfff15fe4]
PUSH 0xd
PUSH EAX
MOV EBX,EDI
PUSH 0x0
PUSH 0x0
PUSH ESI
CALL 0x001ef9f0
ADD ESP,0x20
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
SUB ESP,0xc
LEA EAX,[EDI + 0xfff15fd5]
PUSH 0xe
JMP 0x0022632b
(translation_unit "int * FUN_002262f0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int unaff_EDI;\n  undefined4 uVar2;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }\n                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */\n  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);\n  return param_1;\n}\n\n" (function_definition "int * FUN_002262f0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int unaff_EDI;\n  undefined4 uVar2;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }\n                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */\n  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002262f0(int *param_1,undefined4 param_2,int param_3)" * (function_declarator "FUN_002262f0(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int unaff_EDI;\n  undefined4 uVar2;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }\n                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */\n  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }" { (expression_statement "iVar1 = unaff_EDI + 0x7ecdc;" (assignment_expression "iVar1 = unaff_EDI + 0x7ecdc" identifier = (binary_expression "unaff_EDI + 0x7ecdc" identifier + number_literal)) ;) (expression_statement "uVar2 = 0xe;" (assignment_expression "uVar2 = 0xe" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" else (compound_statement "{\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" { (expression_statement "iVar1 = unaff_EDI + 0x7eceb;" (assignment_expression "iVar1 = unaff_EDI + 0x7eceb" identifier = (binary_expression "unaff_EDI + 0x7eceb" identifier + number_literal)) ;) (expression_statement "uVar2 = 0xd;" (assignment_expression "uVar2 = 0xd" identifier = number_literal) ;) }))) comment (expression_statement "FUN_001ef9f0(param_1,0,0,iVar1,uVar2);" (call_expression "FUN_001ef9f0(param_1,0,0,iVar1,uVar2)" identifier (argument_list "(param_1,0,0,iVar1,uVar2)" ( identifier , number_literal , number_literal , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* (anonymous namespace)::io_error_category::message[abi:cxx11](int) const */\n\nint (anonymous_namespace)::io_error_category::message_abi_cxx11_(int param_1)\n\n{\n  char *pcVar1;\n  int unaff_EDI;\n  int in_stack_0000000c;\n  uint uVar2;\n  \n  __x86_get_pc_thunk_di();\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(int *)param_1 = param_1 + 8;\n  *(undefined1 *)(param_1 + 8) = 0;\n  if (in_stack_0000000c == 1) {\n    pcVar1 = (char *)(unaff_EDI + 0x7ecdc);\n    uVar2 = 0xe;\n  }\n  else {\n    pcVar1 = (char *)(unaff_EDI + 0x7eceb);\n    uVar2 = 0xd;\n  }\n                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */\n  std::string::_M_replace((string *)param_1,0,0,pcVar1,uVar2);\n  return param_1;\n}\n\n" comment (function_definition "int (anonymous_namespace)::io_error_category::message_abi_cxx11_(int param_1)\n\n{\n  char *pcVar1;\n  int unaff_EDI;\n  int in_stack_0000000c;\n  uint uVar2;\n  \n  __x86_get_pc_thunk_di();\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(int *)param_1 = param_1 + 8;\n  *(undefined1 *)(param_1 + 8) = 0;\n  if (in_stack_0000000c == 1) {\n    pcVar1 = (char *)(unaff_EDI + 0x7ecdc);\n    uVar2 = 0xe;\n  }\n  else {\n    pcVar1 = (char *)(unaff_EDI + 0x7eceb);\n    uVar2 = 0xd;\n  }\n                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */\n  std::string::_M_replace((string *)param_1,0,0,pcVar1,uVar2);\n  return param_1;\n}" primitive_type (ERROR "(anonymous_namespace)::io_error_category::" (parenthesized_declarator "(anonymous_namespace)" ( identifier )) : : identifier : :) (function_declarator "message_abi_cxx11_(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int unaff_EDI;\n  int in_stack_0000000c;\n  uint uVar2;\n  \n  __x86_get_pc_thunk_di();\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(int *)param_1 = param_1 + 8;\n  *(undefined1 *)(param_1 + 8) = 0;\n  if (in_stack_0000000c == 1) {\n    pcVar1 = (char *)(unaff_EDI + 0x7ecdc);\n    uVar2 = 0xe;\n  }\n  else {\n    pcVar1 = (char *)(unaff_EDI + 0x7eceb);\n    uVar2 = 0xd;\n  }\n                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */\n  std::string::_M_replace((string *)param_1,0,0,pcVar1,uVar2);\n  return param_1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_stack_0000000c;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)param_1 = param_1 + 8;" (assignment_expression "*(int *)param_1 = param_1 + 8" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 8) = 0" (pointer_expression "*(undefined1 *)(param_1 + 8)" * (cast_expression "(undefined1 *)(param_1 + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (in_stack_0000000c == 1) {\n    pcVar1 = (char *)(unaff_EDI + 0x7ecdc);\n    uVar2 = 0xe;\n  }\n  else {\n    pcVar1 = (char *)(unaff_EDI + 0x7eceb);\n    uVar2 = 0xd;\n  }" if (parenthesized_expression "(in_stack_0000000c == 1)" ( (binary_expression "in_stack_0000000c == 1" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = (char *)(unaff_EDI + 0x7ecdc);\n    uVar2 = 0xe;\n  }" { (expression_statement "pcVar1 = (char *)(unaff_EDI + 0x7ecdc);" (assignment_expression "pcVar1 = (char *)(unaff_EDI + 0x7ecdc)" identifier = (cast_expression "(char *)(unaff_EDI + 0x7ecdc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7ecdc)" ( (binary_expression "unaff_EDI + 0x7ecdc" identifier + number_literal) )))) ;) (expression_statement "uVar2 = 0xe;" (assignment_expression "uVar2 = 0xe" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar1 = (char *)(unaff_EDI + 0x7eceb);\n    uVar2 = 0xd;\n  }" else (compound_statement "{\n    pcVar1 = (char *)(unaff_EDI + 0x7eceb);\n    uVar2 = 0xd;\n  }" { (expression_statement "pcVar1 = (char *)(unaff_EDI + 0x7eceb);" (assignment_expression "pcVar1 = (char *)(unaff_EDI + 0x7eceb)" identifier = (cast_expression "(char *)(unaff_EDI + 0x7eceb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7eceb)" ( (binary_expression "unaff_EDI + 0x7eceb" identifier + number_literal) )))) ;) (expression_statement "uVar2 = 0xd;" (assignment_expression "uVar2 = 0xd" identifier = number_literal) ;) }))) comment (labeled_statement "std::string::_M_replace((string *)param_1,0,0,pcVar1,uVar2);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace((string *)param_1,0,0,pcVar1,uVar2);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace((string *)param_1,0,0,pcVar1,uVar2);" (call_expression "_M_replace((string *)param_1,0,0,pcVar1,uVar2)" identifier (argument_list "((string *)param_1,0,0,pcVar1,uVar2)" ( (cast_expression "(string *)param_1" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , number_literal , identifier , identifier ))) ;))) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "int * FUN_002262f0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int unaff_EDI;\n  undefined4 uVar2;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }\n                    \n  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);\n  return param_1;\n}\n\n" (function_definition "int * FUN_002262f0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int unaff_EDI;\n  undefined4 uVar2;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }\n                    \n  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002262f0(int *param_1,undefined4 param_2,int param_3)" * (function_declarator "FUN_002262f0(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int unaff_EDI;\n  undefined4 uVar2;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }\n                    \n  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }" { (expression_statement "iVar1 = unaff_EDI + 0x7ecdc;" (assignment_expression "iVar1 = unaff_EDI + 0x7ecdc" identifier = (binary_expression "unaff_EDI + 0x7ecdc" identifier + number_literal)) ;) (expression_statement "uVar2 = 0xe;" (assignment_expression "uVar2 = 0xe" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" else (compound_statement "{\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" { (expression_statement "iVar1 = unaff_EDI + 0x7eceb;" (assignment_expression "iVar1 = unaff_EDI + 0x7eceb" identifier = (binary_expression "unaff_EDI + 0x7eceb" identifier + number_literal)) ;) (expression_statement "uVar2 = 0xd;" (assignment_expression "uVar2 = 0xd" identifier = number_literal) ;) }))) (expression_statement "FUN_001ef9f0(param_1,0,0,iVar1,uVar2);" (call_expression "FUN_001ef9f0(param_1,0,0,iVar1,uVar2)" identifier (argument_list "(param_1,0,0,iVar1,uVar2)" ( identifier , number_literal , number_literal , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_002262f0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int unaff_EDI;\n  undefined4 uVar2;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }\n                    \n  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_002262f0(int *param_1,undefined4 param_2,int param_3)" (* "*") (function_declarator "FUN_002262f0(int *param_1,undefined4 param_2,int param_3)" (identifier "FUN_002262f0") (parameter_list "(int *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (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  int iVar1;\n  int unaff_EDI;\n  undefined4 uVar2;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }\n                    \n  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" (identifier "FUN_000559ee") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" (* "*") (cast_expression "(undefined1 *)(param_1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 == 1) {\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }\n  else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" (if "if") (parenthesized_expression "(param_3 == 1)" (( "(") (binary_expression "param_3 == 1" (identifier "param_3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    iVar1 = unaff_EDI + 0x7ecdc;\n    uVar2 = 0xe;\n  }" ({ "{") (expression_statement "iVar1 = unaff_EDI + 0x7ecdc;" (assignment_expression "iVar1 = unaff_EDI + 0x7ecdc" (identifier "iVar1") (= "=") (binary_expression "unaff_EDI + 0x7ecdc" (identifier "unaff_EDI") (+ "+") (number_literal "0x7ecdc"))) (; ";")) (expression_statement "uVar2 = 0xe;" (assignment_expression "uVar2 = 0xe" (identifier "uVar2") (= "=") (number_literal "0xe")) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" (else "else") (compound_statement "{\n    iVar1 = unaff_EDI + 0x7eceb;\n    uVar2 = 0xd;\n  }" ({ "{") (expression_statement "iVar1 = unaff_EDI + 0x7eceb;" (assignment_expression "iVar1 = unaff_EDI + 0x7eceb" (identifier "iVar1") (= "=") (binary_expression "unaff_EDI + 0x7eceb" (identifier "unaff_EDI") (+ "+") (number_literal "0x7eceb"))) (; ";")) (expression_statement "uVar2 = 0xd;" (assignment_expression "uVar2 = 0xd" (identifier "uVar2") (= "=") (number_literal "0xd")) (; ";")) (} "}")))) (expression_statement "FUN_001ef9f0(param_1,0,0,iVar1,uVar2);" (call_expression "FUN_001ef9f0(param_1,0,0,iVar1,uVar2)" (identifier "FUN_001ef9f0") (argument_list "(param_1,0,0,iVar1,uVar2)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "iVar1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* (anonymous namespace)::io_error_category::message[abi:cxx11](int) const */

int (anonymous_namespace)::io_error_category::function_1(int var_2)

{
  char *pcVar1;
  int var_4;
  int var_3;
  type_1 uVar2;
  
  var_1();
  *(type_2 *)(var_2 + 4) = 0;
  *(int *)var_2 = var_2 + 8;
  *(type_3 *)(var_2 + 8) = 0;
  if (var_3 == 1) {
    pcVar1 = (char *)(var_4 + 0x7ecdc);
    uVar2 = 0xe;
  }
  else {
    pcVar1 = (char *)(var_4 + 0x7eceb);
    uVar2 = 0xd;
  }
                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */
  std::string::var_5((type_4 *)var_2,0,0,pcVar1,uVar2);
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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)))) (expression_statement (assignment_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 (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (identifier) (identifier)))) (return_statement (identifier)))))

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

{
  int iVar1;
  int unaff_EDI;
  undefined4 uVar2;
  
  FUN_000559ee();
  param_1[1] = 0;
  *param_1 = (int)(param_1 + 2);
  *(undefined1 *)(param_1 + 2) = 0;
  if (param_3 == 1) {
    iVar1 = unaff_EDI + 0x7ecdc;
    uVar2 = 0xe;
  }
  else {
    iVar1 = unaff_EDI + 0x7eceb;
    uVar2 = 0xd;
  }
                    /* try { // try from 00226333 to 00226337 has its CatchHandler @ 0022635d */
  FUN_001ef9f0(param_1,0,0,iVar1,uVar2);
  return param_1;
}

