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

void std::__construct_ios_failure(void *param_1,char *param_2)

{
  int iVar1;
  int in_t9;
  int local_20;
  undefined1 auStack_1c [4];
  allocator aaStack_18 [12];
  
  string::string((string *)&local_20,param_2,aaStack_18);
  ios_base::failure::failure((failure *)param_1,(string *)&local_20);
  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {
    if (*(int *)(in_t9 + 0x118b18) == 0) {
      iVar1 = *(int *)(local_20 + -4);
      *(int *)(local_20 + -4) = iVar1 + -1;
    }
    else {
      SYNC(0);
      iVar1 = *(int *)(local_20 + -4);
      *(int *)(local_20 + -4) = iVar1 + -1;
      SYNC(0);
    }
    if (iVar1 < 1) {
      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);
    }
  }
  return;
}



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

void std::__construct_ios_failure(void *param_1,char *param_2)

{
  int iVar1;
  int in_t9;
  int local_20;
  undefined1 auStack_1c [4];
  allocator aaStack_18 [12];
  
  string::string((string *)&local_20,param_2,aaStack_18);
  ios_base::failure::failure((failure *)param_1,(string *)&local_20);
  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {
    if (*(int *)(in_t9 + 0x118b18) == 0) {
      iVar1 = *(int *)(local_20 + -4);
      *(int *)(local_20 + -4) = iVar1 + -1;
    }
    else {
      SYNC(0);
      iVar1 = *(int *)(local_20 + -4);
      *(int *)(local_20 + -4) = iVar1 + -1;
      SYNC(0);
    }
    if (iVar1 < 1) {
      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);
    }
  }
  return;
}


