//
// RewardsPage::dRewardsPage from 0x1001fd200 to 0x1001fd2d2 (210 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ae3d18
//
// This function is hookable on this platform (idp: pc, 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 12:26:50 +0000
//
__int64 __fastcall RewardsPage::dRewardsPage(_QWORD *a1, double a2)
{
*a1 = off_100AE3D10;
a1[40] = off_100AE4278;
a1[41] = &off_100AE42E8;
a1[42] = off_100AE4300;
a1[43] = off_100AE4320;
a1[44] = off_100AE4348;
a1[51] = off_100AE4378;
a1[54] = off_100AE43F8;
a1[68] = off_100AE4418;
a1[83] = &off_100AE4460;
a1[84] = off_100AE4478;
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1408) == a1 + 84 )
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1408) = 0;
return sub_1004936F0(a1);
}