//
// sub_100315B90 from 0x100315b90 to 0x100315bcf (63 bytes)
//
// 4 xrefs:
// > ??> @ 0x100315b01
// > ??> @ 0x1008dc420
// > ??> @ 0x1008dc43c
// > ??> @ 0x10096af3a
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:40 +0000
//
void __fastcall sub_100315B90(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // r14
if ( !*(_BYTE *)(a1 + 24) )
{
v1 = **(_QWORD **)(a1 + 16);
v2 = **(_QWORD **)(a1 + 8);
while ( v1 != v2 )
{
if ( (*(_BYTE *)(v1 - 24) & 1) != 0 )
operator delete(*(void **)(v1 - 8));
v1 -= 24;
}
}
}