
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wostream& std::wostream::_M_insert<bool>(bool) */

wostream * __thiscall std::wostream::_M_insert<bool>(wostream *this,bool param_1)

{
  int *piVar1;
  int iVar2;
  undefined4 uVar3;
  wostream *pwVar4;
  undefined1 **ppuVar5;
  undefined3 in_stack_00000009;
  undefined1 *puStack_50;
  undefined1 auStack_4c [4];
  uint local_48;
  int *local_44;
  undefined **local_40;
  uint local_3c;
  uint local_38;
  undefined1 local_34 [4];
  char local_30;
  sentry local_24 [16];
  undefined4 uStack_14;
  
  uStack_14 = 0x1f76be;
  local_40 = &_GLOBAL_OFFSET_TABLE_;
  local_3c = _param_1;
  sentry::sentry(local_24,this);
  ppuVar5 = (undefined1 **)auStack_4c;
  if (local_24[0] != (sentry)0x0) {
    pwVar4 = this + *(int *)(*(int *)this + -0xc);
    local_44 = *(int **)(pwVar4 + 0x84);
    if (local_44 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
      puStack_50 = (undefined1 *)0x1f77b5;
      __throw_bad_cast();
    }
    local_48 = local_3c & 0xff;
    if (pwVar4[0x78] == (wostream)0x0) {
      piVar1 = *(int **)(pwVar4 + 0x80);
      if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
        puStack_50 = &LAB_001f77bd;
        __throw_bad_cast();
      }
                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */
      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);
      iVar2 = *(int *)this;
      *(undefined4 *)(pwVar4 + 0x74) = uVar3;
      pwVar4[0x78] = (wostream)0x1;
      pwVar4 = this + *(int *)(iVar2 + -0xc);
    }
    else {
      uVar3 = *(undefined4 *)(pwVar4 + 0x74);
    }
    local_3c = *(uint *)(pwVar4 + 0x7c);
    local_38 = (uint)(local_3c == 0);
                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */
    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,pwVar4,uVar3,local_48);
    ppuVar5 = &puStack_50;
    if (local_30 != '\0') {
                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */
      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),
                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |
                  _S_badbit);
      ppuVar5 = &puStack_50;
    }
  }
  *(sentry **)((int)ppuVar5 + -0x10) = local_24;
  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;
  sentry::~sentry(*(sentry **)((int)ppuVar5 + -0x10));
  return this;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int * FUN_001f76b0(int *param_1,uint param_2)

