// Decompiled from acclient.exe — chunk 0x00780000
// Ghidra 12.0.4 + pyghidra headless

// --- FUN_00780000 at 0x00780000 (size: 1) ---


void FUN_00780000(void)



{

  return;

}





// --- FUN_00780010 at 0x00780010 (size: 1) ---


void FUN_00780010(void)



{

  return;

}





// --- FUN_00780020 at 0x00780020 (size: 1) ---


void FUN_00780020(void)



{

  return;

}





// --- FUN_00780030 at 0x00780030 (size: 1) ---


void FUN_00780030(void)



{

  return;

}





// --- FUN_00780040 at 0x00780040 (size: 1) ---


void FUN_00780040(void)



{

  return;

}





// --- FUN_00780050 at 0x00780050 (size: 1) ---


void FUN_00780050(void)



{

  return;

}





// --- FUN_00780060 at 0x00780060 (size: 1) ---


void FUN_00780060(void)



{

  return;

}





// --- FUN_00780070 at 0x00780070 (size: 1) ---


void FUN_00780070(void)



{

  return;

}





// --- FUN_00780080 at 0x00780080 (size: 1) ---


void FUN_00780080(void)



{

  return;

}





// --- FUN_00780090 at 0x00780090 (size: 1) ---


void FUN_00780090(void)



{

  return;

}





// --- FUN_007800a0 at 0x007800A0 (size: 1) ---


void FUN_007800a0(void)



{

  return;

}





// --- FUN_007800b0 at 0x007800B0 (size: 1) ---


void FUN_007800b0(void)



{

  return;

}





// --- FUN_007800c0 at 0x007800C0 (size: 1) ---


void FUN_007800c0(void)



{

  return;

}





// --- FUN_007800d0 at 0x007800D0 (size: 1) ---


void FUN_007800d0(void)



{

  return;

}





// --- FUN_007800e0 at 0x007800E0 (size: 1) ---


void FUN_007800e0(void)



{

  return;

}





// --- FUN_007800f0 at 0x007800F0 (size: 1) ---


void FUN_007800f0(void)



{

  return;

}





// --- FUN_00780100 at 0x00780100 (size: 1) ---


void FUN_00780100(void)



{

  return;

}





// --- FUN_00780110 at 0x00780110 (size: 1) ---


void FUN_00780110(void)



{

  return;

}





// --- FUN_00780120 at 0x00780120 (size: 1) ---


void FUN_00780120(void)



{

  return;

}





// --- FUN_00780130 at 0x00780130 (size: 1) ---


void FUN_00780130(void)



{

  return;

}





// --- FUN_00780140 at 0x00780140 (size: 1) ---


void FUN_00780140(void)



{

  return;

}





// --- FUN_00780150 at 0x00780150 (size: 38) ---


