//
// sub_10010E1DC from 0x10010e1dc to 0x10010e224 (72 bytes)
//
// 3 xrefs:
// > AchievementManager::firstSetup @ 0x10010e1d8
// > AchievementManager::dataLoaded @ 0x10010e270
// > MusicDownloadManager::dataLoaded @ 0x1001da3d0
//
// 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:59:07 +0000
//
_DWORD *__fastcall sub_10010E1DC(__int64 a1, __int64 a2)
{
_DWORD *result; // x0
result = *(_DWORD **)(a1 + 352);
if ( result != (_DWORD *)a2 )
{
if ( a2 )
{
cocos2d::CCObject::retain(a2);
result = *(_DWORD **)(a1 + 352);
}
if ( result )
result = cocos2d::CCObject::release(result);
*(_QWORD *)(a1 + 352) = a2;
}
return result;
}