{
  int *piVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  undefined1 **ppuVar5;
  undefined1 *puStack_50;
  undefined1 auStack_4c [4];
  uint local_48;
  int *local_44;
  undefined **local_40;
  uint local_3c;
  uint local_38;
  undefined1 local_34 [4];
  char local_30;
  char local_24 [16];
  undefined4 uStack_14;
  
  uStack_14 = 0x1f76be;
  local_40 = &__DT_PLTGOT;
  local_3c = param_2;
  FUN_001f65a0(local_24,param_1);
  ppuVar5 = (undefined1 **)auStack_4c;
  if (local_24[0] != '\0') {
    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;
    local_44 = *(int **)(iVar4 + 0x84);
    if (local_44 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
      puStack_50 = (undefined1 *)0x1f77b5;
      FUN_0022c630();
    }
    local_48 = local_3c & 0xff;
    if (*(char *)(iVar4 + 0x78) == '\0') {
      piVar1 = *(int **)(iVar4 + 0x80);
      if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
        puStack_50 = &LAB_001f77bd;
        FUN_0022c630();
      }
                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */
      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);
      iVar2 = *param_1;
      *(undefined4 *)(iVar4 + 0x74) = uVar3;
      *(undefined1 *)(iVar4 + 0x78) = 1;
      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;
    }
    else {
      uVar3 = *(undefined4 *)(iVar4 + 0x74);
    }
    local_3c = *(uint *)(iVar4 + 0x7c);
    local_38 = (uint)(local_3c == 0);
                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */
    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);
    ppuVar5 = &puStack_50;
    if (local_30 != '\0') {
      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;
                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */
      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);
      ppuVar5 = &puStack_50;
    }
  }
  *(char **)((int)ppuVar5 + -0x10) = local_24;
  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;
  FUN_001f6620();
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
LEA EDI,[EBP + -0x20]
PUSH EBX
CALL 0x00035840
ADD EBX,0x197942
SUB ESP,0x44
MOV ESI,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EBP + 0xc]
PUSH ESI
PUSH EDI
MOV dword ptr [EBP + -0x3c],EBX
MOV dword ptr [EBP + -0x38],EAX
CALL 0x001f65a0
ADD ESP,0x10
CMP byte ptr [EBP + -0x20],0x0
JZ 0x001f7761
MOV EAX,dword ptr [ESI]
MOV EBX,dword ptr [EAX + -0xc]
ADD EBX,ESI
MOV EAX,dword ptr [EBX + 0x84]
MOV dword ptr [EBP + -0x40],EAX
TEST EAX,EAX
JZ 0x001f77ad
MOVZX EAX,byte ptr [EBP + -0x38]
CMP byte ptr [EBX + 0x78],0x0
MOV dword ptr [EBP + -0x44],EAX
JZ 0x001f7780
MOV ECX,dword ptr [EBX + 0x74]
MOV EAX,dword ptr [EBX + 0x7c]
MOV dword ptr [EBP + -0x34],0x0
LEA EDX,[EBP + -0x30]
TEST EAX,EAX
MOV dword ptr [EBP + -0x38],EAX
MOV EAX,dword ptr [EBP + -0x40]
SETZ byte ptr [EBP + -0x34]
SUB ESP,0x4
MOV EAX,dword ptr [EAX]
PUSH dword ptr [EBP + -0x44]
PUSH ECX
PUSH EBX
PUSH dword ptr [EBP + -0x34]
PUSH dword ptr [EBP + -0x38]
PUSH dword ptr [EBP + -0x40]
PUSH EDX
CALL dword ptr [EAX + 0x8]
ADD ESP,0x1c
CMP byte ptr [EBP + -0x2c],0x0
JZ 0x001f7761
MOV EAX,dword ptr [ESI]
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x3c]
MOV EDX,dword ptr [EAX + -0xc]
ADD EDX,ESI
MOV EAX,dword ptr [EDX + 0x14]
OR EAX,0x1
PUSH EAX
PUSH EDX
CALL 0x002116a0
ADD ESP,0x10
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x3c]
PUSH EDI
CALL 0x001f6620
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBX + 0x80]
TEST EAX,EAX
JZ 0x001f77b5
MOV EDX,dword ptr [EAX]
SUB ESP,0x8
PUSH 0x20
PUSH EAX
CALL dword ptr [EDX + 0x28]
MOV EDX,dword ptr [ESI]
MOV dword ptr [EBX + 0x74],EAX
MOV ECX,EAX
ADD ESP,0x10
MOV byte ptr [EBX + 0x78],0x1
MOV EBX,dword ptr [EDX + -0xc]
ADD EBX,ESI
JMP 0x001f770b
MOV EBX,dword ptr [EBP + -0x3c]
CALL 0x0022c630
MOV EBX,dword ptr [EBP + -0x3c]
CALL 0x0022c630
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_001f76b0(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined1 **ppuVar5;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  char local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_2;\n  FUN_001f65a0(local_24,param_1);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(char **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  FUN_001f6620();\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_001f76b0(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined1 **ppuVar5;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  char local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_2;\n  FUN_001f65a0(local_24,param_1);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(char **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  FUN_001f6620();\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_001f76b0(int *param_1,uint param_2)" * (function_declarator "FUN_001f76b0(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined1 **ppuVar5;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  char local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_2;\n  FUN_001f65a0(local_24,param_1);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(char **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  FUN_001f6620();\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined1 **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "undefined1 *puStack_50;" type_identifier (pointer_declarator "*puStack_50" * identifier) ;) (declaration "undefined1 auStack_4c [4];" type_identifier (array_declarator "auStack_4c [4]" identifier [ number_literal ]) ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "int *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined **local_40;" type_identifier (pointer_declarator "**local_40" * (pointer_declarator "*local_40" * identifier)) ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "undefined1 local_34 [4];" type_identifier (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "char local_30;" primitive_type identifier ;) (declaration "char local_24 [16];" primitive_type (array_declarator "local_24 [16]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1f76be;" (assignment_expression "uStack_14 = 0x1f76be" identifier = number_literal) ;) (expression_statement "local_40 = &__DT_PLTGOT;" (assignment_expression "local_40 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "local_3c = param_2;" (assignment_expression "local_3c = param_2" identifier = identifier) ;) (expression_statement "FUN_001f65a0(local_24,param_1);" (call_expression "FUN_001f65a0(local_24,param_1)" identifier (argument_list "(local_24,param_1)" ( identifier , identifier ))) ;) (expression_statement "ppuVar5 = (undefined1 **)auStack_4c;" (assignment_expression "ppuVar5 = (undefined1 **)auStack_4c" identifier = (cast_expression "(undefined1 **)auStack_4c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (if_statement "if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }" if (parenthesized_expression "(local_24[0] != '\0')" ( (binary_expression "local_24[0] != '\0'" (subscript_expression "local_24[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }" { (expression_statement "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_44 = *(int **)(iVar4 + 0x84);" (assignment_expression "local_44 = *(int **)(iVar4 + 0x84)" identifier = (pointer_expression "*(int **)(iVar4 + 0x84)" * (cast_expression "(int **)(iVar4 + 0x84)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x84)" ( (binary_expression "iVar4 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }" if (parenthesized_expression "(local_44 == (int *)0x0)" ( (binary_expression "local_44 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }" { comment (expression_statement "puStack_50 = (undefined1 *)0x1f77b5;" (assignment_expression "puStack_50 = (undefined1 *)0x1f77b5" identifier = (cast_expression "(undefined1 *)0x1f77b5" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_48 = local_3c & 0xff;" (assignment_expression "local_48 = local_3c & 0xff" identifier = (binary_expression "local_3c & 0xff" identifier & number_literal)) ;) (if_statement "if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" if (parenthesized_expression "(*(char *)(iVar4 + 0x78) == '\0')" ( (binary_expression "*(char *)(iVar4 + 0x78) == '\0'" (pointer_expression "*(char *)(iVar4 + 0x78)" * (cast_expression "(char *)(iVar4 + 0x78)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x78)" ( (binary_expression "iVar4 + 0x78" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }" { (expression_statement "piVar1 = *(int **)(iVar4 + 0x80);" (assignment_expression "piVar1 = *(int **)(iVar4 + 0x80)" identifier = (pointer_expression "*(int **)(iVar4 + 0x80)" * (cast_expression "(int **)(iVar4 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x80)" ( (binary_expression "iVar4 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }" { comment (expression_statement "puStack_50 = &LAB_001f77bd;" (assignment_expression "puStack_50 = &LAB_001f77bd" identifier = (pointer_expression "&LAB_001f77bd" & identifier)) ;) (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,0x20)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x20)" ( identifier , number_literal )))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x74) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x74) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x74)" * (cast_expression "(undefined4 *)(iVar4 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x74)" ( (binary_expression "iVar4 + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar4 + 0x78) = 1;" (assignment_expression "*(undefined1 *)(iVar4 + 0x78) = 1" (pointer_expression "*(undefined1 *)(iVar4 + 0x78)" * (cast_expression "(undefined1 *)(iVar4 + 0x78)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x78)" ( (binary_expression "iVar4 + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(iVar2 + -0xc) + (int)param_1" (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" else (compound_statement "{\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" { (expression_statement "uVar3 = *(undefined4 *)(iVar4 + 0x74);" (assignment_expression "uVar3 = *(undefined4 *)(iVar4 + 0x74)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x74)" * (cast_expression "(undefined4 *)(iVar4 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x74)" ( (binary_expression "iVar4 + 0x74" identifier + number_literal) ))))) ;) }))) (expression_statement "local_3c = *(uint *)(iVar4 + 0x7c);" (assignment_expression "local_3c = *(uint *)(iVar4 + 0x7c)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x7c)" * (cast_expression "(uint *)(iVar4 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x7c)" ( (binary_expression "iVar4 + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "local_38 = (uint)(local_3c == 0);" (assignment_expression "local_38 = (uint)(local_3c == 0)" identifier = (call_expression "(uint)(local_3c == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )))) ;) comment (expression_statement "(**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);" (call_expression "(**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48)" (parenthesized_expression "(**(code **)(*local_44 + 8))" ( (pointer_expression "**(code **)(*local_44 + 8)" * (pointer_expression "*(code **)(*local_44 + 8)" * (cast_expression "(code **)(*local_44 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_44 + 8)" ( (binary_expression "*local_44 + 8" (pointer_expression "*local_44" * identifier) + number_literal) ))))) )) (argument_list "(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "ppuVar5 = &puStack_50;" (assignment_expression "ppuVar5 = &puStack_50" identifier = (pointer_expression "&puStack_50" & identifier)) ;) (if_statement "if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }" if (parenthesized_expression "(local_30 != '\0')" ( (binary_expression "local_30 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }" { (expression_statement "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) comment (expression_statement "FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);" (call_expression "FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1)" identifier (argument_list "(iVar4,*(uint *)(iVar4 + 0x14) | 1)" ( identifier , (binary_expression "*(uint *)(iVar4 + 0x14) | 1" (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) (expression_statement "ppuVar5 = &puStack_50;" (assignment_expression "ppuVar5 = &puStack_50" identifier = (pointer_expression "&puStack_50" & identifier)) ;) })) })) (expression_statement "*(char **)((int)ppuVar5 + -0x10) = local_24;" (assignment_expression "*(char **)((int)ppuVar5 + -0x10) = local_24" (pointer_expression "*(char **)((int)ppuVar5 + -0x10)" * (cast_expression "(char **)((int)ppuVar5 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar5 + -0x10)" ( (binary_expression "(int)ppuVar5 + -0x10" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;" (assignment_expression "*(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d" (pointer_expression "*(undefined4 *)((int)ppuVar5 + -0x14)" * (cast_expression "(undefined4 *)((int)ppuVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppuVar5 + -0x14)" ( (binary_expression "(int)ppuVar5 + -0x14" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_001f6620();" (call_expression "FUN_001f6620()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wostream& std::wostream::_M_insert<bool>(bool) */\n\nwostream * __thiscall std::wostream::_M_insert<bool>(wostream *this,bool param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  wostream *pwVar4;\n  undefined1 **ppuVar5;\n  undefined3 in_stack_00000009;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  sentry local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &_GLOBAL_OFFSET_TABLE_;\n  local_3c = _param_1;\n  sentry::sentry(local_24,this);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != (sentry)0x0) {\n    pwVar4 = this + *(int *)(*(int *)this + -0xc);\n    local_44 = *(int **)(pwVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      __throw_bad_cast();\n    }\n    local_48 = local_3c & 0xff;\n    if (pwVar4[0x78] == (wostream)0x0) {\n      piVar1 = *(int **)(pwVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        __throw_bad_cast();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *(int *)this;\n      *(undefined4 *)(pwVar4 + 0x74) = uVar3;\n      pwVar4[0x78] = (wostream)0x1;\n      pwVar4 = this + *(int *)(iVar2 + -0xc);\n    }\n    else {\n      uVar3 = *(undefined4 *)(pwVar4 + 0x74);\n    }\n    local_3c = *(uint *)(pwVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,pwVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(sentry **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  sentry::~sentry(*(sentry **)((int)ppuVar5 + -0x10));\n  return this;\n}\n\n" comment comment (ERROR "wostream * __thiscall std::wostream::_M_insert<bool>(wostream *this,bool param_1)" (binary_expression "wostream * __thiscall std::wostream::_M_insert<bool>(wostream *this,bool param_1)" (binary_expression "wostream * __thiscall std::wostream::_M_insert<bool" (binary_expression "wostream * __thiscall" identifier * identifier) (ERROR "std::wostream::_M_insert" identifier : : identifier : : identifier) < identifier) > (parenthesized_expression "(wostream *this,bool param_1)" ( (comma_expression "wostream *this,bool param_1" (binary_expression "wostream *this" identifier * identifier) , (ERROR "bool" identifier) identifier) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  wostream *pwVar4;\n  undefined1 **ppuVar5;\n  undefined3 in_stack_00000009;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  sentry local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &_GLOBAL_OFFSET_TABLE_;\n  local_3c = _param_1;\n  sentry::sentry(local_24,this);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != (sentry)0x0) {\n    pwVar4 = this + *(int *)(*(int *)this + -0xc);\n    local_44 = *(int **)(pwVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      __throw_bad_cast();\n    }\n    local_48 = local_3c & 0xff;\n    if (pwVar4[0x78] == (wostream)0x0) {\n      piVar1 = *(int **)(pwVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        __throw_bad_cast();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *(int *)this;\n      *(undefined4 *)(pwVar4 + 0x74) = uVar3;\n      pwVar4[0x78] = (wostream)0x1;\n      pwVar4 = this + *(int *)(iVar2 + -0xc);\n    }\n    else {\n      uVar3 = *(undefined4 *)(pwVar4 + 0x74);\n    }\n    local_3c = *(uint *)(pwVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,pwVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(sentry **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  sentry::~sentry(*(sentry **)((int)ppuVar5 + -0x10));\n  return this;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "wostream *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "undefined1 **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "undefined3 in_stack_00000009;" type_identifier identifier ;) (declaration "undefined1 *puStack_50;" type_identifier (pointer_declarator "*puStack_50" * identifier) ;) (declaration "undefined1 auStack_4c [4];" type_identifier (array_declarator "auStack_4c [4]" identifier [ number_literal ]) ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "int *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined **local_40;" type_identifier (pointer_declarator "**local_40" * (pointer_declarator "*local_40" * identifier)) ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "undefined1 local_34 [4];" type_identifier (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "char local_30;" primitive_type identifier ;) (declaration "sentry local_24 [16];" type_identifier (array_declarator "local_24 [16]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1f76be;" (assignment_expression "uStack_14 = 0x1f76be" identifier = number_literal) ;) (expression_statement "local_40 = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "local_40 = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "local_3c = _param_1;" (assignment_expression "local_3c = _param_1" identifier = identifier) ;) (labeled_statement "sentry::sentry(local_24,this);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_24,this);" (call_expression "sentry(local_24,this)" identifier (argument_list "(local_24,this)" ( identifier , identifier ))) ;)) (expression_statement "ppuVar5 = (undefined1 **)auStack_4c;" (assignment_expression "ppuVar5 = (undefined1 **)auStack_4c" identifier = (cast_expression "(undefined1 **)auStack_4c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (if_statement "if (local_24[0] != (sentry)0x0) {\n    pwVar4 = this + *(int *)(*(int *)this + -0xc);\n    local_44 = *(int **)(pwVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      __throw_bad_cast();\n    }\n    local_48 = local_3c & 0xff;\n    if (pwVar4[0x78] == (wostream)0x0) {\n      piVar1 = *(int **)(pwVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        __throw_bad_cast();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *(int *)this;\n      *(undefined4 *)(pwVar4 + 0x74) = uVar3;\n      pwVar4[0x78] = (wostream)0x1;\n      pwVar4 = this + *(int *)(iVar2 + -0xc);\n    }\n    else {\n      uVar3 = *(undefined4 *)(pwVar4 + 0x74);\n    }\n    local_3c = *(uint *)(pwVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,pwVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit);\n      ppuVar5 = &puStack_50;\n    }\n  }" if (parenthesized_expression "(local_24[0] != (sentry)0x0)" ( (binary_expression "local_24[0] != (sentry)0x0" (subscript_expression "local_24[0]" identifier [ number_literal ]) != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    pwVar4 = this + *(int *)(*(int *)this + -0xc);\n    local_44 = *(int **)(pwVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      __throw_bad_cast();\n    }\n    local_48 = local_3c & 0xff;\n    if (pwVar4[0x78] == (wostream)0x0) {\n      piVar1 = *(int **)(pwVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        __throw_bad_cast();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *(int *)this;\n      *(undefined4 *)(pwVar4 + 0x74) = uVar3;\n      pwVar4[0x78] = (wostream)0x1;\n      pwVar4 = this + *(int *)(iVar2 + -0xc);\n    }\n    else {\n      uVar3 = *(undefined4 *)(pwVar4 + 0x74);\n    }\n    local_3c = *(uint *)(pwVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */\n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,pwVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit);\n      ppuVar5 = &puStack_50;\n    }\n  }" { (expression_statement "pwVar4 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "pwVar4 = this + *(int *)(*(int *)this + -0xc)" identifier = (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) (expression_statement "local_44 = *(int **)(pwVar4 + 0x84);" (assignment_expression "local_44 = *(int **)(pwVar4 + 0x84)" identifier = (pointer_expression "*(int **)(pwVar4 + 0x84)" * (cast_expression "(int **)(pwVar4 + 0x84)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pwVar4 + 0x84)" ( (binary_expression "pwVar4 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (local_44 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      __throw_bad_cast();\n    }" if (parenthesized_expression "(local_44 == (int *)0x0)" ( (binary_expression "local_44 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      puStack_50 = (undefined1 *)0x1f77b5;\n      __throw_bad_cast();\n    }" { comment (expression_statement "puStack_50 = (undefined1 *)0x1f77b5;" (assignment_expression "puStack_50 = (undefined1 *)0x1f77b5" identifier = (cast_expression "(undefined1 *)0x1f77b5" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_48 = local_3c & 0xff;" (assignment_expression "local_48 = local_3c & 0xff" identifier = (binary_expression "local_3c & 0xff" identifier & number_literal)) ;) (if_statement "if (pwVar4[0x78] == (wostream)0x0) {\n      piVar1 = *(int **)(pwVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        __throw_bad_cast();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *(int *)this;\n      *(undefined4 *)(pwVar4 + 0x74) = uVar3;\n      pwVar4[0x78] = (wostream)0x1;\n      pwVar4 = this + *(int *)(iVar2 + -0xc);\n    }\n    else {\n      uVar3 = *(undefined4 *)(pwVar4 + 0x74);\n    }" if (parenthesized_expression "(pwVar4[0x78] == (wostream)0x0)" ( (binary_expression "pwVar4[0x78] == (wostream)0x0" (subscript_expression "pwVar4[0x78]" identifier [ number_literal ]) == (cast_expression "(wostream)0x0" ( (type_descriptor "wostream" type_identifier) ) number_literal)) )) (compound_statement "{\n      piVar1 = *(int **)(pwVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        __throw_bad_cast();\n      }\n                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */\n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *(int *)this;\n      *(undefined4 *)(pwVar4 + 0x74) = uVar3;\n      pwVar4[0x78] = (wostream)0x1;\n      pwVar4 = this + *(int *)(iVar2 + -0xc);\n    }" { (expression_statement "piVar1 = *(int **)(pwVar4 + 0x80);" (assignment_expression "piVar1 = *(int **)(pwVar4 + 0x80)" identifier = (pointer_expression "*(int **)(pwVar4 + 0x80)" * (cast_expression "(int **)(pwVar4 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pwVar4 + 0x80)" ( (binary_expression "pwVar4 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        __throw_bad_cast();\n      }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        puStack_50 = &LAB_001f77bd;\n        __throw_bad_cast();\n      }" { comment (expression_statement "puStack_50 = &LAB_001f77bd;" (assignment_expression "puStack_50 = &LAB_001f77bd" identifier = (pointer_expression "&LAB_001f77bd" & identifier)) ;) (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,0x20)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x20)" ( identifier , number_literal )))) ;) (expression_statement "iVar2 = *(int *)this;" (assignment_expression "iVar2 = *(int *)this" identifier = (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(pwVar4 + 0x74) = uVar3;" (assignment_expression "*(undefined4 *)(pwVar4 + 0x74) = uVar3" (pointer_expression "*(undefined4 *)(pwVar4 + 0x74)" * (cast_expression "(undefined4 *)(pwVar4 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar4 + 0x74)" ( (binary_expression "pwVar4 + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "pwVar4[0x78] = (wostream)0x1;" (assignment_expression "pwVar4[0x78] = (wostream)0x1" (subscript_expression "pwVar4[0x78]" identifier [ number_literal ]) = (cast_expression "(wostream)0x1" ( (type_descriptor "wostream" type_identifier) ) number_literal)) ;) (expression_statement "pwVar4 = this + *(int *)(iVar2 + -0xc);" (assignment_expression "pwVar4 = this + *(int *)(iVar2 + -0xc)" identifier = (binary_expression "this + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) )))))) ;) }) (else_clause "else {\n      uVar3 = *(undefined4 *)(pwVar4 + 0x74);\n    }" else (compound_statement "{\n      uVar3 = *(undefined4 *)(pwVar4 + 0x74);\n    }" { (expression_statement "uVar3 = *(undefined4 *)(pwVar4 + 0x74);" (assignment_expression "uVar3 = *(undefined4 *)(pwVar4 + 0x74)" identifier = (pointer_expression "*(undefined4 *)(pwVar4 + 0x74)" * (cast_expression "(undefined4 *)(pwVar4 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar4 + 0x74)" ( (binary_expression "pwVar4 + 0x74" identifier + number_literal) ))))) ;) }))) (expression_statement "local_3c = *(uint *)(pwVar4 + 0x7c);" (assignment_expression "local_3c = *(uint *)(pwVar4 + 0x7c)" identifier = (pointer_expression "*(uint *)(pwVar4 + 0x7c)" * (cast_expression "(uint *)(pwVar4 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar4 + 0x7c)" ( (binary_expression "pwVar4 + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "local_38 = (uint)(local_3c == 0);" (assignment_expression "local_38 = (uint)(local_3c == 0)" identifier = (call_expression "(uint)(local_3c == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )))) ;) comment (expression_statement "(**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,pwVar4,uVar3,local_48);" (call_expression "(**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,pwVar4,uVar3,local_48)" (parenthesized_expression "(**(code **)(*local_44 + 8))" ( (pointer_expression "**(code **)(*local_44 + 8)" * (pointer_expression "*(code **)(*local_44 + 8)" * (cast_expression "(code **)(*local_44 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_44 + 8)" ( (binary_expression "*local_44 + 8" (pointer_expression "*local_44" * identifier) + number_literal) ))))) )) (argument_list "(local_34,local_44,local_3c,local_38,pwVar4,uVar3,local_48)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "ppuVar5 = &puStack_50;" (assignment_expression "ppuVar5 = &puStack_50" identifier = (pointer_expression "&puStack_50" & identifier)) ;) (if_statement "if (local_30 != '\0') {\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit);\n      ppuVar5 = &puStack_50;\n    }" if (parenthesized_expression "(local_30 != '\0')" ( (binary_expression "local_30 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit);\n      ppuVar5 = &puStack_50;\n    }" { comment (labeled_statement "wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit);" statement_identifier : (ERROR ":" :) (expression_statement "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit);" (call_expression "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit)" identifier (argument_list "((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit)" ( (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "*(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) |\n                  _S_badbit" (pointer_expression "*(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" * (cast_expression "(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (binary_expression "(wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) )))) | identifier) ))) ;)) (expression_statement "ppuVar5 = &puStack_50;" (assignment_expression "ppuVar5 = &puStack_50" identifier = (pointer_expression "&puStack_50" & identifier)) ;) })) })) (expression_statement "*(sentry **)((int)ppuVar5 + -0x10) = local_24;" (assignment_expression "*(sentry **)((int)ppuVar5 + -0x10) = local_24" (pointer_expression "*(sentry **)((int)ppuVar5 + -0x10)" * (cast_expression "(sentry **)((int)ppuVar5 + -0x10)" ( (type_descriptor "sentry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar5 + -0x10)" ( (binary_expression "(int)ppuVar5 + -0x10" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;" (assignment_expression "*(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d" (pointer_expression "*(undefined4 *)((int)ppuVar5 + -0x14)" * (cast_expression "(undefined4 *)((int)ppuVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppuVar5 + -0x14)" ( (binary_expression "(int)ppuVar5 + -0x14" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (labeled_statement "sentry::~sentry(*(sentry **)((int)ppuVar5 + -0x10));" statement_identifier : (ERROR ":" :) (expression_statement "~sentry(*(sentry **)((int)ppuVar5 + -0x10));" (unary_expression "~sentry(*(sentry **)((int)ppuVar5 + -0x10))" ~ (call_expression "sentry(*(sentry **)((int)ppuVar5 + -0x10))" identifier (argument_list "(*(sentry **)((int)ppuVar5 + -0x10))" ( (pointer_expression "*(sentry **)((int)ppuVar5 + -0x10)" * (cast_expression "(sentry **)((int)ppuVar5 + -0x10)" ( (type_descriptor "sentry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar5 + -0x10)" ( (binary_expression "(int)ppuVar5 + -0x10" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;)) (return_statement "return this;" return identifier ;) }))
(translation_unit "int * FUN_001f76b0(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined1 **ppuVar5;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  char local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_2;\n  FUN_001f65a0(local_24,param_1);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(char **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  FUN_001f6620();\n  return param_1;\n}\n\n" (function_definition "int * FUN_001f76b0(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined1 **ppuVar5;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  char local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_2;\n  FUN_001f65a0(local_24,param_1);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(char **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  FUN_001f6620();\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_001f76b0(int *param_1,uint param_2)" * (function_declarator "FUN_001f76b0(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined1 **ppuVar5;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  char local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_2;\n  FUN_001f65a0(local_24,param_1);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(char **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  FUN_001f6620();\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined1 **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "undefined1 *puStack_50;" type_identifier (pointer_declarator "*puStack_50" * identifier) ;) (declaration "undefined1 auStack_4c [4];" type_identifier (array_declarator "auStack_4c [4]" identifier [ number_literal ]) ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "int *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined **local_40;" type_identifier (pointer_declarator "**local_40" * (pointer_declarator "*local_40" * identifier)) ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "undefined1 local_34 [4];" type_identifier (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "char local_30;" primitive_type identifier ;) (declaration "char local_24 [16];" primitive_type (array_declarator "local_24 [16]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1f76be;" (assignment_expression "uStack_14 = 0x1f76be" identifier = number_literal) ;) (expression_statement "local_40 = &__DT_PLTGOT;" (assignment_expression "local_40 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "local_3c = param_2;" (assignment_expression "local_3c = param_2" identifier = identifier) ;) (expression_statement "FUN_001f65a0(local_24,param_1);" (call_expression "FUN_001f65a0(local_24,param_1)" identifier (argument_list "(local_24,param_1)" ( identifier , identifier ))) ;) (expression_statement "ppuVar5 = (undefined1 **)auStack_4c;" (assignment_expression "ppuVar5 = (undefined1 **)auStack_4c" identifier = (cast_expression "(undefined1 **)auStack_4c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (if_statement "if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }" if (parenthesized_expression "(local_24[0] != '\0')" ( (binary_expression "local_24[0] != '\0'" (subscript_expression "local_24[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }" { (expression_statement "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_44 = *(int **)(iVar4 + 0x84);" (assignment_expression "local_44 = *(int **)(iVar4 + 0x84)" identifier = (pointer_expression "*(int **)(iVar4 + 0x84)" * (cast_expression "(int **)(iVar4 + 0x84)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x84)" ( (binary_expression "iVar4 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }" if (parenthesized_expression "(local_44 == (int *)0x0)" ( (binary_expression "local_44 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }" { (expression_statement "puStack_50 = (undefined1 *)0x1f77b5;" (assignment_expression "puStack_50 = (undefined1 *)0x1f77b5" identifier = (cast_expression "(undefined1 *)0x1f77b5" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_48 = local_3c & 0xff;" (assignment_expression "local_48 = local_3c & 0xff" identifier = (binary_expression "local_3c & 0xff" identifier & number_literal)) ;) (if_statement "if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" if (parenthesized_expression "(*(char *)(iVar4 + 0x78) == '\0')" ( (binary_expression "*(char *)(iVar4 + 0x78) == '\0'" (pointer_expression "*(char *)(iVar4 + 0x78)" * (cast_expression "(char *)(iVar4 + 0x78)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x78)" ( (binary_expression "iVar4 + 0x78" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }" { (expression_statement "piVar1 = *(int **)(iVar4 + 0x80);" (assignment_expression "piVar1 = *(int **)(iVar4 + 0x80)" identifier = (pointer_expression "*(int **)(iVar4 + 0x80)" * (cast_expression "(int **)(iVar4 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x80)" ( (binary_expression "iVar4 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }" { (expression_statement "puStack_50 = &LAB_001f77bd;" (assignment_expression "puStack_50 = &LAB_001f77bd" identifier = (pointer_expression "&LAB_001f77bd" & identifier)) ;) (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,0x20)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x20)" ( identifier , number_literal )))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x74) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x74) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x74)" * (cast_expression "(undefined4 *)(iVar4 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x74)" ( (binary_expression "iVar4 + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar4 + 0x78) = 1;" (assignment_expression "*(undefined1 *)(iVar4 + 0x78) = 1" (pointer_expression "*(undefined1 *)(iVar4 + 0x78)" * (cast_expression "(undefined1 *)(iVar4 + 0x78)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x78)" ( (binary_expression "iVar4 + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(iVar2 + -0xc) + (int)param_1" (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" else (compound_statement "{\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" { (expression_statement "uVar3 = *(undefined4 *)(iVar4 + 0x74);" (assignment_expression "uVar3 = *(undefined4 *)(iVar4 + 0x74)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x74)" * (cast_expression "(undefined4 *)(iVar4 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x74)" ( (binary_expression "iVar4 + 0x74" identifier + number_literal) ))))) ;) }))) (expression_statement "local_3c = *(uint *)(iVar4 + 0x7c);" (assignment_expression "local_3c = *(uint *)(iVar4 + 0x7c)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x7c)" * (cast_expression "(uint *)(iVar4 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x7c)" ( (binary_expression "iVar4 + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "local_38 = (uint)(local_3c == 0);" (assignment_expression "local_38 = (uint)(local_3c == 0)" identifier = (call_expression "(uint)(local_3c == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )))) ;) (expression_statement "(**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);" (call_expression "(**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48)" (parenthesized_expression "(**(code **)(*local_44 + 8))" ( (pointer_expression "**(code **)(*local_44 + 8)" * (pointer_expression "*(code **)(*local_44 + 8)" * (cast_expression "(code **)(*local_44 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_44 + 8)" ( (binary_expression "*local_44 + 8" (pointer_expression "*local_44" * identifier) + number_literal) ))))) )) (argument_list "(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "ppuVar5 = &puStack_50;" (assignment_expression "ppuVar5 = &puStack_50" identifier = (pointer_expression "&puStack_50" & identifier)) ;) (if_statement "if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }" if (parenthesized_expression "(local_30 != '\0')" ( (binary_expression "local_30 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }" { (expression_statement "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);" (call_expression "FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1)" identifier (argument_list "(iVar4,*(uint *)(iVar4 + 0x14) | 1)" ( identifier , (binary_expression "*(uint *)(iVar4 + 0x14) | 1" (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) (expression_statement "ppuVar5 = &puStack_50;" (assignment_expression "ppuVar5 = &puStack_50" identifier = (pointer_expression "&puStack_50" & identifier)) ;) })) })) (expression_statement "*(char **)((int)ppuVar5 + -0x10) = local_24;" (assignment_expression "*(char **)((int)ppuVar5 + -0x10) = local_24" (pointer_expression "*(char **)((int)ppuVar5 + -0x10)" * (cast_expression "(char **)((int)ppuVar5 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar5 + -0x10)" ( (binary_expression "(int)ppuVar5 + -0x10" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;" (assignment_expression "*(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d" (pointer_expression "*(undefined4 *)((int)ppuVar5 + -0x14)" * (cast_expression "(undefined4 *)((int)ppuVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppuVar5 + -0x14)" ( (binary_expression "(int)ppuVar5 + -0x14" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_001f6620();" (call_expression "FUN_001f6620()" identifier (argument_list "()" ( ))) ;) (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) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) ;) (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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_001f76b0(int *param_1,uint param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined1 **ppuVar5;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  char local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_2;\n  FUN_001f65a0(local_24,param_1);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(char **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  FUN_001f6620();\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_001f76b0(int *param_1,uint param_2)" (* "*") (function_declarator "FUN_001f76b0(int *param_1,uint param_2)" (identifier "FUN_001f76b0") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")")))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined1 **ppuVar5;\n  undefined1 *puStack_50;\n  undefined1 auStack_4c [4];\n  uint local_48;\n  int *local_44;\n  undefined **local_40;\n  uint local_3c;\n  uint local_38;\n  undefined1 local_34 [4];\n  char local_30;\n  char local_24 [16];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1f76be;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_2;\n  FUN_001f65a0(local_24,param_1);\n  ppuVar5 = (undefined1 **)auStack_4c;\n  if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }\n  *(char **)((int)ppuVar5 + -0x10) = local_24;\n  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;\n  FUN_001f6620();\n  return param_1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined1 **ppuVar5;" (type_identifier "undefined1") (pointer_declarator "**ppuVar5" (* "*") (pointer_declarator "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (declaration "undefined1 *puStack_50;" (type_identifier "undefined1") (pointer_declarator "*puStack_50" (* "*") (identifier "puStack_50")) (; ";")) (declaration "undefined1 auStack_4c [4];" (type_identifier "undefined1") (array_declarator "auStack_4c [4]" (identifier "auStack_4c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "uint local_48;" (type_identifier "uint") (identifier "local_48") (; ";")) (declaration "int *local_44;" (primitive_type "int") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "undefined **local_40;" (type_identifier "undefined") (pointer_declarator "**local_40" (* "*") (pointer_declarator "*local_40" (* "*") (identifier "local_40"))) (; ";")) (declaration "uint local_3c;" (type_identifier "uint") (identifier "local_3c") (; ";")) (declaration "uint local_38;" (type_identifier "uint") (identifier "local_38") (; ";")) (declaration "undefined1 local_34 [4];" (type_identifier "undefined1") (array_declarator "local_34 [4]" (identifier "local_34") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "char local_30;" (primitive_type "char") (identifier "local_30") (; ";")) (declaration "char local_24 [16];" (primitive_type "char") (array_declarator "local_24 [16]" (identifier "local_24") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1f76be;" (assignment_expression "uStack_14 = 0x1f76be" (identifier "uStack_14") (= "=") (number_literal "0x1f76be")) (; ";")) (expression_statement "local_40 = &__DT_PLTGOT;" (assignment_expression "local_40 = &__DT_PLTGOT" (identifier "local_40") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "local_3c = param_2;" (assignment_expression "local_3c = param_2" (identifier "local_3c") (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_001f65a0(local_24,param_1);" (call_expression "FUN_001f65a0(local_24,param_1)" (identifier "FUN_001f65a0") (argument_list "(local_24,param_1)" (( "(") (identifier "local_24") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "ppuVar5 = (undefined1 **)auStack_4c;" (assignment_expression "ppuVar5 = (undefined1 **)auStack_4c" (identifier "ppuVar5") (= "=") (cast_expression "(undefined1 **)auStack_4c" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "auStack_4c"))) (; ";")) (if_statement "if (local_24[0] != '\0') {\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }" (if "if") (parenthesized_expression "(local_24[0] != '\0')" (( "(") (binary_expression "local_24[0] != '\0'" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    local_44 = *(int **)(iVar4 + 0x84);\n    if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }\n    local_48 = local_3c & 0xff;\n    if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }\n    local_3c = *(uint *)(iVar4 + 0x7c);\n    local_38 = (uint)(local_3c == 0);\n                    \n    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);\n    ppuVar5 = &puStack_50;\n    if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1" (identifier "iVar4") (= "=") (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (expression_statement "local_44 = *(int **)(iVar4 + 0x84);" (assignment_expression "local_44 = *(int **)(iVar4 + 0x84)" (identifier "local_44") (= "=") (pointer_expression "*(int **)(iVar4 + 0x84)" (* "*") (cast_expression "(int **)(iVar4 + 0x84)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x84)" (( "(") (binary_expression "iVar4 + 0x84" (identifier "iVar4") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (if_statement "if (local_44 == (int *)0x0) {\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }" (if "if") (parenthesized_expression "(local_44 == (int *)0x0)" (( "(") (binary_expression "local_44 == (int *)0x0" (identifier "local_44") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n      puStack_50 = (undefined1 *)0x1f77b5;\n      FUN_0022c630();\n    }" ({ "{") (expression_statement "puStack_50 = (undefined1 *)0x1f77b5;" (assignment_expression "puStack_50 = (undefined1 *)0x1f77b5" (identifier "puStack_50") (= "=") (cast_expression "(undefined1 *)0x1f77b5" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1f77b5"))) (; ";")) (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" (identifier "FUN_0022c630") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "local_48 = local_3c & 0xff;" (assignment_expression "local_48 = local_3c & 0xff" (identifier "local_48") (= "=") (binary_expression "local_3c & 0xff" (identifier "local_3c") (& "&") (number_literal "0xff"))) (; ";")) (if_statement "if (*(char *)(iVar4 + 0x78) == '\0') {\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar4 + 0x78) == '\0')" (( "(") (binary_expression "*(char *)(iVar4 + 0x78) == '\0'" (pointer_expression "*(char *)(iVar4 + 0x78)" (* "*") (cast_expression "(char *)(iVar4 + 0x78)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x78)" (( "(") (binary_expression "iVar4 + 0x78" (identifier "iVar4") (+ "+") (number_literal "0x78")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      piVar1 = *(int **)(iVar4 + 0x80);\n      if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }\n                    \n      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);\n      iVar2 = *param_1;\n      *(undefined4 *)(iVar4 + 0x74) = uVar3;\n      *(undefined1 *)(iVar4 + 0x78) = 1;\n      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;\n    }" ({ "{") (expression_statement "piVar1 = *(int **)(iVar4 + 0x80);" (assignment_expression "piVar1 = *(int **)(iVar4 + 0x80)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(iVar4 + 0x80)" (* "*") (cast_expression "(int **)(iVar4 + 0x80)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x80)" (( "(") (binary_expression "iVar4 + 0x80" (identifier "iVar4") (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) {\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n        puStack_50 = &LAB_001f77bd;\n        FUN_0022c630();\n      }" ({ "{") (expression_statement "puStack_50 = &LAB_001f77bd;" (assignment_expression "puStack_50 = &LAB_001f77bd" (identifier "puStack_50") (= "=") (pointer_expression "&LAB_001f77bd" (& "&") (identifier "LAB_001f77bd"))) (; ";")) (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" (identifier "FUN_0022c630") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,0x20)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x28)" (* "*") (cast_expression "(code **)(*piVar1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x28)" (( "(") (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,0x20)" (( "(") (identifier "piVar1") (, ",") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x74) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x74) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x74)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x74)" (( "(") (binary_expression "iVar4 + 0x74" (identifier "iVar4") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined1 *)(iVar4 + 0x78) = 1;" (assignment_expression "*(undefined1 *)(iVar4 + 0x78) = 1" (pointer_expression "*(undefined1 *)(iVar4 + 0x78)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 0x78)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x78)" (( "(") (binary_expression "iVar4 + 0x78" (identifier "iVar4") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1" (identifier "iVar4") (= "=") (binary_expression "*(int *)(iVar2 + -0xc) + (int)param_1" (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (} "}")) (else_clause "else {\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" (else "else") (compound_statement "{\n      uVar3 = *(undefined4 *)(iVar4 + 0x74);\n    }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(iVar4 + 0x74);" (assignment_expression "uVar3 = *(undefined4 *)(iVar4 + 0x74)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x74)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x74)" (( "(") (binary_expression "iVar4 + 0x74" (identifier "iVar4") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (} "}")))) (expression_statement "local_3c = *(uint *)(iVar4 + 0x7c);" (assignment_expression "local_3c = *(uint *)(iVar4 + 0x7c)" (identifier "local_3c") (= "=") (pointer_expression "*(uint *)(iVar4 + 0x7c)" (* "*") (cast_expression "(uint *)(iVar4 + 0x7c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x7c)" (( "(") (binary_expression "iVar4 + 0x7c" (identifier "iVar4") (+ "+") (number_literal "0x7c")) () ")"))))) (; ";")) (expression_statement "local_38 = (uint)(local_3c == 0);" (assignment_expression "local_38 = (uint)(local_3c == 0)" (identifier "local_38") (= "=") (call_expression "(uint)(local_3c == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_3c == 0)" (( "(") (binary_expression "local_3c == 0" (identifier "local_3c") (== "==") (number_literal "0")) () ")")))) (; ";")) (expression_statement "(**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);" (call_expression "(**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48)" (parenthesized_expression "(**(code **)(*local_44 + 8))" (( "(") (pointer_expression "**(code **)(*local_44 + 8)" (* "*") (pointer_expression "*(code **)(*local_44 + 8)" (* "*") (cast_expression "(code **)(*local_44 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_44 + 8)" (( "(") (binary_expression "*local_44 + 8" (pointer_expression "*local_44" (* "*") (identifier "local_44")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48)" (( "(") (identifier "local_34") (, ",") (identifier "local_44") (, ",") (identifier "local_3c") (, ",") (identifier "local_38") (, ",") (identifier "iVar4") (, ",") (identifier "uVar3") (, ",") (identifier "local_48") () ")"))) (; ";")) (expression_statement "ppuVar5 = &puStack_50;" (assignment_expression "ppuVar5 = &puStack_50" (identifier "ppuVar5") (= "=") (pointer_expression "&puStack_50" (& "&") (identifier "puStack_50"))) (; ";")) (if_statement "if (local_30 != '\0') {\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }" (if "if") (parenthesized_expression "(local_30 != '\0')" (( "(") (binary_expression "local_30 != '\0'" (identifier "local_30") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;\n                    \n      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);\n      ppuVar5 = &puStack_50;\n    }" ({ "{") (expression_statement "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1" (identifier "iVar4") (= "=") (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (expression_statement "FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);" (call_expression "FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1)" (identifier "FUN_002116a0") (argument_list "(iVar4,*(uint *)(iVar4 + 0x14) | 1)" (( "(") (identifier "iVar4") (, ",") (binary_expression "*(uint *)(iVar4 + 0x14) | 1" (pointer_expression "*(uint *)(iVar4 + 0x14)" (* "*") (cast_expression "(uint *)(iVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (| "|") (number_literal "1")) () ")"))) (; ";")) (expression_statement "ppuVar5 = &puStack_50;" (assignment_expression "ppuVar5 = &puStack_50" (identifier "ppuVar5") (= "=") (pointer_expression "&puStack_50" (& "&") (identifier "puStack_50"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "*(char **)((int)ppuVar5 + -0x10) = local_24;" (assignment_expression "*(char **)((int)ppuVar5 + -0x10) = local_24" (pointer_expression "*(char **)((int)ppuVar5 + -0x10)" (* "*") (cast_expression "(char **)((int)ppuVar5 + -0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)ppuVar5 + -0x10)" (( "(") (binary_expression "(int)ppuVar5 + -0x10" (cast_expression "(int)ppuVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppuVar5")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "local_24")) (; ";")) (expression_statement "*(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;" (assignment_expression "*(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d" (pointer_expression "*(undefined4 *)((int)ppuVar5 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)ppuVar5 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)ppuVar5 + -0x14)" (( "(") (binary_expression "(int)ppuVar5 + -0x14" (cast_expression "(int)ppuVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppuVar5")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x1f776d")) (; ";")) (expression_statement "FUN_001f6620();" (call_expression "FUN_001f6620()" (identifier "FUN_001f6620") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wostream& std::wostream::_M_insert<bool>(bool) */

type_2 * __thiscall std::type_2::_M_insert<bool>(type_2 *var_1,bool param_1)

{
  int *var_6;
  int var_7;
  type_1 uVar3;
  type_2 *var_2;
  type_3 **ppuVar5;
  type_4 in_stack_00000009;
  type_3 *puStack_50;
  type_3 auStack_4c [4];
  type_5 local_48;
  int *var_3;
  type_6 **local_40;
  type_5 var_5;
  type_5 local_38;
  type_3 local_34 [4];
  char var_8;
  type_7 local_24 [16];
  type_1 uStack_14;
  
  uStack_14 = 0x1f76be;
  local_40 = &_GLOBAL_OFFSET_TABLE_;
  var_5 = _param_1;
  sentry::type_7(local_24,var_1);
  ppuVar5 = (type_3 **)auStack_4c;
  if (local_24[0] != (type_7)0x0) {
    var_2 = var_1 + *(int *)(*(int *)var_1 + -0xc);
    var_3 = *(int **)(var_2 + 0x84);
    if (var_3 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
      puStack_50 = (type_3 *)0x1f77b5;
      var_4();
    }
    local_48 = var_5 & 0xff;
    if (var_2[0x78] == (type_2)0x0) {
      var_6 = *(int **)(var_2 + 0x80);
      if (var_6 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
        puStack_50 = &LAB_001f77bd;
        var_4();
      }
                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */
      uVar3 = (**(type_8 **)(*var_6 + 0x28))(var_6,0x20);
      var_7 = *(int *)var_1;
      *(type_1 *)(var_2 + 0x74) = uVar3;
      var_2[0x78] = (type_2)0x1;
      var_2 = var_1 + *(int *)(var_7 + -0xc);
    }
    else {
      uVar3 = *(type_1 *)(var_2 + 0x74);
    }
    var_5 = *(type_5 *)(var_2 + 0x7c);
    local_38 = (type_5)(var_5 == 0);
                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */
    (**(type_8 **)(*var_3 + 8))(local_34,var_3,var_5,local_38,var_2,uVar3,local_48);
    ppuVar5 = &puStack_50;
    if (var_8 != '\0') {
                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */
      wios::var_9((type_9 *)(var_1 + *(int *)(*(int *)var_1 + -0xc)),
                  *(type_10 *)((type_9 *)(var_1 + *(int *)(*(int *)var_1 + -0xc)) + 0x14) |
                  var_10);
      ppuVar5 = &puStack_50;
    }
  }
  *(type_7 **)((int)ppuVar5 + -0x10) = local_24;
  *(type_1 *)((int)ppuVar5 + -0x14) = 0x1f776d;
  sentry::~type_7(*(type_7 **)((int)ppuVar5 + -0x10));
  return var_1;
}


(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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (char_literal (escape_sequence)))) 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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (identifier))) (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))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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)))))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_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))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int * MASKED(int *param_1,uint param_2)

{
  int *piVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  undefined1 **ppuVar5;
  undefined1 *puStack_50;
  undefined1 auStack_4c [4];
  uint local_48;
  int *local_44;
  undefined **local_40;
  uint local_3c;
  uint local_38;
  undefined1 local_34 [4];
  char local_30;
  char local_24 [16];
  undefined4 uStack_14;
  
  uStack_14 = 0x1f76be;
  local_40 = &__DT_PLTGOT;
  local_3c = param_2;
  FUN_001f65a0(local_24,param_1);
  ppuVar5 = (undefined1 **)auStack_4c;
  if (local_24[0] != '\0') {
    iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;
    local_44 = *(int **)(iVar4 + 0x84);
    if (local_44 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
      puStack_50 = (undefined1 *)0x1f77b5;
      FUN_0022c630();
    }
    local_48 = local_3c & 0xff;
    if (*(char *)(iVar4 + 0x78) == '\0') {
      piVar1 = *(int **)(iVar4 + 0x80);
      if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
        puStack_50 = &LAB_001f77bd;
        FUN_0022c630();
      }
                    /* try { // try from 001f7792 to 001f77bc has its CatchHandler @ 001f77bd */
      uVar3 = (**(code **)(*piVar1 + 0x28))(piVar1,0x20);
      iVar2 = *param_1;
      *(undefined4 *)(iVar4 + 0x74) = uVar3;
      *(undefined1 *)(iVar4 + 0x78) = 1;
      iVar4 = *(int *)(iVar2 + -0xc) + (int)param_1;
    }
    else {
      uVar3 = *(undefined4 *)(iVar4 + 0x74);
    }
    local_3c = *(uint *)(iVar4 + 0x7c);
    local_38 = (uint)(local_3c == 0);
                    /* try { // try from 001f7738 to 001f773a has its CatchHandler @ 001f77bd */
    (**(code **)(*local_44 + 8))(local_34,local_44,local_3c,local_38,iVar4,uVar3,local_48);
    ppuVar5 = &puStack_50;
    if (local_30 != '\0') {
      iVar4 = *(int *)(*param_1 + -0xc) + (int)param_1;
                    /* try { // try from 001f7759 to 001f775d has its CatchHandler @ 001f77bf */
      FUN_002116a0(iVar4,*(uint *)(iVar4 + 0x14) | 1);
      ppuVar5 = &puStack_50;
    }
  }
  *(char **)((int)ppuVar5 + -0x10) = local_24;
  *(undefined4 *)((int)ppuVar5 + -0x14) = 0x1f776d;
  FUN_001f6620();
  return param_1;
}

