
/* std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) */

void __thiscall std::locale::_Impl::_M_install_facet(_Impl *this,id *param_1,facet *param_2)

{
  long *plVar1;
  long *plVar2;
  void *pvVar3;
  void *pvVar4;
  long *plVar5;
  undefined *puVar6;
  int iVar7;
  ulong uVar8;
  void *pvVar9;
  ulong uVar10;
  undefined8 *puVar11;
  void *pvVar12;
  ulong uVar13;
  long lVar14;
  long lVar15;
  long *plVar16;
  ulong uVar17;
  id *this_00;
  ulong uVar18;
  undefined **ppuVar19;
  
  if (param_2 == (facet *)0x0) {
    return;
  }
  uVar8 = locale::id::_M_id(param_1);
  if (*(long *)(this + 0x10) - 1U < uVar8) {
    uVar13 = uVar8 + 4;
    pvVar3 = *(void **)(this + 8);
    uVar18 = uVar13 * 8;
    if (0xfffffffffffffff < uVar13) {
      uVar18 = 0xffffffffffffffff;
    }
    pvVar9 = operator_new__(uVar18);
    uVar17 = *(ulong *)(this + 0x10);
    if (uVar17 != 0) {
      lVar15 = *(long *)(this + 8);
      uVar10 = 0;
      do {
        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);
        uVar10 = uVar10 + 1;
      } while (uVar10 != uVar17);
    }
    if (uVar17 < uVar13) {
      puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);
      do {
        *puVar11 = 0;
        puVar11 = puVar11 + 1;
      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);
    }
    pvVar4 = *(void **)(this + 0x18);
                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */
    pvVar12 = operator_new__(uVar18);
    uVar18 = *(ulong *)(this + 0x10);
    if (uVar18 != 0) {
      lVar15 = *(long *)(this + 0x18);
      uVar17 = 0;
      do {
        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);
        uVar17 = uVar17 + 1;
      } while (uVar17 != uVar18);
    }
    if (uVar18 < uVar13) {
      puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);
      do {
        *puVar11 = 0;
        puVar11 = puVar11 + 1;
      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));
    }
    *(ulong *)(this + 0x10) = uVar13;
    *(void **)(this + 8) = pvVar9;
    *(void **)(this + 0x18) = pvVar12;
    if (pvVar3 != (void *)0x0) {
      operator_delete__(pvVar3);
    }
    if (pvVar4 != (void *)0x0) {
      operator_delete__(pvVar4);
    }
  }
  puVar6 = PTR___pthread_key_create_004b9ee8;
  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {
    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;
  }
  else {
    LOCK();
    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;
    UNLOCK();
  }
  plVar2 = (long *)(*(long *)(this + 8) + uVar8 * 8);
  plVar16 = (long *)*plVar2;
  if (plVar16 == (long *)0x0) goto LAB_0033b3e9;
  ppuVar19 = &_S_twinned_facets;
  this_00 = (id *)_S_twinned_facets;
  if (_S_twinned_facets == (undefined *)0x0) {
LAB_0033b3cd:
    if (puVar6 != (undefined *)0x0) goto LAB_0033b3d6;
LAB_0033b494:
    iVar7 = (int)plVar16[1];
    *(int *)(plVar16 + 1) = iVar7 + -1;
  }
  else {
    do {
      uVar13 = locale::id::_M_id(this_00);
      if (uVar13 == uVar8) {
        lVar15 = *(long *)(this + 8);
        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);
        plVar16 = (long *)(lVar15 + lVar14 * 8);
        if (*plVar16 != 0) {
          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);
          if (puVar6 == (undefined *)0x0) {
            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;
          }
          else {
            LOCK();
            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;
            UNLOCK();
          }
          plVar5 = (long *)*plVar16;
          if (puVar6 == (undefined *)0x0) {
            iVar7 = (int)plVar5[1];
            *(int *)(plVar5 + 1) = iVar7 + -1;
          }
          else {
            LOCK();
            plVar1 = plVar5 + 1;
            iVar7 = (int)*plVar1;
            *(int *)plVar1 = (int)*plVar1 + -1;
            UNLOCK();
          }
          if (iVar7 == 1) {
                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */
            (**(code **)(*plVar5 + 8))();
          }
LAB_0033b3c6:
          *plVar16 = lVar15;
          plVar16 = (long *)*plVar2;
          goto LAB_0033b3cd;
        }
        break;
      }
      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);
      if (uVar13 == uVar8) {
        lVar15 = *(long *)(this + 8);
        lVar14 = locale::id::_M_id((id *)*ppuVar19);
        plVar16 = (long *)(lVar15 + lVar14 * 8);
        if (*plVar16 != 0) {
          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);
          if (puVar6 == (undefined *)0x0) {
            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;
          }
          else {
            LOCK();
            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;
            UNLOCK();
          }
          plVar5 = (long *)*plVar16;
          if (puVar6 == (undefined *)0x0) {
            iVar7 = (int)plVar5[1];
            *(int *)(plVar5 + 1) = iVar7 + -1;
          }
          else {
            LOCK();
            plVar1 = plVar5 + 1;
            iVar7 = (int)*plVar1;
            *(int *)plVar1 = (int)*plVar1 + -1;
            UNLOCK();
          }
          if (iVar7 == 1) {
                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */
            (**(code **)(*plVar5 + 8))();
          }
          goto LAB_0033b3c6;
        }
        break;
      }
      ppuVar19 = ppuVar19 + 2;
      this_00 = (id *)*ppuVar19;
    } while (this_00 != (id *)0x0);
    plVar16 = (long *)*plVar2;
    if (puVar6 == (undefined *)0x0) goto LAB_0033b494;
LAB_0033b3d6:
    LOCK();
    plVar5 = plVar16 + 1;
    iVar7 = (int)*plVar5;
    *(int *)plVar5 = (int)*plVar5 + -1;
    UNLOCK();
  }
  if (iVar7 == 1) {
                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */
    (**(code **)(*plVar16 + 8))(plVar16);
  }
LAB_0033b3e9:
  lVar15 = *(long *)(this + 0x10);
  *plVar2 = (long)param_2;
  if (lVar15 != 0) {
    uVar8 = 0;
    lVar15 = *(long *)(this + 0x18);
    do {
      plVar2 = *(long **)(lVar15 + uVar8 * 8);
      if (plVar2 != (long *)0x0) {
        if (puVar6 == (undefined *)0x0) {
          iVar7 = (int)plVar2[1];
          *(int *)(plVar2 + 1) = iVar7 + -1;
        }
        else {
          LOCK();
          plVar16 = plVar2 + 1;
          iVar7 = (int)*plVar16;
          *(int *)plVar16 = (int)*plVar16 + -1;
          UNLOCK();
        }
        if (iVar7 == 1) {
                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */
          (**(code **)(*plVar2 + 8))();
        }
        lVar15 = *(long *)(this + 0x18);
        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;
      }
      uVar8 = uVar8 + 1;
    } while (uVar8 < *(ulong *)(this + 0x10));
  }
  return;
}



void FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)

{
  long *plVar1;
  long *plVar2;
  ulong uVar3;
  long lVar4;
  long lVar5;
  long *plVar6;
  undefined *puVar7;
  int iVar8;
  ulong uVar9;
  long lVar10;
  ulong uVar11;
  undefined8 *puVar12;
  ulong uVar13;
  long lVar14;
  long *plVar15;
  long lVar16;
  undefined **ppuVar17;
  
  if (param_3 == 0) {
    return;
  }
  uVar9 = FUN_0033b180(param_2);
  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {
    uVar13 = uVar9 + 4;
    lVar14 = *(long *)(param_1 + 8);
    lVar16 = uVar13 * 8;
    if (0xfffffffffffffff < uVar13) {
      lVar16 = -1;
    }
    lVar10 = thunk_FUN_00337270(lVar16);
    uVar3 = *(ulong *)(param_1 + 0x10);
    if (uVar3 != 0) {
      lVar4 = *(long *)(param_1 + 8);
      uVar11 = 0;
      do {
        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);
        uVar11 = uVar11 + 1;
      } while (uVar11 != uVar3);
    }
    if (uVar3 < uVar13) {
      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);
      do {
        *puVar12 = 0;
        puVar12 = puVar12 + 1;
      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);
    }
    lVar4 = *(long *)(param_1 + 0x18);
                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */
    lVar16 = thunk_FUN_00337270(lVar16);
    uVar3 = *(ulong *)(param_1 + 0x10);
    if (uVar3 != 0) {
      lVar5 = *(long *)(param_1 + 0x18);
      uVar11 = 0;
      do {
        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);
        uVar11 = uVar11 + 1;
      } while (uVar11 != uVar3);
    }
    if (uVar3 < uVar13) {
      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);
      do {
        *puVar12 = 0;
        puVar12 = puVar12 + 1;
      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));
    }
    *(ulong *)(param_1 + 0x10) = uVar13;
    *(long *)(param_1 + 8) = lVar10;
    *(long *)(param_1 + 0x18) = lVar16;
    if (lVar14 != 0) {
      thunk_FUN_00338a40(lVar14);
    }
    if (lVar4 != 0) {
      thunk_FUN_00338a40(lVar4);
    }
  }
  puVar7 = PTR___pthread_key_create_004b9ee8;
  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {
    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;
  }
  else {
    LOCK();
    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;
    UNLOCK();
  }
  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);
  plVar15 = (long *)*plVar2;
  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;
  ppuVar17 = &PTR_DAT_004b75c0;
  if (PTR_DAT_004b75c0 == (undefined *)0x0) {
LAB_0033b3cd:
    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;
LAB_0033b494:
    iVar8 = (int)plVar15[1];
    *(int *)(plVar15 + 1) = iVar8 + -1;
  }
  else {
    do {
      uVar13 = FUN_0033b180();
      if (uVar13 == uVar9) {
        lVar16 = *(long *)(param_1 + 8);
        lVar14 = FUN_0033b180(ppuVar17[1]);
        plVar15 = (long *)(lVar16 + lVar14 * 8);
        if (*plVar15 != 0) {
          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);
          if (puVar7 == (undefined *)0x0) {
            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;
          }
          else {
            LOCK();
            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;
            UNLOCK();
          }
          plVar6 = (long *)*plVar15;
          if (puVar7 == (undefined *)0x0) {
            iVar8 = (int)plVar6[1];
            *(int *)(plVar6 + 1) = iVar8 + -1;
          }
          else {
            LOCK();
            plVar1 = plVar6 + 1;
            iVar8 = (int)*plVar1;
            *(int *)plVar1 = (int)*plVar1 + -1;
            UNLOCK();
          }
          if (iVar8 == 1) {
                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */
            (**(code **)(*plVar6 + 8))();
          }
LAB_0033b3c6:
          *plVar15 = lVar16;
          plVar15 = (long *)*plVar2;
          goto LAB_0033b3cd;
        }
        break;
      }
      uVar13 = FUN_0033b180(ppuVar17[1]);
      if (uVar13 == uVar9) {
        lVar16 = *(long *)(param_1 + 8);
        lVar14 = FUN_0033b180(*ppuVar17);
        plVar15 = (long *)(lVar16 + lVar14 * 8);
        if (*plVar15 != 0) {
          lVar16 = FUN_003759f0(param_3,*ppuVar17);
          if (puVar7 == (undefined *)0x0) {
            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;
          }
          else {
            LOCK();
            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;
            UNLOCK();
          }
          plVar6 = (long *)*plVar15;
          if (puVar7 == (undefined *)0x0) {
            iVar8 = (int)plVar6[1];
            *(int *)(plVar6 + 1) = iVar8 + -1;
          }
          else {
            LOCK();
            plVar1 = plVar6 + 1;
            iVar8 = (int)*plVar1;
            *(int *)plVar1 = (int)*plVar1 + -1;
            UNLOCK();
          }
          if (iVar8 == 1) {
                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */
            (**(code **)(*plVar6 + 8))();
          }
          goto LAB_0033b3c6;
        }
        break;
      }
      ppuVar17 = ppuVar17 + 2;
    } while (*ppuVar17 != (undefined *)0x0);
    plVar15 = (long *)*plVar2;
    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;
LAB_0033b3d6:
    LOCK();
    plVar6 = plVar15 + 1;
    iVar8 = (int)*plVar6;
    *(int *)plVar6 = (int)*plVar6 + -1;
    UNLOCK();
  }
  if (iVar8 == 1) {
                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */
    (**(code **)(*plVar15 + 8))(plVar15);
  }
LAB_0033b3e9:
  lVar16 = *(long *)(param_1 + 0x10);
  *plVar2 = param_3;
  if (lVar16 != 0) {
    uVar9 = 0;
    lVar16 = *(long *)(param_1 + 0x18);
    do {
      plVar2 = *(long **)(lVar16 + uVar9 * 8);
      if (plVar2 != (long *)0x0) {
        if (puVar7 == (undefined *)0x0) {
          iVar8 = (int)plVar2[1];
          *(int *)(plVar2 + 1) = iVar8 + -1;
        }
        else {
          LOCK();
          plVar15 = plVar2 + 1;
          iVar8 = (int)*plVar15;
          *(int *)plVar15 = (int)*plVar15 + -1;
          UNLOCK();
        }
        if (iVar8 == 1) {
                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */
          (**(code **)(*plVar2 + 8))();
        }
        lVar16 = *(long *)(param_1 + 0x18);
        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;
      }
      uVar9 = uVar9 + 1;
    } while (uVar9 < *(ulong *)(param_1 + 0x10));
  }
  return;
}


