//
// sub_1006AEAA0 from 0x1006aeaa0 to 0x1006aeb12 (114 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:35:23 +0000
//
__int64 __fastcall sub_1006AEAA0(__int64 a1)
{
_DWORD *v2; // rdi
_DWORD *v3; // rdi
_QWORD *v4; // rax
*(_QWORD *)a1 = off_100B877A0;
*(_QWORD *)(a1 + 320) = off_100B87CA0;
*(_QWORD *)(a1 + 344) = off_100B87D20;
v2 = *(_DWORD **)(a1 + 736);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(_DWORD **)(a1 + 720);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (_QWORD *)GameManager::sharedState();
GameManager::unloadIcons(v4, *(_DWORD *)(a1 + 764));
return CCAnimatedSprite::dCCAnimatedSprite(a1);
}