//
// GameManager::tryCacheAd from 0x5eae58 to 0x5eaf18 (192 bytes)
//
// 1 xrefs:
// > ??> @ 0x69510
//
// 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
//
void GameManager::tryCacheAd(GameManager *a1)
{
AdToolbox *v2; // [xsp+38h] [xbp+38h] BYREF
__int64 v3; // [xsp+40h] [xbp+40h]
clock_gettime(0, (struct timespec *)&v2);
if ( (double)(__int64)v2 + (double)v3 / 1000000000.0 - a1->m_adCache >= 60.0 )
{
clock_gettime(0, (struct timespec *)&v2);
a1->m_adCache = (double)(__int64)v2 + (double)v3 / 1000000000.0;
AdToolbox::cacheInterstitial();
}
}