//
// sub_100259440 from 0x100259440 to 0x1002594d0 (144 bytes)
//
// 4 xrefs:
// > RewardsPage::dRewardsPage @ 0x1002594d4
// > sub_1002594D8 @ 0x1002594dc
// > sub_1002594E0 @ 0x1002594e8
// > sub_1002594F4 @ 0x100259500
//
// 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:35 +0000
//
__int64 __fastcall sub_100259440(_QWORD *a1)
{
*a1 = off_10090F5D0;
a1[40] = off_10090FB38;
a1[41] = &off_10090FBA8;
a1[42] = off_10090FBC0;
a1[43] = off_10090FBE0;
a1[44] = off_10090FC08;
a1[51] = off_10090FC38;
a1[54] = off_10090FCB8;
a1[68] = off_10090FCD8;
a1[83] = &off_10090FD20;
a1[84] = off_10090FD38;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1408) == a1 + 84 )
*(_QWORD *)(GameLevelManager::sharedState() + 1408) = 0;
return sub_10034A834(a1);
}