//
// sub_1002097BC from 0x1002097bc to 0x1002097f4 (56 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x1001da770
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x1001da78c
//
// 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_1002097BC(void **a1)
{
void *v2; // x0
sub_1002097F4((int)a1, a1[2]);
v2 = *a1;
*a1 = nullptr;
if ( v2 )
operator delete(v2);
return a1;
}