//
// sub_1004A6A60 from 0x1004a6a60 to 0x1004a6b20 (192 bytes)
//
// 4 xrefs:
// > FollowRewardPage::dFollowRewardPage @ 0x1004a6b24
// > sub_1004A6B28 @ 0x1004a6b2c
// > sub_1004A6B30 @ 0x1004a6b38
// > sub_1004A6B44 @ 0x1004a6b50
//
// 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:06:05 +0000
//
__int64 __fastcall sub_1004A6A60(_QWORD *a1)
{
_DWORD *v2; // x0
*a1 = off_10097E968;
a1[40] = off_10097EED0;
a1[41] = &off_10097EF40;
a1[42] = off_10097EF58;
a1[43] = off_10097EF78;
a1[44] = off_10097EFA0;
a1[51] = off_10097EFD0;
a1[54] = off_10097F050;
a1[68] = off_10097F070;
a1[83] = &off_10097F0B8;
a1[84] = &off_10097F0D0;
a1[85] = off_10097F0E8;
v2 = (_DWORD *)a1[86];
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(_QWORD **)(GameManager::sharedState() + 944) == a1 + 84 )
*(_QWORD *)(GameManager::sharedState() + 944) = 0;
if ( *(_QWORD **)(GameManager::sharedState() + 1296) == a1 + 85 )
*(_QWORD *)(GameManager::sharedState() + 1296) = 0;
return sub_10034A834((__int64)a1);
}