// // GameManager::canShowRewardedVideo from 0x100369670 to 0x1003696c0 (80 bytes) // // 3 xrefs: // > GJGarageLayer::onRewardedVideo @ 0x1003557b3 // > sub_10040E060 @ 0x10040e093 // > RetryLevelLayer::onRewardedVideo @ 0x1004f81c3 // // This function is hookable on this platform (idp: pc, 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:28:59 +0000 // __int64 __fastcall GameManager::canShowRewardedVideo() { unsigned int v0; // ebx __int64 v1; // rax _BYTE v3[8]; // [rsp+0h] [rbp-20h] BYREF __int64 v4; // [rsp+8h] [rbp-18h] void *__p; // [rsp+10h] [rbp-10h] if ( (unsigned __int8)AdToolbox::hasCachedRewardedVideo() ) { v1 = GameStatsManager::sharedState(); GameStatsManager::getNextVideoAdReward((__int64)v3, v1); if ( (v3[0] & 1) != 0 ) { LOBYTE(v0) = v4 != 0; operator delete(__p); } else { LOBYTE(v0) = v3[0] != 0; } } else { return 0; } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source