//
// sub_100035484 from 0x100035484 to 0x100035540 (188 bytes)
//
// 4 xrefs:
// > ChallengesPage::dChallengesPage @ 0x100035544
// > sub_100035548 @ 0x10003554c
// > sub_100035550 @ 0x100035558
// > sub_100035564 @ 0x100035570
//
// 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:57:32 +0000
//
__int64 __fastcall sub_100035484(_QWORD *a1)
{
__int64 v2; // x0
__int64 v3; // x8
__int64 v4; // x0
__int64 v5; // x0
*a1 = off_1008B4170;
a1[40] = off_1008B46E0;
a1[41] = &off_1008B4750;
a1[42] = off_1008B4768;
a1[43] = off_1008B4788;
a1[44] = off_1008B47B0;
a1[51] = off_1008B47E0;
a1[54] = off_1008B4860;
a1[68] = off_1008B4880;
a1[83] = &off_1008B48C8;
a1[84] = off_1008B48E0;
a1[85] = &off_1008B4900;
v2 = GameLevelManager::sharedState(a1);
if ( *(_QWORD **)(v2 + 1424) == a1 + 84 )
*(_QWORD *)(GameLevelManager::sharedState(v2) + 1424) = 0;
v3 = a1[90];
if ( v3 )
*(_QWORD *)(v3 + 408) = 0;
v4 = a1[91];
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = a1[86];
if ( v5 )
cocos2d::CCObject::release(v5);
return sub_10034A834(a1);
}