// // GameManager::canShowRewardedVideo from 0x715c80 to 0x715d0c (140 bytes) // // 4 xrefs: // > GJGarageLayer::onRewardedVideo @ 0x8bb40c // > RetryLevelLayer::onRewardedVideo @ 0x918bf8 // > FollowRewardPage::onRewardedVideo @ 0xaaa988 // > @ 0xf4eb8 // // 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 12:52:16 +0000 // bool __fastcall GameManager::canShowRewardedVideo(GameManager *this) { _BOOL8 hasCachedRewardedVideo; // x0 _BOOL4 v2; // w20 GameStatsManager *v4; // x0 __int64 v5[3]; // [xsp+20h] [xbp+20h] BYREF hasCachedRewardedVideo = AdToolbox::hasCachedRewardedVideo(_stack_chk_guard); v2 = hasCachedRewardedVideo; if ( hasCachedRewardedVideo ) { v4 = (GameStatsManager *)GameStatsManager::sharedState((GameStatsManager *)hasCachedRewardedVideo); GameStatsManager::getNextVideoAdReward(v5, v4); if ( (v5[0] & 1) != 0 ) { v2 = v5[1] != 0; operator delete((void *)v5[2]); } else { return (int)LOBYTE(v5[0]) >> 1 != 0; } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source