//
// sub_1000D49F0 from 0x1000d49f0 to 0x1000d4a48 (88 bytes)
//
// 2 xrefs:
// > GJMapPack::dGJMapPack @ 0x1000d4a4c
// > sub_1000D4A50 @ 0x1000d4a58
//
// 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:55 +0000
//
__int64 __fastcall sub_1000D49F0(__int64 a1)
{
_DWORD *v2; // x0
*(_QWORD *)a1 = off_1008CCD80;
v2 = *(_DWORD **)(a1 + 320);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(char *)(a1 + 391) < 0 )
operator delete(*(void **)(a1 + 368));
if ( *(char *)(a1 + 367) < 0 )
operator delete(*(void **)(a1 + 344));
return cocos2d::CCNode::dCCNode(a1);
}