//
// sub_100245C50 from 0x100245c50 to 0x100245d40 (240 bytes)
//
// 4 xrefs:
// > GJRateLevelLayer::dGJRateLevelLayer @ 0x100245d44
// > sub_100245D48 @ 0x100245d4c
// > sub_100245D50 @ 0x100245d58
// > sub_100245D64 @ 0x100245d70
//
// 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:01:26 +0000
//
__int64 __fastcall sub_100245C50(_QWORD *a1)
{
_DWORD *v2; // x0
_DWORD *v3; // x0
_DWORD *v4; // x0
*a1 = off_100907D20;
a1[40] = off_100908340;
a1[41] = &off_1009083B0;
a1[42] = off_1009083C8;
a1[43] = off_1009083E8;
a1[44] = off_100908410;
a1[51] = off_100908440;
a1[54] = off_1009084C0;
a1[68] = off_1009084E0;
a1[83] = &off_100908528;
a1[84] = off_100908540;
a1[127] = &off_100908560;
a1[128] = off_100908578;
a1[129] = off_100908598;
a1[130] = &off_1009085B8;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1360) == a1 + 128 )
*(_QWORD *)(GameLevelManager::sharedState() + 1360) = 0;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1464) == a1 + 129 )
*(_QWORD *)(GameLevelManager::sharedState() + 1464) = 0;
v2 = (_DWORD *)a1[134];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (_DWORD *)a1[131];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (_DWORD *)a1[140];
if ( v4 )
cocos2d::CCObject::release(v4);
return sub_1001ABB48((__int64)a1);
}