//
// sub_1008AA6F0 from 0x1008aa6f0 to 0x1008aa758 (104 bytes)
//
// 0 xrefs:
//
// 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:37:18 +0000
//
__int64 __fastcall sub_1008AA6F0(_QWORD *a1)
{
_DWORD *v2; // rdi
__int64 v3; // rdi
_DWORD *v4; // rdi
*a1 = off_100BABCF0;
v2 = (_DWORD *)a1[41];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1[42];
if ( v3 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 736LL))(v3);
(*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[42] + 536LL))(a1[42]);
v4 = (_DWORD *)a1[42];
if ( v4 )
cocos2d::CCObject::release(v4);
}
return cocos2d::CCNode::dCCNode((__int64)a1);
}