//
// sub_1002DC27C from 0x1002dc27c to 0x1002dc2dc (96 bytes)
//
// 4 xrefs:
// > GJRobotSprite::dGJRobotSprite @ 0x1002dc2e0
// > sub_1002DC2E4 @ 0x1002dc2ec
// > GJSpiderSprite::dGJSpiderSprite @ 0x1002dd24c
// > sub_1002DD250 @ 0x1002dd258
//
// 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 11:02:45 +0000
//
__int64 __fastcall sub_1002DC27C(__int64 a1)
{
_DWORD *v2; // x0
_DWORD *v3; // x0
__int64 v4; // x0
*(_QWORD *)a1 = off_100921C98;
*(_QWORD *)(a1 + 320) = off_100922198;
*(_QWORD *)(a1 + 344) = off_100922218;
v2 = *(_DWORD **)(a1 + 736);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(_DWORD **)(a1 + 720);
if ( v3 )
v3 = cocos2d::CCObject::release(v3);
v4 = GameManager::sharedState(v3);
GameManager::unloadIcons(v4, *(unsigned int *)(a1 + 764));
return sub_10039A928(a1);
}