//
// sub_1000B0D54 from 0x1000b0d54 to 0x1000b0d9c (72 bytes)
//
// 4 xrefs:
// > GameLevelManager::firstSetup @ 0x1000b0bc8
// > GameLevelManager::dataLoaded @ 0x1000b1d1c
// > sub_1003DCDD8 @ 0x1003dcfb4
// > GameStatsManager::dataLoaded @ 0x1003de04c
//
// 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:38 +0000
//
_DWORD *__fastcall sub_1000B0D54(__int64 a1, __int64 a2)
{
_DWORD *result; // x0
result = *(_DWORD **)(a1 + 752);
if ( result != (_DWORD *)a2 )
{
if ( a2 )
{
cocos2d::CCObject::retain(a2);
result = *(_DWORD **)(a1 + 752);
}
if ( result )
result = cocos2d::CCObject::release(result);
*(_QWORD *)(a1 + 752) = a2;
}
return result;
}