void FUN_00780150(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8800 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8800 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780180 at 0x00780180 (size: 1) ---


void FUN_00780180(void)



{

  return;

}





// --- FUN_00780190 at 0x00780190 (size: 1) ---


void FUN_00780190(void)



{

  return;

}





// --- FUN_007801a0 at 0x007801A0 (size: 1) ---


void FUN_007801a0(void)



{

  return;

}





// --- FUN_007801b0 at 0x007801B0 (size: 1) ---


void FUN_007801b0(void)



{

  return;

}





// --- FUN_007801c0 at 0x007801C0 (size: 1) ---


void FUN_007801c0(void)



{

  return;

}





// --- FUN_007801d0 at 0x007801D0 (size: 1) ---


void FUN_007801d0(void)



{

  return;

}





// --- FUN_007801e0 at 0x007801E0 (size: 1) ---


void FUN_007801e0(void)



{

  return;

}





// --- FUN_007801f0 at 0x007801F0 (size: 1) ---


void FUN_007801f0(void)



{

  return;

}





// --- FUN_00780200 at 0x00780200 (size: 1) ---


void FUN_00780200(void)



{

  return;

}





// --- FUN_00780210 at 0x00780210 (size: 1) ---


void FUN_00780210(void)



{

  return;

}





// --- FUN_00780220 at 0x00780220 (size: 1) ---


void FUN_00780220(void)



{

  return;

}





// --- FUN_00780230 at 0x00780230 (size: 1) ---


void FUN_00780230(void)



{

  return;

}





// --- FUN_00780240 at 0x00780240 (size: 1) ---


void FUN_00780240(void)



{

  return;

}





// --- FUN_00780250 at 0x00780250 (size: 1) ---


void FUN_00780250(void)



{

  return;

}





// --- FUN_00780260 at 0x00780260 (size: 1) ---


void FUN_00780260(void)



{

  return;

}





// --- FUN_00780270 at 0x00780270 (size: 1) ---


void FUN_00780270(void)



{

  return;

}





// --- FUN_00780280 at 0x00780280 (size: 1) ---


void FUN_00780280(void)



{

  return;

}





// --- FUN_00780290 at 0x00780290 (size: 1) ---


void FUN_00780290(void)



{

  return;

}





// --- FUN_007802a0 at 0x007802A0 (size: 38) ---


void FUN_007802a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8910 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8910 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007802d0 at 0x007802D0 (size: 1) ---


void FUN_007802d0(void)



{

  return;

}





// --- FUN_007802e0 at 0x007802E0 (size: 1) ---


void FUN_007802e0(void)



{

  return;

}





// --- FUN_007802f0 at 0x007802F0 (size: 1) ---


void FUN_007802f0(void)



{

  return;

}





// --- FUN_00780300 at 0x00780300 (size: 1) ---


void FUN_00780300(void)



{

  return;

}





// --- FUN_00780310 at 0x00780310 (size: 1) ---


void FUN_00780310(void)



{

  return;

}





// --- FUN_00780320 at 0x00780320 (size: 1) ---


void FUN_00780320(void)



{

  return;

}





// --- FUN_00780330 at 0x00780330 (size: 1) ---


void FUN_00780330(void)



{

  return;

}





// --- FUN_00780340 at 0x00780340 (size: 1) ---


void FUN_00780340(void)



{

  return;

}





// --- FUN_00780350 at 0x00780350 (size: 1) ---


void FUN_00780350(void)



{

  return;

}





// --- FUN_00780360 at 0x00780360 (size: 38) ---


void FUN_00780360(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8990 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8990 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780390 at 0x00780390 (size: 1) ---


void FUN_00780390(void)



{

  return;

}





// --- FUN_007803a0 at 0x007803A0 (size: 1) ---


void FUN_007803a0(void)



{

  return;

}





// --- FUN_007803b0 at 0x007803B0 (size: 1) ---


void FUN_007803b0(void)



{

  return;

}





// --- FUN_007803c0 at 0x007803C0 (size: 1) ---


void FUN_007803c0(void)



{

  return;

}





// --- FUN_007803d0 at 0x007803D0 (size: 1) ---


void FUN_007803d0(void)



{

  return;

}





// --- FUN_007803e0 at 0x007803E0 (size: 1) ---


void FUN_007803e0(void)



{

  return;

}





// --- FUN_007803f0 at 0x007803F0 (size: 38) ---


void FUN_007803f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f89c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f89c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780420 at 0x00780420 (size: 38) ---


void FUN_00780420(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f89c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f89c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780450 at 0x00780450 (size: 1) ---


void FUN_00780450(void)



{

  return;

}





// --- FUN_00780460 at 0x00780460 (size: 1) ---


void FUN_00780460(void)



{

  return;

}





// --- FUN_00780470 at 0x00780470 (size: 1) ---


void FUN_00780470(void)



{

  return;

}





// --- FUN_00780480 at 0x00780480 (size: 1) ---


void FUN_00780480(void)



{

  return;

}





// --- FUN_00780490 at 0x00780490 (size: 1) ---


void FUN_00780490(void)



{

  return;

}





// --- FUN_007804a0 at 0x007804A0 (size: 1) ---


void FUN_007804a0(void)



{

  return;

}





// --- FUN_007804b0 at 0x007804B0 (size: 1) ---


void FUN_007804b0(void)



{

  return;

}





// --- FUN_007804c0 at 0x007804C0 (size: 1) ---


void FUN_007804c0(void)



{

  return;

}





// --- FUN_007804d0 at 0x007804D0 (size: 1) ---


void FUN_007804d0(void)



{

  return;

}





// --- FUN_007804e0 at 0x007804E0 (size: 1) ---


void FUN_007804e0(void)



{

  return;

}





// --- FUN_007804f0 at 0x007804F0 (size: 1) ---


void FUN_007804f0(void)



{

  return;

}





// --- FUN_00780500 at 0x00780500 (size: 1) ---


void FUN_00780500(void)



{

  return;

}





// --- FUN_00780510 at 0x00780510 (size: 1) ---


void FUN_00780510(void)



{

  return;

}





// --- FUN_00780520 at 0x00780520 (size: 1) ---


void FUN_00780520(void)



{

  return;

}





// --- FUN_00780530 at 0x00780530 (size: 1) ---


void FUN_00780530(void)



{

  return;

}





// --- FUN_00780540 at 0x00780540 (size: 1) ---


void FUN_00780540(void)



{

  return;

}





// --- FUN_00780550 at 0x00780550 (size: 1) ---


void FUN_00780550(void)



{

  return;

}





// --- FUN_00780560 at 0x00780560 (size: 1) ---


void FUN_00780560(void)



{

  return;

}





// --- FUN_00780570 at 0x00780570 (size: 1) ---


void FUN_00780570(void)



{

  return;

}





// --- FUN_00780580 at 0x00780580 (size: 60) ---


/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */



void FUN_00780580(void)



{

  _DAT_008f8ac4 = &PTR_FUN_007ffd4c;

  FUN_006841d0();

  DAT_008f8a50 = 0;

  _DAT_008f8ad0 = &PTR_FUN_007ffd48;

  FUN_00684300();

  FUN_0040e420();

  return;

}





// --- FUN_007805c0 at 0x007805C0 (size: 1) ---


void FUN_007805c0(void)



{

  return;

}





// --- FUN_007805d0 at 0x007805D0 (size: 1) ---


void FUN_007805d0(void)



{

  return;

}





// --- FUN_007805e0 at 0x007805E0 (size: 1) ---


void FUN_007805e0(void)



{

  return;

}





// --- FUN_007805f0 at 0x007805F0 (size: 1) ---


void FUN_007805f0(void)



{

  return;

}





// --- FUN_00780600 at 0x00780600 (size: 1) ---


void FUN_00780600(void)



{

  return;

}





// --- FUN_00780610 at 0x00780610 (size: 1) ---


void FUN_00780610(void)



{

  return;

}





// --- FUN_00780620 at 0x00780620 (size: 1) ---


void FUN_00780620(void)



{

  return;

}





// --- FUN_00780630 at 0x00780630 (size: 1) ---


void FUN_00780630(void)



{

  return;

}





// --- FUN_00780640 at 0x00780640 (size: 1) ---


void FUN_00780640(void)



{

  return;

}





// --- FUN_00780650 at 0x00780650 (size: 35) ---


void FUN_00780650(void)



{

  undefined4 *puVar1;

  LONG LVar2;

  

  puVar1 = DAT_008f8b6c;

  LVar2 = InterlockedDecrement(DAT_008f8b6c + 1);

  if ((LVar2 == 0) && (puVar1 != (undefined4 *)0x0)) {

    (**(code **)*puVar1)(1);

  }

  return;

}





// --- FUN_00780680 at 0x00780680 (size: 35) ---


void FUN_00780680(void)



{

  undefined4 *puVar1;

  LONG LVar2;

  

  puVar1 = DAT_008f8b70;

  LVar2 = InterlockedDecrement(DAT_008f8b70 + 1);

  if ((LVar2 == 0) && (puVar1 != (undefined4 *)0x0)) {

    (**(code **)*puVar1)(1);

  }

  return;

}





// --- FUN_007806b0 at 0x007806B0 (size: 1) ---


void FUN_007806b0(void)



{

  return;

}





// --- FUN_007806c0 at 0x007806C0 (size: 1) ---


void FUN_007806c0(void)



{

  return;

}





// --- FUN_007806d0 at 0x007806D0 (size: 1) ---


void FUN_007806d0(void)



{

  return;

}





// --- FUN_007806e0 at 0x007806E0 (size: 1) ---


void FUN_007806e0(void)



{

  return;

}





// --- FUN_007806f0 at 0x007806F0 (size: 1) ---


void FUN_007806f0(void)



{

  return;

}





// --- FUN_00780700 at 0x00780700 (size: 1) ---


void FUN_00780700(void)



{

  return;

}





// --- FUN_00780710 at 0x00780710 (size: 38) ---


void FUN_00780710(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8b8c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8b8c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780740 at 0x00780740 (size: 38) ---


void FUN_00780740(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8b90 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8b90 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780770 at 0x00780770 (size: 38) ---


void FUN_00780770(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8b94 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8b94 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007807a0 at 0x007807A0 (size: 38) ---


void FUN_007807a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8b98 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8b98 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007807d0 at 0x007807D0 (size: 38) ---


void FUN_007807d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8b9c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8b9c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780800 at 0x00780800 (size: 38) ---


void FUN_00780800(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ba0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ba0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780830 at 0x00780830 (size: 38) ---


void FUN_00780830(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ba4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ba4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780860 at 0x00780860 (size: 38) ---


void FUN_00780860(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ba8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ba8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780890 at 0x00780890 (size: 1) ---


void FUN_00780890(void)



{

  return;

}





// --- FUN_007808a0 at 0x007808A0 (size: 38) ---


void FUN_007808a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8bdc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8bdc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007808d0 at 0x007808D0 (size: 38) ---


void FUN_007808d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8be0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8be0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780900 at 0x00780900 (size: 38) ---


void FUN_00780900(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8c30 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8c30 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780930 at 0x00780930 (size: 38) ---


void FUN_00780930(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8c34 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8c34 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780960 at 0x00780960 (size: 38) ---


void FUN_00780960(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8c38 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8c38 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780990 at 0x00780990 (size: 38) ---


void FUN_00780990(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8c3c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8c3c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007809c0 at 0x007809C0 (size: 1) ---


void FUN_007809c0(void)



{

  return;

}





// --- FUN_007809d0 at 0x007809D0 (size: 10) ---


void FUN_007809d0(void)



{

  FUN_0068c680();

  return;

}





// --- FUN_007809e0 at 0x007809E0 (size: 1) ---


void FUN_007809e0(void)



{

  return;

}





// --- FUN_007809f0 at 0x007809F0 (size: 38) ---


void FUN_007809f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e6c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e6c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780a20 at 0x00780A20 (size: 38) ---


void FUN_00780a20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e70 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e70 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780a50 at 0x00780A50 (size: 38) ---


void FUN_00780a50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e74 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e74 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780a80 at 0x00780A80 (size: 38) ---


void FUN_00780a80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e78 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e78 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780ab0 at 0x00780AB0 (size: 38) ---


void FUN_00780ab0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e7c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e7c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780ae0 at 0x00780AE0 (size: 38) ---


void FUN_00780ae0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e80 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e80 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780b10 at 0x00780B10 (size: 38) ---


void FUN_00780b10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e84 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e84 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780b40 at 0x00780B40 (size: 38) ---


void FUN_00780b40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e88 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e88 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780b70 at 0x00780B70 (size: 38) ---


void FUN_00780b70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e8c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e8c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780ba0 at 0x00780BA0 (size: 38) ---


void FUN_00780ba0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e90 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e90 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780bd0 at 0x00780BD0 (size: 38) ---


void FUN_00780bd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e94 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e94 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780c00 at 0x00780C00 (size: 38) ---


void FUN_00780c00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e98 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e98 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780c30 at 0x00780C30 (size: 38) ---


void FUN_00780c30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8e9c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8e9c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780c60 at 0x00780C60 (size: 38) ---


void FUN_00780c60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ea0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ea0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780c90 at 0x00780C90 (size: 38) ---


void FUN_00780c90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ea4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ea4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780cc0 at 0x00780CC0 (size: 38) ---


void FUN_00780cc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ea8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ea8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780cf0 at 0x00780CF0 (size: 38) ---


void FUN_00780cf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8eac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8eac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780d20 at 0x00780D20 (size: 38) ---


void FUN_00780d20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8eb0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8eb0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780d50 at 0x00780D50 (size: 38) ---


void FUN_00780d50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8eb4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8eb4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780d80 at 0x00780D80 (size: 38) ---


void FUN_00780d80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8eb8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8eb8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780db0 at 0x00780DB0 (size: 38) ---


void FUN_00780db0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ebc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ebc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780de0 at 0x00780DE0 (size: 38) ---


void FUN_00780de0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ec0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ec0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780e10 at 0x00780E10 (size: 38) ---


void FUN_00780e10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ec4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ec4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780e40 at 0x00780E40 (size: 38) ---


void FUN_00780e40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ec8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ec8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780e70 at 0x00780E70 (size: 38) ---


void FUN_00780e70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ecc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ecc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780ea0 at 0x00780EA0 (size: 38) ---


void FUN_00780ea0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ed0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ed0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780ed0 at 0x00780ED0 (size: 38) ---


void FUN_00780ed0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ed4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ed4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780f00 at 0x00780F00 (size: 38) ---


void FUN_00780f00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ed8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ed8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780f30 at 0x00780F30 (size: 38) ---


void FUN_00780f30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8edc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8edc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780f60 at 0x00780F60 (size: 38) ---


void FUN_00780f60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ee0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ee0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780f90 at 0x00780F90 (size: 38) ---


void FUN_00780f90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ee4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ee4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780fc0 at 0x00780FC0 (size: 38) ---


void FUN_00780fc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ee8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ee8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00780ff0 at 0x00780FF0 (size: 38) ---


void FUN_00780ff0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8eec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8eec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781020 at 0x00781020 (size: 38) ---


void FUN_00781020(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ef0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ef0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781050 at 0x00781050 (size: 38) ---


void FUN_00781050(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ef4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ef4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781080 at 0x00781080 (size: 38) ---


void FUN_00781080(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ef8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ef8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007810b0 at 0x007810B0 (size: 38) ---


void FUN_007810b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8efc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8efc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007810e0 at 0x007810E0 (size: 38) ---


void FUN_007810e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f00 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f00 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781110 at 0x00781110 (size: 38) ---


void FUN_00781110(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f04 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f04 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781140 at 0x00781140 (size: 38) ---


void FUN_00781140(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f08 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f08 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781170 at 0x00781170 (size: 38) ---


void FUN_00781170(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f0c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f0c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007811a0 at 0x007811A0 (size: 38) ---


void FUN_007811a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f10 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f10 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007811d0 at 0x007811D0 (size: 38) ---


void FUN_007811d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f14 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f14 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781200 at 0x00781200 (size: 38) ---


void FUN_00781200(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f18 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f18 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781230 at 0x00781230 (size: 38) ---


void FUN_00781230(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f1c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f1c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781260 at 0x00781260 (size: 38) ---


void FUN_00781260(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f20 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f20 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781290 at 0x00781290 (size: 38) ---


void FUN_00781290(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f24 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f24 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007812c0 at 0x007812C0 (size: 38) ---


void FUN_007812c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f28 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f28 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007812f0 at 0x007812F0 (size: 38) ---


void FUN_007812f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f2c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f2c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781320 at 0x00781320 (size: 38) ---


void FUN_00781320(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f30 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f30 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781350 at 0x00781350 (size: 38) ---


void FUN_00781350(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f34 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f34 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781380 at 0x00781380 (size: 38) ---


void FUN_00781380(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f38 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f38 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007813b0 at 0x007813B0 (size: 38) ---


void FUN_007813b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f3c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f3c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007813e0 at 0x007813E0 (size: 38) ---


void FUN_007813e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f40 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f40 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781410 at 0x00781410 (size: 38) ---


void FUN_00781410(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f44 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f44 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781440 at 0x00781440 (size: 38) ---


void FUN_00781440(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f48 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f48 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781470 at 0x00781470 (size: 38) ---


void FUN_00781470(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f4c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f4c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007814a0 at 0x007814A0 (size: 38) ---


void FUN_007814a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f50 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f50 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007814d0 at 0x007814D0 (size: 38) ---


void FUN_007814d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f54 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f54 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781500 at 0x00781500 (size: 38) ---


void FUN_00781500(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f58 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f58 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781530 at 0x00781530 (size: 38) ---


void FUN_00781530(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f5c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f5c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781560 at 0x00781560 (size: 38) ---


void FUN_00781560(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f60 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f60 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781590 at 0x00781590 (size: 38) ---


void FUN_00781590(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f64 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f64 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007815c0 at 0x007815C0 (size: 38) ---


void FUN_007815c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f68 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f68 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007815f0 at 0x007815F0 (size: 38) ---


void FUN_007815f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f6c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f6c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781620 at 0x00781620 (size: 38) ---


void FUN_00781620(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f70 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f70 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781650 at 0x00781650 (size: 38) ---


void FUN_00781650(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f74 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f74 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781680 at 0x00781680 (size: 38) ---


void FUN_00781680(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f78 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f78 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007816b0 at 0x007816B0 (size: 38) ---


void FUN_007816b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f7c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f7c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007816e0 at 0x007816E0 (size: 38) ---


void FUN_007816e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f80 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f80 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781710 at 0x00781710 (size: 38) ---


void FUN_00781710(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f84 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f84 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781740 at 0x00781740 (size: 38) ---


void FUN_00781740(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f88 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f88 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781770 at 0x00781770 (size: 38) ---


void FUN_00781770(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f8c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f8c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007817a0 at 0x007817A0 (size: 38) ---


void FUN_007817a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f90 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f90 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007817d0 at 0x007817D0 (size: 38) ---


void FUN_007817d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f94 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f94 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781800 at 0x00781800 (size: 38) ---


void FUN_00781800(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f98 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f98 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781830 at 0x00781830 (size: 38) ---


void FUN_00781830(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8f9c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8f9c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781860 at 0x00781860 (size: 38) ---


void FUN_00781860(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fa0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fa0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781890 at 0x00781890 (size: 38) ---


void FUN_00781890(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fa4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fa4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007818c0 at 0x007818C0 (size: 38) ---


void FUN_007818c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fa8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fa8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007818f0 at 0x007818F0 (size: 38) ---


void FUN_007818f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781920 at 0x00781920 (size: 38) ---


void FUN_00781920(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fb0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fb0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781950 at 0x00781950 (size: 38) ---


void FUN_00781950(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fb4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fb4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781980 at 0x00781980 (size: 38) ---


void FUN_00781980(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fb8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fb8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007819b0 at 0x007819B0 (size: 38) ---


void FUN_007819b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fbc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fbc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007819e0 at 0x007819E0 (size: 38) ---


void FUN_007819e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fc0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fc0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781a10 at 0x00781A10 (size: 38) ---


void FUN_00781a10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fc4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fc4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781a40 at 0x00781A40 (size: 38) ---


void FUN_00781a40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fc8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fc8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781a70 at 0x00781A70 (size: 38) ---


void FUN_00781a70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fcc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fcc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781aa0 at 0x00781AA0 (size: 38) ---


void FUN_00781aa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fd0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fd0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781ad0 at 0x00781AD0 (size: 38) ---


void FUN_00781ad0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fd4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fd4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781b00 at 0x00781B00 (size: 38) ---


void FUN_00781b00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fd8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fd8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781b30 at 0x00781B30 (size: 38) ---


void FUN_00781b30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fdc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fdc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781b60 at 0x00781B60 (size: 38) ---


void FUN_00781b60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fe0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fe0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781b90 at 0x00781B90 (size: 38) ---


void FUN_00781b90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fe4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fe4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781bc0 at 0x00781BC0 (size: 38) ---


void FUN_00781bc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fe8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fe8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781bf0 at 0x00781BF0 (size: 38) ---


void FUN_00781bf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8fec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8fec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781c20 at 0x00781C20 (size: 38) ---


void FUN_00781c20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ff0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ff0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781c50 at 0x00781C50 (size: 38) ---


void FUN_00781c50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ff4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ff4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781c80 at 0x00781C80 (size: 38) ---


void FUN_00781c80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ff8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ff8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781cb0 at 0x00781CB0 (size: 38) ---


void FUN_00781cb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f8ffc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f8ffc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781ce0 at 0x00781CE0 (size: 38) ---


void FUN_00781ce0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9000 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9000 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781d10 at 0x00781D10 (size: 38) ---


void FUN_00781d10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9004 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9004 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781d40 at 0x00781D40 (size: 38) ---


void FUN_00781d40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9008 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9008 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781d70 at 0x00781D70 (size: 38) ---


void FUN_00781d70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f900c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f900c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781da0 at 0x00781DA0 (size: 38) ---


void FUN_00781da0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9010 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9010 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781dd0 at 0x00781DD0 (size: 38) ---


void FUN_00781dd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9014 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9014 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781e00 at 0x00781E00 (size: 38) ---


void FUN_00781e00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9018 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9018 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781e30 at 0x00781E30 (size: 38) ---


void FUN_00781e30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f901c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f901c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781e60 at 0x00781E60 (size: 38) ---


void FUN_00781e60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9020 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9020 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781e90 at 0x00781E90 (size: 38) ---


void FUN_00781e90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9024 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9024 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781ec0 at 0x00781EC0 (size: 38) ---


void FUN_00781ec0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9028 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9028 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781ef0 at 0x00781EF0 (size: 38) ---


void FUN_00781ef0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f902c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f902c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781f20 at 0x00781F20 (size: 38) ---


void FUN_00781f20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9030 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9030 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781f50 at 0x00781F50 (size: 38) ---


void FUN_00781f50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9034 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9034 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781f80 at 0x00781F80 (size: 38) ---


void FUN_00781f80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9038 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9038 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781fb0 at 0x00781FB0 (size: 38) ---


void FUN_00781fb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f903c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f903c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00781fe0 at 0x00781FE0 (size: 38) ---


void FUN_00781fe0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9040 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9040 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782010 at 0x00782010 (size: 38) ---


void FUN_00782010(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9044 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9044 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782040 at 0x00782040 (size: 38) ---


void FUN_00782040(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9048 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9048 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782070 at 0x00782070 (size: 38) ---


void FUN_00782070(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f904c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f904c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007820a0 at 0x007820A0 (size: 38) ---


void FUN_007820a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9050 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9050 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007820d0 at 0x007820D0 (size: 38) ---


void FUN_007820d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9054 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9054 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782100 at 0x00782100 (size: 38) ---


void FUN_00782100(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9058 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9058 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782130 at 0x00782130 (size: 38) ---


void FUN_00782130(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f905c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f905c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782160 at 0x00782160 (size: 38) ---


void FUN_00782160(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9060 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9060 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782190 at 0x00782190 (size: 38) ---


void FUN_00782190(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9064 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9064 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007821c0 at 0x007821C0 (size: 38) ---


void FUN_007821c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9068 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9068 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007821f0 at 0x007821F0 (size: 38) ---


void FUN_007821f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f906c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f906c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782220 at 0x00782220 (size: 38) ---


void FUN_00782220(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9070 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9070 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782250 at 0x00782250 (size: 38) ---


void FUN_00782250(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9074 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9074 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782280 at 0x00782280 (size: 38) ---


void FUN_00782280(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9078 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9078 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007822b0 at 0x007822B0 (size: 38) ---


void FUN_007822b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f907c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f907c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007822e0 at 0x007822E0 (size: 38) ---


void FUN_007822e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9080 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9080 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782310 at 0x00782310 (size: 38) ---


void FUN_00782310(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9084 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9084 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782340 at 0x00782340 (size: 38) ---


void FUN_00782340(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9088 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9088 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782370 at 0x00782370 (size: 38) ---


void FUN_00782370(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f908c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f908c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007823a0 at 0x007823A0 (size: 38) ---


void FUN_007823a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9090 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9090 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007823d0 at 0x007823D0 (size: 38) ---


void FUN_007823d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9094 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9094 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782400 at 0x00782400 (size: 38) ---


void FUN_00782400(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9098 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9098 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782430 at 0x00782430 (size: 38) ---


void FUN_00782430(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f909c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f909c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782460 at 0x00782460 (size: 38) ---


void FUN_00782460(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782490 at 0x00782490 (size: 38) ---


void FUN_00782490(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007824c0 at 0x007824C0 (size: 38) ---


void FUN_007824c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007824f0 at 0x007824F0 (size: 38) ---


void FUN_007824f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782520 at 0x00782520 (size: 38) ---


void FUN_00782520(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782550 at 0x00782550 (size: 38) ---


void FUN_00782550(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782580 at 0x00782580 (size: 38) ---


void FUN_00782580(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007825b0 at 0x007825B0 (size: 38) ---


void FUN_007825b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007825e0 at 0x007825E0 (size: 38) ---


void FUN_007825e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782610 at 0x00782610 (size: 38) ---


void FUN_00782610(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782640 at 0x00782640 (size: 38) ---


void FUN_00782640(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782670 at 0x00782670 (size: 38) ---


void FUN_00782670(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007826a0 at 0x007826A0 (size: 38) ---


void FUN_007826a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007826d0 at 0x007826D0 (size: 38) ---


void FUN_007826d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782700 at 0x00782700 (size: 38) ---


void FUN_00782700(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782730 at 0x00782730 (size: 38) ---


void FUN_00782730(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782760 at 0x00782760 (size: 38) ---


void FUN_00782760(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782790 at 0x00782790 (size: 38) ---


void FUN_00782790(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007827c0 at 0x007827C0 (size: 38) ---


void FUN_007827c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007827f0 at 0x007827F0 (size: 38) ---


void FUN_007827f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782820 at 0x00782820 (size: 38) ---


void FUN_00782820(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782850 at 0x00782850 (size: 38) ---


void FUN_00782850(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782880 at 0x00782880 (size: 38) ---


void FUN_00782880(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007828b0 at 0x007828B0 (size: 38) ---


void FUN_007828b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f90fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f90fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007828e0 at 0x007828E0 (size: 38) ---


void FUN_007828e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9100 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9100 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782910 at 0x00782910 (size: 38) ---


void FUN_00782910(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9104 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9104 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782940 at 0x00782940 (size: 38) ---


void FUN_00782940(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9108 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9108 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782970 at 0x00782970 (size: 38) ---


void FUN_00782970(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f910c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f910c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007829a0 at 0x007829A0 (size: 38) ---


void FUN_007829a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9110 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9110 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007829d0 at 0x007829D0 (size: 38) ---


void FUN_007829d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9114 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9114 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782a00 at 0x00782A00 (size: 38) ---


void FUN_00782a00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9118 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9118 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782a30 at 0x00782A30 (size: 38) ---


void FUN_00782a30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f911c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f911c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782a60 at 0x00782A60 (size: 38) ---


void FUN_00782a60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9120 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9120 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782a90 at 0x00782A90 (size: 38) ---


void FUN_00782a90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9124 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9124 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782ac0 at 0x00782AC0 (size: 38) ---


void FUN_00782ac0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9128 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9128 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782af0 at 0x00782AF0 (size: 38) ---


void FUN_00782af0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f912c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f912c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782b20 at 0x00782B20 (size: 38) ---


void FUN_00782b20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9130 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9130 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782b50 at 0x00782B50 (size: 38) ---


void FUN_00782b50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9134 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9134 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782b80 at 0x00782B80 (size: 38) ---


void FUN_00782b80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9138 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9138 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782bb0 at 0x00782BB0 (size: 38) ---


void FUN_00782bb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f913c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f913c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782be0 at 0x00782BE0 (size: 38) ---


void FUN_00782be0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9140 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9140 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782c10 at 0x00782C10 (size: 38) ---


void FUN_00782c10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9144 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9144 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782c40 at 0x00782C40 (size: 38) ---


void FUN_00782c40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9148 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9148 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782c70 at 0x00782C70 (size: 38) ---


void FUN_00782c70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f914c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f914c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782ca0 at 0x00782CA0 (size: 38) ---


void FUN_00782ca0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9150 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9150 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782cd0 at 0x00782CD0 (size: 38) ---


void FUN_00782cd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9154 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9154 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782d00 at 0x00782D00 (size: 38) ---


void FUN_00782d00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9158 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9158 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782d30 at 0x00782D30 (size: 38) ---


void FUN_00782d30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f915c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f915c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782d60 at 0x00782D60 (size: 38) ---


void FUN_00782d60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9160 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9160 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782d90 at 0x00782D90 (size: 38) ---


void FUN_00782d90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9164 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9164 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782dc0 at 0x00782DC0 (size: 38) ---


void FUN_00782dc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9168 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9168 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782df0 at 0x00782DF0 (size: 38) ---


void FUN_00782df0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f916c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f916c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782e20 at 0x00782E20 (size: 38) ---


void FUN_00782e20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9170 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9170 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782e50 at 0x00782E50 (size: 38) ---


void FUN_00782e50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9174 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9174 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782e80 at 0x00782E80 (size: 38) ---


void FUN_00782e80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9178 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9178 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782eb0 at 0x00782EB0 (size: 38) ---


void FUN_00782eb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f917c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f917c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782ee0 at 0x00782EE0 (size: 38) ---


void FUN_00782ee0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9180 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9180 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782f10 at 0x00782F10 (size: 38) ---


void FUN_00782f10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9184 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9184 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782f40 at 0x00782F40 (size: 38) ---


void FUN_00782f40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9188 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9188 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782f70 at 0x00782F70 (size: 38) ---


void FUN_00782f70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f918c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f918c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782fa0 at 0x00782FA0 (size: 38) ---


void FUN_00782fa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9190 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9190 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00782fd0 at 0x00782FD0 (size: 38) ---


void FUN_00782fd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9194 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9194 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783000 at 0x00783000 (size: 38) ---


void FUN_00783000(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9198 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9198 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783030 at 0x00783030 (size: 38) ---


void FUN_00783030(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f919c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f919c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783060 at 0x00783060 (size: 38) ---


void FUN_00783060(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783090 at 0x00783090 (size: 38) ---


void FUN_00783090(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007830c0 at 0x007830C0 (size: 38) ---


void FUN_007830c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007830f0 at 0x007830F0 (size: 38) ---


void FUN_007830f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783120 at 0x00783120 (size: 38) ---


void FUN_00783120(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783150 at 0x00783150 (size: 38) ---


void FUN_00783150(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783180 at 0x00783180 (size: 38) ---


void FUN_00783180(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007831b0 at 0x007831B0 (size: 38) ---


void FUN_007831b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007831e0 at 0x007831E0 (size: 38) ---


void FUN_007831e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783210 at 0x00783210 (size: 38) ---


void FUN_00783210(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783240 at 0x00783240 (size: 38) ---


void FUN_00783240(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783270 at 0x00783270 (size: 38) ---


void FUN_00783270(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007832a0 at 0x007832A0 (size: 38) ---


void FUN_007832a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007832d0 at 0x007832D0 (size: 38) ---


void FUN_007832d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783300 at 0x00783300 (size: 38) ---


void FUN_00783300(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783330 at 0x00783330 (size: 38) ---


void FUN_00783330(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783360 at 0x00783360 (size: 38) ---


void FUN_00783360(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783390 at 0x00783390 (size: 38) ---


void FUN_00783390(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007833c0 at 0x007833C0 (size: 38) ---


void FUN_007833c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007833f0 at 0x007833F0 (size: 38) ---


void FUN_007833f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783420 at 0x00783420 (size: 38) ---


void FUN_00783420(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783450 at 0x00783450 (size: 38) ---


void FUN_00783450(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783480 at 0x00783480 (size: 38) ---


void FUN_00783480(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007834b0 at 0x007834B0 (size: 38) ---


void FUN_007834b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f91fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f91fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007834e0 at 0x007834E0 (size: 38) ---


void FUN_007834e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9200 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9200 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783510 at 0x00783510 (size: 38) ---


void FUN_00783510(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9204 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9204 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783540 at 0x00783540 (size: 38) ---


void FUN_00783540(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9208 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9208 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783570 at 0x00783570 (size: 38) ---


void FUN_00783570(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f920c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f920c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007835a0 at 0x007835A0 (size: 38) ---


void FUN_007835a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9210 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9210 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007835d0 at 0x007835D0 (size: 38) ---


void FUN_007835d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9214 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9214 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783600 at 0x00783600 (size: 38) ---


void FUN_00783600(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9218 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9218 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783630 at 0x00783630 (size: 38) ---


void FUN_00783630(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f921c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f921c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783660 at 0x00783660 (size: 38) ---


void FUN_00783660(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9220 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9220 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783690 at 0x00783690 (size: 38) ---


void FUN_00783690(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9224 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9224 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007836c0 at 0x007836C0 (size: 38) ---


void FUN_007836c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9228 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9228 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007836f0 at 0x007836F0 (size: 38) ---


void FUN_007836f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f922c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f922c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783720 at 0x00783720 (size: 38) ---


void FUN_00783720(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9230 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9230 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783750 at 0x00783750 (size: 38) ---


void FUN_00783750(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9234 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9234 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783780 at 0x00783780 (size: 38) ---


void FUN_00783780(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9238 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9238 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007837b0 at 0x007837B0 (size: 38) ---


void FUN_007837b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f923c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f923c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007837e0 at 0x007837E0 (size: 38) ---


void FUN_007837e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9240 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9240 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783810 at 0x00783810 (size: 38) ---


void FUN_00783810(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9244 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9244 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783840 at 0x00783840 (size: 38) ---


void FUN_00783840(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9248 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9248 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783870 at 0x00783870 (size: 38) ---


void FUN_00783870(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f924c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f924c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007838a0 at 0x007838A0 (size: 38) ---


void FUN_007838a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9250 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9250 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007838d0 at 0x007838D0 (size: 38) ---


void FUN_007838d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9254 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9254 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783900 at 0x00783900 (size: 38) ---


void FUN_00783900(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9258 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9258 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783930 at 0x00783930 (size: 38) ---


void FUN_00783930(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f925c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f925c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783960 at 0x00783960 (size: 38) ---


void FUN_00783960(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9260 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9260 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783990 at 0x00783990 (size: 38) ---


void FUN_00783990(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9264 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9264 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007839c0 at 0x007839C0 (size: 38) ---


void FUN_007839c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9268 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9268 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007839f0 at 0x007839F0 (size: 38) ---


void FUN_007839f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f926c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f926c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783a20 at 0x00783A20 (size: 38) ---


void FUN_00783a20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9270 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9270 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783a50 at 0x00783A50 (size: 38) ---


void FUN_00783a50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9274 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9274 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783a80 at 0x00783A80 (size: 38) ---


void FUN_00783a80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9278 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9278 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783ab0 at 0x00783AB0 (size: 38) ---


void FUN_00783ab0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f927c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f927c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783ae0 at 0x00783AE0 (size: 38) ---


void FUN_00783ae0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9280 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9280 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783b10 at 0x00783B10 (size: 38) ---


void FUN_00783b10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9284 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9284 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783b40 at 0x00783B40 (size: 38) ---


void FUN_00783b40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9288 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9288 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783b70 at 0x00783B70 (size: 38) ---


void FUN_00783b70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f928c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f928c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783ba0 at 0x00783BA0 (size: 38) ---


void FUN_00783ba0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9290 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9290 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783bd0 at 0x00783BD0 (size: 38) ---


void FUN_00783bd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9294 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9294 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783c00 at 0x00783C00 (size: 38) ---


void FUN_00783c00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9298 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9298 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783c30 at 0x00783C30 (size: 38) ---


void FUN_00783c30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f929c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f929c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783c60 at 0x00783C60 (size: 38) ---


void FUN_00783c60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783c90 at 0x00783C90 (size: 38) ---


void FUN_00783c90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783cc0 at 0x00783CC0 (size: 38) ---


void FUN_00783cc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783cf0 at 0x00783CF0 (size: 38) ---


void FUN_00783cf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783d20 at 0x00783D20 (size: 38) ---


void FUN_00783d20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783d50 at 0x00783D50 (size: 38) ---


void FUN_00783d50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783d80 at 0x00783D80 (size: 38) ---


void FUN_00783d80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783db0 at 0x00783DB0 (size: 38) ---


void FUN_00783db0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783de0 at 0x00783DE0 (size: 38) ---


void FUN_00783de0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783e10 at 0x00783E10 (size: 38) ---


void FUN_00783e10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783e40 at 0x00783E40 (size: 38) ---


void FUN_00783e40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783e70 at 0x00783E70 (size: 38) ---


void FUN_00783e70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783ea0 at 0x00783EA0 (size: 38) ---


void FUN_00783ea0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783ed0 at 0x00783ED0 (size: 38) ---


void FUN_00783ed0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783f00 at 0x00783F00 (size: 38) ---


void FUN_00783f00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783f30 at 0x00783F30 (size: 38) ---


void FUN_00783f30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783f60 at 0x00783F60 (size: 38) ---


void FUN_00783f60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783f90 at 0x00783F90 (size: 38) ---


void FUN_00783f90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783fc0 at 0x00783FC0 (size: 38) ---


void FUN_00783fc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00783ff0 at 0x00783FF0 (size: 38) ---


void FUN_00783ff0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784020 at 0x00784020 (size: 38) ---


void FUN_00784020(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784050 at 0x00784050 (size: 38) ---


void FUN_00784050(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784080 at 0x00784080 (size: 38) ---


void FUN_00784080(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007840b0 at 0x007840B0 (size: 38) ---


void FUN_007840b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f92fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f92fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007840e0 at 0x007840E0 (size: 38) ---


void FUN_007840e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9300 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9300 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784110 at 0x00784110 (size: 38) ---


void FUN_00784110(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9304 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9304 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784140 at 0x00784140 (size: 38) ---


void FUN_00784140(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9308 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9308 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784170 at 0x00784170 (size: 38) ---


void FUN_00784170(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f930c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f930c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007841a0 at 0x007841A0 (size: 38) ---


void FUN_007841a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9310 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9310 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007841d0 at 0x007841D0 (size: 38) ---


void FUN_007841d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9314 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9314 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784200 at 0x00784200 (size: 38) ---


void FUN_00784200(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9318 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9318 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784230 at 0x00784230 (size: 38) ---


void FUN_00784230(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f931c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f931c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784260 at 0x00784260 (size: 38) ---


void FUN_00784260(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9320 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9320 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784290 at 0x00784290 (size: 38) ---


void FUN_00784290(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9324 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9324 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007842c0 at 0x007842C0 (size: 38) ---


void FUN_007842c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9328 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9328 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007842f0 at 0x007842F0 (size: 38) ---


void FUN_007842f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f932c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f932c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784320 at 0x00784320 (size: 38) ---


void FUN_00784320(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9330 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9330 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784350 at 0x00784350 (size: 38) ---


void FUN_00784350(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9334 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9334 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784380 at 0x00784380 (size: 38) ---


void FUN_00784380(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9338 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9338 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007843b0 at 0x007843B0 (size: 38) ---


void FUN_007843b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f933c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f933c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007843e0 at 0x007843E0 (size: 38) ---


void FUN_007843e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9340 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9340 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784410 at 0x00784410 (size: 38) ---


void FUN_00784410(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9344 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9344 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784440 at 0x00784440 (size: 38) ---


void FUN_00784440(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9348 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9348 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784470 at 0x00784470 (size: 38) ---


void FUN_00784470(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f934c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f934c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007844a0 at 0x007844A0 (size: 38) ---


void FUN_007844a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9350 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9350 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007844d0 at 0x007844D0 (size: 38) ---


void FUN_007844d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9354 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9354 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784500 at 0x00784500 (size: 38) ---


void FUN_00784500(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9358 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9358 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784530 at 0x00784530 (size: 38) ---


void FUN_00784530(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f935c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f935c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784560 at 0x00784560 (size: 38) ---


void FUN_00784560(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9360 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9360 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784590 at 0x00784590 (size: 38) ---


void FUN_00784590(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9364 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9364 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007845c0 at 0x007845C0 (size: 38) ---


void FUN_007845c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9368 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9368 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007845f0 at 0x007845F0 (size: 38) ---


void FUN_007845f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f936c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f936c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784620 at 0x00784620 (size: 38) ---


void FUN_00784620(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9370 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9370 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784650 at 0x00784650 (size: 38) ---


void FUN_00784650(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9374 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9374 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784680 at 0x00784680 (size: 38) ---


void FUN_00784680(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9378 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9378 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007846b0 at 0x007846B0 (size: 38) ---


void FUN_007846b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f937c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f937c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007846e0 at 0x007846E0 (size: 38) ---


void FUN_007846e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9380 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9380 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784710 at 0x00784710 (size: 38) ---


void FUN_00784710(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9384 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9384 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784740 at 0x00784740 (size: 38) ---


void FUN_00784740(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9388 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9388 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784770 at 0x00784770 (size: 38) ---


void FUN_00784770(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f938c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f938c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007847a0 at 0x007847A0 (size: 38) ---


void FUN_007847a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9390 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9390 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007847d0 at 0x007847D0 (size: 38) ---


void FUN_007847d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9394 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9394 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784800 at 0x00784800 (size: 38) ---


void FUN_00784800(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9398 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9398 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784830 at 0x00784830 (size: 38) ---


void FUN_00784830(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f939c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f939c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784860 at 0x00784860 (size: 38) ---


void FUN_00784860(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784890 at 0x00784890 (size: 38) ---


void FUN_00784890(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007848c0 at 0x007848C0 (size: 38) ---


void FUN_007848c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007848f0 at 0x007848F0 (size: 38) ---


void FUN_007848f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784920 at 0x00784920 (size: 38) ---


void FUN_00784920(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784950 at 0x00784950 (size: 38) ---


void FUN_00784950(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784980 at 0x00784980 (size: 38) ---


void FUN_00784980(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007849b0 at 0x007849B0 (size: 38) ---


void FUN_007849b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007849e0 at 0x007849E0 (size: 38) ---


void FUN_007849e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784a10 at 0x00784A10 (size: 38) ---


void FUN_00784a10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784a40 at 0x00784A40 (size: 38) ---


void FUN_00784a40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784a70 at 0x00784A70 (size: 38) ---


void FUN_00784a70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784aa0 at 0x00784AA0 (size: 38) ---


void FUN_00784aa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784ad0 at 0x00784AD0 (size: 38) ---


void FUN_00784ad0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784b00 at 0x00784B00 (size: 38) ---


void FUN_00784b00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784b30 at 0x00784B30 (size: 38) ---


void FUN_00784b30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784b60 at 0x00784B60 (size: 38) ---


void FUN_00784b60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784b90 at 0x00784B90 (size: 38) ---


void FUN_00784b90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784bc0 at 0x00784BC0 (size: 38) ---


void FUN_00784bc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784bf0 at 0x00784BF0 (size: 38) ---


void FUN_00784bf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784c20 at 0x00784C20 (size: 38) ---


void FUN_00784c20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784c50 at 0x00784C50 (size: 38) ---


void FUN_00784c50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784c80 at 0x00784C80 (size: 38) ---


void FUN_00784c80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784cb0 at 0x00784CB0 (size: 38) ---


void FUN_00784cb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f93fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f93fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784ce0 at 0x00784CE0 (size: 38) ---


void FUN_00784ce0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9400 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9400 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784d10 at 0x00784D10 (size: 38) ---


void FUN_00784d10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9404 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9404 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784d40 at 0x00784D40 (size: 38) ---


void FUN_00784d40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9408 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9408 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784d70 at 0x00784D70 (size: 38) ---


void FUN_00784d70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f940c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f940c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784da0 at 0x00784DA0 (size: 38) ---


void FUN_00784da0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9410 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9410 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784dd0 at 0x00784DD0 (size: 38) ---


void FUN_00784dd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9414 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9414 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784e00 at 0x00784E00 (size: 38) ---


void FUN_00784e00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9418 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9418 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784e30 at 0x00784E30 (size: 38) ---


void FUN_00784e30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f941c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f941c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784e60 at 0x00784E60 (size: 38) ---


void FUN_00784e60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9420 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9420 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784e90 at 0x00784E90 (size: 38) ---


void FUN_00784e90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9424 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9424 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784ec0 at 0x00784EC0 (size: 38) ---


void FUN_00784ec0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9428 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9428 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784ef0 at 0x00784EF0 (size: 38) ---


void FUN_00784ef0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f942c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f942c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784f20 at 0x00784F20 (size: 38) ---


void FUN_00784f20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9430 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9430 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784f50 at 0x00784F50 (size: 38) ---


void FUN_00784f50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9434 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9434 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784f80 at 0x00784F80 (size: 38) ---


void FUN_00784f80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9438 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9438 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784fb0 at 0x00784FB0 (size: 38) ---


void FUN_00784fb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f943c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f943c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00784fe0 at 0x00784FE0 (size: 38) ---


void FUN_00784fe0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9440 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9440 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785010 at 0x00785010 (size: 38) ---


void FUN_00785010(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9444 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9444 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785040 at 0x00785040 (size: 38) ---


void FUN_00785040(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9448 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9448 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785070 at 0x00785070 (size: 38) ---


void FUN_00785070(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f944c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f944c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007850a0 at 0x007850A0 (size: 38) ---


void FUN_007850a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9450 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9450 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007850d0 at 0x007850D0 (size: 38) ---


void FUN_007850d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9454 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9454 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785100 at 0x00785100 (size: 38) ---


void FUN_00785100(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9458 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9458 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785130 at 0x00785130 (size: 38) ---


void FUN_00785130(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f945c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f945c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785160 at 0x00785160 (size: 38) ---


void FUN_00785160(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9460 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9460 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785190 at 0x00785190 (size: 38) ---


void FUN_00785190(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9464 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9464 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007851c0 at 0x007851C0 (size: 38) ---


void FUN_007851c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9468 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9468 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007851f0 at 0x007851F0 (size: 38) ---


void FUN_007851f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f946c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f946c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785220 at 0x00785220 (size: 38) ---


void FUN_00785220(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9470 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9470 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785250 at 0x00785250 (size: 38) ---


void FUN_00785250(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9474 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9474 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785280 at 0x00785280 (size: 38) ---


void FUN_00785280(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9478 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9478 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007852b0 at 0x007852B0 (size: 38) ---


void FUN_007852b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f947c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f947c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007852e0 at 0x007852E0 (size: 38) ---


void FUN_007852e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9480 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9480 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785310 at 0x00785310 (size: 38) ---


void FUN_00785310(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9484 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9484 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785340 at 0x00785340 (size: 38) ---


void FUN_00785340(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9488 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9488 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785370 at 0x00785370 (size: 38) ---


void FUN_00785370(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f948c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f948c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007853a0 at 0x007853A0 (size: 38) ---


void FUN_007853a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9490 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9490 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007853d0 at 0x007853D0 (size: 38) ---


void FUN_007853d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9494 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9494 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785400 at 0x00785400 (size: 1) ---


void FUN_00785400(void)



{

  return;

}





// --- FUN_00785410 at 0x00785410 (size: 38) ---


void FUN_00785410(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f94b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f94b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785440 at 0x00785440 (size: 38) ---


void FUN_00785440(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f94b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f94b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785470 at 0x00785470 (size: 38) ---


void FUN_00785470(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f94b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f94b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007854a0 at 0x007854A0 (size: 38) ---


void FUN_007854a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f94bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f94bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007854d0 at 0x007854D0 (size: 38) ---


void FUN_007854d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f950c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f950c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785500 at 0x00785500 (size: 38) ---


void FUN_00785500(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9510 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9510 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785530 at 0x00785530 (size: 38) ---


void FUN_00785530(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9514 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9514 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785560 at 0x00785560 (size: 38) ---


void FUN_00785560(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9518 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9518 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785590 at 0x00785590 (size: 38) ---


void FUN_00785590(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f951c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f951c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007855c0 at 0x007855C0 (size: 38) ---


void FUN_007855c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9520 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9520 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007855f0 at 0x007855F0 (size: 38) ---


void FUN_007855f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9524 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9524 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785620 at 0x00785620 (size: 38) ---


void FUN_00785620(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9528 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9528 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785650 at 0x00785650 (size: 38) ---


void FUN_00785650(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f952c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f952c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785690 at 0x00785690 (size: 1) ---


void FUN_00785690(void)



{

  return;

}





// --- FUN_007856a0 at 0x007856A0 (size: 1) ---


void FUN_007856a0(void)



{

  return;

}





// --- FUN_007856b0 at 0x007856B0 (size: 1) ---


void FUN_007856b0(void)



{

  return;

}





// --- FUN_007856c0 at 0x007856C0 (size: 1) ---


void FUN_007856c0(void)



{

  return;

}





// --- FUN_007856d0 at 0x007856D0 (size: 1) ---


void FUN_007856d0(void)



{

  return;

}





// --- FUN_007856e0 at 0x007856E0 (size: 1) ---


void FUN_007856e0(void)



{

  return;

}





// --- FUN_007856f0 at 0x007856F0 (size: 38) ---


void FUN_007856f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9698 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9698 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785720 at 0x00785720 (size: 38) ---


void FUN_00785720(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f969c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f969c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785750 at 0x00785750 (size: 38) ---


void FUN_00785750(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f96a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f96a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785780 at 0x00785780 (size: 38) ---


void FUN_00785780(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f96a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f96a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007857b0 at 0x007857B0 (size: 38) ---


void FUN_007857b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f96a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f96a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007857e0 at 0x007857E0 (size: 38) ---


void FUN_007857e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f96ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f96ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785810 at 0x00785810 (size: 38) ---


void FUN_00785810(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f96b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f96b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785840 at 0x00785840 (size: 38) ---


void FUN_00785840(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f96b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f96b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785870 at 0x00785870 (size: 38) ---


void FUN_00785870(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f96b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f96b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007858a0 at 0x007858A0 (size: 1) ---


void FUN_007858a0(void)



{

  return;

}





// --- FUN_007858b0 at 0x007858B0 (size: 1) ---


void FUN_007858b0(void)



{

  return;

}





// --- FUN_007858c0 at 0x007858C0 (size: 38) ---


void FUN_007858c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9864 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9864 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007858f0 at 0x007858F0 (size: 38) ---


void FUN_007858f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9868 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9868 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785920 at 0x00785920 (size: 38) ---


void FUN_00785920(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f986c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f986c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785950 at 0x00785950 (size: 38) ---


void FUN_00785950(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9870 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9870 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785980 at 0x00785980 (size: 38) ---


void FUN_00785980(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9874 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9874 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007859b0 at 0x007859B0 (size: 38) ---


void FUN_007859b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9878 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9878 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007859e0 at 0x007859E0 (size: 38) ---


void FUN_007859e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f987c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f987c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785a10 at 0x00785A10 (size: 38) ---


void FUN_00785a10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9880 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9880 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785a40 at 0x00785A40 (size: 38) ---


void FUN_00785a40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9884 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9884 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785a70 at 0x00785A70 (size: 38) ---


void FUN_00785a70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785aa0 at 0x00785AA0 (size: 38) ---


void FUN_00785aa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785ad0 at 0x00785AD0 (size: 38) ---


void FUN_00785ad0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785b00 at 0x00785B00 (size: 38) ---


void FUN_00785b00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785b30 at 0x00785B30 (size: 38) ---


void FUN_00785b30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785b60 at 0x00785B60 (size: 38) ---


void FUN_00785b60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785b90 at 0x00785B90 (size: 38) ---


void FUN_00785b90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785bc0 at 0x00785BC0 (size: 38) ---


void FUN_00785bc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785bf0 at 0x00785BF0 (size: 38) ---


void FUN_00785bf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785c20 at 0x00785C20 (size: 38) ---


void FUN_00785c20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785c50 at 0x00785C50 (size: 38) ---


void FUN_00785c50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785c80 at 0x00785C80 (size: 38) ---


void FUN_00785c80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785cb0 at 0x00785CB0 (size: 38) ---


void FUN_00785cb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785ce0 at 0x00785CE0 (size: 38) ---


void FUN_00785ce0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785d10 at 0x00785D10 (size: 38) ---


void FUN_00785d10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785d40 at 0x00785D40 (size: 38) ---


void FUN_00785d40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f97f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f97f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785d70 at 0x00785D70 (size: 59) ---


void FUN_00785d70(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f980c;

  iVar3 = 4;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00785db0 at 0x00785DB0 (size: 59) ---


void FUN_00785db0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9820;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00785df0 at 0x00785DF0 (size: 59) ---


void FUN_00785df0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9834;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00785e30 at 0x00785E30 (size: 59) ---


void FUN_00785e30(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9840;

  iVar3 = 3;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00785e70 at 0x00785E70 (size: 59) ---


void FUN_00785e70(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9858;

  iVar3 = 6;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00785eb0 at 0x00785EB0 (size: 59) ---


void FUN_00785eb0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined4 *puVar5;

  

  puVar5 = &DAT_008f9864;

  iVar3 = 3;

  do {

    piVar1 = puVar5 + -1;

    puVar5 = puVar5 + -1;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00785ef0 at 0x00785EF0 (size: 1) ---


void FUN_00785ef0(void)



{

  return;

}





// --- FUN_00785f00 at 0x00785F00 (size: 1) ---


void FUN_00785f00(void)



{

  return;

}





// --- FUN_00785f10 at 0x00785F10 (size: 1) ---


void FUN_00785f10(void)



{

  return;

}





// --- FUN_00785f20 at 0x00785F20 (size: 1) ---


void FUN_00785f20(void)



{

  return;

}





// --- FUN_00785f30 at 0x00785F30 (size: 38) ---


void FUN_00785f30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f98f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f98f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785f60 at 0x00785F60 (size: 38) ---


void FUN_00785f60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f98f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f98f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785f90 at 0x00785F90 (size: 38) ---


void FUN_00785f90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f98fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f98fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785fc0 at 0x00785FC0 (size: 38) ---


void FUN_00785fc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9900 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9900 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00785ff0 at 0x00785FF0 (size: 38) ---


void FUN_00785ff0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9904 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9904 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786020 at 0x00786020 (size: 38) ---


void FUN_00786020(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9908 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9908 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786050 at 0x00786050 (size: 38) ---


void FUN_00786050(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f990c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f990c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786080 at 0x00786080 (size: 38) ---


void FUN_00786080(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9910 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9910 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007860b0 at 0x007860B0 (size: 38) ---


void FUN_007860b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9914 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9914 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007860e0 at 0x007860E0 (size: 38) ---


void FUN_007860e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9918 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9918 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786110 at 0x00786110 (size: 38) ---


void FUN_00786110(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f991c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f991c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786140 at 0x00786140 (size: 38) ---


void FUN_00786140(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9920 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9920 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786170 at 0x00786170 (size: 38) ---


void FUN_00786170(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9924 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9924 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007861a0 at 0x007861A0 (size: 38) ---


void FUN_007861a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9928 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9928 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007861d0 at 0x007861D0 (size: 38) ---


void FUN_007861d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f992c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f992c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786200 at 0x00786200 (size: 38) ---


void FUN_00786200(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9930 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9930 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786230 at 0x00786230 (size: 59) ---


void FUN_00786230(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9944;

  iVar3 = 4;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786270 at 0x00786270 (size: 59) ---


void FUN_00786270(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9958;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_007862b0 at 0x007862B0 (size: 59) ---


void FUN_007862b0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f996c;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_007862f0 at 0x007862F0 (size: 59) ---


void FUN_007862f0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9978;

  iVar3 = 3;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786330 at 0x00786330 (size: 59) ---


void FUN_00786330(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9990;

  iVar3 = 6;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786370 at 0x00786370 (size: 59) ---


void FUN_00786370(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined4 *puVar5;

  

  puVar5 = &DAT_008f999c;

  iVar3 = 3;

  do {

    piVar1 = puVar5 + -1;

    puVar5 = puVar5 + -1;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_007863b0 at 0x007863B0 (size: 38) ---


void FUN_007863b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f999c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f999c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007863e0 at 0x007863E0 (size: 38) ---


void FUN_007863e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f99a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f99a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786410 at 0x00786410 (size: 38) ---


void FUN_00786410(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f99a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f99a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786440 at 0x00786440 (size: 38) ---


void FUN_00786440(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f99a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f99a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786470 at 0x00786470 (size: 38) ---


void FUN_00786470(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f99ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f99ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007864a0 at 0x007864A0 (size: 38) ---


void FUN_007864a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f99b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f99b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007864d0 at 0x007864D0 (size: 38) ---


void FUN_007864d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f99b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f99b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786500 at 0x00786500 (size: 38) ---


void FUN_00786500(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f99b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f99b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786530 at 0x00786530 (size: 38) ---


void FUN_00786530(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f99bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f99bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786560 at 0x00786560 (size: 1) ---


void FUN_00786560(void)



{

  return;

}





// --- FUN_00786570 at 0x00786570 (size: 1) ---


void FUN_00786570(void)



{

  return;

}





// --- FUN_00786580 at 0x00786580 (size: 38) ---


void FUN_00786580(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a5c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a5c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007865b0 at 0x007865B0 (size: 38) ---


void FUN_007865b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a60 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a60 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007865e0 at 0x007865E0 (size: 38) ---


void FUN_007865e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a64 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a64 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786610 at 0x00786610 (size: 38) ---


void FUN_00786610(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a68 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a68 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786640 at 0x00786640 (size: 38) ---


void FUN_00786640(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a6c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a6c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786670 at 0x00786670 (size: 38) ---


void FUN_00786670(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a70 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a70 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007866a0 at 0x007866A0 (size: 38) ---


void FUN_007866a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a74 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a74 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007866d0 at 0x007866D0 (size: 38) ---


void FUN_007866d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a78 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a78 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786700 at 0x00786700 (size: 38) ---


void FUN_00786700(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9a7c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9a7c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786730 at 0x00786730 (size: 31) ---


void FUN_00786730(void)



{

  if ((DAT_008f9a94 & 0x80000000) == 0x80000000) {

    operator_delete__(DAT_008f9a90);

  }

  return;

}





// --- FUN_00786750 at 0x00786750 (size: 38) ---


void FUN_00786750(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9af0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9af0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786780 at 0x00786780 (size: 38) ---


void FUN_00786780(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9af4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9af4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007867b0 at 0x007867B0 (size: 38) ---


void FUN_007867b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9af8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9af8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007867e0 at 0x007867E0 (size: 38) ---


void FUN_007867e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9afc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9afc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786810 at 0x00786810 (size: 38) ---


void FUN_00786810(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9b00 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9b00 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786840 at 0x00786840 (size: 38) ---


void FUN_00786840(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9b04 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9b04 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786870 at 0x00786870 (size: 38) ---


void FUN_00786870(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9b08 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9b08 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007868a0 at 0x007868A0 (size: 38) ---


void FUN_007868a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9b0c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9b0c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007868d0 at 0x007868D0 (size: 38) ---


void FUN_007868d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9b10 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9b10 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786900 at 0x00786900 (size: 1) ---


void FUN_00786900(void)



{

  return;

}





// --- FUN_00786910 at 0x00786910 (size: 38) ---


void FUN_00786910(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bc4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bc4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786940 at 0x00786940 (size: 38) ---


void FUN_00786940(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bc8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bc8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786970 at 0x00786970 (size: 38) ---


void FUN_00786970(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bcc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bcc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007869a0 at 0x007869A0 (size: 38) ---


void FUN_007869a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bd0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bd0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007869d0 at 0x007869D0 (size: 38) ---


void FUN_007869d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bd4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bd4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786a00 at 0x00786A00 (size: 38) ---


void FUN_00786a00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bd8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bd8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786a30 at 0x00786A30 (size: 38) ---


void FUN_00786a30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bdc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bdc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786a60 at 0x00786A60 (size: 38) ---


void FUN_00786a60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9be0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9be0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786a90 at 0x00786A90 (size: 38) ---


void FUN_00786a90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9be4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9be4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786ac0 at 0x00786AC0 (size: 38) ---


void FUN_00786ac0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9be8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9be8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786af0 at 0x00786AF0 (size: 38) ---


void FUN_00786af0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786b20 at 0x00786B20 (size: 38) ---


void FUN_00786b20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bf0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bf0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786b50 at 0x00786B50 (size: 38) ---


void FUN_00786b50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bf4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bf4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786b80 at 0x00786B80 (size: 38) ---


void FUN_00786b80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bf8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bf8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786bb0 at 0x00786BB0 (size: 38) ---


void FUN_00786bb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9bfc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9bfc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786be0 at 0x00786BE0 (size: 38) ---


void FUN_00786be0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c00 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c00 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786c10 at 0x00786C10 (size: 59) ---


void FUN_00786c10(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9c14;

  iVar3 = 4;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786c50 at 0x00786C50 (size: 59) ---


void FUN_00786c50(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9c28;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786c90 at 0x00786C90 (size: 59) ---


void FUN_00786c90(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9c3c;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786cd0 at 0x00786CD0 (size: 59) ---


void FUN_00786cd0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9c48;

  iVar3 = 3;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786d10 at 0x00786D10 (size: 59) ---


void FUN_00786d10(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9c60;

  iVar3 = 6;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786d50 at 0x00786D50 (size: 59) ---


void FUN_00786d50(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined4 *puVar5;

  

  puVar5 = &DAT_008f9c6c;

  iVar3 = 3;

  do {

    piVar1 = puVar5 + -1;

    puVar5 = puVar5 + -1;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00786d90 at 0x00786D90 (size: 38) ---


void FUN_00786d90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c6c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c6c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786dc0 at 0x00786DC0 (size: 38) ---


void FUN_00786dc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c70 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c70 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786df0 at 0x00786DF0 (size: 38) ---


void FUN_00786df0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c74 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c74 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786e20 at 0x00786E20 (size: 38) ---


void FUN_00786e20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c78 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c78 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786e50 at 0x00786E50 (size: 38) ---


void FUN_00786e50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c7c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c7c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786e80 at 0x00786E80 (size: 38) ---


void FUN_00786e80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c80 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c80 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786eb0 at 0x00786EB0 (size: 38) ---


void FUN_00786eb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c84 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c84 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786ee0 at 0x00786EE0 (size: 38) ---


void FUN_00786ee0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c88 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c88 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786f10 at 0x00786F10 (size: 38) ---


void FUN_00786f10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9c8c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9c8c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786f40 at 0x00786F40 (size: 1) ---


void FUN_00786f40(void)



{

  return;

}





// --- FUN_00786f50 at 0x00786F50 (size: 38) ---


void FUN_00786f50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9cac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9cac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786f80 at 0x00786F80 (size: 38) ---


void FUN_00786f80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9cb0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9cb0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786fb0 at 0x00786FB0 (size: 38) ---


void FUN_00786fb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9cb4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9cb4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00786fe0 at 0x00786FE0 (size: 38) ---


void FUN_00786fe0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9cb8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9cb8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787010 at 0x00787010 (size: 38) ---


void FUN_00787010(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9cbc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9cbc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787040 at 0x00787040 (size: 38) ---


void FUN_00787040(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9cc0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9cc0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787070 at 0x00787070 (size: 38) ---


void FUN_00787070(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9cc4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9cc4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007870a0 at 0x007870A0 (size: 38) ---


void FUN_007870a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9cc8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9cc8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007870d0 at 0x007870D0 (size: 38) ---


void FUN_007870d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ccc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ccc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787100 at 0x00787100 (size: 38) ---


void FUN_00787100(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d1c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d1c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787130 at 0x00787130 (size: 38) ---


void FUN_00787130(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d20 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d20 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787160 at 0x00787160 (size: 38) ---


void FUN_00787160(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d24 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d24 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787190 at 0x00787190 (size: 38) ---


void FUN_00787190(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d28 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d28 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007871c0 at 0x007871C0 (size: 38) ---


void FUN_007871c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d2c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d2c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007871f0 at 0x007871F0 (size: 38) ---


void FUN_007871f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d30 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d30 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787220 at 0x00787220 (size: 38) ---


void FUN_00787220(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d34 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d34 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787250 at 0x00787250 (size: 38) ---


void FUN_00787250(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d38 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d38 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787280 at 0x00787280 (size: 38) ---


void FUN_00787280(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d3c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d3c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007872b0 at 0x007872B0 (size: 38) ---


void FUN_007872b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d40 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d40 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007872e0 at 0x007872E0 (size: 38) ---


void FUN_007872e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d44 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d44 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787310 at 0x00787310 (size: 38) ---


void FUN_00787310(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d48 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d48 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787340 at 0x00787340 (size: 38) ---


void FUN_00787340(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d4c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d4c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787370 at 0x00787370 (size: 38) ---


void FUN_00787370(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d50 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d50 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007873a0 at 0x007873A0 (size: 38) ---


void FUN_007873a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d54 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d54 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007873d0 at 0x007873D0 (size: 38) ---


void FUN_007873d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9d58 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9d58 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787400 at 0x00787400 (size: 59) ---


void FUN_00787400(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9d6c;

  iVar3 = 4;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787440 at 0x00787440 (size: 59) ---


void FUN_00787440(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9d80;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787480 at 0x00787480 (size: 59) ---


void FUN_00787480(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9d94;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_007874c0 at 0x007874C0 (size: 59) ---


void FUN_007874c0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9da0;

  iVar3 = 3;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787500 at 0x00787500 (size: 59) ---


void FUN_00787500(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9db8;

  iVar3 = 6;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787540 at 0x00787540 (size: 59) ---


void FUN_00787540(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9dc4;

  iVar3 = 3;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787580 at 0x00787580 (size: 1) ---


void FUN_00787580(void)



{

  return;

}





// --- FUN_00787590 at 0x00787590 (size: 38) ---


void FUN_00787590(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e2c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e2c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007875c0 at 0x007875C0 (size: 38) ---


void FUN_007875c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e30 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e30 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007875f0 at 0x007875F0 (size: 38) ---


void FUN_007875f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e34 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e34 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787620 at 0x00787620 (size: 38) ---


void FUN_00787620(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e38 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e38 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787650 at 0x00787650 (size: 38) ---


void FUN_00787650(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e3c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e3c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787680 at 0x00787680 (size: 38) ---


void FUN_00787680(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e40 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e40 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007876b0 at 0x007876B0 (size: 38) ---


void FUN_007876b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e44 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e44 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007876e0 at 0x007876E0 (size: 38) ---


void FUN_007876e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e48 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e48 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787710 at 0x00787710 (size: 38) ---


void FUN_00787710(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e4c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e4c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787740 at 0x00787740 (size: 38) ---


void FUN_00787740(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e50 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e50 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787770 at 0x00787770 (size: 38) ---


void FUN_00787770(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e54 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e54 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007877a0 at 0x007877A0 (size: 38) ---


void FUN_007877a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e58 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e58 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007877d0 at 0x007877D0 (size: 38) ---


void FUN_007877d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e5c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e5c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787800 at 0x00787800 (size: 38) ---


void FUN_00787800(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e60 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e60 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787830 at 0x00787830 (size: 38) ---


void FUN_00787830(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e64 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e64 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787860 at 0x00787860 (size: 38) ---


void FUN_00787860(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9e68 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9e68 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787890 at 0x00787890 (size: 59) ---


void FUN_00787890(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9e7c;

  iVar3 = 4;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_007878d0 at 0x007878D0 (size: 59) ---


void FUN_007878d0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9e90;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787910 at 0x00787910 (size: 59) ---


void FUN_00787910(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9ea4;

  iVar3 = 5;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787950 at 0x00787950 (size: 59) ---


void FUN_00787950(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9eb0;

  iVar3 = 3;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787990 at 0x00787990 (size: 59) ---


void FUN_00787990(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined *puVar5;

  

  puVar5 = &DAT_008f9ec8;

  iVar3 = 6;

  do {

    piVar1 = (int *)(puVar5 + -4);

    puVar5 = puVar5 + -4;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_007879d0 at 0x007879D0 (size: 59) ---


void FUN_007879d0(void)



{

  int *piVar1;

  LONG LVar2;

  int iVar3;

  undefined4 *puVar4;

  undefined4 *puVar5;

  

  puVar5 = &DAT_008f9ed4;

  iVar3 = 3;

  do {

    piVar1 = puVar5 + -1;

    puVar5 = puVar5 + -1;

    puVar4 = (undefined4 *)(*piVar1 + -0x14);

    LVar2 = InterlockedDecrement((LONG *)(*piVar1 + -0x10));

    if ((LVar2 == 0) && (puVar4 != (undefined4 *)0x0)) {

      (**(code **)*puVar4)(1);

    }

    iVar3 = iVar3 + -1;

  } while (iVar3 != 0);

  return;

}





// --- FUN_00787a10 at 0x00787A10 (size: 38) ---


void FUN_00787a10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ed4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ed4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787a40 at 0x00787A40 (size: 38) ---


void FUN_00787a40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ed8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ed8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787a70 at 0x00787A70 (size: 38) ---


void FUN_00787a70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9edc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9edc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787aa0 at 0x00787AA0 (size: 38) ---


void FUN_00787aa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ee0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ee0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787ad0 at 0x00787AD0 (size: 38) ---


void FUN_00787ad0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ee4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ee4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787b00 at 0x00787B00 (size: 38) ---


void FUN_00787b00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ee8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ee8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787b30 at 0x00787B30 (size: 38) ---


void FUN_00787b30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9eec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9eec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787b60 at 0x00787B60 (size: 38) ---


void FUN_00787b60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ef0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ef0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787b90 at 0x00787B90 (size: 38) ---


void FUN_00787b90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ef4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ef4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787bc0 at 0x00787BC0 (size: 1) ---


void FUN_00787bc0(void)



{

  return;

}





// --- FUN_00787bd0 at 0x00787BD0 (size: 38) ---


void FUN_00787bd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f40 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f40 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787c00 at 0x00787C00 (size: 38) ---


void FUN_00787c00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f44 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f44 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787c30 at 0x00787C30 (size: 38) ---


void FUN_00787c30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f48 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f48 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787c60 at 0x00787C60 (size: 38) ---


void FUN_00787c60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f4c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f4c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787c90 at 0x00787C90 (size: 38) ---


void FUN_00787c90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f50 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f50 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787cc0 at 0x00787CC0 (size: 38) ---


void FUN_00787cc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f54 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f54 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787cf0 at 0x00787CF0 (size: 38) ---


void FUN_00787cf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f58 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f58 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787d20 at 0x00787D20 (size: 38) ---


void FUN_00787d20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f5c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f5c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787d50 at 0x00787D50 (size: 38) ---


void FUN_00787d50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f60 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f60 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787d80 at 0x00787D80 (size: 38) ---


void FUN_00787d80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f64 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f64 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787db0 at 0x00787DB0 (size: 38) ---


void FUN_00787db0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f68 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f68 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787de0 at 0x00787DE0 (size: 38) ---


void FUN_00787de0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f6c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f6c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787e10 at 0x00787E10 (size: 38) ---


void FUN_00787e10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f70 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f70 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787e40 at 0x00787E40 (size: 38) ---


void FUN_00787e40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f74 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f74 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787e70 at 0x00787E70 (size: 38) ---


void FUN_00787e70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f78 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f78 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787ea0 at 0x00787EA0 (size: 38) ---


void FUN_00787ea0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f7c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f7c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787ed0 at 0x00787ED0 (size: 38) ---


void FUN_00787ed0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f80 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f80 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787f00 at 0x00787F00 (size: 38) ---


void FUN_00787f00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f84 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f84 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787f30 at 0x00787F30 (size: 38) ---


void FUN_00787f30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f88 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f88 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787f60 at 0x00787F60 (size: 38) ---


void FUN_00787f60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f8c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f8c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787f90 at 0x00787F90 (size: 38) ---


void FUN_00787f90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f90 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f90 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787fc0 at 0x00787FC0 (size: 38) ---


void FUN_00787fc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f94 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f94 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00787ff0 at 0x00787FF0 (size: 38) ---


void FUN_00787ff0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f98 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f98 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788020 at 0x00788020 (size: 38) ---


void FUN_00788020(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9f9c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9f9c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788050 at 0x00788050 (size: 38) ---


void FUN_00788050(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fa0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fa0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788080 at 0x00788080 (size: 38) ---


void FUN_00788080(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fa4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fa4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007880b0 at 0x007880B0 (size: 38) ---


void FUN_007880b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fa8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fa8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007880e0 at 0x007880E0 (size: 38) ---


void FUN_007880e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788110 at 0x00788110 (size: 38) ---


void FUN_00788110(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fb0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fb0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788140 at 0x00788140 (size: 38) ---


void FUN_00788140(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fb4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fb4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788170 at 0x00788170 (size: 38) ---


void FUN_00788170(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fb8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fb8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007881a0 at 0x007881A0 (size: 38) ---


void FUN_007881a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fbc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fbc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007881d0 at 0x007881D0 (size: 38) ---


void FUN_007881d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fc0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fc0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788200 at 0x00788200 (size: 38) ---


void FUN_00788200(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fc4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fc4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788230 at 0x00788230 (size: 38) ---


void FUN_00788230(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fc8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fc8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788260 at 0x00788260 (size: 38) ---


void FUN_00788260(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fcc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fcc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788290 at 0x00788290 (size: 38) ---


void FUN_00788290(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fd0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fd0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007882c0 at 0x007882C0 (size: 38) ---


void FUN_007882c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fd4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fd4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007882f0 at 0x007882F0 (size: 38) ---


void FUN_007882f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fd8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fd8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788320 at 0x00788320 (size: 38) ---


void FUN_00788320(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fdc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fdc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788350 at 0x00788350 (size: 38) ---


void FUN_00788350(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fe0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fe0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788380 at 0x00788380 (size: 38) ---


void FUN_00788380(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fe4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fe4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007883b0 at 0x007883B0 (size: 38) ---


void FUN_007883b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fe8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fe8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007883e0 at 0x007883E0 (size: 38) ---


void FUN_007883e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9fec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9fec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788410 at 0x00788410 (size: 38) ---


void FUN_00788410(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ff0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ff0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788440 at 0x00788440 (size: 38) ---


void FUN_00788440(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ff4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ff4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788470 at 0x00788470 (size: 38) ---


void FUN_00788470(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ff8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ff8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007884a0 at 0x007884A0 (size: 38) ---


void FUN_007884a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008f9ffc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008f9ffc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007884d0 at 0x007884D0 (size: 38) ---


void FUN_007884d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa000 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa000 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788500 at 0x00788500 (size: 38) ---


void FUN_00788500(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa004 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa004 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788530 at 0x00788530 (size: 38) ---


void FUN_00788530(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa008 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa008 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788560 at 0x00788560 (size: 74) ---


/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */



void FUN_00788560(void)



{

  PTR_PTR_00835a78 = (undefined *)&PTR_FUN_00801c58;

  FUN_0069b1d0();

  _DAT_00835a7c = &PTR_FUN_00801c50;

  if (DAT_00835adc != &DAT_00835a80) {

    operator_delete__(DAT_00835adc);

  }

  DAT_00835adc = (undefined *)0x0;

  _DAT_00835ae0 = 0;

  _DAT_00835ae4 = 0;

  _DAT_00835ae8 = 0;

  return;

}





// --- FUN_007885b0 at 0x007885B0 (size: 1) ---


void FUN_007885b0(void)



{

  return;

}





// --- FUN_007885c0 at 0x007885C0 (size: 38) ---


void FUN_007885c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa014 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa014 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007885f0 at 0x007885F0 (size: 38) ---


void FUN_007885f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa018 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa018 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788620 at 0x00788620 (size: 38) ---


void FUN_00788620(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa01c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa01c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788650 at 0x00788650 (size: 38) ---


void FUN_00788650(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa020 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa020 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788680 at 0x00788680 (size: 38) ---


void FUN_00788680(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa024 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa024 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007886b0 at 0x007886B0 (size: 38) ---


void FUN_007886b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa028 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa028 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007886e0 at 0x007886E0 (size: 38) ---


void FUN_007886e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa02c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa02c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788710 at 0x00788710 (size: 38) ---


void FUN_00788710(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa030 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa030 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788740 at 0x00788740 (size: 38) ---


void FUN_00788740(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa034 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa034 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788770 at 0x00788770 (size: 38) ---


void FUN_00788770(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa038 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa038 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007887a0 at 0x007887A0 (size: 38) ---


void FUN_007887a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa03c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa03c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007887d0 at 0x007887D0 (size: 38) ---


void FUN_007887d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa040 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa040 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788800 at 0x00788800 (size: 38) ---


void FUN_00788800(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa044 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa044 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788830 at 0x00788830 (size: 38) ---


void FUN_00788830(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa048 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa048 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788860 at 0x00788860 (size: 38) ---


void FUN_00788860(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa04c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa04c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788890 at 0x00788890 (size: 38) ---


void FUN_00788890(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa050 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa050 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007888c0 at 0x007888C0 (size: 38) ---


void FUN_007888c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa054 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa054 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007888f0 at 0x007888F0 (size: 38) ---


void FUN_007888f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa058 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa058 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788920 at 0x00788920 (size: 38) ---


void FUN_00788920(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa05c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa05c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788950 at 0x00788950 (size: 38) ---


void FUN_00788950(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa060 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa060 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788980 at 0x00788980 (size: 38) ---


void FUN_00788980(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa064 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa064 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007889b0 at 0x007889B0 (size: 38) ---


void FUN_007889b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa068 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa068 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007889e0 at 0x007889E0 (size: 38) ---


void FUN_007889e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa06c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa06c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788a10 at 0x00788A10 (size: 38) ---


void FUN_00788a10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa070 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa070 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788a40 at 0x00788A40 (size: 38) ---


void FUN_00788a40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa074 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa074 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788a70 at 0x00788A70 (size: 38) ---


void FUN_00788a70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa078 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa078 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788aa0 at 0x00788AA0 (size: 38) ---


void FUN_00788aa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa07c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa07c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788ad0 at 0x00788AD0 (size: 38) ---


void FUN_00788ad0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa080 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa080 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788b00 at 0x00788B00 (size: 38) ---


void FUN_00788b00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa084 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa084 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788b30 at 0x00788B30 (size: 38) ---


void FUN_00788b30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa088 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa088 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788b60 at 0x00788B60 (size: 38) ---


void FUN_00788b60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa08c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa08c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788b90 at 0x00788B90 (size: 38) ---


void FUN_00788b90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa090 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa090 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788bc0 at 0x00788BC0 (size: 38) ---


void FUN_00788bc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa094 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa094 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788bf0 at 0x00788BF0 (size: 38) ---


void FUN_00788bf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa098 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa098 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788c20 at 0x00788C20 (size: 38) ---


void FUN_00788c20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa09c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa09c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788c50 at 0x00788C50 (size: 38) ---


void FUN_00788c50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788c80 at 0x00788C80 (size: 38) ---


void FUN_00788c80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788cb0 at 0x00788CB0 (size: 38) ---


void FUN_00788cb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788ce0 at 0x00788CE0 (size: 38) ---


void FUN_00788ce0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788d10 at 0x00788D10 (size: 38) ---


void FUN_00788d10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788d40 at 0x00788D40 (size: 38) ---


void FUN_00788d40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788d70 at 0x00788D70 (size: 38) ---


void FUN_00788d70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788da0 at 0x00788DA0 (size: 38) ---


void FUN_00788da0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788dd0 at 0x00788DD0 (size: 38) ---


void FUN_00788dd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788e00 at 0x00788E00 (size: 38) ---


void FUN_00788e00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788e30 at 0x00788E30 (size: 38) ---


void FUN_00788e30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788e60 at 0x00788E60 (size: 38) ---


void FUN_00788e60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788e90 at 0x00788E90 (size: 38) ---


void FUN_00788e90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788ec0 at 0x00788EC0 (size: 38) ---


void FUN_00788ec0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788ef0 at 0x00788EF0 (size: 38) ---


void FUN_00788ef0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788f20 at 0x00788F20 (size: 38) ---


void FUN_00788f20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788f50 at 0x00788F50 (size: 38) ---


void FUN_00788f50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788f80 at 0x00788F80 (size: 38) ---


void FUN_00788f80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788fb0 at 0x00788FB0 (size: 38) ---


void FUN_00788fb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00788fe0 at 0x00788FE0 (size: 38) ---


void FUN_00788fe0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789010 at 0x00789010 (size: 38) ---


void FUN_00789010(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789040 at 0x00789040 (size: 38) ---


void FUN_00789040(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa0fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa0fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789070 at 0x00789070 (size: 38) ---


void FUN_00789070(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa100 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa100 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007890a0 at 0x007890A0 (size: 38) ---


void FUN_007890a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa104 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa104 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007890d0 at 0x007890D0 (size: 38) ---


void FUN_007890d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa108 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa108 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789100 at 0x00789100 (size: 38) ---


void FUN_00789100(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa10c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa10c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789130 at 0x00789130 (size: 38) ---


void FUN_00789130(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa110 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa110 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789160 at 0x00789160 (size: 38) ---


void FUN_00789160(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa114 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa114 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789190 at 0x00789190 (size: 38) ---


void FUN_00789190(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa118 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa118 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007891c0 at 0x007891C0 (size: 38) ---


void FUN_007891c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa11c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa11c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007891f0 at 0x007891F0 (size: 38) ---


void FUN_007891f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa120 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa120 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789220 at 0x00789220 (size: 38) ---


void FUN_00789220(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa124 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa124 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789250 at 0x00789250 (size: 38) ---


void FUN_00789250(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa128 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa128 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789280 at 0x00789280 (size: 38) ---


void FUN_00789280(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa12c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa12c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007892b0 at 0x007892B0 (size: 38) ---


void FUN_007892b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa130 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa130 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007892e0 at 0x007892E0 (size: 38) ---


void FUN_007892e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa134 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa134 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789310 at 0x00789310 (size: 38) ---


void FUN_00789310(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa138 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa138 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789340 at 0x00789340 (size: 38) ---


void FUN_00789340(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa13c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa13c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789370 at 0x00789370 (size: 38) ---


void FUN_00789370(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa140 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa140 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007893a0 at 0x007893A0 (size: 38) ---


void FUN_007893a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa144 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa144 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007893d0 at 0x007893D0 (size: 38) ---


void FUN_007893d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa148 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa148 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789400 at 0x00789400 (size: 38) ---


void FUN_00789400(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa14c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa14c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789430 at 0x00789430 (size: 38) ---


void FUN_00789430(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa150 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa150 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789460 at 0x00789460 (size: 38) ---


void FUN_00789460(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa154 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa154 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789490 at 0x00789490 (size: 38) ---


void FUN_00789490(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa158 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa158 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007894c0 at 0x007894C0 (size: 38) ---


void FUN_007894c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa15c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa15c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007894f0 at 0x007894F0 (size: 38) ---


void FUN_007894f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa160 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa160 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789520 at 0x00789520 (size: 38) ---


void FUN_00789520(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa164 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa164 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789550 at 0x00789550 (size: 38) ---


void FUN_00789550(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa168 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa168 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789580 at 0x00789580 (size: 38) ---


void FUN_00789580(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa16c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa16c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007895b0 at 0x007895B0 (size: 38) ---


void FUN_007895b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa170 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa170 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007895e0 at 0x007895E0 (size: 38) ---


void FUN_007895e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa174 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa174 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789610 at 0x00789610 (size: 38) ---


void FUN_00789610(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa178 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa178 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789640 at 0x00789640 (size: 38) ---


void FUN_00789640(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa17c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa17c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789670 at 0x00789670 (size: 38) ---


void FUN_00789670(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa180 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa180 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007896a0 at 0x007896A0 (size: 38) ---


void FUN_007896a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa184 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa184 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007896d0 at 0x007896D0 (size: 38) ---


void FUN_007896d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa188 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa188 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789700 at 0x00789700 (size: 38) ---


void FUN_00789700(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa18c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa18c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789730 at 0x00789730 (size: 38) ---


void FUN_00789730(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa190 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa190 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789760 at 0x00789760 (size: 38) ---


void FUN_00789760(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa194 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa194 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789790 at 0x00789790 (size: 38) ---


void FUN_00789790(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa198 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa198 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007897c0 at 0x007897C0 (size: 38) ---


void FUN_007897c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa19c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa19c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007897f0 at 0x007897F0 (size: 38) ---


void FUN_007897f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789820 at 0x00789820 (size: 38) ---


void FUN_00789820(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789850 at 0x00789850 (size: 38) ---


void FUN_00789850(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789880 at 0x00789880 (size: 38) ---


void FUN_00789880(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007898b0 at 0x007898B0 (size: 38) ---


void FUN_007898b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007898e0 at 0x007898E0 (size: 1) ---


void FUN_007898e0(void)



{

  return;

}





// --- FUN_007898f0 at 0x007898F0 (size: 38) ---


void FUN_007898f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789920 at 0x00789920 (size: 38) ---


void FUN_00789920(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789950 at 0x00789950 (size: 38) ---


void FUN_00789950(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789980 at 0x00789980 (size: 38) ---


void FUN_00789980(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007899b0 at 0x007899B0 (size: 38) ---


void FUN_007899b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_007899e0 at 0x007899E0 (size: 38) ---


void FUN_007899e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789a10 at 0x00789A10 (size: 38) ---


void FUN_00789a10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789a40 at 0x00789A40 (size: 38) ---


void FUN_00789a40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789a70 at 0x00789A70 (size: 38) ---


void FUN_00789a70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789aa0 at 0x00789AA0 (size: 38) ---


void FUN_00789aa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789ad0 at 0x00789AD0 (size: 38) ---


void FUN_00789ad0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789b00 at 0x00789B00 (size: 38) ---


void FUN_00789b00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789b30 at 0x00789B30 (size: 38) ---


void FUN_00789b30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789b60 at 0x00789B60 (size: 38) ---


void FUN_00789b60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789b90 at 0x00789B90 (size: 38) ---


void FUN_00789b90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789bc0 at 0x00789BC0 (size: 38) ---


void FUN_00789bc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789bf0 at 0x00789BF0 (size: 38) ---


void FUN_00789bf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789c20 at 0x00789C20 (size: 38) ---


void FUN_00789c20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa1fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa1fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789c50 at 0x00789C50 (size: 38) ---


void FUN_00789c50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa200 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa200 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789c80 at 0x00789C80 (size: 38) ---


void FUN_00789c80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa204 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa204 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789cb0 at 0x00789CB0 (size: 38) ---


void FUN_00789cb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa208 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa208 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789ce0 at 0x00789CE0 (size: 38) ---


void FUN_00789ce0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa20c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa20c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789d10 at 0x00789D10 (size: 38) ---


void FUN_00789d10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa210 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa210 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789d40 at 0x00789D40 (size: 38) ---


void FUN_00789d40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa214 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa214 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789d70 at 0x00789D70 (size: 38) ---


void FUN_00789d70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa218 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa218 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789da0 at 0x00789DA0 (size: 38) ---


void FUN_00789da0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa21c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa21c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789dd0 at 0x00789DD0 (size: 38) ---


void FUN_00789dd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa220 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa220 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789e00 at 0x00789E00 (size: 38) ---


void FUN_00789e00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa224 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa224 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789e30 at 0x00789E30 (size: 38) ---


void FUN_00789e30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa228 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa228 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789e60 at 0x00789E60 (size: 38) ---


void FUN_00789e60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa22c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa22c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789e90 at 0x00789E90 (size: 38) ---


void FUN_00789e90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa230 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa230 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789ec0 at 0x00789EC0 (size: 38) ---


void FUN_00789ec0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa234 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa234 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789ef0 at 0x00789EF0 (size: 38) ---


void FUN_00789ef0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa238 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa238 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789f20 at 0x00789F20 (size: 38) ---


void FUN_00789f20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa23c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa23c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789f50 at 0x00789F50 (size: 38) ---


void FUN_00789f50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa240 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa240 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789f80 at 0x00789F80 (size: 38) ---


void FUN_00789f80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa244 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa244 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789fb0 at 0x00789FB0 (size: 38) ---


void FUN_00789fb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa248 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa248 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_00789fe0 at 0x00789FE0 (size: 38) ---


void FUN_00789fe0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa24c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa24c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a010 at 0x0078A010 (size: 38) ---


void FUN_0078a010(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa250 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa250 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a040 at 0x0078A040 (size: 38) ---


void FUN_0078a040(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa254 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa254 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a070 at 0x0078A070 (size: 38) ---


void FUN_0078a070(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa258 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa258 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a0a0 at 0x0078A0A0 (size: 38) ---


void FUN_0078a0a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa25c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa25c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a0d0 at 0x0078A0D0 (size: 38) ---


void FUN_0078a0d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa260 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa260 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a100 at 0x0078A100 (size: 38) ---


void FUN_0078a100(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa264 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa264 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a130 at 0x0078A130 (size: 38) ---


void FUN_0078a130(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa268 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa268 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a160 at 0x0078A160 (size: 38) ---


void FUN_0078a160(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa26c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa26c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a190 at 0x0078A190 (size: 38) ---


void FUN_0078a190(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa270 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa270 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a1c0 at 0x0078A1C0 (size: 38) ---


void FUN_0078a1c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa274 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa274 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a1f0 at 0x0078A1F0 (size: 38) ---


void FUN_0078a1f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa278 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa278 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a220 at 0x0078A220 (size: 38) ---


void FUN_0078a220(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa27c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa27c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a250 at 0x0078A250 (size: 38) ---


void FUN_0078a250(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa280 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa280 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a280 at 0x0078A280 (size: 1) ---


void FUN_0078a280(void)



{

  return;

}





// --- FUN_0078a290 at 0x0078A290 (size: 38) ---


void FUN_0078a290(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a2c0 at 0x0078A2C0 (size: 38) ---


void FUN_0078a2c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a2f0 at 0x0078A2F0 (size: 38) ---


void FUN_0078a2f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a320 at 0x0078A320 (size: 38) ---


void FUN_0078a320(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a350 at 0x0078A350 (size: 38) ---


void FUN_0078a350(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a380 at 0x0078A380 (size: 38) ---


void FUN_0078a380(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a3b0 at 0x0078A3B0 (size: 38) ---


void FUN_0078a3b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a3e0 at 0x0078A3E0 (size: 38) ---


void FUN_0078a3e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a410 at 0x0078A410 (size: 38) ---


void FUN_0078a410(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a440 at 0x0078A440 (size: 38) ---


void FUN_0078a440(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a470 at 0x0078A470 (size: 38) ---


void FUN_0078a470(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa2fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa2fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a4a0 at 0x0078A4A0 (size: 38) ---


void FUN_0078a4a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa300 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa300 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a4d0 at 0x0078A4D0 (size: 38) ---


void FUN_0078a4d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa304 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa304 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a500 at 0x0078A500 (size: 38) ---


void FUN_0078a500(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa308 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa308 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a530 at 0x0078A530 (size: 38) ---


void FUN_0078a530(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa30c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa30c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a560 at 0x0078A560 (size: 38) ---


void FUN_0078a560(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa310 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa310 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a590 at 0x0078A590 (size: 38) ---


void FUN_0078a590(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa314 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa314 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a5c0 at 0x0078A5C0 (size: 38) ---


void FUN_0078a5c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa318 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa318 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a5f0 at 0x0078A5F0 (size: 38) ---


void FUN_0078a5f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa31c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa31c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a620 at 0x0078A620 (size: 38) ---


void FUN_0078a620(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa320 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa320 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a650 at 0x0078A650 (size: 38) ---


void FUN_0078a650(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa324 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa324 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a680 at 0x0078A680 (size: 38) ---


void FUN_0078a680(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa328 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa328 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a6b0 at 0x0078A6B0 (size: 38) ---


void FUN_0078a6b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa32c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa32c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a6e0 at 0x0078A6E0 (size: 38) ---


void FUN_0078a6e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa330 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa330 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a710 at 0x0078A710 (size: 38) ---


void FUN_0078a710(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa334 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa334 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a740 at 0x0078A740 (size: 38) ---


void FUN_0078a740(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa338 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa338 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a770 at 0x0078A770 (size: 38) ---


void FUN_0078a770(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa33c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa33c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a7a0 at 0x0078A7A0 (size: 38) ---


void FUN_0078a7a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa340 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa340 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a7d0 at 0x0078A7D0 (size: 38) ---


void FUN_0078a7d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa344 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa344 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a800 at 0x0078A800 (size: 38) ---


void FUN_0078a800(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa348 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa348 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a830 at 0x0078A830 (size: 38) ---


void FUN_0078a830(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa34c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa34c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a860 at 0x0078A860 (size: 38) ---


void FUN_0078a860(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa350 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa350 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a890 at 0x0078A890 (size: 38) ---


void FUN_0078a890(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa354 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa354 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a8c0 at 0x0078A8C0 (size: 38) ---


void FUN_0078a8c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa358 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa358 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a8f0 at 0x0078A8F0 (size: 38) ---


void FUN_0078a8f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa35c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa35c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a920 at 0x0078A920 (size: 38) ---


void FUN_0078a920(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa360 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa360 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a950 at 0x0078A950 (size: 38) ---


void FUN_0078a950(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa364 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa364 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a980 at 0x0078A980 (size: 38) ---


void FUN_0078a980(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa368 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa368 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a9b0 at 0x0078A9B0 (size: 38) ---


void FUN_0078a9b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa36c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa36c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078a9e0 at 0x0078A9E0 (size: 38) ---


void FUN_0078a9e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa370 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa370 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078aa10 at 0x0078AA10 (size: 38) ---


void FUN_0078aa10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa374 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa374 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078aa40 at 0x0078AA40 (size: 38) ---


void FUN_0078aa40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa378 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa378 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078aa70 at 0x0078AA70 (size: 38) ---


void FUN_0078aa70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa37c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa37c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078aaa0 at 0x0078AAA0 (size: 38) ---


void FUN_0078aaa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa380 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa380 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078aad0 at 0x0078AAD0 (size: 38) ---


void FUN_0078aad0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa384 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa384 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ab00 at 0x0078AB00 (size: 38) ---


void FUN_0078ab00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa388 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa388 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ab30 at 0x0078AB30 (size: 38) ---


void FUN_0078ab30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa38c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa38c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ab60 at 0x0078AB60 (size: 38) ---


void FUN_0078ab60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa390 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa390 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ab90 at 0x0078AB90 (size: 38) ---


void FUN_0078ab90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa394 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa394 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078abc0 at 0x0078ABC0 (size: 38) ---


void FUN_0078abc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa398 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa398 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078abf0 at 0x0078ABF0 (size: 38) ---


void FUN_0078abf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa39c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa39c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ac20 at 0x0078AC20 (size: 38) ---


void FUN_0078ac20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ac50 at 0x0078AC50 (size: 38) ---


void FUN_0078ac50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ac80 at 0x0078AC80 (size: 38) ---


void FUN_0078ac80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078acb0 at 0x0078ACB0 (size: 38) ---


void FUN_0078acb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ace0 at 0x0078ACE0 (size: 38) ---


void FUN_0078ace0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ad10 at 0x0078AD10 (size: 38) ---


void FUN_0078ad10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ad40 at 0x0078AD40 (size: 38) ---


void FUN_0078ad40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ad70 at 0x0078AD70 (size: 38) ---


void FUN_0078ad70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ada0 at 0x0078ADA0 (size: 38) ---


void FUN_0078ada0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078add0 at 0x0078ADD0 (size: 38) ---


void FUN_0078add0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ae00 at 0x0078AE00 (size: 38) ---


void FUN_0078ae00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ae30 at 0x0078AE30 (size: 38) ---


void FUN_0078ae30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ae60 at 0x0078AE60 (size: 38) ---


void FUN_0078ae60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ae90 at 0x0078AE90 (size: 38) ---


void FUN_0078ae90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078aec0 at 0x0078AEC0 (size: 38) ---


void FUN_0078aec0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078aef0 at 0x0078AEF0 (size: 38) ---


void FUN_0078aef0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078af20 at 0x0078AF20 (size: 38) ---


void FUN_0078af20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078af50 at 0x0078AF50 (size: 38) ---


void FUN_0078af50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078af80 at 0x0078AF80 (size: 38) ---


void FUN_0078af80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078afb0 at 0x0078AFB0 (size: 38) ---


void FUN_0078afb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078afe0 at 0x0078AFE0 (size: 38) ---


void FUN_0078afe0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b010 at 0x0078B010 (size: 38) ---


void FUN_0078b010(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b040 at 0x0078B040 (size: 38) ---


void FUN_0078b040(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa3fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa3fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b070 at 0x0078B070 (size: 38) ---


void FUN_0078b070(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa400 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa400 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b0a0 at 0x0078B0A0 (size: 38) ---


void FUN_0078b0a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa404 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa404 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b0d0 at 0x0078B0D0 (size: 38) ---


void FUN_0078b0d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa408 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa408 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b100 at 0x0078B100 (size: 38) ---


void FUN_0078b100(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa40c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa40c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b130 at 0x0078B130 (size: 38) ---


void FUN_0078b130(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa410 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa410 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b160 at 0x0078B160 (size: 38) ---


void FUN_0078b160(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa414 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa414 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b190 at 0x0078B190 (size: 38) ---


void FUN_0078b190(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa418 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa418 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b1c0 at 0x0078B1C0 (size: 38) ---


void FUN_0078b1c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa41c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa41c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b1f0 at 0x0078B1F0 (size: 38) ---


void FUN_0078b1f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa420 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa420 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b220 at 0x0078B220 (size: 38) ---


void FUN_0078b220(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa424 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa424 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b250 at 0x0078B250 (size: 38) ---


void FUN_0078b250(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa428 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa428 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b280 at 0x0078B280 (size: 38) ---


void FUN_0078b280(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa42c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa42c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b2b0 at 0x0078B2B0 (size: 38) ---


void FUN_0078b2b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa430 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa430 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b2e0 at 0x0078B2E0 (size: 38) ---


void FUN_0078b2e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa434 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa434 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b310 at 0x0078B310 (size: 38) ---


void FUN_0078b310(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa438 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa438 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b340 at 0x0078B340 (size: 38) ---


void FUN_0078b340(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa43c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa43c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b370 at 0x0078B370 (size: 38) ---


void FUN_0078b370(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa440 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa440 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b3a0 at 0x0078B3A0 (size: 38) ---


void FUN_0078b3a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa444 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa444 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b3d0 at 0x0078B3D0 (size: 38) ---


void FUN_0078b3d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa448 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa448 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b400 at 0x0078B400 (size: 38) ---


void FUN_0078b400(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa44c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa44c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b430 at 0x0078B430 (size: 38) ---


void FUN_0078b430(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa450 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa450 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b460 at 0x0078B460 (size: 38) ---


void FUN_0078b460(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa454 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa454 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b490 at 0x0078B490 (size: 38) ---


void FUN_0078b490(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa458 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa458 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b4c0 at 0x0078B4C0 (size: 38) ---


void FUN_0078b4c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa45c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa45c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b4f0 at 0x0078B4F0 (size: 38) ---


void FUN_0078b4f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa460 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa460 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b520 at 0x0078B520 (size: 38) ---


void FUN_0078b520(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa464 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa464 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b550 at 0x0078B550 (size: 38) ---


void FUN_0078b550(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa468 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa468 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b580 at 0x0078B580 (size: 38) ---


void FUN_0078b580(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa46c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa46c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b5b0 at 0x0078B5B0 (size: 1) ---


void FUN_0078b5b0(void)



{

  return;

}





// --- FUN_0078b5c0 at 0x0078B5C0 (size: 38) ---


void FUN_0078b5c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa474 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa474 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b5f0 at 0x0078B5F0 (size: 38) ---


void FUN_0078b5f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa478 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa478 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b620 at 0x0078B620 (size: 38) ---


void FUN_0078b620(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa47c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa47c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b650 at 0x0078B650 (size: 38) ---


void FUN_0078b650(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa480 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa480 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b680 at 0x0078B680 (size: 38) ---


void FUN_0078b680(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa484 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa484 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b6b0 at 0x0078B6B0 (size: 38) ---


void FUN_0078b6b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa488 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa488 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b6e0 at 0x0078B6E0 (size: 38) ---


void FUN_0078b6e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa48c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa48c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b710 at 0x0078B710 (size: 38) ---


void FUN_0078b710(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa490 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa490 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b740 at 0x0078B740 (size: 38) ---


void FUN_0078b740(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa494 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa494 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b770 at 0x0078B770 (size: 38) ---


void FUN_0078b770(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa498 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa498 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b7a0 at 0x0078B7A0 (size: 38) ---


void FUN_0078b7a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa49c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa49c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b7d0 at 0x0078B7D0 (size: 38) ---


void FUN_0078b7d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b800 at 0x0078B800 (size: 38) ---


void FUN_0078b800(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b830 at 0x0078B830 (size: 38) ---


void FUN_0078b830(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b860 at 0x0078B860 (size: 38) ---


void FUN_0078b860(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b890 at 0x0078B890 (size: 38) ---


void FUN_0078b890(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b8c0 at 0x0078B8C0 (size: 38) ---


void FUN_0078b8c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b8f0 at 0x0078B8F0 (size: 38) ---


void FUN_0078b8f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b920 at 0x0078B920 (size: 38) ---


void FUN_0078b920(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b950 at 0x0078B950 (size: 38) ---


void FUN_0078b950(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b980 at 0x0078B980 (size: 38) ---


void FUN_0078b980(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b9b0 at 0x0078B9B0 (size: 38) ---


void FUN_0078b9b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078b9e0 at 0x0078B9E0 (size: 38) ---


void FUN_0078b9e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ba10 at 0x0078BA10 (size: 38) ---


void FUN_0078ba10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ba40 at 0x0078BA40 (size: 38) ---


void FUN_0078ba40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ba70 at 0x0078BA70 (size: 38) ---


void FUN_0078ba70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078baa0 at 0x0078BAA0 (size: 38) ---


void FUN_0078baa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bad0 at 0x0078BAD0 (size: 38) ---


void FUN_0078bad0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bb00 at 0x0078BB00 (size: 38) ---


void FUN_0078bb00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bb30 at 0x0078BB30 (size: 38) ---


void FUN_0078bb30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bb60 at 0x0078BB60 (size: 38) ---


void FUN_0078bb60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bb90 at 0x0078BB90 (size: 38) ---


void FUN_0078bb90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bbc0 at 0x0078BBC0 (size: 38) ---


void FUN_0078bbc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bbf0 at 0x0078BBF0 (size: 38) ---


void FUN_0078bbf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bc20 at 0x0078BC20 (size: 38) ---


void FUN_0078bc20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa4fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa4fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bc50 at 0x0078BC50 (size: 38) ---


void FUN_0078bc50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa500 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa500 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bc80 at 0x0078BC80 (size: 38) ---


void FUN_0078bc80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa504 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa504 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bcb0 at 0x0078BCB0 (size: 38) ---


void FUN_0078bcb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa508 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa508 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bce0 at 0x0078BCE0 (size: 38) ---


void FUN_0078bce0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa50c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa50c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bd10 at 0x0078BD10 (size: 38) ---


void FUN_0078bd10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa510 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa510 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bd40 at 0x0078BD40 (size: 38) ---


void FUN_0078bd40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa514 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa514 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bd70 at 0x0078BD70 (size: 38) ---


void FUN_0078bd70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa518 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa518 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bda0 at 0x0078BDA0 (size: 38) ---


void FUN_0078bda0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa51c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa51c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bdd0 at 0x0078BDD0 (size: 38) ---


void FUN_0078bdd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa520 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa520 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078be00 at 0x0078BE00 (size: 38) ---


void FUN_0078be00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa524 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa524 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078be30 at 0x0078BE30 (size: 38) ---


void FUN_0078be30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa528 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa528 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078be60 at 0x0078BE60 (size: 38) ---


void FUN_0078be60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa52c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa52c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078be90 at 0x0078BE90 (size: 38) ---


void FUN_0078be90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa530 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa530 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bec0 at 0x0078BEC0 (size: 38) ---


void FUN_0078bec0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa534 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa534 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bef0 at 0x0078BEF0 (size: 38) ---


void FUN_0078bef0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa538 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa538 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bf20 at 0x0078BF20 (size: 38) ---


void FUN_0078bf20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa53c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa53c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bf50 at 0x0078BF50 (size: 38) ---


void FUN_0078bf50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa548 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa548 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bf80 at 0x0078BF80 (size: 38) ---


void FUN_0078bf80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa54c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa54c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bfb0 at 0x0078BFB0 (size: 38) ---


void FUN_0078bfb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa550 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa550 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078bfe0 at 0x0078BFE0 (size: 38) ---


void FUN_0078bfe0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa554 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa554 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c010 at 0x0078C010 (size: 38) ---


void FUN_0078c010(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa558 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa558 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c040 at 0x0078C040 (size: 38) ---


void FUN_0078c040(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa55c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa55c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c070 at 0x0078C070 (size: 38) ---


void FUN_0078c070(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa560 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa560 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c0a0 at 0x0078C0A0 (size: 38) ---


void FUN_0078c0a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa564 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa564 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c0d0 at 0x0078C0D0 (size: 38) ---


void FUN_0078c0d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa568 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa568 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c100 at 0x0078C100 (size: 38) ---


void FUN_0078c100(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa56c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa56c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c130 at 0x0078C130 (size: 38) ---


void FUN_0078c130(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa570 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa570 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c160 at 0x0078C160 (size: 38) ---


void FUN_0078c160(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa574 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa574 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c190 at 0x0078C190 (size: 38) ---


void FUN_0078c190(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa578 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa578 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c1c0 at 0x0078C1C0 (size: 38) ---


void FUN_0078c1c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa57c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa57c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c1f0 at 0x0078C1F0 (size: 38) ---


void FUN_0078c1f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa580 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa580 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c220 at 0x0078C220 (size: 38) ---


void FUN_0078c220(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa584 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa584 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c250 at 0x0078C250 (size: 38) ---


void FUN_0078c250(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa588 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa588 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c280 at 0x0078C280 (size: 38) ---


void FUN_0078c280(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa58c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa58c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c2b0 at 0x0078C2B0 (size: 38) ---


void FUN_0078c2b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa590 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa590 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c2e0 at 0x0078C2E0 (size: 38) ---


void FUN_0078c2e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa594 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa594 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c310 at 0x0078C310 (size: 38) ---


void FUN_0078c310(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa598 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa598 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c340 at 0x0078C340 (size: 38) ---


void FUN_0078c340(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa59c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa59c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c370 at 0x0078C370 (size: 38) ---


void FUN_0078c370(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c3a0 at 0x0078C3A0 (size: 38) ---


void FUN_0078c3a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c3d0 at 0x0078C3D0 (size: 38) ---


void FUN_0078c3d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c400 at 0x0078C400 (size: 38) ---


void FUN_0078c400(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c430 at 0x0078C430 (size: 38) ---


void FUN_0078c430(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c460 at 0x0078C460 (size: 38) ---


void FUN_0078c460(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c490 at 0x0078C490 (size: 38) ---


void FUN_0078c490(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c4c0 at 0x0078C4C0 (size: 38) ---


void FUN_0078c4c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c4f0 at 0x0078C4F0 (size: 38) ---


void FUN_0078c4f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c520 at 0x0078C520 (size: 38) ---


void FUN_0078c520(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c550 at 0x0078C550 (size: 38) ---


void FUN_0078c550(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c580 at 0x0078C580 (size: 38) ---


void FUN_0078c580(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c5b0 at 0x0078C5B0 (size: 38) ---


void FUN_0078c5b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c5e0 at 0x0078C5E0 (size: 38) ---


void FUN_0078c5e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c610 at 0x0078C610 (size: 38) ---


void FUN_0078c610(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c640 at 0x0078C640 (size: 38) ---


void FUN_0078c640(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c670 at 0x0078C670 (size: 38) ---


void FUN_0078c670(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c6a0 at 0x0078C6A0 (size: 38) ---


void FUN_0078c6a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c6d0 at 0x0078C6D0 (size: 38) ---


void FUN_0078c6d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c700 at 0x0078C700 (size: 38) ---


void FUN_0078c700(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c730 at 0x0078C730 (size: 38) ---


void FUN_0078c730(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c760 at 0x0078C760 (size: 38) ---


void FUN_0078c760(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c790 at 0x0078C790 (size: 38) ---


void FUN_0078c790(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c7c0 at 0x0078C7C0 (size: 38) ---


void FUN_0078c7c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa5fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa5fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c7f0 at 0x0078C7F0 (size: 38) ---


void FUN_0078c7f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa600 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa600 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c820 at 0x0078C820 (size: 38) ---


void FUN_0078c820(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa604 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa604 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c850 at 0x0078C850 (size: 38) ---


void FUN_0078c850(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa608 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa608 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c880 at 0x0078C880 (size: 38) ---


void FUN_0078c880(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa60c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa60c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c8b0 at 0x0078C8B0 (size: 38) ---


void FUN_0078c8b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa610 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa610 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c8e0 at 0x0078C8E0 (size: 38) ---


void FUN_0078c8e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa618 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa618 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c910 at 0x0078C910 (size: 38) ---


void FUN_0078c910(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa61c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa61c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c940 at 0x0078C940 (size: 38) ---


void FUN_0078c940(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa620 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa620 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c970 at 0x0078C970 (size: 38) ---


void FUN_0078c970(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa624 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa624 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c9a0 at 0x0078C9A0 (size: 38) ---


void FUN_0078c9a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa628 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa628 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078c9d0 at 0x0078C9D0 (size: 38) ---


void FUN_0078c9d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa62c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa62c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ca00 at 0x0078CA00 (size: 38) ---


void FUN_0078ca00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa630 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa630 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ca30 at 0x0078CA30 (size: 38) ---


void FUN_0078ca30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa634 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa634 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ca60 at 0x0078CA60 (size: 38) ---


void FUN_0078ca60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa638 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa638 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ca90 at 0x0078CA90 (size: 38) ---


void FUN_0078ca90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa63c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa63c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cac0 at 0x0078CAC0 (size: 38) ---


void FUN_0078cac0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa640 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa640 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078caf0 at 0x0078CAF0 (size: 38) ---


void FUN_0078caf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa644 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa644 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cb20 at 0x0078CB20 (size: 38) ---


void FUN_0078cb20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa648 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa648 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cb50 at 0x0078CB50 (size: 38) ---


void FUN_0078cb50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa64c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa64c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cb80 at 0x0078CB80 (size: 38) ---


void FUN_0078cb80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa650 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa650 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cbb0 at 0x0078CBB0 (size: 38) ---


void FUN_0078cbb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa654 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa654 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cbe0 at 0x0078CBE0 (size: 38) ---


void FUN_0078cbe0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa658 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa658 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cc10 at 0x0078CC10 (size: 38) ---


void FUN_0078cc10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa65c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa65c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cc40 at 0x0078CC40 (size: 38) ---


void FUN_0078cc40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa660 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa660 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cc70 at 0x0078CC70 (size: 38) ---


void FUN_0078cc70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa664 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa664 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cca0 at 0x0078CCA0 (size: 38) ---


void FUN_0078cca0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa668 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa668 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ccd0 at 0x0078CCD0 (size: 38) ---


void FUN_0078ccd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa66c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa66c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cd00 at 0x0078CD00 (size: 38) ---


void FUN_0078cd00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa670 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa670 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cd30 at 0x0078CD30 (size: 38) ---


void FUN_0078cd30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa674 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa674 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cd60 at 0x0078CD60 (size: 38) ---


void FUN_0078cd60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa678 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa678 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cd90 at 0x0078CD90 (size: 38) ---


void FUN_0078cd90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa67c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa67c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cdc0 at 0x0078CDC0 (size: 38) ---


void FUN_0078cdc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa680 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa680 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cdf0 at 0x0078CDF0 (size: 38) ---


void FUN_0078cdf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa684 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa684 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ce20 at 0x0078CE20 (size: 38) ---


void FUN_0078ce20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa688 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa688 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ce50 at 0x0078CE50 (size: 38) ---


void FUN_0078ce50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa68c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa68c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ce80 at 0x0078CE80 (size: 38) ---


void FUN_0078ce80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa690 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa690 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ceb0 at 0x0078CEB0 (size: 38) ---


void FUN_0078ceb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa694 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa694 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cee0 at 0x0078CEE0 (size: 38) ---


void FUN_0078cee0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa698 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa698 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cf10 at 0x0078CF10 (size: 38) ---


void FUN_0078cf10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa69c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa69c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cf40 at 0x0078CF40 (size: 38) ---


void FUN_0078cf40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cf70 at 0x0078CF70 (size: 38) ---


void FUN_0078cf70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cfa0 at 0x0078CFA0 (size: 38) ---


void FUN_0078cfa0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078cfd0 at 0x0078CFD0 (size: 38) ---


void FUN_0078cfd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d000 at 0x0078D000 (size: 38) ---


void FUN_0078d000(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d030 at 0x0078D030 (size: 38) ---


void FUN_0078d030(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d060 at 0x0078D060 (size: 38) ---


void FUN_0078d060(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d090 at 0x0078D090 (size: 38) ---


void FUN_0078d090(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d0c0 at 0x0078D0C0 (size: 38) ---


void FUN_0078d0c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d0f0 at 0x0078D0F0 (size: 38) ---


void FUN_0078d0f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d120 at 0x0078D120 (size: 38) ---


void FUN_0078d120(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d150 at 0x0078D150 (size: 38) ---


void FUN_0078d150(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d180 at 0x0078D180 (size: 38) ---


void FUN_0078d180(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d1b0 at 0x0078D1B0 (size: 38) ---


void FUN_0078d1b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d1e0 at 0x0078D1E0 (size: 38) ---


void FUN_0078d1e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d210 at 0x0078D210 (size: 38) ---


void FUN_0078d210(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d240 at 0x0078D240 (size: 38) ---


void FUN_0078d240(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d270 at 0x0078D270 (size: 38) ---


void FUN_0078d270(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d2a0 at 0x0078D2A0 (size: 38) ---


void FUN_0078d2a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d2d0 at 0x0078D2D0 (size: 38) ---


void FUN_0078d2d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d300 at 0x0078D300 (size: 38) ---


void FUN_0078d300(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d330 at 0x0078D330 (size: 38) ---


void FUN_0078d330(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d360 at 0x0078D360 (size: 38) ---


void FUN_0078d360(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d390 at 0x0078D390 (size: 38) ---


void FUN_0078d390(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa6fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa6fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d3c0 at 0x0078D3C0 (size: 38) ---


void FUN_0078d3c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa700 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa700 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d3f0 at 0x0078D3F0 (size: 38) ---


void FUN_0078d3f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa704 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa704 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d420 at 0x0078D420 (size: 38) ---


void FUN_0078d420(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa708 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa708 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d450 at 0x0078D450 (size: 38) ---


void FUN_0078d450(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa70c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa70c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d480 at 0x0078D480 (size: 38) ---


void FUN_0078d480(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa710 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa710 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d4b0 at 0x0078D4B0 (size: 38) ---


void FUN_0078d4b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa714 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa714 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d4e0 at 0x0078D4E0 (size: 38) ---


void FUN_0078d4e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa718 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa718 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d510 at 0x0078D510 (size: 38) ---


void FUN_0078d510(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa71c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa71c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d540 at 0x0078D540 (size: 38) ---


void FUN_0078d540(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa720 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa720 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d570 at 0x0078D570 (size: 38) ---


void FUN_0078d570(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa724 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa724 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d5a0 at 0x0078D5A0 (size: 38) ---


void FUN_0078d5a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa728 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa728 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d5d0 at 0x0078D5D0 (size: 38) ---


void FUN_0078d5d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa72c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa72c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d600 at 0x0078D600 (size: 38) ---


void FUN_0078d600(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa730 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa730 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d630 at 0x0078D630 (size: 38) ---


void FUN_0078d630(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa734 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa734 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d660 at 0x0078D660 (size: 38) ---


void FUN_0078d660(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa738 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa738 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d690 at 0x0078D690 (size: 38) ---


void FUN_0078d690(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa73c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa73c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d720 at 0x0078D720 (size: 38) ---


void FUN_0078d720(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa748 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa748 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d750 at 0x0078D750 (size: 38) ---


void FUN_0078d750(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa74c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa74c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d780 at 0x0078D780 (size: 38) ---


void FUN_0078d780(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa750 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa750 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d7b0 at 0x0078D7B0 (size: 38) ---


void FUN_0078d7b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa754 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa754 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d7e0 at 0x0078D7E0 (size: 38) ---


void FUN_0078d7e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa758 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa758 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d810 at 0x0078D810 (size: 38) ---


void FUN_0078d810(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa75c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa75c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d840 at 0x0078D840 (size: 38) ---


void FUN_0078d840(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa760 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa760 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d870 at 0x0078D870 (size: 38) ---


void FUN_0078d870(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa764 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa764 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d8a0 at 0x0078D8A0 (size: 38) ---


void FUN_0078d8a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa768 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa768 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d8d0 at 0x0078D8D0 (size: 38) ---


void FUN_0078d8d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa76c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa76c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d900 at 0x0078D900 (size: 38) ---


void FUN_0078d900(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa770 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa770 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d930 at 0x0078D930 (size: 38) ---


void FUN_0078d930(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa774 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa774 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d960 at 0x0078D960 (size: 38) ---


void FUN_0078d960(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa778 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa778 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d990 at 0x0078D990 (size: 38) ---


void FUN_0078d990(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa77c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa77c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d9c0 at 0x0078D9C0 (size: 38) ---


void FUN_0078d9c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa780 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa780 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078d9f0 at 0x0078D9F0 (size: 38) ---


void FUN_0078d9f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa784 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa784 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078da20 at 0x0078DA20 (size: 38) ---


void FUN_0078da20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa788 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa788 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078da50 at 0x0078DA50 (size: 38) ---


void FUN_0078da50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa78c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa78c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078da80 at 0x0078DA80 (size: 38) ---


void FUN_0078da80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa790 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa790 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dab0 at 0x0078DAB0 (size: 38) ---


void FUN_0078dab0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa794 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa794 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dae0 at 0x0078DAE0 (size: 38) ---


void FUN_0078dae0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa798 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa798 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078db10 at 0x0078DB10 (size: 38) ---


void FUN_0078db10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa79c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa79c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078db40 at 0x0078DB40 (size: 38) ---


void FUN_0078db40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078db70 at 0x0078DB70 (size: 38) ---


void FUN_0078db70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dba0 at 0x0078DBA0 (size: 38) ---


void FUN_0078dba0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dbd0 at 0x0078DBD0 (size: 38) ---


void FUN_0078dbd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dc00 at 0x0078DC00 (size: 38) ---


void FUN_0078dc00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dc30 at 0x0078DC30 (size: 38) ---


void FUN_0078dc30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dc60 at 0x0078DC60 (size: 38) ---


void FUN_0078dc60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dc90 at 0x0078DC90 (size: 38) ---


void FUN_0078dc90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dcc0 at 0x0078DCC0 (size: 38) ---


void FUN_0078dcc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dcf0 at 0x0078DCF0 (size: 38) ---


void FUN_0078dcf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dd20 at 0x0078DD20 (size: 38) ---


void FUN_0078dd20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dd50 at 0x0078DD50 (size: 38) ---


void FUN_0078dd50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dd80 at 0x0078DD80 (size: 38) ---


void FUN_0078dd80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ddb0 at 0x0078DDB0 (size: 38) ---


void FUN_0078ddb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dde0 at 0x0078DDE0 (size: 38) ---


void FUN_0078dde0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078de10 at 0x0078DE10 (size: 38) ---


void FUN_0078de10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078de40 at 0x0078DE40 (size: 38) ---


void FUN_0078de40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078de70 at 0x0078DE70 (size: 38) ---


void FUN_0078de70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dea0 at 0x0078DEA0 (size: 38) ---


void FUN_0078dea0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ded0 at 0x0078DED0 (size: 38) ---


void FUN_0078ded0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078df00 at 0x0078DF00 (size: 38) ---


void FUN_0078df00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078df30 at 0x0078DF30 (size: 38) ---


void FUN_0078df30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078df60 at 0x0078DF60 (size: 38) ---


void FUN_0078df60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078df90 at 0x0078DF90 (size: 38) ---


void FUN_0078df90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa7fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa7fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dfc0 at 0x0078DFC0 (size: 38) ---


void FUN_0078dfc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa800 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa800 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078dff0 at 0x0078DFF0 (size: 38) ---


void FUN_0078dff0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa804 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa804 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e020 at 0x0078E020 (size: 38) ---


void FUN_0078e020(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa808 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa808 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e050 at 0x0078E050 (size: 38) ---


void FUN_0078e050(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa80c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa80c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e080 at 0x0078E080 (size: 38) ---


void FUN_0078e080(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa810 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa810 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e0b0 at 0x0078E0B0 (size: 38) ---


void FUN_0078e0b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa814 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa814 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e0e0 at 0x0078E0E0 (size: 38) ---


void FUN_0078e0e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa818 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa818 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e110 at 0x0078E110 (size: 38) ---


void FUN_0078e110(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa81c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa81c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e140 at 0x0078E140 (size: 38) ---


void FUN_0078e140(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa820 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa820 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e170 at 0x0078E170 (size: 38) ---


void FUN_0078e170(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa824 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa824 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e1a0 at 0x0078E1A0 (size: 38) ---


void FUN_0078e1a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa828 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa828 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e1d0 at 0x0078E1D0 (size: 38) ---


void FUN_0078e1d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa82c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa82c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e200 at 0x0078E200 (size: 38) ---


void FUN_0078e200(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa830 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa830 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e230 at 0x0078E230 (size: 38) ---


void FUN_0078e230(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa834 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa834 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e260 at 0x0078E260 (size: 38) ---


void FUN_0078e260(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa838 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa838 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e290 at 0x0078E290 (size: 38) ---


void FUN_0078e290(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa83c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa83c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e2c0 at 0x0078E2C0 (size: 38) ---


void FUN_0078e2c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa840 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa840 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e2f0 at 0x0078E2F0 (size: 38) ---


void FUN_0078e2f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa844 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa844 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e320 at 0x0078E320 (size: 38) ---


void FUN_0078e320(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa848 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa848 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e350 at 0x0078E350 (size: 38) ---


void FUN_0078e350(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa84c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa84c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e380 at 0x0078E380 (size: 38) ---


void FUN_0078e380(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa850 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa850 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e3b0 at 0x0078E3B0 (size: 38) ---


void FUN_0078e3b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa854 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa854 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e3e0 at 0x0078E3E0 (size: 38) ---


void FUN_0078e3e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa858 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa858 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e410 at 0x0078E410 (size: 38) ---


void FUN_0078e410(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa85c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa85c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e440 at 0x0078E440 (size: 38) ---


void FUN_0078e440(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa860 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa860 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e470 at 0x0078E470 (size: 38) ---


void FUN_0078e470(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa864 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa864 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e4a0 at 0x0078E4A0 (size: 38) ---


void FUN_0078e4a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa868 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa868 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e4d0 at 0x0078E4D0 (size: 38) ---


void FUN_0078e4d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa86c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa86c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e500 at 0x0078E500 (size: 38) ---


void FUN_0078e500(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa870 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa870 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e530 at 0x0078E530 (size: 38) ---


void FUN_0078e530(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa874 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa874 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e560 at 0x0078E560 (size: 38) ---


void FUN_0078e560(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa878 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa878 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e590 at 0x0078E590 (size: 1) ---


void FUN_0078e590(void)



{

  return;

}





// --- FUN_0078e5a0 at 0x0078E5A0 (size: 38) ---


void FUN_0078e5a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa880 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa880 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e5d0 at 0x0078E5D0 (size: 38) ---


void FUN_0078e5d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa884 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa884 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e600 at 0x0078E600 (size: 38) ---


void FUN_0078e600(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa888 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa888 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e630 at 0x0078E630 (size: 38) ---


void FUN_0078e630(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa88c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa88c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e660 at 0x0078E660 (size: 38) ---


void FUN_0078e660(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa890 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa890 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e690 at 0x0078E690 (size: 38) ---


void FUN_0078e690(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa894 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa894 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e6c0 at 0x0078E6C0 (size: 38) ---


void FUN_0078e6c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa898 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa898 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e6f0 at 0x0078E6F0 (size: 38) ---


void FUN_0078e6f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa89c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa89c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e720 at 0x0078E720 (size: 38) ---


void FUN_0078e720(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e750 at 0x0078E750 (size: 38) ---


void FUN_0078e750(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e780 at 0x0078E780 (size: 38) ---


void FUN_0078e780(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e7b0 at 0x0078E7B0 (size: 38) ---


void FUN_0078e7b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e7e0 at 0x0078E7E0 (size: 38) ---


void FUN_0078e7e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e810 at 0x0078E810 (size: 38) ---


void FUN_0078e810(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e840 at 0x0078E840 (size: 38) ---


void FUN_0078e840(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e870 at 0x0078E870 (size: 38) ---


void FUN_0078e870(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e8a0 at 0x0078E8A0 (size: 38) ---


void FUN_0078e8a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e8d0 at 0x0078E8D0 (size: 38) ---


void FUN_0078e8d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e900 at 0x0078E900 (size: 38) ---


void FUN_0078e900(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e930 at 0x0078E930 (size: 38) ---


void FUN_0078e930(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e960 at 0x0078E960 (size: 38) ---


void FUN_0078e960(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e990 at 0x0078E990 (size: 38) ---


void FUN_0078e990(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e9c0 at 0x0078E9C0 (size: 38) ---


void FUN_0078e9c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078e9f0 at 0x0078E9F0 (size: 38) ---


void FUN_0078e9f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ea20 at 0x0078EA20 (size: 38) ---


void FUN_0078ea20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ea50 at 0x0078EA50 (size: 38) ---


void FUN_0078ea50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ea80 at 0x0078EA80 (size: 38) ---


void FUN_0078ea80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eab0 at 0x0078EAB0 (size: 38) ---


void FUN_0078eab0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eae0 at 0x0078EAE0 (size: 38) ---


void FUN_0078eae0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eb10 at 0x0078EB10 (size: 38) ---


void FUN_0078eb10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eb40 at 0x0078EB40 (size: 38) ---


void FUN_0078eb40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eb70 at 0x0078EB70 (size: 38) ---


void FUN_0078eb70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa8fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa8fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eba0 at 0x0078EBA0 (size: 38) ---


void FUN_0078eba0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa900 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa900 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ebd0 at 0x0078EBD0 (size: 38) ---


void FUN_0078ebd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa904 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa904 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ec00 at 0x0078EC00 (size: 38) ---


void FUN_0078ec00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa908 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa908 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ec30 at 0x0078EC30 (size: 38) ---


void FUN_0078ec30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa90c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa90c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ec60 at 0x0078EC60 (size: 38) ---


void FUN_0078ec60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa910 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa910 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ec90 at 0x0078EC90 (size: 38) ---


void FUN_0078ec90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa914 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa914 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ecc0 at 0x0078ECC0 (size: 38) ---


void FUN_0078ecc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa918 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa918 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ecf0 at 0x0078ECF0 (size: 38) ---


void FUN_0078ecf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa91c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa91c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ed20 at 0x0078ED20 (size: 38) ---


void FUN_0078ed20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa920 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa920 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ed50 at 0x0078ED50 (size: 38) ---


void FUN_0078ed50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa924 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa924 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ed80 at 0x0078ED80 (size: 38) ---


void FUN_0078ed80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa928 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa928 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078edb0 at 0x0078EDB0 (size: 38) ---


void FUN_0078edb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa92c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa92c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ede0 at 0x0078EDE0 (size: 38) ---


void FUN_0078ede0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa930 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa930 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ee10 at 0x0078EE10 (size: 38) ---


void FUN_0078ee10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa934 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa934 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ee40 at 0x0078EE40 (size: 38) ---


void FUN_0078ee40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa938 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa938 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ee70 at 0x0078EE70 (size: 38) ---


void FUN_0078ee70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa93c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa93c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eea0 at 0x0078EEA0 (size: 38) ---


void FUN_0078eea0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa940 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa940 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eed0 at 0x0078EED0 (size: 38) ---


void FUN_0078eed0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa944 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa944 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ef00 at 0x0078EF00 (size: 38) ---


void FUN_0078ef00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa948 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa948 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ef30 at 0x0078EF30 (size: 38) ---


void FUN_0078ef30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa950 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa950 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ef60 at 0x0078EF60 (size: 38) ---


void FUN_0078ef60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa954 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa954 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ef90 at 0x0078EF90 (size: 38) ---


void FUN_0078ef90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa958 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa958 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078efc0 at 0x0078EFC0 (size: 38) ---


void FUN_0078efc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa95c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa95c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078eff0 at 0x0078EFF0 (size: 38) ---


void FUN_0078eff0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa960 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa960 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f020 at 0x0078F020 (size: 38) ---


void FUN_0078f020(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa964 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa964 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f050 at 0x0078F050 (size: 38) ---


void FUN_0078f050(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa968 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa968 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f080 at 0x0078F080 (size: 38) ---


void FUN_0078f080(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa96c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa96c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f0b0 at 0x0078F0B0 (size: 38) ---


void FUN_0078f0b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa970 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa970 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f0e0 at 0x0078F0E0 (size: 38) ---


void FUN_0078f0e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa974 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa974 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f110 at 0x0078F110 (size: 38) ---


void FUN_0078f110(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa978 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa978 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f140 at 0x0078F140 (size: 38) ---


void FUN_0078f140(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa97c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa97c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f170 at 0x0078F170 (size: 38) ---


void FUN_0078f170(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa980 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa980 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f1a0 at 0x0078F1A0 (size: 38) ---


void FUN_0078f1a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa984 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa984 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f1d0 at 0x0078F1D0 (size: 38) ---


void FUN_0078f1d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa988 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa988 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f200 at 0x0078F200 (size: 38) ---


void FUN_0078f200(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa98c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa98c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f230 at 0x0078F230 (size: 38) ---


void FUN_0078f230(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa990 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa990 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f260 at 0x0078F260 (size: 38) ---


void FUN_0078f260(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa994 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa994 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f290 at 0x0078F290 (size: 38) ---


void FUN_0078f290(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa998 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa998 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f2c0 at 0x0078F2C0 (size: 38) ---


void FUN_0078f2c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa99c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa99c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f2f0 at 0x0078F2F0 (size: 38) ---


void FUN_0078f2f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9a0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9a0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f320 at 0x0078F320 (size: 38) ---


void FUN_0078f320(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9a4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9a4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f350 at 0x0078F350 (size: 38) ---


void FUN_0078f350(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9a8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9a8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f380 at 0x0078F380 (size: 38) ---


void FUN_0078f380(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9ac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9ac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f3b0 at 0x0078F3B0 (size: 38) ---


void FUN_0078f3b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9b0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9b0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f3e0 at 0x0078F3E0 (size: 38) ---


void FUN_0078f3e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9b4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9b4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f410 at 0x0078F410 (size: 38) ---


void FUN_0078f410(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9b8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9b8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f440 at 0x0078F440 (size: 38) ---


void FUN_0078f440(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9bc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9bc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f470 at 0x0078F470 (size: 38) ---


void FUN_0078f470(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9c0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9c0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f4a0 at 0x0078F4A0 (size: 38) ---


void FUN_0078f4a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9c4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9c4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f4d0 at 0x0078F4D0 (size: 38) ---


void FUN_0078f4d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9c8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9c8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f500 at 0x0078F500 (size: 38) ---


void FUN_0078f500(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9cc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9cc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f530 at 0x0078F530 (size: 38) ---


void FUN_0078f530(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9d0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9d0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f560 at 0x0078F560 (size: 38) ---


void FUN_0078f560(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9d4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9d4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f590 at 0x0078F590 (size: 38) ---


void FUN_0078f590(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9d8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9d8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f5c0 at 0x0078F5C0 (size: 38) ---


void FUN_0078f5c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9dc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9dc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f5f0 at 0x0078F5F0 (size: 38) ---


void FUN_0078f5f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9e0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9e0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f620 at 0x0078F620 (size: 38) ---


void FUN_0078f620(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9e4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9e4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f650 at 0x0078F650 (size: 38) ---


void FUN_0078f650(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9e8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9e8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f680 at 0x0078F680 (size: 38) ---


void FUN_0078f680(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9ec + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9ec + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f6b0 at 0x0078F6B0 (size: 38) ---


void FUN_0078f6b0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9f0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9f0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f6e0 at 0x0078F6E0 (size: 38) ---


void FUN_0078f6e0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9f4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9f4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f710 at 0x0078F710 (size: 38) ---


void FUN_0078f710(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9f8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9f8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f740 at 0x0078F740 (size: 38) ---


void FUN_0078f740(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008fa9fc + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008fa9fc + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f770 at 0x0078F770 (size: 38) ---


void FUN_0078f770(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa00 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa00 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f7a0 at 0x0078F7A0 (size: 38) ---


void FUN_0078f7a0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa04 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa04 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f7d0 at 0x0078F7D0 (size: 38) ---


void FUN_0078f7d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa08 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa08 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f800 at 0x0078F800 (size: 38) ---


void FUN_0078f800(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa0c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa0c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f830 at 0x0078F830 (size: 38) ---


void FUN_0078f830(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa10 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa10 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f860 at 0x0078F860 (size: 38) ---


void FUN_0078f860(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa14 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa14 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f890 at 0x0078F890 (size: 38) ---


void FUN_0078f890(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa18 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa18 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f8c0 at 0x0078F8C0 (size: 1) ---


void FUN_0078f8c0(void)



{

  return;

}





// --- FUN_0078f8d0 at 0x0078F8D0 (size: 38) ---


void FUN_0078f8d0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa20 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa20 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f900 at 0x0078F900 (size: 38) ---


void FUN_0078f900(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa24 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa24 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f930 at 0x0078F930 (size: 38) ---


void FUN_0078f930(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa28 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa28 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f960 at 0x0078F960 (size: 38) ---


void FUN_0078f960(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa2c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa2c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f990 at 0x0078F990 (size: 38) ---


void FUN_0078f990(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa30 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa30 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f9c0 at 0x0078F9C0 (size: 38) ---


void FUN_0078f9c0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa34 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa34 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078f9f0 at 0x0078F9F0 (size: 38) ---


void FUN_0078f9f0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa38 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa38 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fa20 at 0x0078FA20 (size: 38) ---


void FUN_0078fa20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa3c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa3c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fa50 at 0x0078FA50 (size: 38) ---


void FUN_0078fa50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa40 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa40 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fa80 at 0x0078FA80 (size: 38) ---


void FUN_0078fa80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa44 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa44 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fab0 at 0x0078FAB0 (size: 38) ---


void FUN_0078fab0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa48 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa48 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fae0 at 0x0078FAE0 (size: 38) ---


void FUN_0078fae0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa4c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa4c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fb10 at 0x0078FB10 (size: 38) ---


void FUN_0078fb10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa50 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa50 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fb40 at 0x0078FB40 (size: 38) ---


void FUN_0078fb40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa54 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa54 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fb70 at 0x0078FB70 (size: 38) ---


void FUN_0078fb70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa58 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa58 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fba0 at 0x0078FBA0 (size: 38) ---


void FUN_0078fba0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa5c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa5c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fbd0 at 0x0078FBD0 (size: 38) ---


void FUN_0078fbd0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa60 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa60 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fc00 at 0x0078FC00 (size: 38) ---


void FUN_0078fc00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa64 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa64 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fc30 at 0x0078FC30 (size: 38) ---


void FUN_0078fc30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa68 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa68 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fc60 at 0x0078FC60 (size: 38) ---


void FUN_0078fc60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa6c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa6c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fc90 at 0x0078FC90 (size: 38) ---


void FUN_0078fc90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa70 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa70 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fcc0 at 0x0078FCC0 (size: 38) ---


void FUN_0078fcc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa74 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa74 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fcf0 at 0x0078FCF0 (size: 38) ---


void FUN_0078fcf0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa78 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa78 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fd20 at 0x0078FD20 (size: 38) ---


void FUN_0078fd20(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa7c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa7c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fd50 at 0x0078FD50 (size: 38) ---


void FUN_0078fd50(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa80 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa80 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fd80 at 0x0078FD80 (size: 38) ---


void FUN_0078fd80(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa84 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa84 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fdb0 at 0x0078FDB0 (size: 38) ---


void FUN_0078fdb0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa88 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa88 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fde0 at 0x0078FDE0 (size: 38) ---


void FUN_0078fde0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa8c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa8c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fe10 at 0x0078FE10 (size: 38) ---


void FUN_0078fe10(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa90 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa90 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fe40 at 0x0078FE40 (size: 38) ---


void FUN_0078fe40(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa94 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa94 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fe70 at 0x0078FE70 (size: 38) ---


void FUN_0078fe70(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa98 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa98 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fea0 at 0x0078FEA0 (size: 38) ---


void FUN_0078fea0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faa9c + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faa9c + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fed0 at 0x0078FED0 (size: 38) ---


void FUN_0078fed0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faaa0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faaa0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ff00 at 0x0078FF00 (size: 38) ---


void FUN_0078ff00(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faaa4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faaa4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ff30 at 0x0078FF30 (size: 38) ---


void FUN_0078ff30(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faaa8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faaa8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ff60 at 0x0078FF60 (size: 38) ---


void FUN_0078ff60(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faaac + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faaac + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ff90 at 0x0078FF90 (size: 38) ---


void FUN_0078ff90(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faab0 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faab0 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078ffc0 at 0x0078FFC0 (size: 38) ---


void FUN_0078ffc0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faab4 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faab4 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





// --- FUN_0078fff0 at 0x0078FFF0 (size: 38) ---


void FUN_0078fff0(void)



{

  LONG LVar1;

  undefined4 *puVar2;

  

  puVar2 = (undefined4 *)(DAT_008faab8 + -0x14);

  LVar1 = InterlockedDecrement((LONG *)(DAT_008faab8 + -0x10));

  if ((LVar1 == 0) && (puVar2 != (undefined4 *)0x0)) {

    (**(code **)*puVar2)(1);

  }

  return;

}





