//
// sub_1003D1608 from 0x1003d1608 to 0x1003d168c (132 bytes)
//
// 1 xrefs:
// > RewardsPage::rewardsStatusFinished @ 0x10025a6e0
//
// 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:04:11 +0000
//
void __fastcall sub_1003D1608(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // x21
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v8; // [xsp+1Fh] [xbp-21h]
if ( a3 && !sub_1003D1598(a1, a2, *(unsigned int *)(a3 + 56)) )
{
GameStatsManager::registerRewardsFromItem(a1, a3);
v6 = *(_QWORD *)(a1 + 480);
sub_1003D148C(a2, *(unsigned int *)(a3 + 56), __p);
cocos2d::CCDictionary::setObject(v6, a3, __p);
if ( v8 < 0 )
operator delete(__p[0]);
}
}