// // NotificationsPage::notificationRewardFinished from 0xc5fce4 to 0xc5fec8 (484 bytes) // // 3 xrefs: // > `non-virtual thunk to'NotificationsPage::notificationRewardFinished @ 0xc5fecc // > @ 0xd3cd8 // > @ 0x14ea550 // // 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 13:05:21 +0000 // __int64 __fastcall NotificationsPage::notificationRewardFinished(NotificationsPage *this, unsigned int a2) { unsigned __int64 *NotificationRewardKey; // x0 __int64 v4; // x22 _BOOL8 isSpecialChestUnlocked; // x0 _BOOL4 v6; // w20 GameStatsManager *v8; // x22 unsigned int *v9; // x20 RewardsPage *v10; // x2 RewardUnlockLayer *v11; // x22 unsigned __int64 v13; // [xsp+40h] [xbp+40h] BYREF size_t v14; // [xsp+48h] [xbp+48h] void *v15; // [xsp+50h] [xbp+50h] char v16[8]; // [xsp+58h] [xbp+58h] BYREF size_t v17; // [xsp+60h] [xbp+60h] void *v18; // [xsp+68h] [xbp+68h] unsigned __int64 v19; // [xsp+70h] [xbp+70h] BYREF size_t v20; // [xsp+78h] [xbp+78h] void *v21; // [xsp+80h] [xbp+80h] GameStatsManager::sharedState(_stack_chk_guard); NotificationRewardKey = GameStatsManager::getNotificationRewardKey(a2, &v13); v4 = GameStatsManager::sharedState((GameStatsManager *)NotificationRewardKey); *(_QWORD *)v16 = 0; v17 = 0; v18 = nullptr; if ( (v13 & 1) != 0 ) { std::string::__init((__int64 *)v16, v15, v14); } else { v18 = v15; *(_QWORD *)v16 = v13; v17 = v14; } isSpecialChestUnlocked = GameStatsManager::isSpecialChestUnlocked(v4, v16); v6 = isSpecialChestUnlocked; if ( (v16[0] & 1) != 0 ) operator delete(v18); if ( v6 ) { NotificationsPage::reloadCells(this); } else { v8 = (GameStatsManager *)GameStatsManager::sharedState((GameStatsManager *)isSpecialChestUnlocked); v19 = 0; v20 = 0; v21 = nullptr; if ( (v13 & 1) != 0 ) { std::string::__init((__int64 *)&v19, v15, v14); } else { v19 = v13; v20 = v14; v21 = v15; } v9 = (unsigned int *)GameStatsManager::unlockOnlineChest(v8, (char *)&v19); if ( (v19 & 1) != 0 ) operator delete(v21); if ( v9 ) { NotificationsPage::reloadCells(this); v11 = (RewardUnlockLayer *)RewardUnlockLayer::create((RewardUnlockLayer *)v9[16], nullptr, v10); (*(void (__fastcall **)(NotificationsPage *, RewardUnlockLayer *, __int64))(*(_QWORD *)this + 464LL))( this, v11, 100); RewardUnlockLayer::showCollectReward(v11, (GJRewardItem *)v9); if ( (v13 & 1) == 0 ) return _stack_chk_guard; LABEL_15: operator delete(v15); return _stack_chk_guard; } } if ( (v13 & 1) != 0 ) goto LABEL_15; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source