lui gp,0x12
addiu gp,gp,-0x3994
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x6a8c(gp)
addiu a2,sp,0x20
sw s0,0x2c(sp)
addiu s0,sp,0x18
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s1,0x30(sp)
or s1,a0,zero
bal 0x002fe948
_or a0,s0,zero
or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x3e00(gp)
bal 0x0031dad8
_or a1,s0,zero
lw gp,0x10(sp)
lw v0,0x18(sp)
lw v1,-0x7f00(gp)
addiu a0,v0,-0xc
bne a0,v1,0x0031dbdc
_lw v1,-0x3b54(gp)
lw ra,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x38
beq v1,zero,0x0031dc18
_nop
sync 0x0
ll v1,-0x4(v0)
addiu at,v1,-0x1
sc at,-0x4(v0)
beq at,zero,0x0031dbe8
_nop
sync 0x0
bgtz v1,0x0031dbc8
_lw t9,-0x7f84(gp)
jalr t9
_addiu a1,sp,0x1c
b 0x0031dbcc
_lw ra,0x34(sp)
lw v1,-0x4(v0)
addiu a1,v1,-0x1
b 0x0031dc00
_sw a1,-0x4(v0)
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::__construct_ios_failure(void*, char const*) */\n\nvoid std::__construct_ios_failure(void *param_1,char *param_2)\n\n{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void std::__construct_ios_failure(void *param_1,char *param_2)\n\n{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}" primitive_type (ERROR "std::" identifier : :) (function_declarator "__construct_ios_failure(void *param_1,char *param_2)" identifier (parameter_list "(void *param_1,char *param_2)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined1 auStack_1c [4];" type_identifier (array_declarator "auStack_1c [4]" identifier [ number_literal ]) ;) (declaration "allocator aaStack_18 [12];" type_identifier (array_declarator "aaStack_18 [12]" identifier [ number_literal ]) ;) (labeled_statement "string::string((string *)&local_20,param_2,aaStack_18);" statement_identifier : (ERROR ":" :) (expression_statement "string((string *)&local_20,param_2,aaStack_18);" (call_expression "string((string *)&local_20,param_2,aaStack_18)" identifier (argument_list "((string *)&local_20,param_2,aaStack_18)" ( (cast_expression "(string *)&local_20" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_20" & identifier)) , identifier , identifier ))) ;)) (labeled_statement "ios_base::failure::failure((failure *)param_1,(string *)&local_20);" statement_identifier : (ERROR ":" :) (labeled_statement "failure::failure((failure *)param_1,(string *)&local_20);" statement_identifier : (ERROR ":" :) (expression_statement "failure((failure *)param_1,(string *)&local_20);" (call_expression "failure((failure *)param_1,(string *)&local_20)" identifier (argument_list "((failure *)param_1,(string *)&local_20)" ( (cast_expression "(failure *)param_1" ( (type_descriptor "failure *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(string *)&local_20" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_20" & identifier)) ))) ;))) (if_statement "if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }" if (parenthesized_expression "(local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9))" ( (binary_expression "local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)" (binary_expression "local_20 + -0xc" identifier + number_literal) != (pointer_expression "*(int *)(&LAB_0011476c + in_t9)" * (cast_expression "(int *)(&LAB_0011476c + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&LAB_0011476c + in_t9)" ( (binary_expression "&LAB_0011476c + in_t9" (pointer_expression "&LAB_0011476c" & identifier) + identifier) ))))) )) (compound_statement "{\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }" { (if_statement "if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" if (parenthesized_expression "(*(int *)(in_t9 + 0x118b18) == 0)" ( (binary_expression "*(int *)(in_t9 + 0x118b18) == 0" (pointer_expression "*(int *)(in_t9 + 0x118b18)" * (cast_expression "(int *)(in_t9 + 0x118b18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x118b18)" ( (binary_expression "in_t9 + 0x118b18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }" { (expression_statement "iVar1 = *(int *)(local_20 + -4);" (assignment_expression "iVar1 = *(int *)(local_20 + -4)" identifier = (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(local_20 + -4) = iVar1 + -1;" (assignment_expression "*(int *)(local_20 + -4) = iVar1 + -1" (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" else (compound_statement "{\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" { (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "iVar1 = *(int *)(local_20 + -4);" (assignment_expression "iVar1 = *(int *)(local_20 + -4)" identifier = (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(local_20 + -4) = iVar1 + -1;" (assignment_expression "*(int *)(local_20 + -4) = iVar1 + -1" (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) }))) (if_statement "if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }" { (expression_statement "(**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);" (call_expression "(**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c)" (parenthesized_expression "(**(code **)(in_t9 + 0x1146e8))" ( (pointer_expression "**(code **)(in_t9 + 0x1146e8)" * (pointer_expression "*(code **)(in_t9 + 0x1146e8)" * (cast_expression "(code **)(in_t9 + 0x1146e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1146e8)" ( (binary_expression "in_t9 + 0x1146e8" identifier + number_literal) ))))) )) (argument_list "(local_20 + -0xc,auStack_1c)" ( (binary_expression "local_20 + -0xc" identifier + number_literal) , identifier ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::__construct_ios_failure(void*, char const*) */\n\nvoid std::__construct_ios_failure(void *param_1,char *param_2)\n\n{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void std::__construct_ios_failure(void *param_1,char *param_2)\n\n{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}" primitive_type (ERROR "std::" identifier : :) (function_declarator "__construct_ios_failure(void *param_1,char *param_2)" identifier (parameter_list "(void *param_1,char *param_2)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined1 auStack_1c [4];" type_identifier (array_declarator "auStack_1c [4]" identifier [ number_literal ]) ;) (declaration "allocator aaStack_18 [12];" type_identifier (array_declarator "aaStack_18 [12]" identifier [ number_literal ]) ;) (labeled_statement "string::string((string *)&local_20,param_2,aaStack_18);" statement_identifier : (ERROR ":" :) (expression_statement "string((string *)&local_20,param_2,aaStack_18);" (call_expression "string((string *)&local_20,param_2,aaStack_18)" identifier (argument_list "((string *)&local_20,param_2,aaStack_18)" ( (cast_expression "(string *)&local_20" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_20" & identifier)) , identifier , identifier ))) ;)) (labeled_statement "ios_base::failure::failure((failure *)param_1,(string *)&local_20);" statement_identifier : (ERROR ":" :) (labeled_statement "failure::failure((failure *)param_1,(string *)&local_20);" statement_identifier : (ERROR ":" :) (expression_statement "failure((failure *)param_1,(string *)&local_20);" (call_expression "failure((failure *)param_1,(string *)&local_20)" identifier (argument_list "((failure *)param_1,(string *)&local_20)" ( (cast_expression "(failure *)param_1" ( (type_descriptor "failure *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(string *)&local_20" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_20" & identifier)) ))) ;))) (if_statement "if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }" if (parenthesized_expression "(local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9))" ( (binary_expression "local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)" (binary_expression "local_20 + -0xc" identifier + number_literal) != (pointer_expression "*(int *)(&LAB_0011476c + in_t9)" * (cast_expression "(int *)(&LAB_0011476c + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&LAB_0011476c + in_t9)" ( (binary_expression "&LAB_0011476c + in_t9" (pointer_expression "&LAB_0011476c" & identifier) + identifier) ))))) )) (compound_statement "{\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }" { (if_statement "if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" if (parenthesized_expression "(*(int *)(in_t9 + 0x118b18) == 0)" ( (binary_expression "*(int *)(in_t9 + 0x118b18) == 0" (pointer_expression "*(int *)(in_t9 + 0x118b18)" * (cast_expression "(int *)(in_t9 + 0x118b18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x118b18)" ( (binary_expression "in_t9 + 0x118b18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }" { (expression_statement "iVar1 = *(int *)(local_20 + -4);" (assignment_expression "iVar1 = *(int *)(local_20 + -4)" identifier = (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(local_20 + -4) = iVar1 + -1;" (assignment_expression "*(int *)(local_20 + -4) = iVar1 + -1" (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" else (compound_statement "{\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" { (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "iVar1 = *(int *)(local_20 + -4);" (assignment_expression "iVar1 = *(int *)(local_20 + -4)" identifier = (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(local_20 + -4) = iVar1 + -1;" (assignment_expression "*(int *)(local_20 + -4) = iVar1 + -1" (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) }))) (if_statement "if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }" { (expression_statement "(**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);" (call_expression "(**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c)" (parenthesized_expression "(**(code **)(in_t9 + 0x1146e8))" ( (pointer_expression "**(code **)(in_t9 + 0x1146e8)" * (pointer_expression "*(code **)(in_t9 + 0x1146e8)" * (cast_expression "(code **)(in_t9 + 0x1146e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1146e8)" ( (binary_expression "in_t9 + 0x1146e8" identifier + number_literal) ))))) )) (argument_list "(local_20 + -0xc,auStack_1c)" ( (binary_expression "local_20 + -0xc" identifier + number_literal) , identifier ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void std::__construct_ios_failure(void *param_1,char *param_2)\n\n{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}\n\n" (function_definition "void std::__construct_ios_failure(void *param_1,char *param_2)\n\n{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}" primitive_type (ERROR "std::" identifier : :) (function_declarator "__construct_ios_failure(void *param_1,char *param_2)" identifier (parameter_list "(void *param_1,char *param_2)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined1 auStack_1c [4];" type_identifier (array_declarator "auStack_1c [4]" identifier [ number_literal ]) ;) (declaration "allocator aaStack_18 [12];" type_identifier (array_declarator "aaStack_18 [12]" identifier [ number_literal ]) ;) (labeled_statement "string::string((string *)&local_20,param_2,aaStack_18);" statement_identifier : (ERROR ":" :) (expression_statement "string((string *)&local_20,param_2,aaStack_18);" (call_expression "string((string *)&local_20,param_2,aaStack_18)" identifier (argument_list "((string *)&local_20,param_2,aaStack_18)" ( (cast_expression "(string *)&local_20" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_20" & identifier)) , identifier , identifier ))) ;)) (labeled_statement "ios_base::failure::failure((failure *)param_1,(string *)&local_20);" statement_identifier : (ERROR ":" :) (labeled_statement "failure::failure((failure *)param_1,(string *)&local_20);" statement_identifier : (ERROR ":" :) (expression_statement "failure((failure *)param_1,(string *)&local_20);" (call_expression "failure((failure *)param_1,(string *)&local_20)" identifier (argument_list "((failure *)param_1,(string *)&local_20)" ( (cast_expression "(failure *)param_1" ( (type_descriptor "failure *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(string *)&local_20" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_20" & identifier)) ))) ;))) (if_statement "if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }" if (parenthesized_expression "(local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9))" ( (binary_expression "local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)" (binary_expression "local_20 + -0xc" identifier + number_literal) != (pointer_expression "*(int *)(&LAB_0011476c + in_t9)" * (cast_expression "(int *)(&LAB_0011476c + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&LAB_0011476c + in_t9)" ( (binary_expression "&LAB_0011476c + in_t9" (pointer_expression "&LAB_0011476c" & identifier) + identifier) ))))) )) (compound_statement "{\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }" { (if_statement "if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" if (parenthesized_expression "(*(int *)(in_t9 + 0x118b18) == 0)" ( (binary_expression "*(int *)(in_t9 + 0x118b18) == 0" (pointer_expression "*(int *)(in_t9 + 0x118b18)" * (cast_expression "(int *)(in_t9 + 0x118b18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x118b18)" ( (binary_expression "in_t9 + 0x118b18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }" { (expression_statement "iVar1 = *(int *)(local_20 + -4);" (assignment_expression "iVar1 = *(int *)(local_20 + -4)" identifier = (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(local_20 + -4) = iVar1 + -1;" (assignment_expression "*(int *)(local_20 + -4) = iVar1 + -1" (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" else (compound_statement "{\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" { (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "iVar1 = *(int *)(local_20 + -4);" (assignment_expression "iVar1 = *(int *)(local_20 + -4)" identifier = (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(local_20 + -4) = iVar1 + -1;" (assignment_expression "*(int *)(local_20 + -4) = iVar1 + -1" (pointer_expression "*(int *)(local_20 + -4)" * (cast_expression "(int *)(local_20 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 + -4)" ( (binary_expression "local_20 + -4" identifier + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) }))) (if_statement "if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }" { (expression_statement "(**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);" (call_expression "(**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c)" (parenthesized_expression "(**(code **)(in_t9 + 0x1146e8))" ( (pointer_expression "**(code **)(in_t9 + 0x1146e8)" * (pointer_expression "*(code **)(in_t9 + 0x1146e8)" * (cast_expression "(code **)(in_t9 + 0x1146e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1146e8)" ( (binary_expression "in_t9 + 0x1146e8" identifier + number_literal) ))))) )) (argument_list "(local_20 + -0xc,auStack_1c)" ( (binary_expression "local_20 + -0xc" identifier + number_literal) , identifier ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) , IDENT , IDENT ))) ;)) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) ))) ;))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) })) })) (return_statement return ;) })))
(function_definition "void std::__construct_ios_failure(void *param_1,char *param_2)\n\n{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "std::" (identifier "std") (: ":") (: ":")) (function_declarator "__construct_ios_failure(void *param_1,char *param_2)" (identifier "__construct_ios_failure") (parameter_list "(void *param_1,char *param_2)" (( "(") (parameter_declaration "void *param_1" (primitive_type "void") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int in_t9;\n  int local_20;\n  undefined1 auStack_1c [4];\n  allocator aaStack_18 [12];\n  \n  string::string((string *)&local_20,param_2,aaStack_18);\n  ios_base::failure::failure((failure *)param_1,(string *)&local_20);\n  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined1 auStack_1c [4];" (type_identifier "undefined1") (array_declarator "auStack_1c [4]" (identifier "auStack_1c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "allocator aaStack_18 [12];" (type_identifier "allocator") (array_declarator "aaStack_18 [12]" (identifier "aaStack_18") ([ "[") (number_literal "12") (] "]")) (; ";")) (labeled_statement "string::string((string *)&local_20,param_2,aaStack_18);" (statement_identifier "string") (: ":") (ERROR ":" (: ":")) (expression_statement "string((string *)&local_20,param_2,aaStack_18);" (call_expression "string((string *)&local_20,param_2,aaStack_18)" (identifier "string") (argument_list "((string *)&local_20,param_2,aaStack_18)" (( "(") (cast_expression "(string *)&local_20" (( "(") (type_descriptor "string *" (type_identifier "string") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_20" (& "&") (identifier "local_20"))) (, ",") (identifier "param_2") (, ",") (identifier "aaStack_18") () ")"))) (; ";"))) (labeled_statement "ios_base::failure::failure((failure *)param_1,(string *)&local_20);" (statement_identifier "ios_base") (: ":") (ERROR ":" (: ":")) (labeled_statement "failure::failure((failure *)param_1,(string *)&local_20);" (statement_identifier "failure") (: ":") (ERROR ":" (: ":")) (expression_statement "failure((failure *)param_1,(string *)&local_20);" (call_expression "failure((failure *)param_1,(string *)&local_20)" (identifier "failure") (argument_list "((failure *)param_1,(string *)&local_20)" (( "(") (cast_expression "(failure *)param_1" (( "(") (type_descriptor "failure *" (type_identifier "failure") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) (, ",") (cast_expression "(string *)&local_20" (( "(") (type_descriptor "string *" (type_identifier "string") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_20" (& "&") (identifier "local_20"))) () ")"))) (; ";")))) (if_statement "if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }" (if "if") (parenthesized_expression "(local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9))" (( "(") (binary_expression "local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)" (binary_expression "local_20 + -0xc" (identifier "local_20") (+ "+") (number_literal "-0xc")) (!= "!=") (pointer_expression "*(int *)(&LAB_0011476c + in_t9)" (* "*") (cast_expression "(int *)(&LAB_0011476c + in_t9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&LAB_0011476c + in_t9)" (( "(") (binary_expression "&LAB_0011476c + in_t9" (pointer_expression "&LAB_0011476c" (& "&") (identifier "LAB_0011476c")) (+ "+") (identifier "in_t9")) () ")"))))) () ")")) (compound_statement "{\n    if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }\n    if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }\n  }" ({ "{") (if_statement "if (*(int *)(in_t9 + 0x118b18) == 0) {\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }\n    else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" (if "if") (parenthesized_expression "(*(int *)(in_t9 + 0x118b18) == 0)" (( "(") (binary_expression "*(int *)(in_t9 + 0x118b18) == 0" (pointer_expression "*(int *)(in_t9 + 0x118b18)" (* "*") (cast_expression "(int *)(in_t9 + 0x118b18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x118b18)" (( "(") (binary_expression "in_t9 + 0x118b18" (identifier "in_t9") (+ "+") (number_literal "0x118b18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(local_20 + -4);" (assignment_expression "iVar1 = *(int *)(local_20 + -4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(local_20 + -4)" (* "*") (cast_expression "(int *)(local_20 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_20 + -4)" (( "(") (binary_expression "local_20 + -4" (identifier "local_20") (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (expression_statement "*(int *)(local_20 + -4) = iVar1 + -1;" (assignment_expression "*(int *)(local_20 + -4) = iVar1 + -1" (pointer_expression "*(int *)(local_20 + -4)" (* "*") (cast_expression "(int *)(local_20 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_20 + -4)" (( "(") (binary_expression "local_20 + -4" (identifier "local_20") (+ "+") (number_literal "-4")) () ")")))) (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" (else "else") (compound_statement "{\n      SYNC(0);\n      iVar1 = *(int *)(local_20 + -4);\n      *(int *)(local_20 + -4) = iVar1 + -1;\n      SYNC(0);\n    }" ({ "{") (expression_statement "SYNC(0);" (call_expression "SYNC(0)" (identifier "SYNC") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(local_20 + -4);" (assignment_expression "iVar1 = *(int *)(local_20 + -4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(local_20 + -4)" (* "*") (cast_expression "(int *)(local_20 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_20 + -4)" (( "(") (binary_expression "local_20 + -4" (identifier "local_20") (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (expression_statement "*(int *)(local_20 + -4) = iVar1 + -1;" (assignment_expression "*(int *)(local_20 + -4) = iVar1 + -1" (pointer_expression "*(int *)(local_20 + -4)" (* "*") (cast_expression "(int *)(local_20 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_20 + -4)" (( "(") (binary_expression "local_20 + -4" (identifier "local_20") (+ "+") (number_literal "-4")) () ")")))) (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "SYNC(0);" (call_expression "SYNC(0)" (identifier "SYNC") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (} "}")))) (if_statement "if (iVar1 < 1) {\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }" (if "if") (parenthesized_expression "(iVar1 < 1)" (( "(") (binary_expression "iVar1 < 1" (identifier "iVar1") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);\n    }" ({ "{") (expression_statement "(**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);" (call_expression "(**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c)" (parenthesized_expression "(**(code **)(in_t9 + 0x1146e8))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x1146e8)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x1146e8)" (* "*") (cast_expression "(code **)(in_t9 + 0x1146e8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1146e8)" (( "(") (binary_expression "in_t9 + 0x1146e8" (identifier "in_t9") (+ "+") (number_literal "0x1146e8")) () ")"))))) () ")")) (argument_list "(local_20 + -0xc,auStack_1c)" (( "(") (binary_expression "local_20 + -0xc" (identifier "local_20") (+ "+") (number_literal "-0xc")) (, ",") (identifier "auStack_1c") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void std::function_1(void *param_1,char *param_2)

{
  int var_5;
  int var_4;
  int var_3;
  type_1 auStack_1c [4];
  type_2 aaStack_18 [12];
  
  string::var_1((var_1 *)&var_3,param_2,aaStack_18);
  ios_base::failure::var_2((var_2 *)param_1,(var_1 *)&var_3);
  if (var_3 + -0xc != *(int *)(&LAB_0011476c + var_4)) {
    if (*(int *)(var_4 + 0x118b18) == 0) {
      var_5 = *(int *)(var_3 + -4);
      *(int *)(var_3 + -4) = var_5 + -1;
    }
    else {
      var_6(0);
      var_5 = *(int *)(var_3 + -4);
      *(int *)(var_3 + -4) = var_5 + -1;
      var_6(0);
    }
    if (var_5 < 1) {
      (**(type_3 **)(var_4 + 0x1146e8))(var_3 + -0xc,auStack_1c);
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) (identifier) (identifier))))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))))))) (return_statement))))

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

void std::MASKED(void *param_1,char *param_2)

{
  int iVar1;
  int in_t9;
  int local_20;
  undefined1 auStack_1c [4];
  allocator aaStack_18 [12];
  
  string::string((string *)&local_20,param_2,aaStack_18);
  ios_base::failure::failure((failure *)param_1,(string *)&local_20);
  if (local_20 + -0xc != *(int *)(&LAB_0011476c + in_t9)) {
    if (*(int *)(in_t9 + 0x118b18) == 0) {
      iVar1 = *(int *)(local_20 + -4);
      *(int *)(local_20 + -4) = iVar1 + -1;
    }
    else {
      SYNC(0);
      iVar1 = *(int *)(local_20 + -4);
      *(int *)(local_20 + -4) = iVar1 + -1;
      SYNC(0);
    }
    if (iVar1 < 1) {
      (**(code **)(in_t9 + 0x1146e8))(local_20 + -0xc,auStack_1c);
    }
  }
  return;
}