TEST RDX,RDX
JZ 0x0033b480
PUSH R15
PUSH R14
PUSH R13
PUSH R12
MOV R12,RDX
PUSH RBP
PUSH RBX
MOV RBX,RDI
MOV RDI,RSI
SUB RSP,0x18
CALL 0x0033b180
MOV RBP,RAX
MOV RAX,qword ptr [RBX + 0x10]
SUB RAX,0x1
CMP RAX,RBP
JNC 0x0033b2fb
LEA R14,[RBP + 0x4]
MOV R15,qword ptr [RBX + 0x8]
MOV RAX,0xfffffffffffffff
CMP R14,RAX
LEA R8,[R14*0x8]
MOV RAX,-0x1
CMOVA R8,RAX
MOV RDI,R8
MOV qword ptr [RSP + 0x8],R8
CALL 0x00337210
MOV RCX,qword ptr [RBX + 0x10]
MOV R8,qword ptr [RSP + 0x8]
MOV R13,RAX
TEST RCX,RCX
JZ 0x0033b25a
MOV RSI,qword ptr [RBX + 0x8]
XOR EAX,EAX
NOP dword ptr [RAX]
MOV RDX,qword ptr [RSI + RAX*0x8]
MOV qword ptr [R13 + RAX*0x8],RDX
ADD RAX,0x1
CMP RAX,RCX
JNZ 0x0033b248
CMP R14,RCX
JBE 0x0033b280
LEA RAX,[R13 + RCX*0x8]
LEA RDX,[R13 + RBP*0x8 + 0x20]
NOP dword ptr [RAX]
MOV qword ptr [RAX],0x0
ADD RAX,0x8
CMP RDX,RAX
JNZ 0x0033b270
MOV RAX,qword ptr [RBX + 0x18]
MOV RDI,R8
MOV qword ptr [RSP + 0x8],RAX
CALL 0x00337210
MOV RSI,qword ptr [RBX + 0x10]
TEST RSI,RSI
JZ 0x0033b2b1
MOV RDI,qword ptr [RBX + 0x18]
XOR EDX,EDX
MOV RCX,qword ptr [RDI + RDX*0x8]
MOV qword ptr [RAX + RDX*0x8],RCX
ADD RDX,0x1
CMP RDX,RSI
JNZ 0x0033b2a0
CMP R14,RSI
JBE 0x0033b2d0
LEA RDX,[RAX + RSI*0x8]
LEA RCX,[RAX + RBP*0x8 + 0x20]
NOP
MOV qword ptr [RDX],0x0
ADD RDX,0x8
CMP RDX,RCX
JNZ 0x0033b2c0
MOV qword ptr [RBX + 0x10],R14
MOV qword ptr [RBX + 0x8],R13
MOV qword ptr [RBX + 0x18],RAX
TEST R15,R15
JZ 0x0033b2e9
MOV RDI,R15
CALL 0x00338a10
MOV RAX,qword ptr [RSP + 0x8]
TEST RAX,RAX
JZ 0x0033b2fb
MOV RDI,RAX
CALL 0x00338a10
MOV R13,qword ptr [0x004b9ee8]
TEST R13,R13
JZ 0x0033b458
ADD.LOCK dword ptr [R12 + 0x8],0x1
MOV RAX,qword ptr [RBX + 0x8]
LEA R15,[RAX + RBP*0x8]
MOV RAX,qword ptr [R15]
TEST RAX,RAX
JZ 0x0033b3e9
LEA R14,[0x4b75c0]
MOV RDI,qword ptr [R14]
TEST RDI,RDI
JNZ 0x0033b362
JMP 0x0033b3cd
MOV RDI,qword ptr [R14 + 0x8]
CALL 0x0033b180
CMP RAX,RBP
JZ 0x0033b4b8
ADD R14,0x10
MOV RDI,qword ptr [R14]
TEST RDI,RDI
JZ 0x0033b488
CALL 0x0033b180
CMP RAX,RBP
JNZ 0x0033b340
MOV RDI,qword ptr [R14 + 0x8]
MOV RBP,qword ptr [RBX + 0x8]
CALL 0x0033b180
LEA RBP,[RBP + RAX*0x8]
CMP qword ptr [RBP],0x0
JZ 0x0033b488
MOV RSI,qword ptr [R14 + 0x8]
MOV RDI,R12
CALL 0x00370e80
MOV R14,RAX
TEST R13,R13
JZ 0x0033b50f
ADD.LOCK dword ptr [RAX + 0x8],0x1
MOV RDI,qword ptr [RBP]
TEST R13,R13
JZ 0x0033b51e
MOV EAX,0xffffffff
XADD.LOCK dword ptr [RDI + 0x8],EAX
CMP EAX,0x1
JZ 0x0033b537
MOV qword ptr [RBP],R14
MOV RAX,qword ptr [R15]
TEST R13,R13
JZ 0x0033b494
MOV EDX,0xffffffff
XADD.LOCK dword ptr [RAX + 0x8],EDX
CMP EDX,0x1
JZ 0x0033b4a6
CMP qword ptr [RBX + 0x10],0x0
MOV qword ptr [R15],R12
JZ 0x0033b468
XOR EBP,EBP
MOV RAX,qword ptr [RBX + 0x18]
JMP 0x0033b425
MOV EAX,0xffffffff
XADD.LOCK dword ptr [RDI + 0x8],EAX
CMP EAX,0x1
JZ 0x0033b449
MOV RAX,qword ptr [RBX + 0x18]
MOV qword ptr [RAX + R12*0x1],0x0
ADD RBP,0x1
CMP qword ptr [RBX + 0x10],RBP
JBE 0x0033b468
MOV RDI,qword ptr [RAX + RBP*0x8]
LEA R12,[RBP*0x8]
TEST RDI,RDI
JZ 0x0033b41b
TEST R13,R13
JNZ 0x0033b400
MOV EAX,dword ptr [RDI + 0x8]
LEA EDX,[RAX + -0x1]
MOV dword ptr [RDI + 0x8],EDX
CMP EAX,0x1
JNZ 0x0033b40f
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x8]
JMP 0x0033b40f
ADD dword ptr [R12 + 0x8],0x1
JMP 0x0033b312
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
RET
MOV RAX,qword ptr [R15]
TEST R13,R13
JNZ 0x0033b3d6
MOV EDX,dword ptr [RAX + 0x8]
LEA ECX,[RDX + -0x1]
MOV dword ptr [RAX + 0x8],ECX
CMP EDX,0x1
JNZ 0x0033b3e9
MOV RDX,qword ptr [RAX]
MOV RDI,RAX
CALL qword ptr [RDX + 0x8]
JMP 0x0033b3e9
MOV RDI,qword ptr [R14]
MOV RBP,qword ptr [RBX + 0x8]
CALL 0x0033b180
LEA RBP,[RBP + RAX*0x8]
CMP qword ptr [RBP],0x0
JZ 0x0033b488
MOV RSI,qword ptr [R14]
MOV RDI,R12
CALL 0x003759f0
MOV R14,RAX
TEST R13,R13
JZ 0x0033b518
ADD.LOCK dword ptr [RAX + 0x8],0x1
MOV RDI,qword ptr [RBP]
TEST R13,R13
JZ 0x0033b52c
MOV EAX,0xffffffff
XADD.LOCK dword ptr [RDI + 0x8],EAX
CMP EAX,0x1
JNZ 0x0033b3c6
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x8]
JMP 0x0033b3c6
ADD dword ptr [RAX + 0x8],0x1
JMP 0x0033b3a6
ADD dword ptr [RAX + 0x8],0x1
JMP 0x0033b4e8
MOV EAX,dword ptr [RDI + 0x8]
LEA EDX,[RAX + -0x1]
MOV dword ptr [RDI + 0x8],EDX
JMP 0x0033b3bd
MOV EAX,dword ptr [RDI + 0x8]
LEA EDX,[RAX + -0x1]
MOV dword ptr [RDI + 0x8],EDX
JMP 0x0033b4fb
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x8]
JMP 0x0033b3c6
(translation_unit "void FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  long lVar4;\n  long lVar5;\n  long *plVar6;\n  undefined *puVar7;\n  int iVar8;\n  ulong uVar9;\n  long lVar10;\n  ulong uVar11;\n  undefined8 *puVar12;\n  ulong uVar13;\n  long lVar14;\n  long *plVar15;\n  long lVar16;\n  undefined **ppuVar17;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  uVar9 = FUN_0033b180(param_2);\n  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }\n  puVar7 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);\n  plVar15 = (long *)*plVar2;\n  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar17 = &PTR_DAT_004b75c0;\n  if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }\n  if (iVar8 == 1) {\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar15 + 8))(plVar15);\n  }\nLAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);\n  *plVar2 = param_3;\n  if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }\n  return;\n}\n\n" (function_definition "void FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  long lVar4;\n  long lVar5;\n  long *plVar6;\n  undefined *puVar7;\n  int iVar8;\n  ulong uVar9;\n  long lVar10;\n  ulong uVar11;\n  undefined8 *puVar12;\n  ulong uVar13;\n  long lVar14;\n  long *plVar15;\n  long lVar16;\n  undefined **ppuVar17;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  uVar9 = FUN_0033b180(param_2);\n  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }\n  puVar7 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);\n  plVar15 = (long *)*plVar2;\n  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar17 = &PTR_DAT_004b75c0;\n  if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }\n  if (iVar8 == 1) {\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar15 + 8))(plVar15);\n  }\nLAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);\n  *plVar2 = param_3;\n  if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  long lVar4;\n  long lVar5;\n  long *plVar6;\n  undefined *puVar7;\n  int iVar8;\n  ulong uVar9;\n  long lVar10;\n  ulong uVar11;\n  undefined8 *puVar12;\n  ulong uVar13;\n  long lVar14;\n  long *plVar15;\n  long lVar16;\n  undefined **ppuVar17;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  uVar9 = FUN_0033b180(param_2);\n  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }\n  puVar7 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);\n  plVar15 = (long *)*plVar2;\n  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar17 = &PTR_DAT_004b75c0;\n  if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }\n  if (iVar8 == 1) {\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar15 + 8))(plVar15);\n  }\nLAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);\n  *plVar2 = param_3;\n  if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar6;" (sized_type_specifier "long" long) (pointer_declarator "*plVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "undefined8 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "ulong uVar13;" type_identifier identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar15;" (sized_type_specifier "long" long) (pointer_declarator "*plVar15" * identifier) ;) (declaration "long lVar16;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined **ppuVar17;" type_identifier (pointer_declarator "**ppuVar17" * (pointer_declarator "*ppuVar17" * identifier)) ;) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar9 = FUN_0033b180(param_2);" (assignment_expression "uVar9 = FUN_0033b180(param_2)" identifier = (call_expression "FUN_0033b180(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) - 1U < uVar9)" ( (binary_expression "*(long *)(param_1 + 0x10) - 1U < uVar9" (binary_expression "*(long *)(param_1 + 0x10) - 1U" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) - number_literal) < identifier) )) (compound_statement "{\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }" { (expression_statement "uVar13 = uVar9 + 4;" (assignment_expression "uVar13 = uVar9 + 4" identifier = (binary_expression "uVar9 + 4" identifier + number_literal)) ;) (expression_statement "lVar14 = *(long *)(param_1 + 8);" (assignment_expression "lVar14 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar16 = uVar13 * 8;" (assignment_expression "lVar16 = uVar13 * 8" identifier = (binary_expression "uVar13 * 8" identifier * number_literal)) ;) (if_statement "if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }" if (parenthesized_expression "(0xfffffffffffffff < uVar13)" ( (binary_expression "0xfffffffffffffff < uVar13" number_literal < identifier) )) (compound_statement "{\n      lVar16 = -1;\n    }" { (expression_statement "lVar16 = -1;" (assignment_expression "lVar16 = -1" identifier = number_literal) ;) })) (expression_statement "lVar10 = thunk_FUN_00337270(lVar16);" (assignment_expression "lVar10 = thunk_FUN_00337270(lVar16)" identifier = (call_expression "thunk_FUN_00337270(lVar16)" identifier (argument_list "(lVar16)" ( identifier )))) ;) (expression_statement "uVar3 = *(ulong *)(param_1 + 0x10);" (assignment_expression "uVar3 = *(ulong *)(param_1 + 0x10)" identifier = (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" { (expression_statement "lVar4 = *(long *)(param_1 + 8);" (assignment_expression "lVar4 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);" do (compound_statement "{\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      }" { (expression_statement "*(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);" (assignment_expression "*(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8)" (pointer_expression "*(undefined8 *)(lVar10 + uVar11 * 8)" * (cast_expression "(undefined8 *)(lVar10 + uVar11 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + uVar11 * 8)" ( (binary_expression "lVar10 + uVar11 * 8" identifier + (binary_expression "uVar11 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(lVar4 + uVar11 * 8)" * (cast_expression "(undefined8 *)(lVar4 + uVar11 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + uVar11 * 8)" ( (binary_expression "lVar4 + uVar11 * 8" identifier + (binary_expression "uVar11 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 != uVar3)" ( (binary_expression "uVar11 != uVar3" identifier != identifier) )) ;) })) (if_statement "if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }" if (parenthesized_expression "(uVar3 < uVar13)" ( (binary_expression "uVar3 < uVar13" identifier < identifier) )) (compound_statement "{\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }" { (expression_statement "puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);" (assignment_expression "puVar12 = (undefined8 *)(lVar10 + uVar3 * 8)" identifier = (cast_expression "(undefined8 *)(lVar10 + uVar3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + uVar3 * 8)" ( (binary_expression "lVar10 + uVar3 * 8" identifier + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (do_statement "do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);" do (compound_statement "{\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      }" { (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" * identifier) = number_literal) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12)" ( (binary_expression "(undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12" (cast_expression "(undefined8 *)(lVar10 + 0x20 + uVar9 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x20 + uVar9 * 8)" ( (binary_expression "lVar10 + 0x20 + uVar9 * 8" (binary_expression "lVar10 + 0x20" identifier + number_literal) + (binary_expression "uVar9 * 8" identifier * number_literal)) ))) != identifier) )) ;) })) (expression_statement "lVar4 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) comment (expression_statement "lVar16 = thunk_FUN_00337270(lVar16);" (assignment_expression "lVar16 = thunk_FUN_00337270(lVar16)" identifier = (call_expression "thunk_FUN_00337270(lVar16)" identifier (argument_list "(lVar16)" ( identifier )))) ;) (expression_statement "uVar3 = *(ulong *)(param_1 + 0x10);" (assignment_expression "uVar3 = *(ulong *)(param_1 + 0x10)" identifier = (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" { (expression_statement "lVar5 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);" do (compound_statement "{\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      }" { (expression_statement "*(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);" (assignment_expression "*(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8)" (pointer_expression "*(undefined8 *)(lVar16 + uVar11 * 8)" * (cast_expression "(undefined8 *)(lVar16 + uVar11 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + uVar11 * 8)" ( (binary_expression "lVar16 + uVar11 * 8" identifier + (binary_expression "uVar11 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(lVar5 + uVar11 * 8)" * (cast_expression "(undefined8 *)(lVar5 + uVar11 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + uVar11 * 8)" ( (binary_expression "lVar5 + uVar11 * 8" identifier + (binary_expression "uVar11 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 != uVar3)" ( (binary_expression "uVar11 != uVar3" identifier != identifier) )) ;) })) (if_statement "if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }" if (parenthesized_expression "(uVar3 < uVar13)" ( (binary_expression "uVar3 < uVar13" identifier < identifier) )) (compound_statement "{\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }" { (expression_statement "puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);" (assignment_expression "puVar12 = (undefined8 *)(lVar16 + uVar3 * 8)" identifier = (cast_expression "(undefined8 *)(lVar16 + uVar3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + uVar3 * 8)" ( (binary_expression "lVar16 + uVar3 * 8" identifier + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (do_statement "do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));" do (compound_statement "{\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      }" { (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" * identifier) = number_literal) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8))" ( (binary_expression "puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8)" identifier != (cast_expression "(undefined8 *)(lVar16 + 0x20 + uVar9 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 0x20 + uVar9 * 8)" ( (binary_expression "lVar16 + 0x20 + uVar9 * 8" (binary_expression "lVar16 + 0x20" identifier + number_literal) + (binary_expression "uVar9 * 8" identifier * number_literal)) )))) )) ;) })) (expression_statement "*(ulong *)(param_1 + 0x10) = uVar13;" (assignment_expression "*(ulong *)(param_1 + 0x10) = uVar13" (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long *)(param_1 + 8) = lVar10;" (assignment_expression "*(long *)(param_1 + 8) = lVar10" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long *)(param_1 + 0x18) = lVar16;" (assignment_expression "*(long *)(param_1 + 0x18) = lVar16" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (if_statement "if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }" if (parenthesized_expression "(lVar14 != 0)" ( (binary_expression "lVar14 != 0" identifier != number_literal) )) (compound_statement "{\n      thunk_FUN_00338a40(lVar14);\n    }" { (expression_statement "thunk_FUN_00338a40(lVar14);" (call_expression "thunk_FUN_00338a40(lVar14)" identifier (argument_list "(lVar14)" ( identifier ))) ;) })) (if_statement "if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }" if (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      thunk_FUN_00338a40(lVar4);\n    }" { (expression_statement "thunk_FUN_00338a40(lVar4);" (call_expression "thunk_FUN_00338a40(lVar4)" identifier (argument_list "(lVar4)" ( identifier ))) ;) })) })) (expression_statement "puVar7 = PTR___pthread_key_create_004b9ee8;" (assignment_expression "puVar7 = PTR___pthread_key_create_004b9ee8" identifier = identifier) ;) (if_statement "if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" if (parenthesized_expression "(PTR___pthread_key_create_004b9ee8 == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_004b9ee8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }" { (expression_statement "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;" (assignment_expression "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" else (compound_statement "{\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;" (assignment_expression "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);" (assignment_expression "plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8)" identifier = (cast_expression "(long *)(*(long *)(param_1 + 8) + uVar9 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + uVar9 * 8)" ( (binary_expression "*(long *)(param_1 + 8) + uVar9 * 8" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + (binary_expression "uVar9 * 8" identifier * number_literal)) )))) ;) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (if_statement "if (plVar15 == (long *)0x0) goto LAB_0033b3e9;" if (parenthesized_expression "(plVar15 == (long *)0x0)" ( (binary_expression "plVar15 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b3e9;" goto statement_identifier ;)) (expression_statement "ppuVar17 = &PTR_DAT_004b75c0;" (assignment_expression "ppuVar17 = &PTR_DAT_004b75c0" identifier = (pointer_expression "&PTR_DAT_004b75c0" & identifier)) ;) (if_statement "if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" if (parenthesized_expression "(PTR_DAT_004b75c0 == (undefined *)0x0)" ( (binary_expression "PTR_DAT_004b75c0 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }" { (labeled_statement "LAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;" statement_identifier : (if_statement "if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;" if (parenthesized_expression "(puVar7 != (undefined *)0x0)" ( (binary_expression "puVar7 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b3d6;" goto statement_identifier ;))) (labeled_statement "LAB_0033b494:\n    iVar8 = (int)plVar15[1];" statement_identifier : (expression_statement "iVar8 = (int)plVar15[1];" (assignment_expression "iVar8 = (int)plVar15[1]" identifier = (cast_expression "(int)plVar15[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar15[1]" identifier [ number_literal ]))) ;)) (expression_statement "*(int *)(plVar15 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar15 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar15 + 1)" * (cast_expression "(int *)(plVar15 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar15 + 1)" ( (binary_expression "plVar15 + 1" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" else (compound_statement "{\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" { (do_statement "do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);" do (compound_statement "{\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    }" { (expression_statement "uVar13 = FUN_0033b180();" (assignment_expression "uVar13 = FUN_0033b180()" identifier = (call_expression "FUN_0033b180()" identifier (argument_list "()" ( )))) ;) (if_statement "if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }" if (parenthesized_expression "(uVar13 == uVar9)" ( (binary_expression "uVar13 == uVar9" identifier == identifier) )) (compound_statement "{\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }" { (expression_statement "lVar16 = *(long *)(param_1 + 8);" (assignment_expression "lVar16 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar14 = FUN_0033b180(ppuVar17[1]);" (assignment_expression "lVar14 = FUN_0033b180(ppuVar17[1])" identifier = (call_expression "FUN_0033b180(ppuVar17[1])" identifier (argument_list "(ppuVar17[1])" ( (subscript_expression "ppuVar17[1]" identifier [ number_literal ]) )))) ;) (expression_statement "plVar15 = (long *)(lVar16 + lVar14 * 8);" (assignment_expression "plVar15 = (long *)(lVar16 + lVar14 * 8)" identifier = (cast_expression "(long *)(lVar16 + lVar14 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + lVar14 * 8)" ( (binary_expression "lVar16 + lVar14 * 8" identifier + (binary_expression "lVar14 * 8" identifier * number_literal)) )))) ;) (if_statement "if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }" if (parenthesized_expression "(*plVar15 != 0)" ( (binary_expression "*plVar15 != 0" (pointer_expression "*plVar15" * identifier) != number_literal) )) (compound_statement "{\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }" { (expression_statement "lVar16 = FUN_00370e80(param_3,ppuVar17[1]);" (assignment_expression "lVar16 = FUN_00370e80(param_3,ppuVar17[1])" identifier = (call_expression "FUN_00370e80(param_3,ppuVar17[1])" identifier (argument_list "(param_3,ppuVar17[1])" ( identifier , (subscript_expression "ppuVar17[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }" { (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar6 = (long *)*plVar15;" (assignment_expression "plVar6 = (long *)*plVar15" identifier = (cast_expression "(long *)*plVar15" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar15" * identifier))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }" { (expression_statement "iVar8 = (int)plVar6[1];" (assignment_expression "iVar8 = (int)plVar6[1]" identifier = (cast_expression "(int)plVar6[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar6 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar6 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar6 + 1)" * (cast_expression "(int *)(plVar6 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar6 + 1)" ( (binary_expression "plVar6 + 1" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar6 + 1;" (assignment_expression "plVar1 = plVar6 + 1" identifier = (binary_expression "plVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = (int)*plVar1;" (assignment_expression "iVar8 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar8 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar6 + 8))();\n          }" { comment (expression_statement "(**(code **)(*plVar6 + 8))();" (call_expression "(**(code **)(*plVar6 + 8))()" (parenthesized_expression "(**(code **)(*plVar6 + 8))" ( (pointer_expression "**(code **)(*plVar6 + 8)" * (pointer_expression "*(code **)(*plVar6 + 8)" * (cast_expression "(code **)(*plVar6 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar6 + 8)" ( (binary_expression "*plVar6 + 8" (pointer_expression "*plVar6" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (labeled_statement "LAB_0033b3c6:\n          *plVar15 = lVar16;" statement_identifier : (expression_statement "*plVar15 = lVar16;" (assignment_expression "*plVar15 = lVar16" (pointer_expression "*plVar15" * identifier) = identifier) ;)) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (goto_statement "goto LAB_0033b3cd;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar13 = FUN_0033b180(ppuVar17[1]);" (assignment_expression "uVar13 = FUN_0033b180(ppuVar17[1])" identifier = (call_expression "FUN_0033b180(ppuVar17[1])" identifier (argument_list "(ppuVar17[1])" ( (subscript_expression "ppuVar17[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }" if (parenthesized_expression "(uVar13 == uVar9)" ( (binary_expression "uVar13 == uVar9" identifier == identifier) )) (compound_statement "{\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }" { (expression_statement "lVar16 = *(long *)(param_1 + 8);" (assignment_expression "lVar16 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar14 = FUN_0033b180(*ppuVar17);" (assignment_expression "lVar14 = FUN_0033b180(*ppuVar17)" identifier = (call_expression "FUN_0033b180(*ppuVar17)" identifier (argument_list "(*ppuVar17)" ( (pointer_expression "*ppuVar17" * identifier) )))) ;) (expression_statement "plVar15 = (long *)(lVar16 + lVar14 * 8);" (assignment_expression "plVar15 = (long *)(lVar16 + lVar14 * 8)" identifier = (cast_expression "(long *)(lVar16 + lVar14 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + lVar14 * 8)" ( (binary_expression "lVar16 + lVar14 * 8" identifier + (binary_expression "lVar14 * 8" identifier * number_literal)) )))) ;) (if_statement "if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }" if (parenthesized_expression "(*plVar15 != 0)" ( (binary_expression "*plVar15 != 0" (pointer_expression "*plVar15" * identifier) != number_literal) )) (compound_statement "{\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }" { (expression_statement "lVar16 = FUN_003759f0(param_3,*ppuVar17);" (assignment_expression "lVar16 = FUN_003759f0(param_3,*ppuVar17)" identifier = (call_expression "FUN_003759f0(param_3,*ppuVar17)" identifier (argument_list "(param_3,*ppuVar17)" ( identifier , (pointer_expression "*ppuVar17" * identifier) )))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }" { (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar6 = (long *)*plVar15;" (assignment_expression "plVar6 = (long *)*plVar15" identifier = (cast_expression "(long *)*plVar15" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar15" * identifier))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }" { (expression_statement "iVar8 = (int)plVar6[1];" (assignment_expression "iVar8 = (int)plVar6[1]" identifier = (cast_expression "(int)plVar6[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar6 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar6 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar6 + 1)" * (cast_expression "(int *)(plVar6 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar6 + 1)" ( (binary_expression "plVar6 + 1" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar6 + 1;" (assignment_expression "plVar1 = plVar6 + 1" identifier = (binary_expression "plVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = (int)*plVar1;" (assignment_expression "iVar8 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar8 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar6 + 8))();\n          }" { comment (expression_statement "(**(code **)(*plVar6 + 8))();" (call_expression "(**(code **)(*plVar6 + 8))()" (parenthesized_expression "(**(code **)(*plVar6 + 8))" ( (pointer_expression "**(code **)(*plVar6 + 8)" * (pointer_expression "*(code **)(*plVar6 + 8)" * (cast_expression "(code **)(*plVar6 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar6 + 8)" ( (binary_expression "*plVar6 + 8" (pointer_expression "*plVar6" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_0033b3c6;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "ppuVar17 = ppuVar17 + 2;" (assignment_expression "ppuVar17 = ppuVar17 + 2" identifier = (binary_expression "ppuVar17 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(*ppuVar17 != (undefined *)0x0)" ( (binary_expression "*ppuVar17 != (undefined *)0x0" (pointer_expression "*ppuVar17" * identifier) != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (if_statement "if (puVar7 == (undefined *)0x0) goto LAB_0033b494;" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b494;" goto statement_identifier ;)) (labeled_statement "LAB_0033b3d6:\n    LOCK();" statement_identifier : (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;)) (expression_statement "plVar6 = plVar15 + 1;" (assignment_expression "plVar6 = plVar15 + 1" identifier = (binary_expression "plVar15 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = (int)*plVar6;" (assignment_expression "iVar8 = (int)*plVar6" identifier = (cast_expression "(int)*plVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar6" * identifier))) ;) (expression_statement "*(int *)plVar6 = (int)*plVar6 + -1;" (assignment_expression "*(int *)plVar6 = (int)*plVar6 + -1" (pointer_expression "*(int *)plVar6" * (cast_expression "(int *)plVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar6 + -1" (cast_expression "(int)*plVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar6" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar8 == 1) {\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar15 + 8))(plVar15);\n  }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar15 + 8))(plVar15);\n  }" { comment (expression_statement "(**(code **)(*plVar15 + 8))(plVar15);" (call_expression "(**(code **)(*plVar15 + 8))(plVar15)" (parenthesized_expression "(**(code **)(*plVar15 + 8))" ( (pointer_expression "**(code **)(*plVar15 + 8)" * (pointer_expression "*(code **)(*plVar15 + 8)" * (cast_expression "(code **)(*plVar15 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar15 + 8)" ( (binary_expression "*plVar15 + 8" (pointer_expression "*plVar15" * identifier) + number_literal) ))))) )) (argument_list "(plVar15)" ( identifier ))) ;) })) (labeled_statement "LAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);" statement_identifier : (expression_statement "lVar16 = *(long *)(param_1 + 0x10);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x10)" identifier = (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;)) (expression_statement "*plVar2 = param_3;" (assignment_expression "*plVar2 = param_3" (pointer_expression "*plVar2" * identifier) = identifier) ;) (if_statement "if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }" if (parenthesized_expression "(lVar16 != 0)" ( (binary_expression "lVar16 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "lVar16 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (do_statement "do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));" do (compound_statement "{\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    }" { (expression_statement "plVar2 = *(long **)(lVar16 + uVar9 * 8);" (assignment_expression "plVar2 = *(long **)(lVar16 + uVar9 * 8)" identifier = (pointer_expression "*(long **)(lVar16 + uVar9 * 8)" * (cast_expression "(long **)(lVar16 + uVar9 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar16 + uVar9 * 8)" ( (binary_expression "lVar16 + uVar9 * 8" identifier + (binary_expression "uVar9 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }" { (if_statement "if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }" { (expression_statement "iVar8 = (int)plVar2[1];" (assignment_expression "iVar8 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" else (compound_statement "{\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar15 = plVar2 + 1;" (assignment_expression "plVar15 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = (int)*plVar15;" (assignment_expression "iVar8 = (int)*plVar15" identifier = (cast_expression "(int)*plVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar15" * identifier))) ;) (expression_statement "*(int *)plVar15 = (int)*plVar15 + -1;" (assignment_expression "*(int *)plVar15 = (int)*plVar15 + -1" (pointer_expression "*(int *)plVar15" * (cast_expression "(int *)plVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar15 + -1" (cast_expression "(int)*plVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar15" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar8 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }" { comment (expression_statement "(**(code **)(*plVar2 + 8))();" (call_expression "(**(code **)(*plVar2 + 8))()" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "lVar16 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar16 + uVar9 * 8) = 0;" (assignment_expression "*(undefined8 *)(lVar16 + uVar9 * 8) = 0" (pointer_expression "*(undefined8 *)(lVar16 + uVar9 * 8)" * (cast_expression "(undefined8 *)(lVar16 + uVar9 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + uVar9 * 8)" ( (binary_expression "lVar16 + uVar9 * 8" identifier + (binary_expression "uVar9 * 8" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 < *(ulong *)(param_1 + 0x10))" ( (binary_expression "uVar9 < *(ulong *)(param_1 + 0x10)" identifier < (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) */\n\nvoid __thiscall std::locale::_Impl::_M_install_facet(_Impl *this,id *param_1,facet *param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  void *pvVar3;\n  void *pvVar4;\n  long *plVar5;\n  undefined *puVar6;\n  int iVar7;\n  ulong uVar8;\n  void *pvVar9;\n  ulong uVar10;\n  undefined8 *puVar11;\n  void *pvVar12;\n  ulong uVar13;\n  long lVar14;\n  long lVar15;\n  long *plVar16;\n  ulong uVar17;\n  id *this_00;\n  ulong uVar18;\n  undefined **ppuVar19;\n  \n  if (param_2 == (facet *)0x0) {\n    return;\n  }\n  uVar8 = locale::id::_M_id(param_1);\n  if (*(long *)(this + 0x10) - 1U < uVar8) {\n    uVar13 = uVar8 + 4;\n    pvVar3 = *(void **)(this + 8);\n    uVar18 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      uVar18 = 0xffffffffffffffff;\n    }\n    pvVar9 = operator_new__(uVar18);\n    uVar17 = *(ulong *)(this + 0x10);\n    if (uVar17 != 0) {\n      lVar15 = *(long *)(this + 8);\n      uVar10 = 0;\n      do {\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      } while (uVar10 != uVar17);\n    }\n    if (uVar17 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);\n    }\n    pvVar4 = *(void **)(this + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    pvVar12 = operator_new__(uVar18);\n    uVar18 = *(ulong *)(this + 0x10);\n    if (uVar18 != 0) {\n      lVar15 = *(long *)(this + 0x18);\n      uVar17 = 0;\n      do {\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      } while (uVar17 != uVar18);\n    }\n    if (uVar18 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));\n    }\n    *(ulong *)(this + 0x10) = uVar13;\n    *(void **)(this + 8) = pvVar9;\n    *(void **)(this + 0x18) = pvVar12;\n    if (pvVar3 != (void *)0x0) {\n      operator_delete__(pvVar3);\n    }\n    if (pvVar4 != (void *)0x0) {\n      operator_delete__(pvVar4);\n    }\n  }\n  puVar6 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(this + 8) + uVar8 * 8);\n  plVar16 = (long *)*plVar2;\n  if (plVar16 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar19 = &_S_twinned_facets;\n  this_00 = (id *)_S_twinned_facets;\n  if (_S_twinned_facets == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar6 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar7 = (int)plVar16[1];\n    *(int *)(plVar16 + 1) = iVar7 + -1;\n  }\n  else {\n    do {\n      uVar13 = locale::id::_M_id(this_00);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar19 = ppuVar19 + 2;\n      this_00 = (id *)*ppuVar19;\n    } while (this_00 != (id *)0x0);\n    plVar16 = (long *)*plVar2;\n    if (puVar6 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar5 = plVar16 + 1;\n    iVar7 = (int)*plVar5;\n    *(int *)plVar5 = (int)*plVar5 + -1;\n    UNLOCK();\n  }\n  if (iVar7 == 1) {\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar16 + 8))(plVar16);\n  }\nLAB_0033b3e9:\n  lVar15 = *(long *)(this + 0x10);\n  *plVar2 = (long)param_2;\n  if (lVar15 != 0) {\n    uVar8 = 0;\n    lVar15 = *(long *)(this + 0x18);\n    do {\n      plVar2 = *(long **)(lVar15 + uVar8 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }\n      uVar8 = uVar8 + 1;\n    } while (uVar8 < *(ulong *)(this + 0x10));\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall std::locale::_Impl::_M_install_facet(_Impl *this,id *param_1,facet *param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  void *pvVar3;\n  void *pvVar4;\n  long *plVar5;\n  undefined *puVar6;\n  int iVar7;\n  ulong uVar8;\n  void *pvVar9;\n  ulong uVar10;\n  undefined8 *puVar11;\n  void *pvVar12;\n  ulong uVar13;\n  long lVar14;\n  long lVar15;\n  long *plVar16;\n  ulong uVar17;\n  id *this_00;\n  ulong uVar18;\n  undefined **ppuVar19;\n  \n  if (param_2 == (facet *)0x0) {\n    return;\n  }\n  uVar8 = locale::id::_M_id(param_1);\n  if (*(long *)(this + 0x10) - 1U < uVar8) {\n    uVar13 = uVar8 + 4;\n    pvVar3 = *(void **)(this + 8);\n    uVar18 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      uVar18 = 0xffffffffffffffff;\n    }\n    pvVar9 = operator_new__(uVar18);\n    uVar17 = *(ulong *)(this + 0x10);\n    if (uVar17 != 0) {\n      lVar15 = *(long *)(this + 8);\n      uVar10 = 0;\n      do {\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      } while (uVar10 != uVar17);\n    }\n    if (uVar17 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);\n    }\n    pvVar4 = *(void **)(this + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    pvVar12 = operator_new__(uVar18);\n    uVar18 = *(ulong *)(this + 0x10);\n    if (uVar18 != 0) {\n      lVar15 = *(long *)(this + 0x18);\n      uVar17 = 0;\n      do {\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      } while (uVar17 != uVar18);\n    }\n    if (uVar18 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));\n    }\n    *(ulong *)(this + 0x10) = uVar13;\n    *(void **)(this + 8) = pvVar9;\n    *(void **)(this + 0x18) = pvVar12;\n    if (pvVar3 != (void *)0x0) {\n      operator_delete__(pvVar3);\n    }\n    if (pvVar4 != (void *)0x0) {\n      operator_delete__(pvVar4);\n    }\n  }\n  puVar6 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(this + 8) + uVar8 * 8);\n  plVar16 = (long *)*plVar2;\n  if (plVar16 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar19 = &_S_twinned_facets;\n  this_00 = (id *)_S_twinned_facets;\n  if (_S_twinned_facets == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar6 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar7 = (int)plVar16[1];\n    *(int *)(plVar16 + 1) = iVar7 + -1;\n  }\n  else {\n    do {\n      uVar13 = locale::id::_M_id(this_00);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar19 = ppuVar19 + 2;\n      this_00 = (id *)*ppuVar19;\n    } while (this_00 != (id *)0x0);\n    plVar16 = (long *)*plVar2;\n    if (puVar6 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar5 = plVar16 + 1;\n    iVar7 = (int)*plVar5;\n    *(int *)plVar5 = (int)*plVar5 + -1;\n    UNLOCK();\n  }\n  if (iVar7 == 1) {\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar16 + 8))(plVar16);\n  }\nLAB_0033b3e9:\n  lVar15 = *(long *)(this + 0x10);\n  *plVar2 = (long)param_2;\n  if (lVar15 != 0) {\n    uVar8 = 0;\n    lVar15 = *(long *)(this + 0x18);\n    do {\n      plVar2 = *(long **)(lVar15 + uVar8 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }\n      uVar8 = uVar8 + 1;\n    } while (uVar8 < *(ulong *)(this + 0x10));\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::locale::_Impl::" identifier : : identifier : : identifier : :) (function_declarator "_M_install_facet(_Impl *this,id *param_1,facet *param_2)" identifier (parameter_list "(_Impl *this,id *param_1,facet *param_2)" ( (parameter_declaration "_Impl *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "id *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "facet *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  void *pvVar3;\n  void *pvVar4;\n  long *plVar5;\n  undefined *puVar6;\n  int iVar7;\n  ulong uVar8;\n  void *pvVar9;\n  ulong uVar10;\n  undefined8 *puVar11;\n  void *pvVar12;\n  ulong uVar13;\n  long lVar14;\n  long lVar15;\n  long *plVar16;\n  ulong uVar17;\n  id *this_00;\n  ulong uVar18;\n  undefined **ppuVar19;\n  \n  if (param_2 == (facet *)0x0) {\n    return;\n  }\n  uVar8 = locale::id::_M_id(param_1);\n  if (*(long *)(this + 0x10) - 1U < uVar8) {\n    uVar13 = uVar8 + 4;\n    pvVar3 = *(void **)(this + 8);\n    uVar18 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      uVar18 = 0xffffffffffffffff;\n    }\n    pvVar9 = operator_new__(uVar18);\n    uVar17 = *(ulong *)(this + 0x10);\n    if (uVar17 != 0) {\n      lVar15 = *(long *)(this + 8);\n      uVar10 = 0;\n      do {\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      } while (uVar10 != uVar17);\n    }\n    if (uVar17 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);\n    }\n    pvVar4 = *(void **)(this + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    pvVar12 = operator_new__(uVar18);\n    uVar18 = *(ulong *)(this + 0x10);\n    if (uVar18 != 0) {\n      lVar15 = *(long *)(this + 0x18);\n      uVar17 = 0;\n      do {\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      } while (uVar17 != uVar18);\n    }\n    if (uVar18 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));\n    }\n    *(ulong *)(this + 0x10) = uVar13;\n    *(void **)(this + 8) = pvVar9;\n    *(void **)(this + 0x18) = pvVar12;\n    if (pvVar3 != (void *)0x0) {\n      operator_delete__(pvVar3);\n    }\n    if (pvVar4 != (void *)0x0) {\n      operator_delete__(pvVar4);\n    }\n  }\n  puVar6 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(this + 8) + uVar8 * 8);\n  plVar16 = (long *)*plVar2;\n  if (plVar16 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar19 = &_S_twinned_facets;\n  this_00 = (id *)_S_twinned_facets;\n  if (_S_twinned_facets == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar6 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar7 = (int)plVar16[1];\n    *(int *)(plVar16 + 1) = iVar7 + -1;\n  }\n  else {\n    do {\n      uVar13 = locale::id::_M_id(this_00);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar19 = ppuVar19 + 2;\n      this_00 = (id *)*ppuVar19;\n    } while (this_00 != (id *)0x0);\n    plVar16 = (long *)*plVar2;\n    if (puVar6 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar5 = plVar16 + 1;\n    iVar7 = (int)*plVar5;\n    *(int *)plVar5 = (int)*plVar5 + -1;\n    UNLOCK();\n  }\n  if (iVar7 == 1) {\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar16 + 8))(plVar16);\n  }\nLAB_0033b3e9:\n  lVar15 = *(long *)(this + 0x10);\n  *plVar2 = (long)param_2;\n  if (lVar15 != 0) {\n    uVar8 = 0;\n    lVar15 = *(long *)(this + 0x18);\n    do {\n      plVar2 = *(long **)(lVar15 + uVar8 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }\n      uVar8 = uVar8 + 1;\n    } while (uVar8 < *(ulong *)(this + 0x10));\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "ulong uVar8;" type_identifier identifier ;) (declaration "void *pvVar9;" primitive_type (pointer_declarator "*pvVar9" * identifier) ;) (declaration "ulong uVar10;" type_identifier identifier ;) (declaration "undefined8 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "void *pvVar12;" primitive_type (pointer_declarator "*pvVar12" * identifier) ;) (declaration "ulong uVar13;" type_identifier identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar16;" (sized_type_specifier "long" long) (pointer_declarator "*plVar16" * identifier) ;) (declaration "ulong uVar17;" type_identifier identifier ;) (declaration "id *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "ulong uVar18;" type_identifier identifier ;) (declaration "undefined **ppuVar19;" type_identifier (pointer_declarator "**ppuVar19" * (pointer_declarator "*ppuVar19" * identifier)) ;) (if_statement "if (param_2 == (facet *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == (facet *)0x0)" ( (binary_expression "param_2 == (facet *)0x0" identifier == (cast_expression "(facet *)0x0" ( (type_descriptor "facet *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (ERROR "uVar8 = locale::" (assignment_expression "uVar8 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id(param_1);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id(param_1);" (call_expression "_M_id(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;)) (if_statement "if (*(long *)(this + 0x10) - 1U < uVar8) {\n    uVar13 = uVar8 + 4;\n    pvVar3 = *(void **)(this + 8);\n    uVar18 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      uVar18 = 0xffffffffffffffff;\n    }\n    pvVar9 = operator_new__(uVar18);\n    uVar17 = *(ulong *)(this + 0x10);\n    if (uVar17 != 0) {\n      lVar15 = *(long *)(this + 8);\n      uVar10 = 0;\n      do {\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      } while (uVar10 != uVar17);\n    }\n    if (uVar17 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);\n    }\n    pvVar4 = *(void **)(this + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    pvVar12 = operator_new__(uVar18);\n    uVar18 = *(ulong *)(this + 0x10);\n    if (uVar18 != 0) {\n      lVar15 = *(long *)(this + 0x18);\n      uVar17 = 0;\n      do {\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      } while (uVar17 != uVar18);\n    }\n    if (uVar18 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));\n    }\n    *(ulong *)(this + 0x10) = uVar13;\n    *(void **)(this + 8) = pvVar9;\n    *(void **)(this + 0x18) = pvVar12;\n    if (pvVar3 != (void *)0x0) {\n      operator_delete__(pvVar3);\n    }\n    if (pvVar4 != (void *)0x0) {\n      operator_delete__(pvVar4);\n    }\n  }" if (parenthesized_expression "(*(long *)(this + 0x10) - 1U < uVar8)" ( (binary_expression "*(long *)(this + 0x10) - 1U < uVar8" (binary_expression "*(long *)(this + 0x10) - 1U" (pointer_expression "*(long *)(this + 0x10)" * (cast_expression "(long *)(this + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) - number_literal) < identifier) )) (compound_statement "{\n    uVar13 = uVar8 + 4;\n    pvVar3 = *(void **)(this + 8);\n    uVar18 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      uVar18 = 0xffffffffffffffff;\n    }\n    pvVar9 = operator_new__(uVar18);\n    uVar17 = *(ulong *)(this + 0x10);\n    if (uVar17 != 0) {\n      lVar15 = *(long *)(this + 8);\n      uVar10 = 0;\n      do {\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      } while (uVar10 != uVar17);\n    }\n    if (uVar17 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);\n    }\n    pvVar4 = *(void **)(this + 0x18);\n                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */\n    pvVar12 = operator_new__(uVar18);\n    uVar18 = *(ulong *)(this + 0x10);\n    if (uVar18 != 0) {\n      lVar15 = *(long *)(this + 0x18);\n      uVar17 = 0;\n      do {\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      } while (uVar17 != uVar18);\n    }\n    if (uVar18 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));\n    }\n    *(ulong *)(this + 0x10) = uVar13;\n    *(void **)(this + 8) = pvVar9;\n    *(void **)(this + 0x18) = pvVar12;\n    if (pvVar3 != (void *)0x0) {\n      operator_delete__(pvVar3);\n    }\n    if (pvVar4 != (void *)0x0) {\n      operator_delete__(pvVar4);\n    }\n  }" { (expression_statement "uVar13 = uVar8 + 4;" (assignment_expression "uVar13 = uVar8 + 4" identifier = (binary_expression "uVar8 + 4" identifier + number_literal)) ;) (expression_statement "pvVar3 = *(void **)(this + 8);" (assignment_expression "pvVar3 = *(void **)(this + 8)" identifier = (pointer_expression "*(void **)(this + 8)" * (cast_expression "(void **)(this + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar18 = uVar13 * 8;" (assignment_expression "uVar18 = uVar13 * 8" identifier = (binary_expression "uVar13 * 8" identifier * number_literal)) ;) (if_statement "if (0xfffffffffffffff < uVar13) {\n      uVar18 = 0xffffffffffffffff;\n    }" if (parenthesized_expression "(0xfffffffffffffff < uVar13)" ( (binary_expression "0xfffffffffffffff < uVar13" number_literal < identifier) )) (compound_statement "{\n      uVar18 = 0xffffffffffffffff;\n    }" { (expression_statement "uVar18 = 0xffffffffffffffff;" (assignment_expression "uVar18 = 0xffffffffffffffff" identifier = number_literal) ;) })) (expression_statement "pvVar9 = operator_new__(uVar18);" (assignment_expression "pvVar9 = operator_new__(uVar18)" identifier = (call_expression "operator_new__(uVar18)" identifier (argument_list "(uVar18)" ( identifier )))) ;) (expression_statement "uVar17 = *(ulong *)(this + 0x10);" (assignment_expression "uVar17 = *(ulong *)(this + 0x10)" identifier = (pointer_expression "*(ulong *)(this + 0x10)" * (cast_expression "(ulong *)(this + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar17 != 0) {\n      lVar15 = *(long *)(this + 8);\n      uVar10 = 0;\n      do {\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      } while (uVar10 != uVar17);\n    }" if (parenthesized_expression "(uVar17 != 0)" ( (binary_expression "uVar17 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar15 = *(long *)(this + 8);\n      uVar10 = 0;\n      do {\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      } while (uVar10 != uVar17);\n    }" { (expression_statement "lVar15 = *(long *)(this + 8);" (assignment_expression "lVar15 = *(long *)(this + 8)" identifier = (pointer_expression "*(long *)(this + 8)" * (cast_expression "(long *)(this + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      } while (uVar10 != uVar17);" do (compound_statement "{\n        *(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);\n        uVar10 = uVar10 + 1;\n      }" { (expression_statement "*(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8);" (assignment_expression "*(undefined8 *)((long)pvVar9 + uVar10 * 8) = *(undefined8 *)(lVar15 + uVar10 * 8)" (pointer_expression "*(undefined8 *)((long)pvVar9 + uVar10 * 8)" * (cast_expression "(undefined8 *)((long)pvVar9 + uVar10 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar9 + uVar10 * 8)" ( (binary_expression "(long)pvVar9 + uVar10 * 8" (cast_expression "(long)pvVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar10 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(lVar15 + uVar10 * 8)" * (cast_expression "(undefined8 *)(lVar15 + uVar10 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + uVar10 * 8)" ( (binary_expression "lVar15 + uVar10 * 8" identifier + (binary_expression "uVar10 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar10 != uVar17)" ( (binary_expression "uVar10 != uVar17" identifier != identifier) )) ;) })) (if_statement "if (uVar17 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);\n    }" if (parenthesized_expression "(uVar17 < uVar13)" ( (binary_expression "uVar17 < uVar13" identifier < identifier) )) (compound_statement "{\n      puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);\n    }" { (expression_statement "puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8);" (assignment_expression "puVar11 = (undefined8 *)((long)pvVar9 + uVar17 * 8)" identifier = (cast_expression "(undefined8 *)((long)pvVar9 + uVar17 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar9 + uVar17 * 8)" ( (binary_expression "(long)pvVar9 + uVar17 * 8" (cast_expression "(long)pvVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar17 * 8" identifier * number_literal)) )))) ;) (do_statement "do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while ((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11);" do (compound_statement "{\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      }" { (expression_statement "*puVar11 = 0;" (assignment_expression "*puVar11 = 0" (pointer_expression "*puVar11" * identifier) = number_literal) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11)" ( (binary_expression "(undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20) != puVar11" (cast_expression "(undefined8 *)((long)pvVar9 + uVar8 * 8 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar9 + uVar8 * 8 + 0x20)" ( (binary_expression "(long)pvVar9 + uVar8 * 8 + 0x20" (binary_expression "(long)pvVar9 + uVar8 * 8" (cast_expression "(long)pvVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar8 * 8" identifier * number_literal)) + number_literal) ))) != identifier) )) ;) })) (expression_statement "pvVar4 = *(void **)(this + 0x18);" (assignment_expression "pvVar4 = *(void **)(this + 0x18)" identifier = (pointer_expression "*(void **)(this + 0x18)" * (cast_expression "(void **)(this + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) ))))) ;) comment (expression_statement "pvVar12 = operator_new__(uVar18);" (assignment_expression "pvVar12 = operator_new__(uVar18)" identifier = (call_expression "operator_new__(uVar18)" identifier (argument_list "(uVar18)" ( identifier )))) ;) (expression_statement "uVar18 = *(ulong *)(this + 0x10);" (assignment_expression "uVar18 = *(ulong *)(this + 0x10)" identifier = (pointer_expression "*(ulong *)(this + 0x10)" * (cast_expression "(ulong *)(this + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar18 != 0) {\n      lVar15 = *(long *)(this + 0x18);\n      uVar17 = 0;\n      do {\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      } while (uVar17 != uVar18);\n    }" if (parenthesized_expression "(uVar18 != 0)" ( (binary_expression "uVar18 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar15 = *(long *)(this + 0x18);\n      uVar17 = 0;\n      do {\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      } while (uVar17 != uVar18);\n    }" { (expression_statement "lVar15 = *(long *)(this + 0x18);" (assignment_expression "lVar15 = *(long *)(this + 0x18)" identifier = (pointer_expression "*(long *)(this + 0x18)" * (cast_expression "(long *)(this + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar17 = 0;" (assignment_expression "uVar17 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      } while (uVar17 != uVar18);" do (compound_statement "{\n        *(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);\n        uVar17 = uVar17 + 1;\n      }" { (expression_statement "*(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8);" (assignment_expression "*(undefined8 *)((long)pvVar12 + uVar17 * 8) = *(undefined8 *)(lVar15 + uVar17 * 8)" (pointer_expression "*(undefined8 *)((long)pvVar12 + uVar17 * 8)" * (cast_expression "(undefined8 *)((long)pvVar12 + uVar17 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar12 + uVar17 * 8)" ( (binary_expression "(long)pvVar12 + uVar17 * 8" (cast_expression "(long)pvVar12" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar17 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(lVar15 + uVar17 * 8)" * (cast_expression "(undefined8 *)(lVar15 + uVar17 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + uVar17 * 8)" ( (binary_expression "lVar15 + uVar17 * 8" identifier + (binary_expression "uVar17 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar17 = uVar17 + 1;" (assignment_expression "uVar17 = uVar17 + 1" identifier = (binary_expression "uVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar17 != uVar18)" ( (binary_expression "uVar17 != uVar18" identifier != identifier) )) ;) })) (if_statement "if (uVar18 < uVar13) {\n      puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));\n    }" if (parenthesized_expression "(uVar18 < uVar13)" ( (binary_expression "uVar18 < uVar13" identifier < identifier) )) (compound_statement "{\n      puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);\n      do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));\n    }" { (expression_statement "puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8);" (assignment_expression "puVar11 = (undefined8 *)((long)pvVar12 + uVar18 * 8)" identifier = (cast_expression "(undefined8 *)((long)pvVar12 + uVar18 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar12 + uVar18 * 8)" ( (binary_expression "(long)pvVar12 + uVar18 * 8" (cast_expression "(long)pvVar12" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar18 * 8" identifier * number_literal)) )))) ;) (do_statement "do {\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      } while (puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20));" do (compound_statement "{\n        *puVar11 = 0;\n        puVar11 = puVar11 + 1;\n      }" { (expression_statement "*puVar11 = 0;" (assignment_expression "*puVar11 = 0" (pointer_expression "*puVar11" * identifier) = number_literal) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20))" ( (binary_expression "puVar11 != (undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20)" identifier != (cast_expression "(undefined8 *)((long)pvVar12 + uVar8 * 8 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar12 + uVar8 * 8 + 0x20)" ( (binary_expression "(long)pvVar12 + uVar8 * 8 + 0x20" (binary_expression "(long)pvVar12 + uVar8 * 8" (cast_expression "(long)pvVar12" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar8 * 8" identifier * number_literal)) + number_literal) )))) )) ;) })) (expression_statement "*(ulong *)(this + 0x10) = uVar13;" (assignment_expression "*(ulong *)(this + 0x10) = uVar13" (pointer_expression "*(ulong *)(this + 0x10)" * (cast_expression "(ulong *)(this + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(void **)(this + 8) = pvVar9;" (assignment_expression "*(void **)(this + 8) = pvVar9" (pointer_expression "*(void **)(this + 8)" * (cast_expression "(void **)(this + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(void **)(this + 0x18) = pvVar12;" (assignment_expression "*(void **)(this + 0x18) = pvVar12" (pointer_expression "*(void **)(this + 0x18)" * (cast_expression "(void **)(this + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pvVar3 != (void *)0x0) {\n      operator_delete__(pvVar3);\n    }" if (parenthesized_expression "(pvVar3 != (void *)0x0)" ( (binary_expression "pvVar3 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(pvVar3);\n    }" { (expression_statement "operator_delete__(pvVar3);" (call_expression "operator_delete__(pvVar3)" identifier (argument_list "(pvVar3)" ( identifier ))) ;) })) (if_statement "if (pvVar4 != (void *)0x0) {\n      operator_delete__(pvVar4);\n    }" if (parenthesized_expression "(pvVar4 != (void *)0x0)" ( (binary_expression "pvVar4 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(pvVar4);\n    }" { (expression_statement "operator_delete__(pvVar4);" (call_expression "operator_delete__(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;) })) })) (expression_statement "puVar6 = PTR___pthread_key_create_004b9ee8;" (assignment_expression "puVar6 = PTR___pthread_key_create_004b9ee8" identifier = identifier) ;) (if_statement "if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n    UNLOCK();\n  }" if (parenthesized_expression "(PTR___pthread_key_create_004b9ee8 == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_004b9ee8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n  }" { (expression_statement "*(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;" (assignment_expression "*(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 8) + 1" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n    LOCK();\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n    UNLOCK();\n  }" else (compound_statement "{\n    LOCK();\n    *(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;\n    UNLOCK();\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1;" (assignment_expression "*(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 8) + 1" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar2 = (long *)(*(long *)(this + 8) + uVar8 * 8);" (assignment_expression "plVar2 = (long *)(*(long *)(this + 8) + uVar8 * 8)" identifier = (cast_expression "(long *)(*(long *)(this + 8) + uVar8 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(this + 8) + uVar8 * 8)" ( (binary_expression "*(long *)(this + 8) + uVar8 * 8" (pointer_expression "*(long *)(this + 8)" * (cast_expression "(long *)(this + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + (binary_expression "uVar8 * 8" identifier * number_literal)) )))) ;) (expression_statement "plVar16 = (long *)*plVar2;" (assignment_expression "plVar16 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (if_statement "if (plVar16 == (long *)0x0) goto LAB_0033b3e9;" if (parenthesized_expression "(plVar16 == (long *)0x0)" ( (binary_expression "plVar16 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b3e9;" goto statement_identifier ;)) (expression_statement "ppuVar19 = &_S_twinned_facets;" (assignment_expression "ppuVar19 = &_S_twinned_facets" identifier = (pointer_expression "&_S_twinned_facets" & identifier)) ;) (expression_statement "this_00 = (id *)_S_twinned_facets;" (assignment_expression "this_00 = (id *)_S_twinned_facets" identifier = (cast_expression "(id *)_S_twinned_facets" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (_S_twinned_facets == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar6 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar7 = (int)plVar16[1];\n    *(int *)(plVar16 + 1) = iVar7 + -1;\n  }\n  else {\n    do {\n      uVar13 = locale::id::_M_id(this_00);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar19 = ppuVar19 + 2;\n      this_00 = (id *)*ppuVar19;\n    } while (this_00 != (id *)0x0);\n    plVar16 = (long *)*plVar2;\n    if (puVar6 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar5 = plVar16 + 1;\n    iVar7 = (int)*plVar5;\n    *(int *)plVar5 = (int)*plVar5 + -1;\n    UNLOCK();\n  }" if (parenthesized_expression "(_S_twinned_facets == (undefined *)0x0)" ( (binary_expression "_S_twinned_facets == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0033b3cd:\n    if (puVar6 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar7 = (int)plVar16[1];\n    *(int *)(plVar16 + 1) = iVar7 + -1;\n  }" { (labeled_statement "LAB_0033b3cd:\n    if (puVar6 != (undefined *)0x0) goto LAB_0033b3d6;" statement_identifier : (if_statement "if (puVar6 != (undefined *)0x0) goto LAB_0033b3d6;" if (parenthesized_expression "(puVar6 != (undefined *)0x0)" ( (binary_expression "puVar6 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b3d6;" goto statement_identifier ;))) (labeled_statement "LAB_0033b494:\n    iVar7 = (int)plVar16[1];" statement_identifier : (expression_statement "iVar7 = (int)plVar16[1];" (assignment_expression "iVar7 = (int)plVar16[1]" identifier = (cast_expression "(int)plVar16[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar16[1]" identifier [ number_literal ]))) ;)) (expression_statement "*(int *)(plVar16 + 1) = iVar7 + -1;" (assignment_expression "*(int *)(plVar16 + 1) = iVar7 + -1" (pointer_expression "*(int *)(plVar16 + 1)" * (cast_expression "(int *)(plVar16 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar16 + 1)" ( (binary_expression "plVar16 + 1" identifier + number_literal) )))) = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n    do {\n      uVar13 = locale::id::_M_id(this_00);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar19 = ppuVar19 + 2;\n      this_00 = (id *)*ppuVar19;\n    } while (this_00 != (id *)0x0);\n    plVar16 = (long *)*plVar2;\n    if (puVar6 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar5 = plVar16 + 1;\n    iVar7 = (int)*plVar5;\n    *(int *)plVar5 = (int)*plVar5 + -1;\n    UNLOCK();\n  }" else (compound_statement "{\n    do {\n      uVar13 = locale::id::_M_id(this_00);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar19 = ppuVar19 + 2;\n      this_00 = (id *)*ppuVar19;\n    } while (this_00 != (id *)0x0);\n    plVar16 = (long *)*plVar2;\n    if (puVar6 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar5 = plVar16 + 1;\n    iVar7 = (int)*plVar5;\n    *(int *)plVar5 = (int)*plVar5 + -1;\n    UNLOCK();\n  }" { (do_statement "do {\n      uVar13 = locale::id::_M_id(this_00);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar19 = ppuVar19 + 2;\n      this_00 = (id *)*ppuVar19;\n    } while (this_00 != (id *)0x0);" do (compound_statement "{\n      uVar13 = locale::id::_M_id(this_00);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = locale::id::_M_id((id *)ppuVar19[1]);\n      if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar19 = ppuVar19 + 2;\n      this_00 = (id *)*ppuVar19;\n    }" { (ERROR "uVar13 = locale::" (assignment_expression "uVar13 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id(this_00);" (call_expression "_M_id(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (if_statement "if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }" if (parenthesized_expression "(uVar13 == uVar8)" ( (binary_expression "uVar13 == uVar8" identifier == identifier) )) (compound_statement "{\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)ppuVar19[1]);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }" { (expression_statement "lVar15 = *(long *)(this + 8);" (assignment_expression "lVar15 = *(long *)(this + 8)" identifier = (pointer_expression "*(long *)(this + 8)" * (cast_expression "(long *)(this + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (ERROR "lVar14 = locale::" (assignment_expression "lVar14 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)ppuVar19[1]);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)ppuVar19[1]);" (call_expression "_M_id((id *)ppuVar19[1])" identifier (argument_list "((id *)ppuVar19[1])" ( (cast_expression "(id *)ppuVar19[1]" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppuVar19[1]" identifier [ number_literal ])) ))) ;)) (expression_statement "plVar16 = (long *)(lVar15 + lVar14 * 8);" (assignment_expression "plVar16 = (long *)(lVar15 + lVar14 * 8)" identifier = (cast_expression "(long *)(lVar15 + lVar14 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + lVar14 * 8)" ( (binary_expression "lVar15 + lVar14 * 8" identifier + (binary_expression "lVar14 * 8" identifier * number_literal)) )))) ;) (if_statement "if (*plVar16 != 0) {\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }" if (parenthesized_expression "(*plVar16 != 0)" ( (binary_expression "*plVar16 != 0" (pointer_expression "*plVar16" * identifier) != number_literal) )) (compound_statement "{\n          lVar15 = facet::_M_sso_shim(param_2,(id *)ppuVar19[1]);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar16 = lVar15;\n          plVar16 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }" { (ERROR "lVar15 = facet::" (assignment_expression "lVar15 = facet" identifier = identifier) : :) (expression_statement "_M_sso_shim(param_2,(id *)ppuVar19[1]);" (call_expression "_M_sso_shim(param_2,(id *)ppuVar19[1])" identifier (argument_list "(param_2,(id *)ppuVar19[1])" ( identifier , (cast_expression "(id *)ppuVar19[1]" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppuVar19[1]" identifier [ number_literal ])) ))) ;) (if_statement "if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar6 == (undefined *)0x0)" ( (binary_expression "puVar6 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }" { (expression_statement "*(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;" (assignment_expression "*(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1" (pointer_expression "*(int *)(lVar15 + 8)" * (cast_expression "(int *)(lVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar15 + 8) + 1" (pointer_expression "*(int *)(lVar15 + 8)" * (cast_expression "(int *)(lVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;" (assignment_expression "*(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1" (pointer_expression "*(int *)(lVar15 + 8)" * (cast_expression "(int *)(lVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar15 + 8) + 1" (pointer_expression "*(int *)(lVar15 + 8)" * (cast_expression "(int *)(lVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar5 = (long *)*plVar16;" (assignment_expression "plVar5 = (long *)*plVar16" identifier = (cast_expression "(long *)*plVar16" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar16" * identifier))) ;) (if_statement "if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar6 == (undefined *)0x0)" ( (binary_expression "puVar6 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }" { (expression_statement "iVar7 = (int)plVar5[1];" (assignment_expression "iVar7 = (int)plVar5[1]" identifier = (cast_expression "(int)plVar5[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar5 + 1) = iVar7 + -1;" (assignment_expression "*(int *)(plVar5 + 1) = iVar7 + -1" (pointer_expression "*(int *)(plVar5 + 1)" * (cast_expression "(int *)(plVar5 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar5 + 1)" ( (binary_expression "plVar5 + 1" identifier + number_literal) )))) = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar5 + 1;" (assignment_expression "plVar1 = plVar5 + 1" identifier = (binary_expression "plVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = (int)*plVar1;" (assignment_expression "iVar7 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar7 == 1) {\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */\n            (**(code **)(*plVar5 + 8))();\n          }" { comment (expression_statement "(**(code **)(*plVar5 + 8))();" (call_expression "(**(code **)(*plVar5 + 8))()" (parenthesized_expression "(**(code **)(*plVar5 + 8))" ( (pointer_expression "**(code **)(*plVar5 + 8)" * (pointer_expression "*(code **)(*plVar5 + 8)" * (cast_expression "(code **)(*plVar5 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar5 + 8)" ( (binary_expression "*plVar5 + 8" (pointer_expression "*plVar5" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (labeled_statement "LAB_0033b3c6:\n          *plVar16 = lVar15;" statement_identifier : (expression_statement "*plVar16 = lVar15;" (assignment_expression "*plVar16 = lVar15" (pointer_expression "*plVar16" * identifier) = identifier) ;)) (expression_statement "plVar16 = (long *)*plVar2;" (assignment_expression "plVar16 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (goto_statement "goto LAB_0033b3cd;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (ERROR "uVar13 = locale::" (assignment_expression "uVar13 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)ppuVar19[1]);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)ppuVar19[1]);" (call_expression "_M_id((id *)ppuVar19[1])" identifier (argument_list "((id *)ppuVar19[1])" ( (cast_expression "(id *)ppuVar19[1]" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppuVar19[1]" identifier [ number_literal ])) ))) ;)) (if_statement "if (uVar13 == uVar8) {\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }" if (parenthesized_expression "(uVar13 == uVar8)" ( (binary_expression "uVar13 == uVar8" identifier == identifier) )) (compound_statement "{\n        lVar15 = *(long *)(this + 8);\n        lVar14 = locale::id::_M_id((id *)*ppuVar19);\n        plVar16 = (long *)(lVar15 + lVar14 * 8);\n        if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }" { (expression_statement "lVar15 = *(long *)(this + 8);" (assignment_expression "lVar15 = *(long *)(this + 8)" identifier = (pointer_expression "*(long *)(this + 8)" * (cast_expression "(long *)(this + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (ERROR "lVar14 = locale::" (assignment_expression "lVar14 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)*ppuVar19);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)*ppuVar19);" (call_expression "_M_id((id *)*ppuVar19)" identifier (argument_list "((id *)*ppuVar19)" ( (cast_expression "(id *)*ppuVar19" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppuVar19" * identifier)) ))) ;)) (expression_statement "plVar16 = (long *)(lVar15 + lVar14 * 8);" (assignment_expression "plVar16 = (long *)(lVar15 + lVar14 * 8)" identifier = (cast_expression "(long *)(lVar15 + lVar14 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + lVar14 * 8)" ( (binary_expression "lVar15 + lVar14 * 8" identifier + (binary_expression "lVar14 * 8" identifier * number_literal)) )))) ;) (if_statement "if (*plVar16 != 0) {\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }" if (parenthesized_expression "(*plVar16 != 0)" ( (binary_expression "*plVar16 != 0" (pointer_expression "*plVar16" * identifier) != number_literal) )) (compound_statement "{\n          lVar15 = facet::_M_cow_shim(param_2,(id *)*ppuVar19);\n          if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }\n          plVar5 = (long *)*plVar16;\n          if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }" { (ERROR "lVar15 = facet::" (assignment_expression "lVar15 = facet" identifier = identifier) : :) (expression_statement "_M_cow_shim(param_2,(id *)*ppuVar19);" (call_expression "_M_cow_shim(param_2,(id *)*ppuVar19)" identifier (argument_list "(param_2,(id *)*ppuVar19)" ( identifier , (cast_expression "(id *)*ppuVar19" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppuVar19" * identifier)) ))) ;) (if_statement "if (puVar6 == (undefined *)0x0) {\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar6 == (undefined *)0x0)" ( (binary_expression "puVar6 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n          }" { (expression_statement "*(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;" (assignment_expression "*(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1" (pointer_expression "*(int *)(lVar15 + 8)" * (cast_expression "(int *)(lVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar15 + 8) + 1" (pointer_expression "*(int *)(lVar15 + 8)" * (cast_expression "(int *)(lVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            *(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1;" (assignment_expression "*(int *)(lVar15 + 8) = *(int *)(lVar15 + 8) + 1" (pointer_expression "*(int *)(lVar15 + 8)" * (cast_expression "(int *)(lVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar15 + 8) + 1" (pointer_expression "*(int *)(lVar15 + 8)" * (cast_expression "(int *)(lVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar5 = (long *)*plVar16;" (assignment_expression "plVar5 = (long *)*plVar16" identifier = (cast_expression "(long *)*plVar16" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar16" * identifier))) ;) (if_statement "if (puVar6 == (undefined *)0x0) {\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar6 == (undefined *)0x0)" ( (binary_expression "puVar6 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar7 = (int)plVar5[1];\n            *(int *)(plVar5 + 1) = iVar7 + -1;\n          }" { (expression_statement "iVar7 = (int)plVar5[1];" (assignment_expression "iVar7 = (int)plVar5[1]" identifier = (cast_expression "(int)plVar5[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar5 + 1) = iVar7 + -1;" (assignment_expression "*(int *)(plVar5 + 1) = iVar7 + -1" (pointer_expression "*(int *)(plVar5 + 1)" * (cast_expression "(int *)(plVar5 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar5 + 1)" ( (binary_expression "plVar5 + 1" identifier + number_literal) )))) = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            plVar1 = plVar5 + 1;\n            iVar7 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar5 + 1;" (assignment_expression "plVar1 = plVar5 + 1" identifier = (binary_expression "plVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = (int)*plVar1;" (assignment_expression "iVar7 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar7 == 1) {\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */\n            (**(code **)(*plVar5 + 8))();\n          }" { comment (expression_statement "(**(code **)(*plVar5 + 8))();" (call_expression "(**(code **)(*plVar5 + 8))()" (parenthesized_expression "(**(code **)(*plVar5 + 8))" ( (pointer_expression "**(code **)(*plVar5 + 8)" * (pointer_expression "*(code **)(*plVar5 + 8)" * (cast_expression "(code **)(*plVar5 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar5 + 8)" ( (binary_expression "*plVar5 + 8" (pointer_expression "*plVar5" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_0033b3c6;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "ppuVar19 = ppuVar19 + 2;" (assignment_expression "ppuVar19 = ppuVar19 + 2" identifier = (binary_expression "ppuVar19 + 2" identifier + number_literal)) ;) (expression_statement "this_00 = (id *)*ppuVar19;" (assignment_expression "this_00 = (id *)*ppuVar19" identifier = (cast_expression "(id *)*ppuVar19" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppuVar19" * identifier))) ;) }) while (parenthesized_expression "(this_00 != (id *)0x0)" ( (binary_expression "this_00 != (id *)0x0" identifier != (cast_expression "(id *)0x0" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "plVar16 = (long *)*plVar2;" (assignment_expression "plVar16 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (if_statement "if (puVar6 == (undefined *)0x0) goto LAB_0033b494;" if (parenthesized_expression "(puVar6 == (undefined *)0x0)" ( (binary_expression "puVar6 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b494;" goto statement_identifier ;)) (labeled_statement "LAB_0033b3d6:\n    LOCK();" statement_identifier : (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;)) (expression_statement "plVar5 = plVar16 + 1;" (assignment_expression "plVar5 = plVar16 + 1" identifier = (binary_expression "plVar16 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = (int)*plVar5;" (assignment_expression "iVar7 = (int)*plVar5" identifier = (cast_expression "(int)*plVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar5" * identifier))) ;) (expression_statement "*(int *)plVar5 = (int)*plVar5 + -1;" (assignment_expression "*(int *)plVar5 = (int)*plVar5 + -1" (pointer_expression "*(int *)plVar5" * (cast_expression "(int *)plVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar5 + -1" (cast_expression "(int)*plVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar5" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar7 == 1) {\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar16 + 8))(plVar16);\n  }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */\n    (**(code **)(*plVar16 + 8))(plVar16);\n  }" { comment (expression_statement "(**(code **)(*plVar16 + 8))(plVar16);" (call_expression "(**(code **)(*plVar16 + 8))(plVar16)" (parenthesized_expression "(**(code **)(*plVar16 + 8))" ( (pointer_expression "**(code **)(*plVar16 + 8)" * (pointer_expression "*(code **)(*plVar16 + 8)" * (cast_expression "(code **)(*plVar16 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar16 + 8)" ( (binary_expression "*plVar16 + 8" (pointer_expression "*plVar16" * identifier) + number_literal) ))))) )) (argument_list "(plVar16)" ( identifier ))) ;) })) (labeled_statement "LAB_0033b3e9:\n  lVar15 = *(long *)(this + 0x10);" statement_identifier : (expression_statement "lVar15 = *(long *)(this + 0x10);" (assignment_expression "lVar15 = *(long *)(this + 0x10)" identifier = (pointer_expression "*(long *)(this + 0x10)" * (cast_expression "(long *)(this + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) ;)) (expression_statement "*plVar2 = (long)param_2;" (assignment_expression "*plVar2 = (long)param_2" (pointer_expression "*plVar2" * identifier) = (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (lVar15 != 0) {\n    uVar8 = 0;\n    lVar15 = *(long *)(this + 0x18);\n    do {\n      plVar2 = *(long **)(lVar15 + uVar8 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }\n      uVar8 = uVar8 + 1;\n    } while (uVar8 < *(ulong *)(this + 0x10));\n  }" if (parenthesized_expression "(lVar15 != 0)" ( (binary_expression "lVar15 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = 0;\n    lVar15 = *(long *)(this + 0x18);\n    do {\n      plVar2 = *(long **)(lVar15 + uVar8 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }\n      uVar8 = uVar8 + 1;\n    } while (uVar8 < *(ulong *)(this + 0x10));\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "lVar15 = *(long *)(this + 0x18);" (assignment_expression "lVar15 = *(long *)(this + 0x18)" identifier = (pointer_expression "*(long *)(this + 0x18)" * (cast_expression "(long *)(this + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) ))))) ;) (do_statement "do {\n      plVar2 = *(long **)(lVar15 + uVar8 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }\n      uVar8 = uVar8 + 1;\n    } while (uVar8 < *(ulong *)(this + 0x10));" do (compound_statement "{\n      plVar2 = *(long **)(lVar15 + uVar8 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }\n      uVar8 = uVar8 + 1;\n    }" { (expression_statement "plVar2 = *(long **)(lVar15 + uVar8 * 8);" (assignment_expression "plVar2 = *(long **)(lVar15 + uVar8 * 8)" identifier = (pointer_expression "*(long **)(lVar15 + uVar8 * 8)" * (cast_expression "(long **)(lVar15 + uVar8 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar15 + uVar8 * 8)" ( (binary_expression "lVar15 + uVar8 * 8" identifier + (binary_expression "uVar8 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }\n        if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar15 = *(long *)(this + 0x18);\n        *(undefined8 *)(lVar15 + uVar8 * 8) = 0;\n      }" { (if_statement "if (puVar6 == (undefined *)0x0) {\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }\n        else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }" if (parenthesized_expression "(puVar6 == (undefined *)0x0)" ( (binary_expression "puVar6 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar7 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar7 + -1;\n        }" { (expression_statement "iVar7 = (int)plVar2[1];" (assignment_expression "iVar7 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar7 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar7 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }" else (compound_statement "{\n          LOCK();\n          plVar16 = plVar2 + 1;\n          iVar7 = (int)*plVar16;\n          *(int *)plVar16 = (int)*plVar16 + -1;\n          UNLOCK();\n        }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar16 = plVar2 + 1;" (assignment_expression "plVar16 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = (int)*plVar16;" (assignment_expression "iVar7 = (int)*plVar16" identifier = (cast_expression "(int)*plVar16" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar16" * identifier))) ;) (expression_statement "*(int *)plVar16 = (int)*plVar16 + -1;" (assignment_expression "*(int *)plVar16 = (int)*plVar16 + -1" (pointer_expression "*(int *)plVar16" * (cast_expression "(int *)plVar16" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar16 + -1" (cast_expression "(int)*plVar16" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar16" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar7 == 1) {\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */\n          (**(code **)(*plVar2 + 8))();\n        }" { comment (expression_statement "(**(code **)(*plVar2 + 8))();" (call_expression "(**(code **)(*plVar2 + 8))()" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "lVar15 = *(long *)(this + 0x18);" (assignment_expression "lVar15 = *(long *)(this + 0x18)" identifier = (pointer_expression "*(long *)(this + 0x18)" * (cast_expression "(long *)(this + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar15 + uVar8 * 8) = 0;" (assignment_expression "*(undefined8 *)(lVar15 + uVar8 * 8) = 0" (pointer_expression "*(undefined8 *)(lVar15 + uVar8 * 8)" * (cast_expression "(undefined8 *)(lVar15 + uVar8 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + uVar8 * 8)" ( (binary_expression "lVar15 + uVar8 * 8" identifier + (binary_expression "uVar8 * 8" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 < *(ulong *)(this + 0x10))" ( (binary_expression "uVar8 < *(ulong *)(this + 0x10)" identifier < (pointer_expression "*(ulong *)(this + 0x10)" * (cast_expression "(ulong *)(this + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  long lVar4;\n  long lVar5;\n  long *plVar6;\n  undefined *puVar7;\n  int iVar8;\n  ulong uVar9;\n  long lVar10;\n  ulong uVar11;\n  undefined8 *puVar12;\n  ulong uVar13;\n  long lVar14;\n  long *plVar15;\n  long lVar16;\n  undefined **ppuVar17;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  uVar9 = FUN_0033b180(param_2);\n  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }\n  puVar7 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);\n  plVar15 = (long *)*plVar2;\n  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar17 = &PTR_DAT_004b75c0;\n  if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }\n  if (iVar8 == 1) {\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }\nLAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);\n  *plVar2 = param_3;\n  if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }\n  return;\n}\n\n" (function_definition "void FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  long lVar4;\n  long lVar5;\n  long *plVar6;\n  undefined *puVar7;\n  int iVar8;\n  ulong uVar9;\n  long lVar10;\n  ulong uVar11;\n  undefined8 *puVar12;\n  ulong uVar13;\n  long lVar14;\n  long *plVar15;\n  long lVar16;\n  undefined **ppuVar17;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  uVar9 = FUN_0033b180(param_2);\n  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }\n  puVar7 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);\n  plVar15 = (long *)*plVar2;\n  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar17 = &PTR_DAT_004b75c0;\n  if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }\n  if (iVar8 == 1) {\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }\nLAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);\n  *plVar2 = param_3;\n  if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  long lVar4;\n  long lVar5;\n  long *plVar6;\n  undefined *puVar7;\n  int iVar8;\n  ulong uVar9;\n  long lVar10;\n  ulong uVar11;\n  undefined8 *puVar12;\n  ulong uVar13;\n  long lVar14;\n  long *plVar15;\n  long lVar16;\n  undefined **ppuVar17;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  uVar9 = FUN_0033b180(param_2);\n  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }\n  puVar7 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);\n  plVar15 = (long *)*plVar2;\n  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar17 = &PTR_DAT_004b75c0;\n  if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }\n  if (iVar8 == 1) {\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }\nLAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);\n  *plVar2 = param_3;\n  if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar6;" (sized_type_specifier "long" long) (pointer_declarator "*plVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "undefined8 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "ulong uVar13;" type_identifier identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar15;" (sized_type_specifier "long" long) (pointer_declarator "*plVar15" * identifier) ;) (declaration "long lVar16;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined **ppuVar17;" type_identifier (pointer_declarator "**ppuVar17" * (pointer_declarator "*ppuVar17" * identifier)) ;) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar9 = FUN_0033b180(param_2);" (assignment_expression "uVar9 = FUN_0033b180(param_2)" identifier = (call_expression "FUN_0033b180(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) - 1U < uVar9)" ( (binary_expression "*(long *)(param_1 + 0x10) - 1U < uVar9" (binary_expression "*(long *)(param_1 + 0x10) - 1U" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) - number_literal) < identifier) )) (compound_statement "{\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }" { (expression_statement "uVar13 = uVar9 + 4;" (assignment_expression "uVar13 = uVar9 + 4" identifier = (binary_expression "uVar9 + 4" identifier + number_literal)) ;) (expression_statement "lVar14 = *(long *)(param_1 + 8);" (assignment_expression "lVar14 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar16 = uVar13 * 8;" (assignment_expression "lVar16 = uVar13 * 8" identifier = (binary_expression "uVar13 * 8" identifier * number_literal)) ;) (if_statement "if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }" if (parenthesized_expression "(0xfffffffffffffff < uVar13)" ( (binary_expression "0xfffffffffffffff < uVar13" number_literal < identifier) )) (compound_statement "{\n      lVar16 = -1;\n    }" { (expression_statement "lVar16 = -1;" (assignment_expression "lVar16 = -1" identifier = number_literal) ;) })) (expression_statement "lVar10 = thunk_FUN_00337270(lVar16);" (assignment_expression "lVar10 = thunk_FUN_00337270(lVar16)" identifier = (call_expression "thunk_FUN_00337270(lVar16)" identifier (argument_list "(lVar16)" ( identifier )))) ;) (expression_statement "uVar3 = *(ulong *)(param_1 + 0x10);" (assignment_expression "uVar3 = *(ulong *)(param_1 + 0x10)" identifier = (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" { (expression_statement "lVar4 = *(long *)(param_1 + 8);" (assignment_expression "lVar4 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);" do (compound_statement "{\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      }" { (expression_statement "*(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);" (assignment_expression "*(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8)" (pointer_expression "*(undefined8 *)(lVar10 + uVar11 * 8)" * (cast_expression "(undefined8 *)(lVar10 + uVar11 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + uVar11 * 8)" ( (binary_expression "lVar10 + uVar11 * 8" identifier + (binary_expression "uVar11 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(lVar4 + uVar11 * 8)" * (cast_expression "(undefined8 *)(lVar4 + uVar11 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + uVar11 * 8)" ( (binary_expression "lVar4 + uVar11 * 8" identifier + (binary_expression "uVar11 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 != uVar3)" ( (binary_expression "uVar11 != uVar3" identifier != identifier) )) ;) })) (if_statement "if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }" if (parenthesized_expression "(uVar3 < uVar13)" ( (binary_expression "uVar3 < uVar13" identifier < identifier) )) (compound_statement "{\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }" { (expression_statement "puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);" (assignment_expression "puVar12 = (undefined8 *)(lVar10 + uVar3 * 8)" identifier = (cast_expression "(undefined8 *)(lVar10 + uVar3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + uVar3 * 8)" ( (binary_expression "lVar10 + uVar3 * 8" identifier + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (do_statement "do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);" do (compound_statement "{\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      }" { (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" * identifier) = number_literal) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12)" ( (binary_expression "(undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12" (cast_expression "(undefined8 *)(lVar10 + 0x20 + uVar9 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x20 + uVar9 * 8)" ( (binary_expression "lVar10 + 0x20 + uVar9 * 8" (binary_expression "lVar10 + 0x20" identifier + number_literal) + (binary_expression "uVar9 * 8" identifier * number_literal)) ))) != identifier) )) ;) })) (expression_statement "lVar4 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "lVar16 = thunk_FUN_00337270(lVar16);" (assignment_expression "lVar16 = thunk_FUN_00337270(lVar16)" identifier = (call_expression "thunk_FUN_00337270(lVar16)" identifier (argument_list "(lVar16)" ( identifier )))) ;) (expression_statement "uVar3 = *(ulong *)(param_1 + 0x10);" (assignment_expression "uVar3 = *(ulong *)(param_1 + 0x10)" identifier = (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" { (expression_statement "lVar5 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);" do (compound_statement "{\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      }" { (expression_statement "*(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);" (assignment_expression "*(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8)" (pointer_expression "*(undefined8 *)(lVar16 + uVar11 * 8)" * (cast_expression "(undefined8 *)(lVar16 + uVar11 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + uVar11 * 8)" ( (binary_expression "lVar16 + uVar11 * 8" identifier + (binary_expression "uVar11 * 8" identifier * number_literal)) )))) = (pointer_expression "*(undefined8 *)(lVar5 + uVar11 * 8)" * (cast_expression "(undefined8 *)(lVar5 + uVar11 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + uVar11 * 8)" ( (binary_expression "lVar5 + uVar11 * 8" identifier + (binary_expression "uVar11 * 8" identifier * number_literal)) ))))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 != uVar3)" ( (binary_expression "uVar11 != uVar3" identifier != identifier) )) ;) })) (if_statement "if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }" if (parenthesized_expression "(uVar3 < uVar13)" ( (binary_expression "uVar3 < uVar13" identifier < identifier) )) (compound_statement "{\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }" { (expression_statement "puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);" (assignment_expression "puVar12 = (undefined8 *)(lVar16 + uVar3 * 8)" identifier = (cast_expression "(undefined8 *)(lVar16 + uVar3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + uVar3 * 8)" ( (binary_expression "lVar16 + uVar3 * 8" identifier + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (do_statement "do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));" do (compound_statement "{\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      }" { (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" * identifier) = number_literal) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8))" ( (binary_expression "puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8)" identifier != (cast_expression "(undefined8 *)(lVar16 + 0x20 + uVar9 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 0x20 + uVar9 * 8)" ( (binary_expression "lVar16 + 0x20 + uVar9 * 8" (binary_expression "lVar16 + 0x20" identifier + number_literal) + (binary_expression "uVar9 * 8" identifier * number_literal)) )))) )) ;) })) (expression_statement "*(ulong *)(param_1 + 0x10) = uVar13;" (assignment_expression "*(ulong *)(param_1 + 0x10) = uVar13" (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long *)(param_1 + 8) = lVar10;" (assignment_expression "*(long *)(param_1 + 8) = lVar10" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long *)(param_1 + 0x18) = lVar16;" (assignment_expression "*(long *)(param_1 + 0x18) = lVar16" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (if_statement "if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }" if (parenthesized_expression "(lVar14 != 0)" ( (binary_expression "lVar14 != 0" identifier != number_literal) )) (compound_statement "{\n      thunk_FUN_00338a40(lVar14);\n    }" { (expression_statement "thunk_FUN_00338a40(lVar14);" (call_expression "thunk_FUN_00338a40(lVar14)" identifier (argument_list "(lVar14)" ( identifier ))) ;) })) (if_statement "if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }" if (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      thunk_FUN_00338a40(lVar4);\n    }" { (expression_statement "thunk_FUN_00338a40(lVar4);" (call_expression "thunk_FUN_00338a40(lVar4)" identifier (argument_list "(lVar4)" ( identifier ))) ;) })) })) (expression_statement "puVar7 = PTR___pthread_key_create_004b9ee8;" (assignment_expression "puVar7 = PTR___pthread_key_create_004b9ee8" identifier = identifier) ;) (if_statement "if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" if (parenthesized_expression "(PTR___pthread_key_create_004b9ee8 == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_004b9ee8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }" { (expression_statement "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;" (assignment_expression "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" else (compound_statement "{\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;" (assignment_expression "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);" (assignment_expression "plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8)" identifier = (cast_expression "(long *)(*(long *)(param_1 + 8) + uVar9 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + uVar9 * 8)" ( (binary_expression "*(long *)(param_1 + 8) + uVar9 * 8" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + (binary_expression "uVar9 * 8" identifier * number_literal)) )))) ;) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (if_statement "if (plVar15 == (long *)0x0) goto LAB_0033b3e9;" if (parenthesized_expression "(plVar15 == (long *)0x0)" ( (binary_expression "plVar15 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b3e9;" goto statement_identifier ;)) (expression_statement "ppuVar17 = &PTR_DAT_004b75c0;" (assignment_expression "ppuVar17 = &PTR_DAT_004b75c0" identifier = (pointer_expression "&PTR_DAT_004b75c0" & identifier)) ;) (if_statement "if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" if (parenthesized_expression "(PTR_DAT_004b75c0 == (undefined *)0x0)" ( (binary_expression "PTR_DAT_004b75c0 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }" { (labeled_statement "LAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;" statement_identifier : (if_statement "if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;" if (parenthesized_expression "(puVar7 != (undefined *)0x0)" ( (binary_expression "puVar7 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b3d6;" goto statement_identifier ;))) (labeled_statement "LAB_0033b494:\n    iVar8 = (int)plVar15[1];" statement_identifier : (expression_statement "iVar8 = (int)plVar15[1];" (assignment_expression "iVar8 = (int)plVar15[1]" identifier = (cast_expression "(int)plVar15[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar15[1]" identifier [ number_literal ]))) ;)) (expression_statement "*(int *)(plVar15 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar15 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar15 + 1)" * (cast_expression "(int *)(plVar15 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar15 + 1)" ( (binary_expression "plVar15 + 1" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" else (compound_statement "{\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" { (do_statement "do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);" do (compound_statement "{\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    }" { (expression_statement "uVar13 = FUN_0033b180();" (assignment_expression "uVar13 = FUN_0033b180()" identifier = (call_expression "FUN_0033b180()" identifier (argument_list "()" ( )))) ;) (if_statement "if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }" if (parenthesized_expression "(uVar13 == uVar9)" ( (binary_expression "uVar13 == uVar9" identifier == identifier) )) (compound_statement "{\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }" { (expression_statement "lVar16 = *(long *)(param_1 + 8);" (assignment_expression "lVar16 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar14 = FUN_0033b180(ppuVar17[1]);" (assignment_expression "lVar14 = FUN_0033b180(ppuVar17[1])" identifier = (call_expression "FUN_0033b180(ppuVar17[1])" identifier (argument_list "(ppuVar17[1])" ( (subscript_expression "ppuVar17[1]" identifier [ number_literal ]) )))) ;) (expression_statement "plVar15 = (long *)(lVar16 + lVar14 * 8);" (assignment_expression "plVar15 = (long *)(lVar16 + lVar14 * 8)" identifier = (cast_expression "(long *)(lVar16 + lVar14 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + lVar14 * 8)" ( (binary_expression "lVar16 + lVar14 * 8" identifier + (binary_expression "lVar14 * 8" identifier * number_literal)) )))) ;) (if_statement "if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }" if (parenthesized_expression "(*plVar15 != 0)" ( (binary_expression "*plVar15 != 0" (pointer_expression "*plVar15" * identifier) != number_literal) )) (compound_statement "{\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }" { (expression_statement "lVar16 = FUN_00370e80(param_3,ppuVar17[1]);" (assignment_expression "lVar16 = FUN_00370e80(param_3,ppuVar17[1])" identifier = (call_expression "FUN_00370e80(param_3,ppuVar17[1])" identifier (argument_list "(param_3,ppuVar17[1])" ( identifier , (subscript_expression "ppuVar17[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }" { (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar6 = (long *)*plVar15;" (assignment_expression "plVar6 = (long *)*plVar15" identifier = (cast_expression "(long *)*plVar15" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar15" * identifier))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }" { (expression_statement "iVar8 = (int)plVar6[1];" (assignment_expression "iVar8 = (int)plVar6[1]" identifier = (cast_expression "(int)plVar6[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar6 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar6 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar6 + 1)" * (cast_expression "(int *)(plVar6 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar6 + 1)" ( (binary_expression "plVar6 + 1" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar6 + 1;" (assignment_expression "plVar1 = plVar6 + 1" identifier = (binary_expression "plVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = (int)*plVar1;" (assignment_expression "iVar8 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n                    \n            (**(code **)(*plVar6 + 8))();\n          }" { (expression_statement "(**(code **)(*plVar6 + 8))();" (call_expression "(**(code **)(*plVar6 + 8))()" (parenthesized_expression "(**(code **)(*plVar6 + 8))" ( (pointer_expression "**(code **)(*plVar6 + 8)" * (pointer_expression "*(code **)(*plVar6 + 8)" * (cast_expression "(code **)(*plVar6 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar6 + 8)" ( (binary_expression "*plVar6 + 8" (pointer_expression "*plVar6" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (labeled_statement "LAB_0033b3c6:\n          *plVar15 = lVar16;" statement_identifier : (expression_statement "*plVar15 = lVar16;" (assignment_expression "*plVar15 = lVar16" (pointer_expression "*plVar15" * identifier) = identifier) ;)) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (goto_statement "goto LAB_0033b3cd;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar13 = FUN_0033b180(ppuVar17[1]);" (assignment_expression "uVar13 = FUN_0033b180(ppuVar17[1])" identifier = (call_expression "FUN_0033b180(ppuVar17[1])" identifier (argument_list "(ppuVar17[1])" ( (subscript_expression "ppuVar17[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }" if (parenthesized_expression "(uVar13 == uVar9)" ( (binary_expression "uVar13 == uVar9" identifier == identifier) )) (compound_statement "{\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }" { (expression_statement "lVar16 = *(long *)(param_1 + 8);" (assignment_expression "lVar16 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar14 = FUN_0033b180(*ppuVar17);" (assignment_expression "lVar14 = FUN_0033b180(*ppuVar17)" identifier = (call_expression "FUN_0033b180(*ppuVar17)" identifier (argument_list "(*ppuVar17)" ( (pointer_expression "*ppuVar17" * identifier) )))) ;) (expression_statement "plVar15 = (long *)(lVar16 + lVar14 * 8);" (assignment_expression "plVar15 = (long *)(lVar16 + lVar14 * 8)" identifier = (cast_expression "(long *)(lVar16 + lVar14 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + lVar14 * 8)" ( (binary_expression "lVar16 + lVar14 * 8" identifier + (binary_expression "lVar14 * 8" identifier * number_literal)) )))) ;) (if_statement "if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }" if (parenthesized_expression "(*plVar15 != 0)" ( (binary_expression "*plVar15 != 0" (pointer_expression "*plVar15" * identifier) != number_literal) )) (compound_statement "{\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }" { (expression_statement "lVar16 = FUN_003759f0(param_3,*ppuVar17);" (assignment_expression "lVar16 = FUN_003759f0(param_3,*ppuVar17)" identifier = (call_expression "FUN_003759f0(param_3,*ppuVar17)" identifier (argument_list "(param_3,*ppuVar17)" ( identifier , (pointer_expression "*ppuVar17" * identifier) )))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }" { (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" * (cast_expression "(int *)(lVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + 8)" ( (binary_expression "lVar16 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "plVar6 = (long *)*plVar15;" (assignment_expression "plVar6 = (long *)*plVar15" identifier = (cast_expression "(long *)*plVar15" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar15" * identifier))) ;) (if_statement "if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }" { (expression_statement "iVar8 = (int)plVar6[1];" (assignment_expression "iVar8 = (int)plVar6[1]" identifier = (cast_expression "(int)plVar6[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar6 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar6 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar6 + 1)" * (cast_expression "(int *)(plVar6 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar6 + 1)" ( (binary_expression "plVar6 + 1" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" else (compound_statement "{\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar6 + 1;" (assignment_expression "plVar1 = plVar6 + 1" identifier = (binary_expression "plVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = (int)*plVar1;" (assignment_expression "iVar8 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n                    \n            (**(code **)(*plVar6 + 8))();\n          }" { (expression_statement "(**(code **)(*plVar6 + 8))();" (call_expression "(**(code **)(*plVar6 + 8))()" (parenthesized_expression "(**(code **)(*plVar6 + 8))" ( (pointer_expression "**(code **)(*plVar6 + 8)" * (pointer_expression "*(code **)(*plVar6 + 8)" * (cast_expression "(code **)(*plVar6 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar6 + 8)" ( (binary_expression "*plVar6 + 8" (pointer_expression "*plVar6" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_0033b3c6;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "ppuVar17 = ppuVar17 + 2;" (assignment_expression "ppuVar17 = ppuVar17 + 2" identifier = (binary_expression "ppuVar17 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(*ppuVar17 != (undefined *)0x0)" ( (binary_expression "*ppuVar17 != (undefined *)0x0" (pointer_expression "*ppuVar17" * identifier) != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (if_statement "if (puVar7 == (undefined *)0x0) goto LAB_0033b494;" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0033b494;" goto statement_identifier ;)) (labeled_statement "LAB_0033b3d6:\n    LOCK();" statement_identifier : (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;)) (expression_statement "plVar6 = plVar15 + 1;" (assignment_expression "plVar6 = plVar15 + 1" identifier = (binary_expression "plVar15 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = (int)*plVar6;" (assignment_expression "iVar8 = (int)*plVar6" identifier = (cast_expression "(int)*plVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar6" * identifier))) ;) (expression_statement "*(int *)plVar6 = (int)*plVar6 + -1;" (assignment_expression "*(int *)plVar6 = (int)*plVar6 + -1" (pointer_expression "*(int *)plVar6" * (cast_expression "(int *)plVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar6 + -1" (cast_expression "(int)*plVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar6" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar8 == 1) {\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }" { (expression_statement "(**(code **)(*plVar15 + 8))(plVar15);" (call_expression "(**(code **)(*plVar15 + 8))(plVar15)" (parenthesized_expression "(**(code **)(*plVar15 + 8))" ( (pointer_expression "**(code **)(*plVar15 + 8)" * (pointer_expression "*(code **)(*plVar15 + 8)" * (cast_expression "(code **)(*plVar15 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar15 + 8)" ( (binary_expression "*plVar15 + 8" (pointer_expression "*plVar15" * identifier) + number_literal) ))))) )) (argument_list "(plVar15)" ( identifier ))) ;) })) (labeled_statement "LAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);" statement_identifier : (expression_statement "lVar16 = *(long *)(param_1 + 0x10);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x10)" identifier = (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;)) (expression_statement "*plVar2 = param_3;" (assignment_expression "*plVar2 = param_3" (pointer_expression "*plVar2" * identifier) = identifier) ;) (if_statement "if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }" if (parenthesized_expression "(lVar16 != 0)" ( (binary_expression "lVar16 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "lVar16 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (do_statement "do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));" do (compound_statement "{\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    }" { (expression_statement "plVar2 = *(long **)(lVar16 + uVar9 * 8);" (assignment_expression "plVar2 = *(long **)(lVar16 + uVar9 * 8)" identifier = (pointer_expression "*(long **)(lVar16 + uVar9 * 8)" * (cast_expression "(long **)(lVar16 + uVar9 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar16 + uVar9 * 8)" ( (binary_expression "lVar16 + uVar9 * 8" identifier + (binary_expression "uVar9 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }" { (if_statement "if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" if (parenthesized_expression "(puVar7 == (undefined *)0x0)" ( (binary_expression "puVar7 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }" { (expression_statement "iVar8 = (int)plVar2[1];" (assignment_expression "iVar8 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" else (compound_statement "{\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar15 = plVar2 + 1;" (assignment_expression "plVar15 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = (int)*plVar15;" (assignment_expression "iVar8 = (int)*plVar15" identifier = (cast_expression "(int)*plVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar15" * identifier))) ;) (expression_statement "*(int *)plVar15 = (int)*plVar15 + -1;" (assignment_expression "*(int *)plVar15 = (int)*plVar15 + -1" (pointer_expression "*(int *)plVar15" * (cast_expression "(int *)plVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar15 + -1" (cast_expression "(int)*plVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar15" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }" if (parenthesized_expression "(iVar8 == 1)" ( (binary_expression "iVar8 == 1" identifier == number_literal) )) (compound_statement "{\n                    \n          (**(code **)(*plVar2 + 8))();\n        }" { (expression_statement "(**(code **)(*plVar2 + 8))();" (call_expression "(**(code **)(*plVar2 + 8))()" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "lVar16 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x18)" identifier = (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar16 + uVar9 * 8) = 0;" (assignment_expression "*(undefined8 *)(lVar16 + uVar9 * 8) = 0" (pointer_expression "*(undefined8 *)(lVar16 + uVar9 * 8)" * (cast_expression "(undefined8 *)(lVar16 + uVar9 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar16 + uVar9 * 8)" ( (binary_expression "lVar16 + uVar9 * 8" identifier + (binary_expression "uVar9 * 8" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 < *(ulong *)(param_1 + 0x10))" ( (binary_expression "uVar9 < *(ulong *)(param_1 + 0x10)" identifier < (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) })) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  long lVar4;\n  long lVar5;\n  long *plVar6;\n  undefined *puVar7;\n  int iVar8;\n  ulong uVar9;\n  long lVar10;\n  ulong uVar11;\n  undefined8 *puVar12;\n  ulong uVar13;\n  long lVar14;\n  long *plVar15;\n  long lVar16;\n  undefined **ppuVar17;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  uVar9 = FUN_0033b180(param_2);\n  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }\n  puVar7 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);\n  plVar15 = (long *)*plVar2;\n  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar17 = &PTR_DAT_004b75c0;\n  if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }\n  if (iVar8 == 1) {\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }\nLAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);\n  *plVar2 = param_3;\n  if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0033b1c0(long param_1,undefined8 param_2,long param_3)" (identifier "FUN_0033b1c0") (parameter_list "(long param_1,undefined8 param_2,long param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  long lVar4;\n  long lVar5;\n  long *plVar6;\n  undefined *puVar7;\n  int iVar8;\n  ulong uVar9;\n  long lVar10;\n  ulong uVar11;\n  undefined8 *puVar12;\n  ulong uVar13;\n  long lVar14;\n  long *plVar15;\n  long lVar16;\n  undefined **ppuVar17;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  uVar9 = FUN_0033b180(param_2);\n  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }\n  puVar7 = PTR___pthread_key_create_004b9ee8;\n  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }\n  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);\n  plVar15 = (long *)*plVar2;\n  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;\n  ppuVar17 = &PTR_DAT_004b75c0;\n  if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }\n  if (iVar8 == 1) {\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }\nLAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);\n  *plVar2 = param_3;\n  if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "long *plVar6;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar6" (* "*") (identifier "plVar6")) (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "ulong uVar9;" (type_identifier "ulong") (identifier "uVar9") (; ";")) (declaration "long lVar10;" (sized_type_specifier "long" (long "long")) (identifier "lVar10") (; ";")) (declaration "ulong uVar11;" (type_identifier "ulong") (identifier "uVar11") (; ";")) (declaration "undefined8 *puVar12;" (type_identifier "undefined8") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "ulong uVar13;" (type_identifier "ulong") (identifier "uVar13") (; ";")) (declaration "long lVar14;" (sized_type_specifier "long" (long "long")) (identifier "lVar14") (; ";")) (declaration "long *plVar15;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar15" (* "*") (identifier "plVar15")) (; ";")) (declaration "long lVar16;" (sized_type_specifier "long" (long "long")) (identifier "lVar16") (; ";")) (declaration "undefined **ppuVar17;" (type_identifier "undefined") (pointer_declarator "**ppuVar17" (* "*") (pointer_declarator "*ppuVar17" (* "*") (identifier "ppuVar17"))) (; ";")) (if_statement "if (param_3 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar9 = FUN_0033b180(param_2);" (assignment_expression "uVar9 = FUN_0033b180(param_2)" (identifier "uVar9") (= "=") (call_expression "FUN_0033b180(param_2)" (identifier "FUN_0033b180") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (*(long *)(param_1 + 0x10) - 1U < uVar9) {\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x10) - 1U < uVar9)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) - 1U < uVar9" (binary_expression "*(long *)(param_1 + 0x10) - 1U" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (- "-") (number_literal "1U")) (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n    uVar13 = uVar9 + 4;\n    lVar14 = *(long *)(param_1 + 8);\n    lVar16 = uVar13 * 8;\n    if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }\n    lVar10 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }\n    lVar4 = *(long *)(param_1 + 0x18);\n                    \n    lVar16 = thunk_FUN_00337270(lVar16);\n    uVar3 = *(ulong *)(param_1 + 0x10);\n    if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }\n    if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }\n    *(ulong *)(param_1 + 0x10) = uVar13;\n    *(long *)(param_1 + 8) = lVar10;\n    *(long *)(param_1 + 0x18) = lVar16;\n    if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }\n    if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }\n  }" ({ "{") (expression_statement "uVar13 = uVar9 + 4;" (assignment_expression "uVar13 = uVar9 + 4" (identifier "uVar13") (= "=") (binary_expression "uVar9 + 4" (identifier "uVar9") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "lVar14 = *(long *)(param_1 + 8);" (assignment_expression "lVar14 = *(long *)(param_1 + 8)" (identifier "lVar14") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "lVar16 = uVar13 * 8;" (assignment_expression "lVar16 = uVar13 * 8" (identifier "lVar16") (= "=") (binary_expression "uVar13 * 8" (identifier "uVar13") (* "*") (number_literal "8"))) (; ";")) (if_statement "if (0xfffffffffffffff < uVar13) {\n      lVar16 = -1;\n    }" (if "if") (parenthesized_expression "(0xfffffffffffffff < uVar13)" (( "(") (binary_expression "0xfffffffffffffff < uVar13" (number_literal "0xfffffffffffffff") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n      lVar16 = -1;\n    }" ({ "{") (expression_statement "lVar16 = -1;" (assignment_expression "lVar16 = -1" (identifier "lVar16") (= "=") (number_literal "-1")) (; ";")) (} "}"))) (expression_statement "lVar10 = thunk_FUN_00337270(lVar16);" (assignment_expression "lVar10 = thunk_FUN_00337270(lVar16)" (identifier "lVar10") (= "=") (call_expression "thunk_FUN_00337270(lVar16)" (identifier "thunk_FUN_00337270") (argument_list "(lVar16)" (( "(") (identifier "lVar16") () ")")))) (; ";")) (expression_statement "uVar3 = *(ulong *)(param_1 + 0x10);" (assignment_expression "uVar3 = *(ulong *)(param_1 + 0x10)" (identifier "uVar3") (= "=") (pointer_expression "*(ulong *)(param_1 + 0x10)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (uVar3 != 0) {\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      lVar4 = *(long *)(param_1 + 8);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" ({ "{") (expression_statement "lVar4 = *(long *)(param_1 + 8);" (assignment_expression "lVar4 = *(long *)(param_1 + 8)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);" (do "do") (compound_statement "{\n        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      }" ({ "{") (expression_statement "*(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);" (assignment_expression "*(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8)" (pointer_expression "*(undefined8 *)(lVar10 + uVar11 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar10 + uVar11 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + uVar11 * 8)" (( "(") (binary_expression "lVar10 + uVar11 * 8" (identifier "lVar10") (+ "+") (binary_expression "uVar11 * 8" (identifier "uVar11") (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(lVar4 + uVar11 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + uVar11 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + uVar11 * 8)" (( "(") (binary_expression "lVar4 + uVar11 * 8" (identifier "lVar4") (+ "+") (binary_expression "uVar11 * 8" (identifier "uVar11") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 != uVar3)" (( "(") (binary_expression "uVar11 != uVar3" (identifier "uVar11") (!= "!=") (identifier "uVar3")) () ")")) (; ";")) (} "}"))) (if_statement "if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }" (if "if") (parenthesized_expression "(uVar3 < uVar13)" (( "(") (binary_expression "uVar3 < uVar13" (identifier "uVar3") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);\n    }" ({ "{") (expression_statement "puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);" (assignment_expression "puVar12 = (undefined8 *)(lVar10 + uVar3 * 8)" (identifier "puVar12") (= "=") (cast_expression "(undefined8 *)(lVar10 + uVar3 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + uVar3 * 8)" (( "(") (binary_expression "lVar10 + uVar3 * 8" (identifier "lVar10") (+ "+") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8"))) () ")")))) (; ";")) (do_statement "do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);" (do "do") (compound_statement "{\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      }" ({ "{") (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" (identifier "puVar12") (= "=") (binary_expression "puVar12 + 1" (identifier "puVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12)" (( "(") (binary_expression "(undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12" (cast_expression "(undefined8 *)(lVar10 + 0x20 + uVar9 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + 0x20 + uVar9 * 8)" (( "(") (binary_expression "lVar10 + 0x20 + uVar9 * 8" (binary_expression "lVar10 + 0x20" (identifier "lVar10") (+ "+") (number_literal "0x20")) (+ "+") (binary_expression "uVar9 * 8" (identifier "uVar9") (* "*") (number_literal "8"))) () ")"))) (!= "!=") (identifier "puVar12")) () ")")) (; ";")) (} "}"))) (expression_statement "lVar4 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x18)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "lVar16 = thunk_FUN_00337270(lVar16);" (assignment_expression "lVar16 = thunk_FUN_00337270(lVar16)" (identifier "lVar16") (= "=") (call_expression "thunk_FUN_00337270(lVar16)" (identifier "thunk_FUN_00337270") (argument_list "(lVar16)" (( "(") (identifier "lVar16") () ")")))) (; ";")) (expression_statement "uVar3 = *(ulong *)(param_1 + 0x10);" (assignment_expression "uVar3 = *(ulong *)(param_1 + 0x10)" (identifier "uVar3") (= "=") (pointer_expression "*(ulong *)(param_1 + 0x10)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (uVar3 != 0) {\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      lVar5 = *(long *)(param_1 + 0x18);\n      uVar11 = 0;\n      do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);\n    }" ({ "{") (expression_statement "lVar5 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x18)" (identifier "lVar5") (= "=") (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      } while (uVar11 != uVar3);" (do "do") (compound_statement "{\n        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);\n        uVar11 = uVar11 + 1;\n      }" ({ "{") (expression_statement "*(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);" (assignment_expression "*(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8)" (pointer_expression "*(undefined8 *)(lVar16 + uVar11 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar16 + uVar11 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + uVar11 * 8)" (( "(") (binary_expression "lVar16 + uVar11 * 8" (identifier "lVar16") (+ "+") (binary_expression "uVar11 * 8" (identifier "uVar11") (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(lVar5 + uVar11 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar5 + uVar11 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + uVar11 * 8)" (( "(") (binary_expression "lVar5 + uVar11 * 8" (identifier "lVar5") (+ "+") (binary_expression "uVar11 * 8" (identifier "uVar11") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 != uVar3)" (( "(") (binary_expression "uVar11 != uVar3" (identifier "uVar11") (!= "!=") (identifier "uVar3")) () ")")) (; ";")) (} "}"))) (if_statement "if (uVar3 < uVar13) {\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }" (if "if") (parenthesized_expression "(uVar3 < uVar13)" (( "(") (binary_expression "uVar3 < uVar13" (identifier "uVar3") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);\n      do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));\n    }" ({ "{") (expression_statement "puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);" (assignment_expression "puVar12 = (undefined8 *)(lVar16 + uVar3 * 8)" (identifier "puVar12") (= "=") (cast_expression "(undefined8 *)(lVar16 + uVar3 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + uVar3 * 8)" (( "(") (binary_expression "lVar16 + uVar3 * 8" (identifier "lVar16") (+ "+") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8"))) () ")")))) (; ";")) (do_statement "do {\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));" (do "do") (compound_statement "{\n        *puVar12 = 0;\n        puVar12 = puVar12 + 1;\n      }" ({ "{") (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" (identifier "puVar12") (= "=") (binary_expression "puVar12 + 1" (identifier "puVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8))" (( "(") (binary_expression "puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8)" (identifier "puVar12") (!= "!=") (cast_expression "(undefined8 *)(lVar16 + 0x20 + uVar9 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 0x20 + uVar9 * 8)" (( "(") (binary_expression "lVar16 + 0x20 + uVar9 * 8" (binary_expression "lVar16 + 0x20" (identifier "lVar16") (+ "+") (number_literal "0x20")) (+ "+") (binary_expression "uVar9 * 8" (identifier "uVar9") (* "*") (number_literal "8"))) () ")")))) () ")")) (; ";")) (} "}"))) (expression_statement "*(ulong *)(param_1 + 0x10) = uVar13;" (assignment_expression "*(ulong *)(param_1 + 0x10) = uVar13" (pointer_expression "*(ulong *)(param_1 + 0x10)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar13")) (; ";")) (expression_statement "*(long *)(param_1 + 8) = lVar10;" (assignment_expression "*(long *)(param_1 + 8) = lVar10" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "lVar10")) (; ";")) (expression_statement "*(long *)(param_1 + 0x18) = lVar16;" (assignment_expression "*(long *)(param_1 + 0x18) = lVar16" (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "lVar16")) (; ";")) (if_statement "if (lVar14 != 0) {\n      thunk_FUN_00338a40(lVar14);\n    }" (if "if") (parenthesized_expression "(lVar14 != 0)" (( "(") (binary_expression "lVar14 != 0" (identifier "lVar14") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      thunk_FUN_00338a40(lVar14);\n    }" ({ "{") (expression_statement "thunk_FUN_00338a40(lVar14);" (call_expression "thunk_FUN_00338a40(lVar14)" (identifier "thunk_FUN_00338a40") (argument_list "(lVar14)" (( "(") (identifier "lVar14") () ")"))) (; ";")) (} "}"))) (if_statement "if (lVar4 != 0) {\n      thunk_FUN_00338a40(lVar4);\n    }" (if "if") (parenthesized_expression "(lVar4 != 0)" (( "(") (binary_expression "lVar4 != 0" (identifier "lVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      thunk_FUN_00338a40(lVar4);\n    }" ({ "{") (expression_statement "thunk_FUN_00338a40(lVar4);" (call_expression "thunk_FUN_00338a40(lVar4)" (identifier "thunk_FUN_00338a40") (argument_list "(lVar4)" (( "(") (identifier "lVar4") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar7 = PTR___pthread_key_create_004b9ee8;" (assignment_expression "puVar7 = PTR___pthread_key_create_004b9ee8" (identifier "puVar7") (= "=") (identifier "PTR___pthread_key_create_004b9ee8")) (; ";")) (if_statement "if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }\n  else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" (if "if") (parenthesized_expression "(PTR___pthread_key_create_004b9ee8 == (undefined *)0x0)" (( "(") (binary_expression "PTR___pthread_key_create_004b9ee8 == (undefined *)0x0" (identifier "PTR___pthread_key_create_004b9ee8") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n  }" ({ "{") (expression_statement "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;" (assignment_expression "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" (* "*") (cast_expression "(int *)(param_3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" (* "*") (cast_expression "(int *)(param_3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" (else "else") (compound_statement "{\n    LOCK();\n    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;\n    UNLOCK();\n  }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;" (assignment_expression "*(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" (* "*") (cast_expression "(int *)(param_3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(param_3 + 8) + 1" (pointer_expression "*(int *)(param_3 + 8)" (* "*") (cast_expression "(int *)(param_3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);" (assignment_expression "plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8)" (identifier "plVar2") (= "=") (cast_expression "(long *)(*(long *)(param_1 + 8) + uVar9 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + uVar9 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 8) + uVar9 * 8" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (binary_expression "uVar9 * 8" (identifier "uVar9") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" (identifier "plVar15") (= "=") (cast_expression "(long *)*plVar2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar2" (* "*") (identifier "plVar2")))) (; ";")) (if_statement "if (plVar15 == (long *)0x0) goto LAB_0033b3e9;" (if "if") (parenthesized_expression "(plVar15 == (long *)0x0)" (( "(") (binary_expression "plVar15 == (long *)0x0" (identifier "plVar15") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0033b3e9;" (goto "goto") (statement_identifier "LAB_0033b3e9") (; ";"))) (expression_statement "ppuVar17 = &PTR_DAT_004b75c0;" (assignment_expression "ppuVar17 = &PTR_DAT_004b75c0" (identifier "ppuVar17") (= "=") (pointer_expression "&PTR_DAT_004b75c0" (& "&") (identifier "PTR_DAT_004b75c0"))) (; ";")) (if_statement "if (PTR_DAT_004b75c0 == (undefined *)0x0) {\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }\n  else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" (if "if") (parenthesized_expression "(PTR_DAT_004b75c0 == (undefined *)0x0)" (( "(") (binary_expression "PTR_DAT_004b75c0 == (undefined *)0x0" (identifier "PTR_DAT_004b75c0") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;\nLAB_0033b494:\n    iVar8 = (int)plVar15[1];\n    *(int *)(plVar15 + 1) = iVar8 + -1;\n  }" ({ "{") (labeled_statement "LAB_0033b3cd:\n    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;" (statement_identifier "LAB_0033b3cd") (: ":") (if_statement "if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;" (if "if") (parenthesized_expression "(puVar7 != (undefined *)0x0)" (( "(") (binary_expression "puVar7 != (undefined *)0x0" (identifier "puVar7") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0033b3d6;" (goto "goto") (statement_identifier "LAB_0033b3d6") (; ";")))) (labeled_statement "LAB_0033b494:\n    iVar8 = (int)plVar15[1];" (statement_identifier "LAB_0033b494") (: ":") (expression_statement "iVar8 = (int)plVar15[1];" (assignment_expression "iVar8 = (int)plVar15[1]" (identifier "iVar8") (= "=") (cast_expression "(int)plVar15[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "plVar15[1]" (identifier "plVar15") ([ "[") (number_literal "1") (] "]")))) (; ";"))) (expression_statement "*(int *)(plVar15 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar15 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar15 + 1)" (* "*") (cast_expression "(int *)(plVar15 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar15 + 1)" (( "(") (binary_expression "plVar15 + 1" (identifier "plVar15") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" (else "else") (compound_statement "{\n    do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);\n    plVar15 = (long *)*plVar2;\n    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;\nLAB_0033b3d6:\n    LOCK();\n    plVar6 = plVar15 + 1;\n    iVar8 = (int)*plVar6;\n    *(int *)plVar6 = (int)*plVar6 + -1;\n    UNLOCK();\n  }" ({ "{") (do_statement "do {\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    } while (*ppuVar17 != (undefined *)0x0);" (do "do") (compound_statement "{\n      uVar13 = FUN_0033b180();\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }\n      uVar13 = FUN_0033b180(ppuVar17[1]);\n      if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }\n      ppuVar17 = ppuVar17 + 2;\n    }" ({ "{") (expression_statement "uVar13 = FUN_0033b180();" (assignment_expression "uVar13 = FUN_0033b180()" (identifier "uVar13") (= "=") (call_expression "FUN_0033b180()" (identifier "FUN_0033b180") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }" (if "if") (parenthesized_expression "(uVar13 == uVar9)" (( "(") (binary_expression "uVar13 == uVar9" (identifier "uVar13") (== "==") (identifier "uVar9")) () ")")) (compound_statement "{\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(ppuVar17[1]);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }\n        break;\n      }" ({ "{") (expression_statement "lVar16 = *(long *)(param_1 + 8);" (assignment_expression "lVar16 = *(long *)(param_1 + 8)" (identifier "lVar16") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "lVar14 = FUN_0033b180(ppuVar17[1]);" (assignment_expression "lVar14 = FUN_0033b180(ppuVar17[1])" (identifier "lVar14") (= "=") (call_expression "FUN_0033b180(ppuVar17[1])" (identifier "FUN_0033b180") (argument_list "(ppuVar17[1])" (( "(") (subscript_expression "ppuVar17[1]" (identifier "ppuVar17") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (expression_statement "plVar15 = (long *)(lVar16 + lVar14 * 8);" (assignment_expression "plVar15 = (long *)(lVar16 + lVar14 * 8)" (identifier "plVar15") (= "=") (cast_expression "(long *)(lVar16 + lVar14 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + lVar14 * 8)" (( "(") (binary_expression "lVar16 + lVar14 * 8" (identifier "lVar16") (+ "+") (binary_expression "lVar14 * 8" (identifier "lVar14") (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (*plVar15 != 0) {\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }" (if "if") (parenthesized_expression "(*plVar15 != 0)" (( "(") (binary_expression "*plVar15 != 0" (pointer_expression "*plVar15" (* "*") (identifier "plVar15")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\nLAB_0033b3c6:\n          *plVar15 = lVar16;\n          plVar15 = (long *)*plVar2;\n          goto LAB_0033b3cd;\n        }" ({ "{") (expression_statement "lVar16 = FUN_00370e80(param_3,ppuVar17[1]);" (assignment_expression "lVar16 = FUN_00370e80(param_3,ppuVar17[1])" (identifier "lVar16") (= "=") (call_expression "FUN_00370e80(param_3,ppuVar17[1])" (identifier "FUN_00370e80") (argument_list "(param_3,ppuVar17[1])" (( "(") (identifier "param_3") (, ",") (subscript_expression "ppuVar17[1]" (identifier "ppuVar17") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (if_statement "if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" (if "if") (parenthesized_expression "(puVar7 == (undefined *)0x0)" (( "(") (binary_expression "puVar7 == (undefined *)0x0" (identifier "puVar7") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }" ({ "{") (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" (* "*") (cast_expression "(int *)(lVar16 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 8)" (( "(") (binary_expression "lVar16 + 8" (identifier "lVar16") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" (* "*") (cast_expression "(int *)(lVar16 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 8)" (( "(") (binary_expression "lVar16 + 8" (identifier "lVar16") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" (else "else") (compound_statement "{\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" (* "*") (cast_expression "(int *)(lVar16 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 8)" (( "(") (binary_expression "lVar16 + 8" (identifier "lVar16") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" (* "*") (cast_expression "(int *)(lVar16 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 8)" (( "(") (binary_expression "lVar16 + 8" (identifier "lVar16") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "plVar6 = (long *)*plVar15;" (assignment_expression "plVar6 = (long *)*plVar15" (identifier "plVar6") (= "=") (cast_expression "(long *)*plVar15" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar15" (* "*") (identifier "plVar15")))) (; ";")) (if_statement "if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" (if "if") (parenthesized_expression "(puVar7 == (undefined *)0x0)" (( "(") (binary_expression "puVar7 == (undefined *)0x0" (identifier "puVar7") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }" ({ "{") (expression_statement "iVar8 = (int)plVar6[1];" (assignment_expression "iVar8 = (int)plVar6[1]" (identifier "iVar8") (= "=") (cast_expression "(int)plVar6[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "plVar6[1]" (identifier "plVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*(int *)(plVar6 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar6 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar6 + 1)" (* "*") (cast_expression "(int *)(plVar6 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar6 + 1)" (( "(") (binary_expression "plVar6 + 1" (identifier "plVar6") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" (else "else") (compound_statement "{\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "plVar1 = plVar6 + 1;" (assignment_expression "plVar1 = plVar6 + 1" (identifier "plVar1") (= "=") (binary_expression "plVar6 + 1" (identifier "plVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar8 = (int)*plVar1;" (assignment_expression "iVar8 = (int)*plVar1" (identifier "iVar8") (= "=") (cast_expression "(int)*plVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1")))) (; ";")) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" (* "*") (cast_expression "(int *)plVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "plVar1"))) (= "=") (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }" (if "if") (parenthesized_expression "(iVar8 == 1)" (( "(") (binary_expression "iVar8 == 1" (identifier "iVar8") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                    \n            (**(code **)(*plVar6 + 8))();\n          }" ({ "{") (expression_statement "(**(code **)(*plVar6 + 8))();" (call_expression "(**(code **)(*plVar6 + 8))()" (parenthesized_expression "(**(code **)(*plVar6 + 8))" (( "(") (pointer_expression "**(code **)(*plVar6 + 8)" (* "*") (pointer_expression "*(code **)(*plVar6 + 8)" (* "*") (cast_expression "(code **)(*plVar6 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar6 + 8)" (( "(") (binary_expression "*plVar6 + 8" (pointer_expression "*plVar6" (* "*") (identifier "plVar6")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0033b3c6:\n          *plVar15 = lVar16;" (statement_identifier "LAB_0033b3c6") (: ":") (expression_statement "*plVar15 = lVar16;" (assignment_expression "*plVar15 = lVar16" (pointer_expression "*plVar15" (* "*") (identifier "plVar15")) (= "=") (identifier "lVar16")) (; ";"))) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" (identifier "plVar15") (= "=") (cast_expression "(long *)*plVar2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar2" (* "*") (identifier "plVar2")))) (; ";")) (goto_statement "goto LAB_0033b3cd;" (goto "goto") (statement_identifier "LAB_0033b3cd") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "uVar13 = FUN_0033b180(ppuVar17[1]);" (assignment_expression "uVar13 = FUN_0033b180(ppuVar17[1])" (identifier "uVar13") (= "=") (call_expression "FUN_0033b180(ppuVar17[1])" (identifier "FUN_0033b180") (argument_list "(ppuVar17[1])" (( "(") (subscript_expression "ppuVar17[1]" (identifier "ppuVar17") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (if_statement "if (uVar13 == uVar9) {\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }" (if "if") (parenthesized_expression "(uVar13 == uVar9)" (( "(") (binary_expression "uVar13 == uVar9" (identifier "uVar13") (== "==") (identifier "uVar9")) () ")")) (compound_statement "{\n        lVar16 = *(long *)(param_1 + 8);\n        lVar14 = FUN_0033b180(*ppuVar17);\n        plVar15 = (long *)(lVar16 + lVar14 * 8);\n        if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }\n        break;\n      }" ({ "{") (expression_statement "lVar16 = *(long *)(param_1 + 8);" (assignment_expression "lVar16 = *(long *)(param_1 + 8)" (identifier "lVar16") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "lVar14 = FUN_0033b180(*ppuVar17);" (assignment_expression "lVar14 = FUN_0033b180(*ppuVar17)" (identifier "lVar14") (= "=") (call_expression "FUN_0033b180(*ppuVar17)" (identifier "FUN_0033b180") (argument_list "(*ppuVar17)" (( "(") (pointer_expression "*ppuVar17" (* "*") (identifier "ppuVar17")) () ")")))) (; ";")) (expression_statement "plVar15 = (long *)(lVar16 + lVar14 * 8);" (assignment_expression "plVar15 = (long *)(lVar16 + lVar14 * 8)" (identifier "plVar15") (= "=") (cast_expression "(long *)(lVar16 + lVar14 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + lVar14 * 8)" (( "(") (binary_expression "lVar16 + lVar14 * 8" (identifier "lVar16") (+ "+") (binary_expression "lVar14 * 8" (identifier "lVar14") (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (*plVar15 != 0) {\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }" (if "if") (parenthesized_expression "(*plVar15 != 0)" (( "(") (binary_expression "*plVar15 != 0" (pointer_expression "*plVar15" (* "*") (identifier "plVar15")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          lVar16 = FUN_003759f0(param_3,*ppuVar17);\n          if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }\n          plVar6 = (long *)*plVar15;\n          if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }\n          if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }\n          goto LAB_0033b3c6;\n        }" ({ "{") (expression_statement "lVar16 = FUN_003759f0(param_3,*ppuVar17);" (assignment_expression "lVar16 = FUN_003759f0(param_3,*ppuVar17)" (identifier "lVar16") (= "=") (call_expression "FUN_003759f0(param_3,*ppuVar17)" (identifier "FUN_003759f0") (argument_list "(param_3,*ppuVar17)" (( "(") (identifier "param_3") (, ",") (pointer_expression "*ppuVar17" (* "*") (identifier "ppuVar17")) () ")")))) (; ";")) (if_statement "if (puVar7 == (undefined *)0x0) {\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }\n          else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" (if "if") (parenthesized_expression "(puVar7 == (undefined *)0x0)" (( "(") (binary_expression "puVar7 == (undefined *)0x0" (identifier "puVar7") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n          }" ({ "{") (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" (* "*") (cast_expression "(int *)(lVar16 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 8)" (( "(") (binary_expression "lVar16 + 8" (identifier "lVar16") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" (* "*") (cast_expression "(int *)(lVar16 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 8)" (( "(") (binary_expression "lVar16 + 8" (identifier "lVar16") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" (else "else") (compound_statement "{\n            LOCK();\n            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;\n            UNLOCK();\n          }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;" (assignment_expression "*(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" (* "*") (cast_expression "(int *)(lVar16 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 8)" (( "(") (binary_expression "lVar16 + 8" (identifier "lVar16") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(lVar16 + 8) + 1" (pointer_expression "*(int *)(lVar16 + 8)" (* "*") (cast_expression "(int *)(lVar16 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + 8)" (( "(") (binary_expression "lVar16 + 8" (identifier "lVar16") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "plVar6 = (long *)*plVar15;" (assignment_expression "plVar6 = (long *)*plVar15" (identifier "plVar6") (= "=") (cast_expression "(long *)*plVar15" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar15" (* "*") (identifier "plVar15")))) (; ";")) (if_statement "if (puVar7 == (undefined *)0x0) {\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }\n          else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" (if "if") (parenthesized_expression "(puVar7 == (undefined *)0x0)" (( "(") (binary_expression "puVar7 == (undefined *)0x0" (identifier "puVar7") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            iVar8 = (int)plVar6[1];\n            *(int *)(plVar6 + 1) = iVar8 + -1;\n          }" ({ "{") (expression_statement "iVar8 = (int)plVar6[1];" (assignment_expression "iVar8 = (int)plVar6[1]" (identifier "iVar8") (= "=") (cast_expression "(int)plVar6[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "plVar6[1]" (identifier "plVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*(int *)(plVar6 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar6 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar6 + 1)" (* "*") (cast_expression "(int *)(plVar6 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar6 + 1)" (( "(") (binary_expression "plVar6 + 1" (identifier "plVar6") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" (else "else") (compound_statement "{\n            LOCK();\n            plVar1 = plVar6 + 1;\n            iVar8 = (int)*plVar1;\n            *(int *)plVar1 = (int)*plVar1 + -1;\n            UNLOCK();\n          }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "plVar1 = plVar6 + 1;" (assignment_expression "plVar1 = plVar6 + 1" (identifier "plVar1") (= "=") (binary_expression "plVar6 + 1" (identifier "plVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar8 = (int)*plVar1;" (assignment_expression "iVar8 = (int)*plVar1" (identifier "iVar8") (= "=") (cast_expression "(int)*plVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1")))) (; ";")) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" (* "*") (cast_expression "(int *)plVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "plVar1"))) (= "=") (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (iVar8 == 1) {\n                    \n            (**(code **)(*plVar6 + 8))();\n          }" (if "if") (parenthesized_expression "(iVar8 == 1)" (( "(") (binary_expression "iVar8 == 1" (identifier "iVar8") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                    \n            (**(code **)(*plVar6 + 8))();\n          }" ({ "{") (expression_statement "(**(code **)(*plVar6 + 8))();" (call_expression "(**(code **)(*plVar6 + 8))()" (parenthesized_expression "(**(code **)(*plVar6 + 8))" (( "(") (pointer_expression "**(code **)(*plVar6 + 8)" (* "*") (pointer_expression "*(code **)(*plVar6 + 8)" (* "*") (cast_expression "(code **)(*plVar6 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar6 + 8)" (( "(") (binary_expression "*plVar6 + 8" (pointer_expression "*plVar6" (* "*") (identifier "plVar6")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0033b3c6;" (goto "goto") (statement_identifier "LAB_0033b3c6") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "ppuVar17 = ppuVar17 + 2;" (assignment_expression "ppuVar17 = ppuVar17 + 2" (identifier "ppuVar17") (= "=") (binary_expression "ppuVar17 + 2" (identifier "ppuVar17") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*ppuVar17 != (undefined *)0x0)" (( "(") (binary_expression "*ppuVar17 != (undefined *)0x0" (pointer_expression "*ppuVar17" (* "*") (identifier "ppuVar17")) (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "plVar15 = (long *)*plVar2;" (assignment_expression "plVar15 = (long *)*plVar2" (identifier "plVar15") (= "=") (cast_expression "(long *)*plVar2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar2" (* "*") (identifier "plVar2")))) (; ";")) (if_statement "if (puVar7 == (undefined *)0x0) goto LAB_0033b494;" (if "if") (parenthesized_expression "(puVar7 == (undefined *)0x0)" (( "(") (binary_expression "puVar7 == (undefined *)0x0" (identifier "puVar7") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0033b494;" (goto "goto") (statement_identifier "LAB_0033b494") (; ";"))) (labeled_statement "LAB_0033b3d6:\n    LOCK();" (statement_identifier "LAB_0033b3d6") (: ":") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "plVar6 = plVar15 + 1;" (assignment_expression "plVar6 = plVar15 + 1" (identifier "plVar6") (= "=") (binary_expression "plVar15 + 1" (identifier "plVar15") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar8 = (int)*plVar6;" (assignment_expression "iVar8 = (int)*plVar6" (identifier "iVar8") (= "=") (cast_expression "(int)*plVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar6" (* "*") (identifier "plVar6")))) (; ";")) (expression_statement "*(int *)plVar6 = (int)*plVar6 + -1;" (assignment_expression "*(int *)plVar6 = (int)*plVar6 + -1" (pointer_expression "*(int *)plVar6" (* "*") (cast_expression "(int *)plVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "plVar6"))) (= "=") (binary_expression "(int)*plVar6 + -1" (cast_expression "(int)*plVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar6" (* "*") (identifier "plVar6"))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (iVar8 == 1) {\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }" (if "if") (parenthesized_expression "(iVar8 == 1)" (( "(") (binary_expression "iVar8 == 1" (identifier "iVar8") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                    \n    (**(code **)(*plVar15 + 8))(plVar15);\n  }" ({ "{") (expression_statement "(**(code **)(*plVar15 + 8))(plVar15);" (call_expression "(**(code **)(*plVar15 + 8))(plVar15)" (parenthesized_expression "(**(code **)(*plVar15 + 8))" (( "(") (pointer_expression "**(code **)(*plVar15 + 8)" (* "*") (pointer_expression "*(code **)(*plVar15 + 8)" (* "*") (cast_expression "(code **)(*plVar15 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar15 + 8)" (( "(") (binary_expression "*plVar15 + 8" (pointer_expression "*plVar15" (* "*") (identifier "plVar15")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(plVar15)" (( "(") (identifier "plVar15") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0033b3e9:\n  lVar16 = *(long *)(param_1 + 0x10);" (statement_identifier "LAB_0033b3e9") (: ":") (expression_statement "lVar16 = *(long *)(param_1 + 0x10);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x10)" (identifier "lVar16") (= "=") (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";"))) (expression_statement "*plVar2 = param_3;" (assignment_expression "*plVar2 = param_3" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (identifier "param_3")) (; ";")) (if_statement "if (lVar16 != 0) {\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }" (if "if") (parenthesized_expression "(lVar16 != 0)" (( "(") (binary_expression "lVar16 != 0" (identifier "lVar16") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar9 = 0;\n    lVar16 = *(long *)(param_1 + 0x18);\n    do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));\n  }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar16 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x18)" (identifier "lVar16") (= "=") (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (do_statement "do {\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    } while (uVar9 < *(ulong *)(param_1 + 0x10));" (do "do") (compound_statement "{\n      plVar2 = *(long **)(lVar16 + uVar9 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }\n      uVar9 = uVar9 + 1;\n    }" ({ "{") (expression_statement "plVar2 = *(long **)(lVar16 + uVar9 * 8);" (assignment_expression "plVar2 = *(long **)(lVar16 + uVar9 * 8)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(lVar16 + uVar9 * 8)" (* "*") (cast_expression "(long **)(lVar16 + uVar9 * 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar16 + uVar9 * 8)" (( "(") (binary_expression "lVar16 + uVar9 * 8" (identifier "lVar16") (+ "+") (binary_expression "uVar9 * 8" (identifier "uVar9") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (plVar2 != (long *)0x0) {\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }" (if "if") (parenthesized_expression "(plVar2 != (long *)0x0)" (( "(") (binary_expression "plVar2 != (long *)0x0" (identifier "plVar2") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }\n        if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar16 = *(long *)(param_1 + 0x18);\n        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;\n      }" ({ "{") (if_statement "if (puVar7 == (undefined *)0x0) {\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }\n        else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" (if "if") (parenthesized_expression "(puVar7 == (undefined *)0x0)" (( "(") (binary_expression "puVar7 == (undefined *)0x0" (identifier "puVar7") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          iVar8 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar8 + -1;\n        }" ({ "{") (expression_statement "iVar8 = (int)plVar2[1];" (assignment_expression "iVar8 = (int)plVar2[1]" (identifier "iVar8") (= "=") (cast_expression "(int)plVar2[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "plVar2[1]" (identifier "plVar2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*(int *)(plVar2 + 1) = iVar8 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar8 + -1" (pointer_expression "*(int *)(plVar2 + 1)" (* "*") (cast_expression "(int *)(plVar2 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar2 + 1)" (( "(") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" (else "else") (compound_statement "{\n          LOCK();\n          plVar15 = plVar2 + 1;\n          iVar8 = (int)*plVar15;\n          *(int *)plVar15 = (int)*plVar15 + -1;\n          UNLOCK();\n        }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "plVar15 = plVar2 + 1;" (assignment_expression "plVar15 = plVar2 + 1" (identifier "plVar15") (= "=") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar8 = (int)*plVar15;" (assignment_expression "iVar8 = (int)*plVar15" (identifier "iVar8") (= "=") (cast_expression "(int)*plVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar15" (* "*") (identifier "plVar15")))) (; ";")) (expression_statement "*(int *)plVar15 = (int)*plVar15 + -1;" (assignment_expression "*(int *)plVar15 = (int)*plVar15 + -1" (pointer_expression "*(int *)plVar15" (* "*") (cast_expression "(int *)plVar15" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "plVar15"))) (= "=") (binary_expression "(int)*plVar15 + -1" (cast_expression "(int)*plVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar15" (* "*") (identifier "plVar15"))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (iVar8 == 1) {\n                    \n          (**(code **)(*plVar2 + 8))();\n        }" (if "if") (parenthesized_expression "(iVar8 == 1)" (( "(") (binary_expression "iVar8 == 1" (identifier "iVar8") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                    \n          (**(code **)(*plVar2 + 8))();\n        }" ({ "{") (expression_statement "(**(code **)(*plVar2 + 8))();" (call_expression "(**(code **)(*plVar2 + 8))()" (parenthesized_expression "(**(code **)(*plVar2 + 8))" (( "(") (pointer_expression "**(code **)(*plVar2 + 8)" (* "*") (pointer_expression "*(code **)(*plVar2 + 8)" (* "*") (cast_expression "(code **)(*plVar2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 8)" (( "(") (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "lVar16 = *(long *)(param_1 + 0x18);" (assignment_expression "lVar16 = *(long *)(param_1 + 0x18)" (identifier "lVar16") (= "=") (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(lVar16 + uVar9 * 8) = 0;" (assignment_expression "*(undefined8 *)(lVar16 + uVar9 * 8) = 0" (pointer_expression "*(undefined8 *)(lVar16 + uVar9 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar16 + uVar9 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar16 + uVar9 * 8)" (( "(") (binary_expression "lVar16 + uVar9 * 8" (identifier "lVar16") (+ "+") (binary_expression "uVar9 * 8" (identifier "uVar9") (* "*") (number_literal "8"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" (identifier "uVar9") (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 < *(ulong *)(param_1 + 0x10))" (( "(") (binary_expression "uVar9 < *(ulong *)(param_1 + 0x10)" (identifier "uVar9") (< "<") (pointer_expression "*(ulong *)(param_1 + 0x10)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) */

void __thiscall std::locale::type_1::function_1(type_1 *var_3,type_2 *param_1,type_3 *var_1)

{
  long *plVar1;
  long *var_28;
  void *var_12;
  void *var_14;
  long *var_24;
  type_4 *var_20;
  int var_21;
  type_5 var_4;
  void *pvVar9;
  type_5 var_8;
  type_6 *var_10;
  void *pvVar12;
  type_5 var_5;
  long var_22;
  long var_9;
  long *var_18;
  type_5 var_7;
  type_2 *var_27;
  type_5 var_11;
  type_4 **var_26;
  
  if (var_1 == (type_3 *)0x0) {
    return;
  }
  var_4 = locale::id::var_2(param_1);
  if (*(long *)(var_3 + 0x10) - 1U < var_4) {
    var_5 = var_4 + 4;
    var_12 = *(void **)(var_3 + 8);
    var_11 = var_5 * 8;
    if (0xfffffffffffffff < var_5) {
      var_11 = 0xffffffffffffffff;
    }
    pvVar9 = var_6(var_11);
    var_7 = *(type_5 *)(var_3 + 0x10);
    if (var_7 != 0) {
      var_9 = *(long *)(var_3 + 8);
      var_8 = 0;
      do {
        *(type_6 *)((long)pvVar9 + var_8 * 8) = *(type_6 *)(var_9 + var_8 * 8);
        var_8 = var_8 + 1;
      } while (var_8 != var_7);
    }
    if (var_7 < var_5) {
      var_10 = (type_6 *)((long)pvVar9 + var_7 * 8);
      do {
        *var_10 = 0;
        var_10 = var_10 + 1;
      } while ((type_6 *)((long)pvVar9 + var_4 * 8 + 0x20) != var_10);
    }
    var_14 = *(void **)(var_3 + 0x18);
                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */
    pvVar12 = var_6(var_11);
    var_11 = *(type_5 *)(var_3 + 0x10);
    if (var_11 != 0) {
      var_9 = *(long *)(var_3 + 0x18);
      var_7 = 0;
      do {
        *(type_6 *)((long)pvVar12 + var_7 * 8) = *(type_6 *)(var_9 + var_7 * 8);
        var_7 = var_7 + 1;
      } while (var_7 != var_11);
    }
    if (var_11 < var_5) {
      var_10 = (type_6 *)((long)pvVar12 + var_11 * 8);
      do {
        *var_10 = 0;
        var_10 = var_10 + 1;
      } while (var_10 != (type_6 *)((long)pvVar12 + var_4 * 8 + 0x20));
    }
    *(type_5 *)(var_3 + 0x10) = var_5;
    *(void **)(var_3 + 8) = pvVar9;
    *(void **)(var_3 + 0x18) = pvVar12;
    if (var_12 != (void *)0x0) {
      var_13(var_12);
    }
    if (var_14 != (void *)0x0) {
      var_13(var_14);
    }
  }
  var_20 = var_15;
  if (var_15 == (type_4 *)0x0) {
    *(int *)(var_1 + 8) = *(int *)(var_1 + 8) + 1;
  }
  else {
    var_16();
    *(int *)(var_1 + 8) = *(int *)(var_1 + 8) + 1;
    var_17();
  }
  var_28 = (long *)(*(long *)(var_3 + 8) + var_4 * 8);
  var_18 = (long *)*var_28;
  if (var_18 == (long *)0x0) goto LAB_0033b3e9;
  var_26 = &var_19;
  var_27 = (type_2 *)var_19;
  if (var_19 == (type_4 *)0x0) {
LAB_0033b3cd:
    if (var_20 != (type_4 *)0x0) goto LAB_0033b3d6;
LAB_0033b494:
    var_21 = (int)var_18[1];
    *(int *)(var_18 + 1) = var_21 + -1;
  }
  else {
    do {
      var_5 = locale::id::var_2(var_27);
      if (var_5 == var_4) {
        var_9 = *(long *)(var_3 + 8);
        var_22 = locale::id::var_2((type_2 *)var_26[1]);
        var_18 = (long *)(var_9 + var_22 * 8);
        if (*var_18 != 0) {
          var_9 = type_3::var_23(var_1,(type_2 *)var_26[1]);
          if (var_20 == (type_4 *)0x0) {
            *(int *)(var_9 + 8) = *(int *)(var_9 + 8) + 1;
          }
          else {
            var_16();
            *(int *)(var_9 + 8) = *(int *)(var_9 + 8) + 1;
            var_17();
          }
          var_24 = (long *)*var_18;
          if (var_20 == (type_4 *)0x0) {
            var_21 = (int)var_24[1];
            *(int *)(var_24 + 1) = var_21 + -1;
          }
          else {
            var_16();
            plVar1 = var_24 + 1;
            var_21 = (int)*plVar1;
            *(int *)plVar1 = (int)*plVar1 + -1;
            var_17();
          }
          if (var_21 == 1) {
                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */
            (**(type_7 **)(*var_24 + 8))();
          }
LAB_0033b3c6:
          *var_18 = var_9;
          var_18 = (long *)*var_28;
          goto LAB_0033b3cd;
        }
        break;
      }
      var_5 = locale::id::var_2((type_2 *)var_26[1]);
      if (var_5 == var_4) {
        var_9 = *(long *)(var_3 + 8);
        var_22 = locale::id::var_2((type_2 *)*var_26);
        var_18 = (long *)(var_9 + var_22 * 8);
        if (*var_18 != 0) {
          var_9 = type_3::var_25(var_1,(type_2 *)*var_26);
          if (var_20 == (type_4 *)0x0) {
            *(int *)(var_9 + 8) = *(int *)(var_9 + 8) + 1;
          }
          else {
            var_16();
            *(int *)(var_9 + 8) = *(int *)(var_9 + 8) + 1;
            var_17();
          }
          var_24 = (long *)*var_18;
          if (var_20 == (type_4 *)0x0) {
            var_21 = (int)var_24[1];
            *(int *)(var_24 + 1) = var_21 + -1;
          }
          else {
            var_16();
            plVar1 = var_24 + 1;
            var_21 = (int)*plVar1;
            *(int *)plVar1 = (int)*plVar1 + -1;
            var_17();
          }
          if (var_21 == 1) {
                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */
            (**(type_7 **)(*var_24 + 8))();
          }
          goto LAB_0033b3c6;
        }
        break;
      }
      var_26 = var_26 + 2;
      var_27 = (type_2 *)*var_26;
    } while (var_27 != (type_2 *)0x0);
    var_18 = (long *)*var_28;
    if (var_20 == (type_4 *)0x0) goto LAB_0033b494;
LAB_0033b3d6:
    var_16();
    var_24 = var_18 + 1;
    var_21 = (int)*var_24;
    *(int *)var_24 = (int)*var_24 + -1;
    var_17();
  }
  if (var_21 == 1) {
                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */
    (**(type_7 **)(*var_18 + 8))(var_18);
  }
LAB_0033b3e9:
  var_9 = *(long *)(var_3 + 0x10);
  *var_28 = (long)var_1;
  if (var_9 != 0) {
    var_4 = 0;
    var_9 = *(long *)(var_3 + 0x18);
    do {
      var_28 = *(long **)(var_9 + var_4 * 8);
      if (var_28 != (long *)0x0) {
        if (var_20 == (type_4 *)0x0) {
          var_21 = (int)var_28[1];
          *(int *)(var_28 + 1) = var_21 + -1;
        }
        else {
          var_16();
          var_18 = var_28 + 1;
          var_21 = (int)*var_18;
          *(int *)var_18 = (int)*var_18 + -1;
          var_17();
        }
        if (var_21 == 1) {
                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */
          (**(type_7 **)(*var_28 + 8))();
        }
        var_9 = *(long *)(var_3 + 0x18);
        *(type_6 *)(var_9 + var_4 * 8) = 0;
      }
      var_4 = var_4 + 1;
    } while (var_4 < *(type_5 *)(var_3 + 0x10));
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (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: (binary_expression left: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (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: (binary_expression left: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (goto_statement label: (statement_identifier)))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list))))) (goto_statement label: (statement_identifier)))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (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)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (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: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement))))

void MASKED(long param_1,undefined8 param_2,long param_3)

{
  long *plVar1;
  long *plVar2;
  ulong uVar3;
  long lVar4;
  long lVar5;
  long *plVar6;
  undefined *puVar7;
  int iVar8;
  ulong uVar9;
  long lVar10;
  ulong uVar11;
  undefined8 *puVar12;
  ulong uVar13;
  long lVar14;
  long *plVar15;
  long lVar16;
  undefined **ppuVar17;
  
  if (param_3 == 0) {
    return;
  }
  uVar9 = FUN_0033b180(param_2);
  if (*(long *)(param_1 + 0x10) - 1U < uVar9) {
    uVar13 = uVar9 + 4;
    lVar14 = *(long *)(param_1 + 8);
    lVar16 = uVar13 * 8;
    if (0xfffffffffffffff < uVar13) {
      lVar16 = -1;
    }
    lVar10 = thunk_FUN_00337270(lVar16);
    uVar3 = *(ulong *)(param_1 + 0x10);
    if (uVar3 != 0) {
      lVar4 = *(long *)(param_1 + 8);
      uVar11 = 0;
      do {
        *(undefined8 *)(lVar10 + uVar11 * 8) = *(undefined8 *)(lVar4 + uVar11 * 8);
        uVar11 = uVar11 + 1;
      } while (uVar11 != uVar3);
    }
    if (uVar3 < uVar13) {
      puVar12 = (undefined8 *)(lVar10 + uVar3 * 8);
      do {
        *puVar12 = 0;
        puVar12 = puVar12 + 1;
      } while ((undefined8 *)(lVar10 + 0x20 + uVar9 * 8) != puVar12);
    }
    lVar4 = *(long *)(param_1 + 0x18);
                    /* try { // try from 0033b28c to 0033b290 has its CatchHandler @ 0033b551 */
    lVar16 = thunk_FUN_00337270(lVar16);
    uVar3 = *(ulong *)(param_1 + 0x10);
    if (uVar3 != 0) {
      lVar5 = *(long *)(param_1 + 0x18);
      uVar11 = 0;
      do {
        *(undefined8 *)(lVar16 + uVar11 * 8) = *(undefined8 *)(lVar5 + uVar11 * 8);
        uVar11 = uVar11 + 1;
      } while (uVar11 != uVar3);
    }
    if (uVar3 < uVar13) {
      puVar12 = (undefined8 *)(lVar16 + uVar3 * 8);
      do {
        *puVar12 = 0;
        puVar12 = puVar12 + 1;
      } while (puVar12 != (undefined8 *)(lVar16 + 0x20 + uVar9 * 8));
    }
    *(ulong *)(param_1 + 0x10) = uVar13;
    *(long *)(param_1 + 8) = lVar10;
    *(long *)(param_1 + 0x18) = lVar16;
    if (lVar14 != 0) {
      thunk_FUN_00338a40(lVar14);
    }
    if (lVar4 != 0) {
      thunk_FUN_00338a40(lVar4);
    }
  }
  puVar7 = PTR___pthread_key_create_004b9ee8;
  if (PTR___pthread_key_create_004b9ee8 == (undefined *)0x0) {
    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;
  }
  else {
    LOCK();
    *(int *)(param_3 + 8) = *(int *)(param_3 + 8) + 1;
    UNLOCK();
  }
  plVar2 = (long *)(*(long *)(param_1 + 8) + uVar9 * 8);
  plVar15 = (long *)*plVar2;
  if (plVar15 == (long *)0x0) goto LAB_0033b3e9;
  ppuVar17 = &PTR_DAT_004b75c0;
  if (PTR_DAT_004b75c0 == (undefined *)0x0) {
LAB_0033b3cd:
    if (puVar7 != (undefined *)0x0) goto LAB_0033b3d6;
LAB_0033b494:
    iVar8 = (int)plVar15[1];
    *(int *)(plVar15 + 1) = iVar8 + -1;
  }
  else {
    do {
      uVar13 = FUN_0033b180();
      if (uVar13 == uVar9) {
        lVar16 = *(long *)(param_1 + 8);
        lVar14 = FUN_0033b180(ppuVar17[1]);
        plVar15 = (long *)(lVar16 + lVar14 * 8);
        if (*plVar15 != 0) {
          lVar16 = FUN_00370e80(param_3,ppuVar17[1]);
          if (puVar7 == (undefined *)0x0) {
            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;
          }
          else {
            LOCK();
            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;
            UNLOCK();
          }
          plVar6 = (long *)*plVar15;
          if (puVar7 == (undefined *)0x0) {
            iVar8 = (int)plVar6[1];
            *(int *)(plVar6 + 1) = iVar8 + -1;
          }
          else {
            LOCK();
            plVar1 = plVar6 + 1;
            iVar8 = (int)*plVar1;
            *(int *)plVar1 = (int)*plVar1 + -1;
            UNLOCK();
          }
          if (iVar8 == 1) {
                    /* try { // try from 0033b53a to 0033b53c has its CatchHandler @ 0033b556 */
            (**(code **)(*plVar6 + 8))();
          }
LAB_0033b3c6:
          *plVar15 = lVar16;
          plVar15 = (long *)*plVar2;
          goto LAB_0033b3cd;
        }
        break;
      }
      uVar13 = FUN_0033b180(ppuVar17[1]);
      if (uVar13 == uVar9) {
        lVar16 = *(long *)(param_1 + 8);
        lVar14 = FUN_0033b180(*ppuVar17);
        plVar15 = (long *)(lVar16 + lVar14 * 8);
        if (*plVar15 != 0) {
          lVar16 = FUN_003759f0(param_3,*ppuVar17);
          if (puVar7 == (undefined *)0x0) {
            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;
          }
          else {
            LOCK();
            *(int *)(lVar16 + 8) = *(int *)(lVar16 + 8) + 1;
            UNLOCK();
          }
          plVar6 = (long *)*plVar15;
          if (puVar7 == (undefined *)0x0) {
            iVar8 = (int)plVar6[1];
            *(int *)(plVar6 + 1) = iVar8 + -1;
          }
          else {
            LOCK();
            plVar1 = plVar6 + 1;
            iVar8 = (int)*plVar1;
            *(int *)plVar1 = (int)*plVar1 + -1;
            UNLOCK();
          }
          if (iVar8 == 1) {
                    /* try { // try from 0033b507 to 0033b509 has its CatchHandler @ 0033b542 */
            (**(code **)(*plVar6 + 8))();
          }
          goto LAB_0033b3c6;
        }
        break;
      }
      ppuVar17 = ppuVar17 + 2;
    } while (*ppuVar17 != (undefined *)0x0);
    plVar15 = (long *)*plVar2;
    if (puVar7 == (undefined *)0x0) goto LAB_0033b494;
LAB_0033b3d6:
    LOCK();
    plVar6 = plVar15 + 1;
    iVar8 = (int)*plVar6;
    *(int *)plVar6 = (int)*plVar6 + -1;
    UNLOCK();
  }
  if (iVar8 == 1) {
                    /* try { // try from 0033b4ac to 0033b4ae has its CatchHandler @ 0033b547 */
    (**(code **)(*plVar15 + 8))(plVar15);
  }
LAB_0033b3e9:
  lVar16 = *(long *)(param_1 + 0x10);
  *plVar2 = param_3;
  if (lVar16 != 0) {
    uVar9 = 0;
    lVar16 = *(long *)(param_1 + 0x18);
    do {
      plVar2 = *(long **)(lVar16 + uVar9 * 8);
      if (plVar2 != (long *)0x0) {
        if (puVar7 == (undefined *)0x0) {
          iVar8 = (int)plVar2[1];
          *(int *)(plVar2 + 1) = iVar8 + -1;
        }
        else {
          LOCK();
          plVar15 = plVar2 + 1;
          iVar8 = (int)*plVar15;
          *(int *)plVar15 = (int)*plVar15 + -1;
          UNLOCK();
        }
        if (iVar8 == 1) {
                    /* try { // try from 0033b44c to 0033b44e has its CatchHandler @ 0033b54c */
          (**(code **)(*plVar2 + 8))();
        }
        lVar16 = *(long *)(param_1 + 0x18);
        *(undefined8 *)(lVar16 + uVar9 * 8) = 0;
      }
      uVar9 = uVar9 + 1;
    } while (uVar9 < *(ulong *)(param_1 + 0x10));
  }
  return;
}

