
/* std::ios_base::failure[abi:cxx11]::failure(std::string const&, std::error_code const&) */

void __thiscall
std::ios_base::failure[abi:cxx11]::failure
          (failure_abi_cxx11_ *this,string *param_1,error_code *param_2)

{
  undefined *puVar1;
  uint uVar2;
  int *piVar3;
  uint uVar4;
  int *piVar5;
  int *piVar6;
  int iVar7;
  int *local_68;
  int local_64;
  int local_60;
  int local_5c;
  int local_58;
  int local_54;
  uint *local_50;
  int local_4c;
  uint local_48 [4];
  uint *local_38;
  int local_34;
  uint local_30 [4];
  
  iVar7 = *(int *)param_2;
  piVar6 = *(int **)(param_2 + 4);
  local_50 = local_48;
  (*(code *)PTR__M_construct<char*>_004c2098)
            (&local_50,*(int *)param_1,*(int *)param_1 + *(int *)(param_1 + 4),0);
  if (0x7fffffffU - local_4c < 2) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */
    __throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);
  }
                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */
  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);
  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {
    local_34 = 0;
    local_30[0] = local_30[0] & 0xffffff;
    local_38 = local_30;
    if (iVar7 != 1) {
                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */
      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);
      goto LAB_0038139c;
    }
                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */
    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);
    uVar2 = local_4c + local_34;
  }
  else {
                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */
    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);
LAB_0038139c:
    uVar2 = local_4c + local_34;
  }
  if (local_50 == local_48) {
    local_48[0] = 0xf;
  }
  if (local_48[0] < uVar2) {
    uVar4 = 0xf;
    if (local_38 != local_30) {
      uVar4 = local_30[0];
    }
    if (uVar4 < uVar2) goto LAB_003813d8;
                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */
    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);
    piVar5 = piVar3 + 2;
    local_68 = (int *)*piVar3;
    if (local_68 == piVar5) goto LAB_003814e8;
  }
  else {
LAB_003813d8:
                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */
    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);
    piVar5 = piVar3 + 2;
    local_68 = (int *)*piVar3;
    if (local_68 == piVar5) {
LAB_003814e8:
      local_68 = &local_60;
      local_60 = piVar3[2];
      local_5c = piVar3[3];
      local_58 = piVar3[4];
      local_54 = piVar3[5];
      goto LAB_0038140c;
    }
  }
  local_60 = piVar3[2];
LAB_0038140c:
  puVar1 = PTR_runtime_error_004c2e5c;
  local_64 = piVar3[1];
  *(undefined1 *)(piVar3 + 2) = 0;
  *piVar3 = (int)piVar5;
                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */
  piVar3[1] = 0;
  (*(code *)puVar1)(this,&local_68);
  if (local_68 != &local_60) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  if (local_38 != local_30) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  if (local_50 != local_48) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  puVar1 = PTR_vtable_004c5604;
  *(int *)(this + 8) = iVar7;
  *(int **)(this + 0xc) = piVar6;
  *(undefined **)this = puVar1 + 8;
  return;
}



void FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)

{
  undefined *puVar1;
  uint uVar2;
  int *piVar3;
  uint uVar4;
  int *piVar5;
  int *piVar6;
  int iVar7;
  int *local_68;
  int local_64;
  int local_60;
  int local_5c;
  int local_58;
  int local_54;
  uint *local_50;
  int local_4c;
  uint local_48 [4];
  uint *local_38;
  int local_34;
  uint local_30 [4];
  
  iVar7 = *param_3;
  piVar6 = (int *)param_3[1];
  local_50 = local_48;
  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);
  if (0x7fffffffU - local_4c < 2) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */
    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);
  }
                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */
  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);
  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {
    local_34 = 0;
    local_30[0] = local_30[0] & 0xffffff;
    local_38 = local_30;
    if (iVar7 != 1) {
                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */
      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);
      goto LAB_0038139c;
    }
                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */
    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);
    uVar2 = local_4c + local_34;
  }
  else {
                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */
    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);
LAB_0038139c:
    uVar2 = local_4c + local_34;
  }
  if (local_50 == local_48) {
    local_48[0] = 0xf;
  }
  if (local_48[0] < uVar2) {
    uVar4 = 0xf;
    if (local_38 != local_30) {
      uVar4 = local_30[0];
    }
    if (uVar4 < uVar2) goto LAB_003813d8;
                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */
    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);
    piVar5 = piVar3 + 2;
    local_68 = (int *)*piVar3;
    if (local_68 == piVar5) goto LAB_003814e8;
  }
  else {
LAB_003813d8:
                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */
    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);
    piVar5 = piVar3 + 2;
    local_68 = (int *)*piVar3;
    if (local_68 == piVar5) {
LAB_003814e8:
      local_68 = &local_60;
      local_60 = piVar3[2];
      local_5c = piVar3[3];
      local_58 = piVar3[4];
      local_54 = piVar3[5];
      goto LAB_0038140c;
    }
  }
  local_60 = piVar3[2];
LAB_0038140c:
  puVar1 = PTR_runtime_error_004c2e5c;
  local_64 = piVar3[1];
  *(undefined1 *)(piVar3 + 2) = 0;
  *piVar3 = (int)piVar5;
                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */
  piVar3[1] = 0;
  (*(code *)puVar1)(param_1,&local_68);
  if (local_68 != &local_60) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  if (local_38 != local_30) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  if (local_50 != local_48) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  puVar1 = PTR_vtable_004c5604;
  param_1[2] = iVar7;
  param_1[3] = piVar6;
  *param_1 = puVar1 + 8;
  return;
}


