//
// sub_100307540 from 0x100307540 to 0x1003075a9 (105 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b19b20
//
// 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:34 +0000
//
void __fastcall sub_100307540(_QWORD *__p)
{
__int64 v2; // rdi
__int64 v3; // rdi
_QWORD **v4; // r14
*__p = off_100B19B10;
v2 = __p[7];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = __p[8];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (_QWORD **)__p[9];
if ( v4 )
{
sub_1001EAE60(__p[9], v4[1]);
operator delete(v4);
__p[9] = 0;
}
sub_10047FF60(__p);
operator delete(__p);
}