// // GameManager::canShowRewardedVideo from 0x100380300 to 0x100380350 (80 bytes) // // 3 xrefs: // > GJGarageLayer::onRewardedVideo @ 0x10036c393 // > FollowRewardPage::onRewardedVideo @ 0x100421433 // > RetryLevelLayer::onRewardedVideo @ 0x1004f9333 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall GameManager::canShowRewardedVideo(GameManager *a1) { double v1; // xmm0_8 GameStatsManager *v2; // rax bool v3; // bl _BYTE v5[8]; // [rsp+0h] [rbp-20h] BYREF __int64 v6; // [rsp+8h] [rbp-18h] void *__p; // [rsp+10h] [rbp-10h] if ( !AdToolbox::hasCachedRewardedVideo() ) return 0; v2 = GameStatsManager::sharedState(); GameStatsManager::getNextVideoAdReward((__int64)v5, (__int64)v2, v1); if ( (v5[0] & 1) == 0 ) return v5[0] != 0; v3 = v6 != 0; operator delete(__p); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source