lui gp,0x14
addiu gp,gp,0x7fa8
addu gp,gp,t9
addiu sp,sp,-0x88
lw t9,-0x71a8(gp)
or a3,zero,zero
or v1,a2,zero
sw gp,0x18(sp)
sll a3,a3,0x18
sw s4,0x78(sp)
addiu s4,sp,0x38
sw s3,0x74(sp)
sw s2,0x70(sp)
sw s1,0x6c(sp)
addiu s1,sp,0x40
sw s0,0x68(sp)
or s0,a0,zero
sw ra,0x84(sp)
or a0,s4,zero
sw s6,0x80(sp)
sw s5,0x7c(sp)
sw s1,0x38(sp)
lw v0,0x0(a1)
lw a1,0x4(a1)
lw s3,0x0(v1)
lw s2,0x4(v1)
addu a2,v0,a1
jalr t9
_or a1,v0,zero
lui v0,0x7fff
lw v1,0x3c(sp)
ori v0,v0,0xffff
subu v0,v0,v1
sltiu v0,v0,0x2
bne v0,zero,0x00381574
_lw gp,0x18(sp)
lw a1,-0x7924(gp)
li a2,0x2
lw t9,-0x73d8(gp)
or a0,s4,zero
jalr t9
_addiu a1,a1,-0x88
lw v0,0x0(s2)
lw gp,0x18(sp)
lw t9,0x10(v0)
lw v0,-0x7f7c(gp)
addiu v0,v0,0xda0
bne t9,v0,0x00381554
_addiu s5,sp,0x58
lw t9,-0x71a0(gp)
li v0,0x1
sw zero,0x54(sp)
sb zero,0x58(sp)
addiu s6,sp,0x50
sw s5,0x50(sp)
or a2,zero,zero
beq s3,v0,0x0038151c
_or a1,zero,zero
lw a3,-0x7f64(gp)
li v0,0xd
or a0,s6,zero
sw v0,0x10(sp)
jalr t9
_addiu a3,a3,-0x2a64
lw gp,0x18(sp)
lw a0,0x3c(sp)
lw a2,0x54(sp)
lw a3,0x38(sp)
beq a3,s1,0x0038154c
_addu v0,a0,a2
lw v1,0x40(sp)
sltu v1,v1,v0
beq v1,zero,0x003813d8
_lw a1,0x50(sp)
beq a1,s5,0x003813cc
_li v1,0xf
lw v1,0x58(sp)
sltu v0,v1,v0
beq v0,zero,0x003814b8
_lw t9,-0x71a0(gp)
lw t9,-0x73d8(gp)
jalr t9
_or a0,s4,zero
addiu s4,sp,0x28
lw gp,0x18(sp)
addiu v1,v0,0x8
sw s4,0x20(sp)
lw a0,0x0(v0)
beq a0,v1,0x003814e8
_nop
lw a1,0x8(v0)
sw a0,0x20(sp)
sw a1,0x28(sp)
lw a2,0x4(v0)
addiu a1,sp,0x20
lw t9,-0x63e4(gp)
or a0,s0,zero
sb zero,0x8(v0)
sw a2,0x24(sp)
sw v1,0x0(v0)
jalr t9
_sw zero,0x4(v0)
lw a0,0x20(sp)
beq a0,s4,0x0038144c
_lw gp,0x18(sp)
lw t9,-0x7f44(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw a0,0x50(sp)
beq a0,s5,0x00381464
_lw t9,-0x7f44(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw a0,0x38(sp)
beq a0,s1,0x0038147c
_lw t9,-0x7f44(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,-0x3c3c(gp)
sw s3,0x8(s0)
sw s2,0xc(s0)
addiu v0,v0,0x8
sw v0,0x0(s0)
lw ra,0x84(sp)
lw s6,0x80(sp)
lw s5,0x7c(sp)
lw s4,0x78(sp)
lw s3,0x74(sp)
lw s2,0x70(sp)
lw s1,0x6c(sp)
lw s0,0x68(sp)
jr ra
_addiu sp,sp,0x88
or a2,zero,zero
or a1,zero,zero
sw a0,0x10(sp)
jalr t9
_or a0,s6,zero
addiu s4,sp,0x28
lw gp,0x18(sp)
addiu v1,v0,0x8
sw s4,0x20(sp)
lw a0,0x0(v0)
bne a0,v1,0x00381400
_nop
lwl a3,0x8(v0)
lwl a2,0xc(v0)
lwl a1,0x10(v0)
lwl a0,0x14(v0)
lwr a3,0xb(v0)
lwr a2,0xf(v0)
lwr a1,0x13(v0)
lwr a0,0x17(v0)
sw a3,0x28(sp)
sw a2,0x2c(sp)
sw a1,0x30(sp)
b 0x0038140c
_sw a0,0x34(sp)
lw a3,-0x7f64(gp)
li v0,0xe
or a0,s6,zero
sw v0,0x10(sp)
jalr t9
_addiu a3,a3,-0x2a74
lw a0,0x3c(sp)
lw a2,0x54(sp)
lw a3,0x38(sp)
lw gp,0x18(sp)
bne a3,s1,0x003813b0
_addu v0,a0,a2
b 0x003813b4
_li v1,0xf
addiu s6,sp,0x50
or a2,s3,zero
or a1,s2,zero
jalr t9
_or a0,s6,zero
lw gp,0x18(sp)
b 0x0038139c
_addiu s5,sp,0x58
lw a0,-0x7fc4(gp)
lw t9,-0x73cc(gp)
bal 0x0038977c
_addiu a0,a0,0x446c
(translation_unit "void FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *param_3;\n  piVar6 = (int *)param_3[1];\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);\n  if (0x7fffffffU - local_4c < 2) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */\n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */\n  piVar3[1] = 0;\n  (*(code *)puVar1)(param_1,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  param_1[2] = iVar7;\n  param_1[3] = piVar6;\n  *param_1 = puVar1 + 8;\n  return;\n}\n\n" (function_definition "void FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *param_3;\n  piVar6 = (int *)param_3[1];\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);\n  if (0x7fffffffU - local_4c < 2) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */\n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */\n  piVar3[1] = 0;\n  (*(code *)puVar1)(param_1,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  param_1[2] = iVar7;\n  param_1[3] = piVar6;\n  *param_1 = puVar1 + 8;\n  return;\n}" primitive_type (function_declarator "FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *param_3;\n  piVar6 = (int *)param_3[1];\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);\n  if (0x7fffffffU - local_4c < 2) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */\n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */\n  piVar3[1] = 0;\n  (*(code *)puVar1)(param_1,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  param_1[2] = iVar7;\n  param_1[3] = piVar6;\n  *param_1 = puVar1 + 8;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "int local_64;" primitive_type identifier ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "uint *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "uint local_48 [4];" type_identifier (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "uint *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (expression_statement "iVar7 = *param_3;" (assignment_expression "iVar7 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "piVar6 = (int *)param_3[1];" (assignment_expression "piVar6 = (int *)param_3[1]" identifier = (cast_expression "(int *)param_3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (expression_statement "local_50 = local_48;" (assignment_expression "local_50 = local_48" identifier = identifier) ;) (expression_statement "(*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);" (call_expression "(*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0)" (parenthesized_expression "(*(code *)PTR__M_construct<char*>_004c2098)" ( (binary_expression "*(code *)PTR__M_construct<char*>_004c2098" (binary_expression "*(code *)PTR__M_construct<char" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(&local_50,*param_2,*param_2 + param_2[1],0)" ( (pointer_expression "&local_50" & identifier) , (pointer_expression "*param_2" * identifier) , (binary_expression "*param_2 + param_2[1]" (pointer_expression "*param_2" * identifier) + (subscript_expression "param_2[1]" identifier [ number_literal ])) , number_literal ))) ;) (if_statement "if (0x7fffffffU - local_4c < 2) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }" if (parenthesized_expression "(0x7fffffffU - local_4c < 2)" ( (binary_expression "0x7fffffffU - local_4c < 2" (binary_expression "0x7fffffffU - local_4c" number_literal - identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }" { comment comment (labeled_statement "std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" statement_identifier : (ERROR ":" :) (expression_statement "__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (call_expression "__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" identifier (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c" identifier + number_literal) ))) ;)) })) comment (expression_statement "(*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);" (call_expression "(*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2)" ( (pointer_expression "&local_50" & identifier) , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x88" identifier + number_literal) , number_literal ))) ;) (if_statement "if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" if (parenthesized_expression "(*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0))" ( (binary_expression "*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)" (pointer_expression "*(code **)(*piVar6 + 0x10)" * (cast_expression "(code **)(*piVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x10)" ( (binary_expression "*piVar6 + 0x10" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (cast_expression "(code *)(PTR_LAB_004c12c4 + 0xda0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_004c12c4 + 0xda0)" ( (binary_expression "PTR_LAB_004c12c4 + 0xda0" identifier + number_literal) )))) )) (compound_statement "{\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_30[0] = local_30[0] & 0xffffff;" (assignment_expression "local_30[0] = local_30[0] & 0xffffff" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (binary_expression "local_30[0] & 0xffffff" (subscript_expression "local_30[0]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "local_38 = local_30;" (assignment_expression "local_38 = local_30" identifier = identifier) ;) (if_statement "if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }" if (parenthesized_expression "(iVar7 != 1)" ( (binary_expression "iVar7 != 1" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }" { comment (expression_statement "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);" (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , (binary_expression "PTR_UINT_004c12dc + -0x2a64" identifier + number_literal) , number_literal ))) ;) (goto_statement "goto LAB_0038139c;" goto statement_identifier ;) })) comment (expression_statement "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);" (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , (binary_expression "PTR_UINT_004c12dc + -0x2a74" identifier + number_literal) , number_literal ))) ;) (expression_statement "uVar2 = local_4c + local_34;" (assignment_expression "uVar2 = local_4c + local_34" identifier = (binary_expression "local_4c + local_34" identifier + identifier)) ;) }) (else_clause "else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" else (compound_statement "{\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" { comment (expression_statement "(**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);" (call_expression "(**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7)" (parenthesized_expression "(**(code **)(*piVar6 + 0x10))" ( (pointer_expression "**(code **)(*piVar6 + 0x10)" * (pointer_expression "*(code **)(*piVar6 + 0x10)" * (cast_expression "(code **)(*piVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x10)" ( (binary_expression "*piVar6 + 0x10" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(&local_38,piVar6,iVar7)" ( (pointer_expression "&local_38" & identifier) , identifier , identifier ))) ;) (labeled_statement "LAB_0038139c:\n    uVar2 = local_4c + local_34;" statement_identifier : (expression_statement "uVar2 = local_4c + local_34;" (assignment_expression "uVar2 = local_4c + local_34" identifier = (binary_expression "local_4c + local_34" identifier + identifier)) ;)) }))) (if_statement "if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }" if (parenthesized_expression "(local_50 == local_48)" ( (binary_expression "local_50 == local_48" identifier == identifier) )) (compound_statement "{\n    local_48[0] = 0xf;\n  }" { (expression_statement "local_48[0] = 0xf;" (assignment_expression "local_48[0] = 0xf" (subscript_expression "local_48[0]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" if (parenthesized_expression "(local_48[0] < uVar2)" ( (binary_expression "local_48[0] < uVar2" (subscript_expression "local_48[0]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }" { (expression_statement "uVar4 = 0xf;" (assignment_expression "uVar4 = 0xf" identifier = number_literal) ;) (if_statement "if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }" if (parenthesized_expression "(local_38 != local_30)" ( (binary_expression "local_38 != local_30" identifier != identifier) )) (compound_statement "{\n      uVar4 = local_30[0];\n    }" { (expression_statement "uVar4 = local_30[0];" (assignment_expression "uVar4 = local_30[0]" identifier = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) })) (if_statement "if (uVar4 < uVar2) goto LAB_003813d8;" if (parenthesized_expression "(uVar4 < uVar2)" ( (binary_expression "uVar4 < uVar2" identifier < identifier) )) (goto_statement "goto LAB_003813d8;" goto statement_identifier ;)) comment (expression_statement "piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);" (assignment_expression "piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" identifier = (cast_expression "(int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,local_50,local_4c)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , identifier , identifier ))))) ;) (expression_statement "piVar5 = piVar3 + 2;" (assignment_expression "piVar5 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (expression_statement "local_68 = (int *)*piVar3;" (assignment_expression "local_68 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (local_68 == piVar5) goto LAB_003814e8;" if (parenthesized_expression "(local_68 == piVar5)" ( (binary_expression "local_68 == piVar5" identifier == identifier) )) (goto_statement "goto LAB_003814e8;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" else (compound_statement "{\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" { (labeled_statement "LAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);" statement_identifier : comment (expression_statement "piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);" (assignment_expression "piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50)" identifier = (cast_expression "(int *)(*(code *)PTR__M_append_004c1e68)(&local_50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__M_append_004c1e68)(&local_50)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_50)" ( (pointer_expression "&local_50" & identifier) ))))) ;)) (expression_statement "piVar5 = piVar3 + 2;" (assignment_expression "piVar5 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (expression_statement "local_68 = (int *)*piVar3;" (assignment_expression "local_68 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }" if (parenthesized_expression "(local_68 == piVar5)" ( (binary_expression "local_68 == piVar5" identifier == identifier) )) (compound_statement "{\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }" { (labeled_statement "LAB_003814e8:\n      local_68 = &local_60;" statement_identifier : (expression_statement "local_68 = &local_60;" (assignment_expression "local_68 = &local_60" identifier = (pointer_expression "&local_60" & identifier)) ;)) (expression_statement "local_60 = piVar3[2];" (assignment_expression "local_60 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "local_5c = piVar3[3];" (assignment_expression "local_5c = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (expression_statement "local_58 = piVar3[4];" (assignment_expression "local_58 = piVar3[4]" identifier = (subscript_expression "piVar3[4]" identifier [ number_literal ])) ;) (expression_statement "local_54 = piVar3[5];" (assignment_expression "local_54 = piVar3[5]" identifier = (subscript_expression "piVar3[5]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_0038140c;" goto statement_identifier ;) })) }))) (expression_statement "local_60 = piVar3[2];" (assignment_expression "local_60 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;" statement_identifier : (expression_statement "puVar1 = PTR_runtime_error_004c2e5c;" (assignment_expression "puVar1 = PTR_runtime_error_004c2e5c" identifier = identifier) ;)) (expression_statement "local_64 = piVar3[1];" (assignment_expression "local_64 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 *)(piVar3 + 2) = 0;" (assignment_expression "*(undefined1 *)(piVar3 + 2) = 0" (pointer_expression "*(undefined1 *)(piVar3 + 2)" * (cast_expression "(undefined1 *)(piVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 2)" ( (binary_expression "piVar3 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) comment (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)puVar1)(param_1,&local_68);" (call_expression "(*(code *)puVar1)(param_1,&local_68)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,&local_68)" ( identifier , (pointer_expression "&local_68" & identifier) ))) ;) (if_statement "if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_68 != &local_60)" ( (binary_expression "local_68 != &local_60" identifier != (pointer_expression "&local_60" & identifier)) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_38 != local_30)" ( (binary_expression "local_38 != local_30" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_50 != local_48)" ( (binary_expression "local_50 != local_48" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_vtable_004c5604;" (assignment_expression "puVar1 = PTR_vtable_004c5604" identifier = identifier) ;) (expression_statement "param_1[2] = iVar7;" (assignment_expression "param_1[2] = iVar7" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = piVar6;" (assignment_expression "param_1[3] = piVar6" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::ios_base::failure[abi:cxx11]::failure(std::string const&, std::error_code const&) */\n\nvoid __thiscall\nstd::ios_base::failure[abi:cxx11]::failure\n          (failure_abi_cxx11_ *this,string *param_1,error_code *param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *(int *)param_2;\n  piVar6 = *(int **)(param_2 + 4);\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)\n            (&local_50,*(int *)param_1,*(int *)param_1 + *(int *)(param_1 + 4),0);\n  if (0x7fffffffU - local_4c < 2) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    __throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */\n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */\n  piVar3[1] = 0;\n  (*(code *)puVar1)(this,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  *(int *)(this + 8) = iVar7;\n  *(int **)(this + 0xc) = piVar6;\n  *(undefined **)this = puVar1 + 8;\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::ios_base::failure[abi:cxx11]::failure\n          (failure_abi_cxx11_ *this,string *param_1,error_code *param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *(int *)param_2;\n  piVar6 = *(int **)(param_2 + 4);\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)\n            (&local_50,*(int *)param_1,*(int *)param_1 + *(int *)(param_1 + 4),0);\n  if (0x7fffffffU - local_4c < 2) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    __throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */\n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */\n  piVar3[1] = 0;\n  (*(code *)puVar1)(this,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  *(int *)(this + 8) = iVar7;\n  *(int **)(this + 0xc) = piVar6;\n  *(undefined **)this = puVar1 + 8;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ios_base::failure[abi:cxx11]::" identifier : : identifier : : (array_declarator "failure[abi:cxx11]" identifier [ (ERROR "abi:" identifier :) identifier ]) : :) (function_declarator "failure\n          (failure_abi_cxx11_ *this,string *param_1,error_code *param_2)" identifier (parameter_list "(failure_abi_cxx11_ *this,string *param_1,error_code *param_2)" ( (parameter_declaration "failure_abi_cxx11_ *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "error_code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *(int *)param_2;\n  piVar6 = *(int **)(param_2 + 4);\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)\n            (&local_50,*(int *)param_1,*(int *)param_1 + *(int *)(param_1 + 4),0);\n  if (0x7fffffffU - local_4c < 2) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    __throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */\n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */\n  piVar3[1] = 0;\n  (*(code *)puVar1)(this,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  *(int *)(this + 8) = iVar7;\n  *(int **)(this + 0xc) = piVar6;\n  *(undefined **)this = puVar1 + 8;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "int local_64;" primitive_type identifier ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "uint *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "uint local_48 [4];" type_identifier (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "uint *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (expression_statement "iVar7 = *(int *)param_2;" (assignment_expression "iVar7 = *(int *)param_2" identifier = (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar6 = *(int **)(param_2 + 4);" (assignment_expression "piVar6 = *(int **)(param_2 + 4)" identifier = (pointer_expression "*(int **)(param_2 + 4)" * (cast_expression "(int **)(param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_50 = local_48;" (assignment_expression "local_50 = local_48" identifier = identifier) ;) (expression_statement "(*(code *)PTR__M_construct<char*>_004c2098)\n            (&local_50,*(int *)param_1,*(int *)param_1 + *(int *)(param_1 + 4),0);" (call_expression "(*(code *)PTR__M_construct<char*>_004c2098)\n            (&local_50,*(int *)param_1,*(int *)param_1 + *(int *)(param_1 + 4),0)" (parenthesized_expression "(*(code *)PTR__M_construct<char*>_004c2098)" ( (binary_expression "*(code *)PTR__M_construct<char*>_004c2098" (binary_expression "*(code *)PTR__M_construct<char" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(&local_50,*(int *)param_1,*(int *)param_1 + *(int *)(param_1 + 4),0)" ( (pointer_expression "&local_50" & identifier) , (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "*(int *)param_1 + *(int *)(param_1 + 4)" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) , number_literal ))) ;) (if_statement "if (0x7fffffffU - local_4c < 2) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    __throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }" if (parenthesized_expression "(0x7fffffffU - local_4c < 2)" ( (binary_expression "0x7fffffffU - local_4c < 2" (binary_expression "0x7fffffffU - local_4c" number_literal - identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */\n    __throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }" { comment comment (expression_statement "__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (call_expression "__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" identifier (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c" identifier + number_literal) ))) ;) })) comment (expression_statement "(*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);" (call_expression "(*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2)" ( (pointer_expression "&local_50" & identifier) , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x88" identifier + number_literal) , number_literal ))) ;) (if_statement "if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" if (parenthesized_expression "(*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0))" ( (binary_expression "*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)" (pointer_expression "*(code **)(*piVar6 + 0x10)" * (cast_expression "(code **)(*piVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x10)" ( (binary_expression "*piVar6 + 0x10" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (cast_expression "(code *)(PTR_LAB_004c12c4 + 0xda0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_004c12c4 + 0xda0)" ( (binary_expression "PTR_LAB_004c12c4 + 0xda0" identifier + number_literal) )))) )) (compound_statement "{\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */\n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_30[0] = local_30[0] & 0xffffff;" (assignment_expression "local_30[0] = local_30[0] & 0xffffff" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (binary_expression "local_30[0] & 0xffffff" (subscript_expression "local_30[0]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "local_38 = local_30;" (assignment_expression "local_38 = local_30" identifier = identifier) ;) (if_statement "if (iVar7 != 1) {\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }" if (parenthesized_expression "(iVar7 != 1)" ( (binary_expression "iVar7 != 1" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */\n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }" { comment (expression_statement "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);" (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , (binary_expression "PTR_UINT_004c12dc + -0x2a64" identifier + number_literal) , number_literal ))) ;) (goto_statement "goto LAB_0038139c;" goto statement_identifier ;) })) comment (expression_statement "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);" (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , (binary_expression "PTR_UINT_004c12dc + -0x2a74" identifier + number_literal) , number_literal ))) ;) (expression_statement "uVar2 = local_4c + local_34;" (assignment_expression "uVar2 = local_4c + local_34" identifier = (binary_expression "local_4c + local_34" identifier + identifier)) ;) }) (else_clause "else {\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" else (compound_statement "{\n                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */\n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" { comment (expression_statement "(**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);" (call_expression "(**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7)" (parenthesized_expression "(**(code **)(*piVar6 + 0x10))" ( (pointer_expression "**(code **)(*piVar6 + 0x10)" * (pointer_expression "*(code **)(*piVar6 + 0x10)" * (cast_expression "(code **)(*piVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x10)" ( (binary_expression "*piVar6 + 0x10" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(&local_38,piVar6,iVar7)" ( (pointer_expression "&local_38" & identifier) , identifier , identifier ))) ;) (labeled_statement "LAB_0038139c:\n    uVar2 = local_4c + local_34;" statement_identifier : (expression_statement "uVar2 = local_4c + local_34;" (assignment_expression "uVar2 = local_4c + local_34" identifier = (binary_expression "local_4c + local_34" identifier + identifier)) ;)) }))) (if_statement "if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }" if (parenthesized_expression "(local_50 == local_48)" ( (binary_expression "local_50 == local_48" identifier == identifier) )) (compound_statement "{\n    local_48[0] = 0xf;\n  }" { (expression_statement "local_48[0] = 0xf;" (assignment_expression "local_48[0] = 0xf" (subscript_expression "local_48[0]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" if (parenthesized_expression "(local_48[0] < uVar2)" ( (binary_expression "local_48[0] < uVar2" (subscript_expression "local_48[0]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }" { (expression_statement "uVar4 = 0xf;" (assignment_expression "uVar4 = 0xf" identifier = number_literal) ;) (if_statement "if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }" if (parenthesized_expression "(local_38 != local_30)" ( (binary_expression "local_38 != local_30" identifier != identifier) )) (compound_statement "{\n      uVar4 = local_30[0];\n    }" { (expression_statement "uVar4 = local_30[0];" (assignment_expression "uVar4 = local_30[0]" identifier = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) })) (if_statement "if (uVar4 < uVar2) goto LAB_003813d8;" if (parenthesized_expression "(uVar4 < uVar2)" ( (binary_expression "uVar4 < uVar2" identifier < identifier) )) (goto_statement "goto LAB_003813d8;" goto statement_identifier ;)) comment (expression_statement "piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);" (assignment_expression "piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" identifier = (cast_expression "(int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,local_50,local_4c)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , identifier , identifier ))))) ;) (expression_statement "piVar5 = piVar3 + 2;" (assignment_expression "piVar5 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (expression_statement "local_68 = (int *)*piVar3;" (assignment_expression "local_68 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (local_68 == piVar5) goto LAB_003814e8;" if (parenthesized_expression "(local_68 == piVar5)" ( (binary_expression "local_68 == piVar5" identifier == identifier) )) (goto_statement "goto LAB_003814e8;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" else (compound_statement "{\nLAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" { (labeled_statement "LAB_003813d8:\n                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */\n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);" statement_identifier : comment (expression_statement "piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);" (assignment_expression "piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50)" identifier = (cast_expression "(int *)(*(code *)PTR__M_append_004c1e68)(&local_50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__M_append_004c1e68)(&local_50)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_50)" ( (pointer_expression "&local_50" & identifier) ))))) ;)) (expression_statement "piVar5 = piVar3 + 2;" (assignment_expression "piVar5 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (expression_statement "local_68 = (int *)*piVar3;" (assignment_expression "local_68 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }" if (parenthesized_expression "(local_68 == piVar5)" ( (binary_expression "local_68 == piVar5" identifier == identifier) )) (compound_statement "{\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }" { (labeled_statement "LAB_003814e8:\n      local_68 = &local_60;" statement_identifier : (expression_statement "local_68 = &local_60;" (assignment_expression "local_68 = &local_60" identifier = (pointer_expression "&local_60" & identifier)) ;)) (expression_statement "local_60 = piVar3[2];" (assignment_expression "local_60 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "local_5c = piVar3[3];" (assignment_expression "local_5c = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (expression_statement "local_58 = piVar3[4];" (assignment_expression "local_58 = piVar3[4]" identifier = (subscript_expression "piVar3[4]" identifier [ number_literal ])) ;) (expression_statement "local_54 = piVar3[5];" (assignment_expression "local_54 = piVar3[5]" identifier = (subscript_expression "piVar3[5]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_0038140c;" goto statement_identifier ;) })) }))) (expression_statement "local_60 = piVar3[2];" (assignment_expression "local_60 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;" statement_identifier : (expression_statement "puVar1 = PTR_runtime_error_004c2e5c;" (assignment_expression "puVar1 = PTR_runtime_error_004c2e5c" identifier = identifier) ;)) (expression_statement "local_64 = piVar3[1];" (assignment_expression "local_64 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 *)(piVar3 + 2) = 0;" (assignment_expression "*(undefined1 *)(piVar3 + 2) = 0" (pointer_expression "*(undefined1 *)(piVar3 + 2)" * (cast_expression "(undefined1 *)(piVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 2)" ( (binary_expression "piVar3 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) comment (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)puVar1)(this,&local_68);" (call_expression "(*(code *)puVar1)(this,&local_68)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,&local_68)" ( identifier , (pointer_expression "&local_68" & identifier) ))) ;) (if_statement "if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_68 != &local_60)" ( (binary_expression "local_68 != &local_60" identifier != (pointer_expression "&local_60" & identifier)) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_38 != local_30)" ( (binary_expression "local_38 != local_30" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_50 != local_48)" ( (binary_expression "local_50 != local_48" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_vtable_004c5604;" (assignment_expression "puVar1 = PTR_vtable_004c5604" identifier = identifier) ;) (expression_statement "*(int *)(this + 8) = iVar7;" (assignment_expression "*(int *)(this + 8) = iVar7" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(this + 0xc) = piVar6;" (assignment_expression "*(int **)(this + 0xc) = piVar6" (pointer_expression "*(int **)(this + 0xc)" * (cast_expression "(int **)(this + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)this = puVar1 + 8;" (assignment_expression "*(undefined **)this = puVar1 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *param_3;\n  piVar6 = (int *)param_3[1];\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);\n  if (0x7fffffffU - local_4c < 2) {\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    \n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    \n  piVar3[1] = 0;\n  (*(code *)puVar1)(param_1,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  param_1[2] = iVar7;\n  param_1[3] = piVar6;\n  *param_1 = puVar1 + 8;\n  return;\n}\n\n" (function_definition "void FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *param_3;\n  piVar6 = (int *)param_3[1];\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);\n  if (0x7fffffffU - local_4c < 2) {\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    \n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    \n  piVar3[1] = 0;\n  (*(code *)puVar1)(param_1,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  param_1[2] = iVar7;\n  param_1[3] = piVar6;\n  *param_1 = puVar1 + 8;\n  return;\n}" primitive_type (function_declarator "FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *param_3;\n  piVar6 = (int *)param_3[1];\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);\n  if (0x7fffffffU - local_4c < 2) {\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    \n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    \n  piVar3[1] = 0;\n  (*(code *)puVar1)(param_1,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  param_1[2] = iVar7;\n  param_1[3] = piVar6;\n  *param_1 = puVar1 + 8;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "int local_64;" primitive_type identifier ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "uint *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "uint local_48 [4];" type_identifier (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "uint *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (expression_statement "iVar7 = *param_3;" (assignment_expression "iVar7 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "piVar6 = (int *)param_3[1];" (assignment_expression "piVar6 = (int *)param_3[1]" identifier = (cast_expression "(int *)param_3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (expression_statement "local_50 = local_48;" (assignment_expression "local_50 = local_48" identifier = identifier) ;) (expression_statement "(*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);" (call_expression "(*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0)" (parenthesized_expression "(*(code *)PTR__M_construct<char*>_004c2098)" ( (binary_expression "*(code *)PTR__M_construct<char*>_004c2098" (binary_expression "*(code *)PTR__M_construct<char" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(&local_50,*param_2,*param_2 + param_2[1],0)" ( (pointer_expression "&local_50" & identifier) , (pointer_expression "*param_2" * identifier) , (binary_expression "*param_2 + param_2[1]" (pointer_expression "*param_2" * identifier) + (subscript_expression "param_2[1]" identifier [ number_literal ])) , number_literal ))) ;) (if_statement "if (0x7fffffffU - local_4c < 2) {\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }" if (parenthesized_expression "(0x7fffffffU - local_4c < 2)" ( (binary_expression "0x7fffffffU - local_4c < 2" (binary_expression "0x7fffffffU - local_4c" number_literal - identifier) < number_literal) )) (compound_statement "{\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }" { (labeled_statement "std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" statement_identifier : (ERROR ":" :) (expression_statement "__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (call_expression "__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" identifier (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c" identifier + number_literal) ))) ;)) })) (expression_statement "(*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);" (call_expression "(*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2)" ( (pointer_expression "&local_50" & identifier) , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x88" identifier + number_literal) , number_literal ))) ;) (if_statement "if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" if (parenthesized_expression "(*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0))" ( (binary_expression "*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)" (pointer_expression "*(code **)(*piVar6 + 0x10)" * (cast_expression "(code **)(*piVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x10)" ( (binary_expression "*piVar6 + 0x10" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (cast_expression "(code *)(PTR_LAB_004c12c4 + 0xda0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_004c12c4 + 0xda0)" ( (binary_expression "PTR_LAB_004c12c4 + 0xda0" identifier + number_literal) )))) )) (compound_statement "{\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_30[0] = local_30[0] & 0xffffff;" (assignment_expression "local_30[0] = local_30[0] & 0xffffff" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (binary_expression "local_30[0] & 0xffffff" (subscript_expression "local_30[0]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "local_38 = local_30;" (assignment_expression "local_38 = local_30" identifier = identifier) ;) (if_statement "if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }" if (parenthesized_expression "(iVar7 != 1)" ( (binary_expression "iVar7 != 1" identifier != number_literal) )) (compound_statement "{\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }" { (expression_statement "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);" (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , (binary_expression "PTR_UINT_004c12dc + -0x2a64" identifier + number_literal) , number_literal ))) ;) (goto_statement "goto LAB_0038139c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);" (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , (binary_expression "PTR_UINT_004c12dc + -0x2a74" identifier + number_literal) , number_literal ))) ;) (expression_statement "uVar2 = local_4c + local_34;" (assignment_expression "uVar2 = local_4c + local_34" identifier = (binary_expression "local_4c + local_34" identifier + identifier)) ;) }) (else_clause "else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" else (compound_statement "{\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" { (expression_statement "(**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);" (call_expression "(**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7)" (parenthesized_expression "(**(code **)(*piVar6 + 0x10))" ( (pointer_expression "**(code **)(*piVar6 + 0x10)" * (pointer_expression "*(code **)(*piVar6 + 0x10)" * (cast_expression "(code **)(*piVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x10)" ( (binary_expression "*piVar6 + 0x10" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(&local_38,piVar6,iVar7)" ( (pointer_expression "&local_38" & identifier) , identifier , identifier ))) ;) (labeled_statement "LAB_0038139c:\n    uVar2 = local_4c + local_34;" statement_identifier : (expression_statement "uVar2 = local_4c + local_34;" (assignment_expression "uVar2 = local_4c + local_34" identifier = (binary_expression "local_4c + local_34" identifier + identifier)) ;)) }))) (if_statement "if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }" if (parenthesized_expression "(local_50 == local_48)" ( (binary_expression "local_50 == local_48" identifier == identifier) )) (compound_statement "{\n    local_48[0] = 0xf;\n  }" { (expression_statement "local_48[0] = 0xf;" (assignment_expression "local_48[0] = 0xf" (subscript_expression "local_48[0]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" if (parenthesized_expression "(local_48[0] < uVar2)" ( (binary_expression "local_48[0] < uVar2" (subscript_expression "local_48[0]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }" { (expression_statement "uVar4 = 0xf;" (assignment_expression "uVar4 = 0xf" identifier = number_literal) ;) (if_statement "if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }" if (parenthesized_expression "(local_38 != local_30)" ( (binary_expression "local_38 != local_30" identifier != identifier) )) (compound_statement "{\n      uVar4 = local_30[0];\n    }" { (expression_statement "uVar4 = local_30[0];" (assignment_expression "uVar4 = local_30[0]" identifier = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) })) (if_statement "if (uVar4 < uVar2) goto LAB_003813d8;" if (parenthesized_expression "(uVar4 < uVar2)" ( (binary_expression "uVar4 < uVar2" identifier < identifier) )) (goto_statement "goto LAB_003813d8;" goto statement_identifier ;)) (expression_statement "piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);" (assignment_expression "piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" identifier = (cast_expression "(int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" ( (pointer_expression "*(code *)PTR__M_replace_004c20a0" * (cast_expression "(code *)PTR__M_replace_004c20a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_38,0,0,local_50,local_4c)" ( (pointer_expression "&local_38" & identifier) , number_literal , number_literal , identifier , identifier ))))) ;) (expression_statement "piVar5 = piVar3 + 2;" (assignment_expression "piVar5 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (expression_statement "local_68 = (int *)*piVar3;" (assignment_expression "local_68 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (local_68 == piVar5) goto LAB_003814e8;" if (parenthesized_expression "(local_68 == piVar5)" ( (binary_expression "local_68 == piVar5" identifier == identifier) )) (goto_statement "goto LAB_003814e8;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" else (compound_statement "{\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" { (labeled_statement "LAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);" statement_identifier : (expression_statement "piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);" (assignment_expression "piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50)" identifier = (cast_expression "(int *)(*(code *)PTR__M_append_004c1e68)(&local_50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__M_append_004c1e68)(&local_50)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_50)" ( (pointer_expression "&local_50" & identifier) ))))) ;)) (expression_statement "piVar5 = piVar3 + 2;" (assignment_expression "piVar5 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (expression_statement "local_68 = (int *)*piVar3;" (assignment_expression "local_68 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }" if (parenthesized_expression "(local_68 == piVar5)" ( (binary_expression "local_68 == piVar5" identifier == identifier) )) (compound_statement "{\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }" { (labeled_statement "LAB_003814e8:\n      local_68 = &local_60;" statement_identifier : (expression_statement "local_68 = &local_60;" (assignment_expression "local_68 = &local_60" identifier = (pointer_expression "&local_60" & identifier)) ;)) (expression_statement "local_60 = piVar3[2];" (assignment_expression "local_60 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "local_5c = piVar3[3];" (assignment_expression "local_5c = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (expression_statement "local_58 = piVar3[4];" (assignment_expression "local_58 = piVar3[4]" identifier = (subscript_expression "piVar3[4]" identifier [ number_literal ])) ;) (expression_statement "local_54 = piVar3[5];" (assignment_expression "local_54 = piVar3[5]" identifier = (subscript_expression "piVar3[5]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_0038140c;" goto statement_identifier ;) })) }))) (expression_statement "local_60 = piVar3[2];" (assignment_expression "local_60 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;" statement_identifier : (expression_statement "puVar1 = PTR_runtime_error_004c2e5c;" (assignment_expression "puVar1 = PTR_runtime_error_004c2e5c" identifier = identifier) ;)) (expression_statement "local_64 = piVar3[1];" (assignment_expression "local_64 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 *)(piVar3 + 2) = 0;" (assignment_expression "*(undefined1 *)(piVar3 + 2) = 0" (pointer_expression "*(undefined1 *)(piVar3 + 2)" * (cast_expression "(undefined1 *)(piVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 2)" ( (binary_expression "piVar3 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)puVar1)(param_1,&local_68);" (call_expression "(*(code *)puVar1)(param_1,&local_68)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,&local_68)" ( identifier , (pointer_expression "&local_68" & identifier) ))) ;) (if_statement "if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_68 != &local_60)" ( (binary_expression "local_68 != &local_60" identifier != (pointer_expression "&local_60" & identifier)) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_38 != local_30)" ( (binary_expression "local_38 != local_30" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" if (parenthesized_expression "(local_50 != local_48)" ( (binary_expression "local_50 != local_48" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" { (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" ( (pointer_expression "*(code *)PTR_operator_delete_004c12fc" * (cast_expression "(code *)PTR_operator_delete_004c12fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_vtable_004c5604;" (assignment_expression "puVar1 = PTR_vtable_004c5604" identifier = identifier) ;) (expression_statement "param_1[2] = iVar7;" (assignment_expression "param_1[2] = iVar7" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = piVar6;" (assignment_expression "param_1[3] = piVar6" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) < IDENT) (ERROR *) > IDENT) )) (argument_list ( (pointer_expression & IDENT) , (pointer_expression * IDENT) , (binary_expression (pointer_expression * IDENT) + (subscript_expression IDENT [ LIT ])) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) < LIT) )) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;)) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) & LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT , LIT , (binary_expression IDENT + LIT) , LIT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT , LIT , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) ))))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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 (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *param_3;\n  piVar6 = (int *)param_3[1];\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);\n  if (0x7fffffffU - local_4c < 2) {\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    \n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    \n  piVar3[1] = 0;\n  (*(code *)puVar1)(param_1,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  param_1[2] = iVar7;\n  param_1[3] = piVar6;\n  *param_1 = puVar1 + 8;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00381298(undefined4 *param_1,int *param_2,int *param_3)" (identifier "FUN_00381298") (parameter_list "(undefined4 *param_1,int *param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int *local_68;\n  int local_64;\n  int local_60;\n  int local_5c;\n  int local_58;\n  int local_54;\n  uint *local_50;\n  int local_4c;\n  uint local_48 [4];\n  uint *local_38;\n  int local_34;\n  uint local_30 [4];\n  \n  iVar7 = *param_3;\n  piVar6 = (int *)param_3[1];\n  local_50 = local_48;\n  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);\n  if (0x7fffffffU - local_4c < 2) {\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }\n                    \n  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);\n  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }\n  if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }\n  if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }\n  local_60 = piVar3[2];\nLAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;\n  local_64 = piVar3[1];\n  *(undefined1 *)(piVar3 + 2) = 0;\n  *piVar3 = (int)piVar5;\n                    \n  piVar3[1] = 0;\n  (*(code *)puVar1)(param_1,&local_68);\n  if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }\n  puVar1 = PTR_vtable_004c5604;\n  param_1[2] = iVar7;\n  param_1[3] = piVar6;\n  *param_1 = puVar1 + 8;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int *local_68;" (primitive_type "int") (pointer_declarator "*local_68" (* "*") (identifier "local_68")) (; ";")) (declaration "int local_64;" (primitive_type "int") (identifier "local_64") (; ";")) (declaration "int local_60;" (primitive_type "int") (identifier "local_60") (; ";")) (declaration "int local_5c;" (primitive_type "int") (identifier "local_5c") (; ";")) (declaration "int local_58;" (primitive_type "int") (identifier "local_58") (; ";")) (declaration "int local_54;" (primitive_type "int") (identifier "local_54") (; ";")) (declaration "uint *local_50;" (type_identifier "uint") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "int local_4c;" (primitive_type "int") (identifier "local_4c") (; ";")) (declaration "uint local_48 [4];" (type_identifier "uint") (array_declarator "local_48 [4]" (identifier "local_48") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "uint *local_38;" (type_identifier "uint") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "uint local_30 [4];" (type_identifier "uint") (array_declarator "local_30 [4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "iVar7 = *param_3;" (assignment_expression "iVar7 = *param_3" (identifier "iVar7") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "piVar6 = (int *)param_3[1];" (assignment_expression "piVar6 = (int *)param_3[1]" (identifier "piVar6") (= "=") (cast_expression "(int *)param_3[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "local_50 = local_48;" (assignment_expression "local_50 = local_48" (identifier "local_50") (= "=") (identifier "local_48")) (; ";")) (expression_statement "(*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);" (call_expression "(*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0)" (parenthesized_expression "(*(code *)PTR__M_construct<char*>_004c2098)" (( "(") (binary_expression "*(code *)PTR__M_construct<char*>_004c2098" (binary_expression "*(code *)PTR__M_construct<char" (pointer_expression "*(code *)PTR__M_construct" (* "*") (cast_expression "(code *)PTR__M_construct" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_construct"))) (< "<") (identifier "char")) (ERROR "*" (* "*")) (> ">") (identifier "_004c2098")) () ")")) (argument_list "(&local_50,*param_2,*param_2 + param_2[1],0)" (( "(") (pointer_expression "&local_50" (& "&") (identifier "local_50")) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (binary_expression "*param_2 + param_2[1]" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (0x7fffffffU - local_4c < 2) {\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }" (if "if") (parenthesized_expression "(0x7fffffffU - local_4c < 2)" (( "(") (binary_expression "0x7fffffffU - local_4c < 2" (binary_expression "0x7fffffffU - local_4c" (number_literal "0x7fffffffU") (- "-") (identifier "local_4c")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n                    \n                    \n    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n  }" ({ "{") (labeled_statement "std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (expression_statement "__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (call_expression "__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (identifier "__throw_length_error") (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (( "(") (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c" (identifier "PTR_s_ral_options14Struct_no_crefE_004c127c") (+ "+") (number_literal "0x446c")) () ")"))) (; ";"))) (} "}"))) (expression_statement "(*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);" (call_expression "(*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" (( "(") (pointer_expression "*(code *)PTR__M_append_004c1e68" (* "*") (cast_expression "(code *)PTR__M_append_004c1e68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_append_004c1e68"))) () ")")) (argument_list "(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2)" (( "(") (pointer_expression "&local_50" (& "&") (identifier "local_50")) (, ",") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x88" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x88")) (, ",") (number_literal "2") () ")"))) (; ";")) (if_statement "if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }\n  else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" (if "if") (parenthesized_expression "(*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0))" (( "(") (binary_expression "*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)" (pointer_expression "*(code **)(*piVar6 + 0x10)" (* "*") (cast_expression "(code **)(*piVar6 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar6 + 0x10)" (( "(") (binary_expression "*piVar6 + 0x10" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x10")) () ")")))) (== "==") (cast_expression "(code *)(PTR_LAB_004c12c4 + 0xda0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_004c12c4 + 0xda0)" (( "(") (binary_expression "PTR_LAB_004c12c4 + 0xda0" (identifier "PTR_LAB_004c12c4") (+ "+") (number_literal "0xda0")) () ")")))) () ")")) (compound_statement "{\n    local_34 = 0;\n    local_30[0] = local_30[0] & 0xffffff;\n    local_38 = local_30;\n    if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }\n                    \n    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);\n    uVar2 = local_4c + local_34;\n  }" ({ "{") (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[0] = local_30[0] & 0xffffff;" (assignment_expression "local_30[0] = local_30[0] & 0xffffff" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_30[0] & 0xffffff" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (& "&") (number_literal "0xffffff"))) (; ";")) (expression_statement "local_38 = local_30;" (assignment_expression "local_38 = local_30" (identifier "local_38") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (iVar7 != 1) {\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }" (if "if") (parenthesized_expression "(iVar7 != 1)" (( "(") (binary_expression "iVar7 != 1" (identifier "iVar7") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n                    \n      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);\n      goto LAB_0038139c;\n    }" ({ "{") (expression_statement "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);" (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" (( "(") (pointer_expression "*(code *)PTR__M_replace_004c20a0" (* "*") (cast_expression "(code *)PTR__M_replace_004c20a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_replace_004c20a0"))) () ")")) (argument_list "(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (binary_expression "PTR_UINT_004c12dc + -0x2a64" (identifier "PTR_UINT_004c12dc") (+ "+") (number_literal "-0x2a64")) (, ",") (number_literal "0xd") () ")"))) (; ";")) (goto_statement "goto LAB_0038139c;" (goto "goto") (statement_identifier "LAB_0038139c") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);" (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" (( "(") (pointer_expression "*(code *)PTR__M_replace_004c20a0" (* "*") (cast_expression "(code *)PTR__M_replace_004c20a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_replace_004c20a0"))) () ")")) (argument_list "(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (binary_expression "PTR_UINT_004c12dc + -0x2a74" (identifier "PTR_UINT_004c12dc") (+ "+") (number_literal "-0x2a74")) (, ",") (number_literal "0xe") () ")"))) (; ";")) (expression_statement "uVar2 = local_4c + local_34;" (assignment_expression "uVar2 = local_4c + local_34" (identifier "uVar2") (= "=") (binary_expression "local_4c + local_34" (identifier "local_4c") (+ "+") (identifier "local_34"))) (; ";")) (} "}")) (else_clause "else {\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" (else "else") (compound_statement "{\n                    \n    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);\nLAB_0038139c:\n    uVar2 = local_4c + local_34;\n  }" ({ "{") (expression_statement "(**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);" (call_expression "(**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7)" (parenthesized_expression "(**(code **)(*piVar6 + 0x10))" (( "(") (pointer_expression "**(code **)(*piVar6 + 0x10)" (* "*") (pointer_expression "*(code **)(*piVar6 + 0x10)" (* "*") (cast_expression "(code **)(*piVar6 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar6 + 0x10)" (( "(") (binary_expression "*piVar6 + 0x10" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(&local_38,piVar6,iVar7)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "piVar6") (, ",") (identifier "iVar7") () ")"))) (; ";")) (labeled_statement "LAB_0038139c:\n    uVar2 = local_4c + local_34;" (statement_identifier "LAB_0038139c") (: ":") (expression_statement "uVar2 = local_4c + local_34;" (assignment_expression "uVar2 = local_4c + local_34" (identifier "uVar2") (= "=") (binary_expression "local_4c + local_34" (identifier "local_4c") (+ "+") (identifier "local_34"))) (; ";"))) (} "}")))) (if_statement "if (local_50 == local_48) {\n    local_48[0] = 0xf;\n  }" (if "if") (parenthesized_expression "(local_50 == local_48)" (( "(") (binary_expression "local_50 == local_48" (identifier "local_50") (== "==") (identifier "local_48")) () ")")) (compound_statement "{\n    local_48[0] = 0xf;\n  }" ({ "{") (expression_statement "local_48[0] = 0xf;" (assignment_expression "local_48[0] = 0xf" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0xf")) (; ";")) (} "}"))) (if_statement "if (local_48[0] < uVar2) {\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }\n  else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" (if "if") (parenthesized_expression "(local_48[0] < uVar2)" (( "(") (binary_expression "local_48[0] < uVar2" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n    uVar4 = 0xf;\n    if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }\n    if (uVar4 < uVar2) goto LAB_003813d8;\n                    \n    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) goto LAB_003814e8;\n  }" ({ "{") (expression_statement "uVar4 = 0xf;" (assignment_expression "uVar4 = 0xf" (identifier "uVar4") (= "=") (number_literal "0xf")) (; ";")) (if_statement "if (local_38 != local_30) {\n      uVar4 = local_30[0];\n    }" (if "if") (parenthesized_expression "(local_38 != local_30)" (( "(") (binary_expression "local_38 != local_30" (identifier "local_38") (!= "!=") (identifier "local_30")) () ")")) (compound_statement "{\n      uVar4 = local_30[0];\n    }" ({ "{") (expression_statement "uVar4 = local_30[0];" (assignment_expression "uVar4 = local_30[0]" (identifier "uVar4") (= "=") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}"))) (if_statement "if (uVar4 < uVar2) goto LAB_003813d8;" (if "if") (parenthesized_expression "(uVar4 < uVar2)" (( "(") (binary_expression "uVar4 < uVar2" (identifier "uVar4") (< "<") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_003813d8;" (goto "goto") (statement_identifier "LAB_003813d8") (; ";"))) (expression_statement "piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);" (assignment_expression "piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c)" (parenthesized_expression "(*(code *)PTR__M_replace_004c20a0)" (( "(") (pointer_expression "*(code *)PTR__M_replace_004c20a0" (* "*") (cast_expression "(code *)PTR__M_replace_004c20a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_replace_004c20a0"))) () ")")) (argument_list "(&local_38,0,0,local_50,local_4c)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "local_50") (, ",") (identifier "local_4c") () ")"))))) (; ";")) (expression_statement "piVar5 = piVar3 + 2;" (assignment_expression "piVar5 = piVar3 + 2" (identifier "piVar5") (= "=") (binary_expression "piVar3 + 2" (identifier "piVar3") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "local_68 = (int *)*piVar3;" (assignment_expression "local_68 = (int *)*piVar3" (identifier "local_68") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (if_statement "if (local_68 == piVar5) goto LAB_003814e8;" (if "if") (parenthesized_expression "(local_68 == piVar5)" (( "(") (binary_expression "local_68 == piVar5" (identifier "local_68") (== "==") (identifier "piVar5")) () ")")) (goto_statement "goto LAB_003814e8;" (goto "goto") (statement_identifier "LAB_003814e8") (; ";"))) (} "}")) (else_clause "else {\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" (else "else") (compound_statement "{\nLAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);\n    piVar5 = piVar3 + 2;\n    local_68 = (int *)*piVar3;\n    if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }\n  }" ({ "{") (labeled_statement "LAB_003813d8:\n                    \n    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);" (statement_identifier "LAB_003813d8") (: ":") (expression_statement "piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);" (assignment_expression "piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50)" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR__M_append_004c1e68)(&local_50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR__M_append_004c1e68)(&local_50)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" (( "(") (pointer_expression "*(code *)PTR__M_append_004c1e68" (* "*") (cast_expression "(code *)PTR__M_append_004c1e68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_append_004c1e68"))) () ")")) (argument_list "(&local_50)" (( "(") (pointer_expression "&local_50" (& "&") (identifier "local_50")) () ")"))))) (; ";"))) (expression_statement "piVar5 = piVar3 + 2;" (assignment_expression "piVar5 = piVar3 + 2" (identifier "piVar5") (= "=") (binary_expression "piVar3 + 2" (identifier "piVar3") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "local_68 = (int *)*piVar3;" (assignment_expression "local_68 = (int *)*piVar3" (identifier "local_68") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (if_statement "if (local_68 == piVar5) {\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }" (if "if") (parenthesized_expression "(local_68 == piVar5)" (( "(") (binary_expression "local_68 == piVar5" (identifier "local_68") (== "==") (identifier "piVar5")) () ")")) (compound_statement "{\nLAB_003814e8:\n      local_68 = &local_60;\n      local_60 = piVar3[2];\n      local_5c = piVar3[3];\n      local_58 = piVar3[4];\n      local_54 = piVar3[5];\n      goto LAB_0038140c;\n    }" ({ "{") (labeled_statement "LAB_003814e8:\n      local_68 = &local_60;" (statement_identifier "LAB_003814e8") (: ":") (expression_statement "local_68 = &local_60;" (assignment_expression "local_68 = &local_60" (identifier "local_68") (= "=") (pointer_expression "&local_60" (& "&") (identifier "local_60"))) (; ";"))) (expression_statement "local_60 = piVar3[2];" (assignment_expression "local_60 = piVar3[2]" (identifier "local_60") (= "=") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_5c = piVar3[3];" (assignment_expression "local_5c = piVar3[3]" (identifier "local_5c") (= "=") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "local_58 = piVar3[4];" (assignment_expression "local_58 = piVar3[4]" (identifier "local_58") (= "=") (subscript_expression "piVar3[4]" (identifier "piVar3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "local_54 = piVar3[5];" (assignment_expression "local_54 = piVar3[5]" (identifier "local_54") (= "=") (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]"))) (; ";")) (goto_statement "goto LAB_0038140c;" (goto "goto") (statement_identifier "LAB_0038140c") (; ";")) (} "}"))) (} "}")))) (expression_statement "local_60 = piVar3[2];" (assignment_expression "local_60 = piVar3[2]" (identifier "local_60") (= "=") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (labeled_statement "LAB_0038140c:\n  puVar1 = PTR_runtime_error_004c2e5c;" (statement_identifier "LAB_0038140c") (: ":") (expression_statement "puVar1 = PTR_runtime_error_004c2e5c;" (assignment_expression "puVar1 = PTR_runtime_error_004c2e5c" (identifier "puVar1") (= "=") (identifier "PTR_runtime_error_004c2e5c")) (; ";"))) (expression_statement "local_64 = piVar3[1];" (assignment_expression "local_64 = piVar3[1]" (identifier "local_64") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined1 *)(piVar3 + 2) = 0;" (assignment_expression "*(undefined1 *)(piVar3 + 2) = 0" (pointer_expression "*(undefined1 *)(piVar3 + 2)" (* "*") (cast_expression "(undefined1 *)(piVar3 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3 + 2)" (( "(") (binary_expression "piVar3 + 2" (identifier "piVar3") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar3 = (int)piVar5;" (assignment_expression "*piVar3 = (int)piVar5" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5"))) (; ";")) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar1)(param_1,&local_68);" (call_expression "(*(code *)puVar1)(param_1,&local_68)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1,&local_68)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_68" (& "&") (identifier "local_68")) () ")"))) (; ";")) (if_statement "if (local_68 != &local_60) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" (if "if") (parenthesized_expression "(local_68 != &local_60)" (( "(") (binary_expression "local_68 != &local_60" (identifier "local_68") (!= "!=") (pointer_expression "&local_60" (& "&") (identifier "local_60"))) () ")")) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" (( "(") (pointer_expression "*(code *)PTR_operator_delete_004c12fc" (* "*") (cast_expression "(code *)PTR_operator_delete_004c12fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_delete_004c12fc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_38 != local_30) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" (if "if") (parenthesized_expression "(local_38 != local_30)" (( "(") (binary_expression "local_38 != local_30" (identifier "local_38") (!= "!=") (identifier "local_30")) () ")")) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" (( "(") (pointer_expression "*(code *)PTR_operator_delete_004c12fc" (* "*") (cast_expression "(code *)PTR_operator_delete_004c12fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_delete_004c12fc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_50 != local_48) {\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" (if "if") (parenthesized_expression "(local_50 != local_48)" (( "(") (binary_expression "local_50 != local_48" (identifier "local_50") (!= "!=") (identifier "local_48")) () ")")) (compound_statement "{\n    (*(code *)PTR_operator_delete_004c12fc)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_operator_delete_004c12fc)();" (call_expression "(*(code *)PTR_operator_delete_004c12fc)()" (parenthesized_expression "(*(code *)PTR_operator_delete_004c12fc)" (( "(") (pointer_expression "*(code *)PTR_operator_delete_004c12fc" (* "*") (cast_expression "(code *)PTR_operator_delete_004c12fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_delete_004c12fc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_vtable_004c5604;" (assignment_expression "puVar1 = PTR_vtable_004c5604" (identifier "puVar1") (= "=") (identifier "PTR_vtable_004c5604")) (; ";")) (expression_statement "param_1[2] = iVar7;" (assignment_expression "param_1[2] = iVar7" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "param_1[3] = piVar6;" (assignment_expression "param_1[3] = piVar6" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "piVar6")) (; ";")) (expression_statement "*param_1 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "puVar1 + 8" (identifier "puVar1") (+ "+") (number_literal "8"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier)) (ERROR) right: (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (binary_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal))) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))))

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

{
  undefined *puVar1;
  uint uVar2;
  int *piVar3;
  uint uVar4;
  int *piVar5;
  int *piVar6;
  int iVar7;
  int *local_68;
  int local_64;
  int local_60;
  int local_5c;
  int local_58;
  int local_54;
  uint *local_50;
  int local_4c;
  uint local_48 [4];
  uint *local_38;
  int local_34;
  uint local_30 [4];
  
  iVar7 = *param_3;
  piVar6 = (int *)param_3[1];
  local_50 = local_48;
  (*(code *)PTR__M_construct<char*>_004c2098)(&local_50,*param_2,*param_2 + param_2[1],0);
  if (0x7fffffffU - local_4c < 2) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0038157c to 00381583 has its CatchHandler @ 0038161c */
    std::__throw_length_error(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);
  }
                    /* try { // try from 00381338 to 0038133f has its CatchHandler @ 0038161c */
  (*(code *)PTR__M_append_004c1e68)(&local_50,PTR_s_in_a_linker_script_004c191c + -0x88,2);
  if (*(code **)(*piVar6 + 0x10) == (code *)(PTR_LAB_004c12c4 + 0xda0)) {
    local_34 = 0;
    local_30[0] = local_30[0] & 0xffffff;
    local_38 = local_30;
    if (iVar7 != 1) {
                    /* try { // try from 00381390 to 00381397 has its CatchHandler @ 003815d4 */
      (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a64,0xd);
      goto LAB_0038139c;
    }
                    /* try { // try from 0038152c to 00381533 has its CatchHandler @ 003815d4 */
    (*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,PTR_UINT_004c12dc + -0x2a74,0xe);
    uVar2 = local_4c + local_34;
  }
  else {
                    /* try { // try from 00381560 to 00381567 has its CatchHandler @ 00381584 */
    (**(code **)(*piVar6 + 0x10))(&local_38,piVar6,iVar7);
LAB_0038139c:
    uVar2 = local_4c + local_34;
  }
  if (local_50 == local_48) {
    local_48[0] = 0xf;
  }
  if (local_48[0] < uVar2) {
    uVar4 = 0xf;
    if (local_38 != local_30) {
      uVar4 = local_30[0];
    }
    if (uVar4 < uVar2) goto LAB_003813d8;
                    /* try { // try from 003814c4 to 003814cb has its CatchHandler @ 003815b0 */
    piVar3 = (int *)(*(code *)PTR__M_replace_004c20a0)(&local_38,0,0,local_50,local_4c);
    piVar5 = piVar3 + 2;
    local_68 = (int *)*piVar3;
    if (local_68 == piVar5) goto LAB_003814e8;
  }
  else {
LAB_003813d8:
                    /* try { // try from 003813dc to 003813e3 has its CatchHandler @ 003815b0 */
    piVar3 = (int *)(*(code *)PTR__M_append_004c1e68)(&local_50);
    piVar5 = piVar3 + 2;
    local_68 = (int *)*piVar3;
    if (local_68 == piVar5) {
LAB_003814e8:
      local_68 = &local_60;
      local_60 = piVar3[2];
      local_5c = piVar3[3];
      local_58 = piVar3[4];
      local_54 = piVar3[5];
      goto LAB_0038140c;
    }
  }
  local_60 = piVar3[2];
LAB_0038140c:
  puVar1 = PTR_runtime_error_004c2e5c;
  local_64 = piVar3[1];
  *(undefined1 *)(piVar3 + 2) = 0;
  *piVar3 = (int)piVar5;
                    /* try { // try from 00381428 to 0038142f has its CatchHandler @ 003815f8 */
  piVar3[1] = 0;
  (*(code *)puVar1)(param_1,&local_68);
  if (local_68 != &local_60) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  if (local_38 != local_30) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  if (local_50 != local_48) {
    (*(code *)PTR_operator_delete_004c12fc)();
  }
  puVar1 = PTR_vtable_004c5604;
  param_1[2] = iVar7;
  param_1[3] = piVar6;
  *param_1 = puVar1 + 8;
  return;
}

