//
// GameManager::tryCacheAd from 0x715a68 to 0x715b28 (192 bytes)
//
// 1 xrefs:
// > ??> @ 0x8e9d8
//
// 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
//
__int64 __fastcall GameManager::tryCacheAd(GameManager *this)
{
AdToolbox *v2; // x0
AdToolbox *v4; // [xsp+38h] [xbp+38h] BYREF
__int64 v5; // [xsp+40h] [xbp+40h]
clock_gettime(0, (struct timespec *)&v4);
if ( (double)(__int64)v4 + (double)v5 / 1000000000.0 - *((double *)this + 59) >= 60.0 )
{
clock_gettime(0, (struct timespec *)&v4);
v2 = v4;
*((double *)this + 59) = (double)(__int64)v4 + (double)v5 / 1000000000.0;
AdToolbox::cacheInterstitial(v2);
}
return _stack_chk_guard;
}