//
// sub_10000B004 from 0x10000b004 to 0x10000b074 (112 bytes)
//
// 7 xrefs:
// > sub_10000AA48 @ 0x10000aa54
// > sub_10000E6D0 @ 0x10000e764
// > sub_10000E6D0 @ 0x10000e7b8
// > GJEffectManager::resetTempGroupCommands @ 0x100012bfc
// > sub_100018A9C @ 0x100018acc
// > sub_1000196B8 @ 0x1000196c4
// > sub_100019734 @ 0x100019748
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_10000B004(void ***a1)
{
void **v1; // x20
void *v2; // x21
__int64 v4; // x0
void *v5; // x8
v1 = *a1;
v2 = **a1;
if ( v2 )
{
v4 = (__int64)v1[1];
v5 = v2;
if ( (void *)v4 != v2 )
{
do
v4 = sub_10000B074(v4 - 448);
while ( (void *)v4 != v2 );
v5 = **a1;
}
v1[1] = v2;
operator delete(v5);
}
}