//
// sub_100909120 from 0x100909120 to 0x100909228 (264 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bbf960
//
// 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:38:06 +0000
//
void __fastcall sub_100909120(_QWORD *__p)
{
__int64 v2; // r14
__int64 v3; // r15
void *v4; // rdi
*__p = off_100BBF950;
__p[40] = off_100BBFEC8;
__p[41] = &off_100BBFF38;
__p[42] = off_100BBFF50;
__p[43] = off_100BBFF70;
__p[44] = off_100BBFF98;
__p[51] = off_100BBFFC8;
__p[54] = off_100BC0048;
__p[68] = off_100BC0068;
__p[83] = off_100BC00B0;
v2 = __p[95];
if ( v2 )
{
v3 = __p[96];
v4 = (void *)__p[95];
if ( v3 != v2 )
{
do
{
if ( (*(_BYTE *)(v3 - 24) & 1) != 0 )
operator delete(*(void **)(v3 - 8));
v3 -= 32;
}
while ( v3 != v2 );
v4 = (void *)__p[95];
}
__p[96] = v2;
operator delete(v4);
}
sub_1004936F0((__int64)__p);
operator delete(__p);
}