//
// sub_1000D8154 from 0x1000d8154 to 0x1000d81e4 (144 bytes)
//
// 2 xrefs:
// > sub_1000D813C @ 0x1000d813c
// > sub_1000D8140 @ 0x1000d8148
//
// This function is hookable on this platform (idp: arm, 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 10:58:57 +0000
//
__int64 __fastcall sub_1000D8154(__int64 a1)
{
*(_QWORD *)a1 = off_1008CEE38;
if ( *(char *)(a1 + 247) < 0 )
operator delete(*(void **)(a1 + 224));
if ( *(char *)(a1 + 199) < 0 )
operator delete(*(void **)(a1 + 176));
if ( *(char *)(a1 + 159) < 0 )
operator delete(*(void **)(a1 + 136));
if ( *(char *)(a1 + 135) < 0 )
operator delete(*(void **)(a1 + 112));
if ( *(char *)(a1 + 111) < 0 )
operator delete(*(void **)(a1 + 88));
if ( *(char *)(a1 + 87) < 0 )
operator delete(*(void **)(a1 + 64));
return cocos2d::CCObject::dCCObject(a1);
}