// // GameManager::canShowRewardedVideo from 0x41512c to 0x415176 (74 bytes) // // 3 xrefs: // > GJGarageLayer::onRewardedVideo @ 0x50c032 // > RetryLevelLayer::onRewardedVideo @ 0x547382 // > FollowRewardPage::onRewardedVideo @ 0x63006e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:47:40 +0000 // bool __fastcall GameManager::canShowRewardedVideo(GameManager *this, int a2, int a3, int a4) { GameStatsManager *hasCachedRewardedVideo; // r0 _BOOL4 v5; // r4 int v6; // r4 GameManager *v8; // [sp+0h] [bp-10h] BYREF int v9; // [sp+4h] [bp-Ch] int v10; // [sp+8h] [bp-8h] int v11; // [sp+Ch] [bp-4h] v8 = this; v9 = a2; v10 = a3; v11 = a4; hasCachedRewardedVideo = (GameStatsManager *)AdToolbox::hasCachedRewardedVideo(this, a2, a3, _stack_chk_guard); v5 = (_BOOL4)hasCachedRewardedVideo; if ( hasCachedRewardedVideo ) { GameStatsManager::sharedState(hasCachedRewardedVideo); GameStatsManager::getNextVideoAdReward((GameStatsManager *)&v8); if ( ((unsigned __int8)v8 & 1) != 0 ) v6 = v9; else v6 = (int)(unsigned __int8)v8 >> 1; v5 = v6 != 0; std::string::~string((int)&v8); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source