//
// sub_100908E30 from 0x100908e30 to 0x100908f30 (256 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall sub_100908E30(_QWORD *a1)
{
__int64 v2; // r14
__int64 v3; // r15
void *v4; // rdi
*a1 = off_100BBF950;
a1[40] = off_100BBFEC8;
a1[41] = &off_100BBFF38;
a1[42] = off_100BBFF50;
a1[43] = off_100BBFF70;
a1[44] = off_100BBFF98;
a1[51] = off_100BBFFC8;
a1[54] = off_100BC0048;
a1[68] = off_100BC0068;
a1[83] = off_100BC00B0;
v2 = a1[95];
if ( v2 )
{
v3 = a1[96];
v4 = (void *)a1[95];
if ( v3 != v2 )
{
do
{
if ( (*(_BYTE *)(v3 - 24) & 1) != 0 )
operator delete(*(void **)(v3 - 8));
v3 -= 32;
}
while ( v3 != v2 );
v4 = (void *)a1[95];
}
a1[96] = v2;
operator delete(v4);
}
return sub_1004936F0((__int64)a1);
}