//
// NotificationsPage::notificationRewardFailed from 0xc5ebe8 to 0xc5ece0 (248 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'NotificationsPage::notificationRewardFailed @ 0xc5ece4
// > ??> @ 0x100438
// > ??> @ 0x14ea558
//
// 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:20 +0000
//
__int64 __fastcall NotificationsPage::notificationRewardFailed(NotificationsPage *this)
{
__int64 v1; // x0
_QWORD v3[2]; // [xsp+20h] [xbp+20h] BYREF
void *v4; // [xsp+30h] [xbp+30h]
v3[0] = 65;
v4 = (void *)operator new(0x40u);
v3[1] = 51;
strcpy((char *)v4, "Could not claim the reward.\nPlease try again later.");
v1 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Reward", (char *)v3, (ButtonSprite *)"OK", nullptr);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1);
if ( (v3[0] & 1) != 0 )
operator delete(v4);
return _stack_chk_guard;
}