//
// PromoInterstitial::onClose from 0x1002c14f0 to 0x1002c153c (76 bytes)
//
// 1 xrefs:
// > PromoInterstitial::setup @ 0x1002c12d3
//
// 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:05 +0000
//
__int64 __fastcall PromoInterstitial::onClose(_BYTE *a1, __int64 a2, __int64 a3)
{
__int64 v3; // rdx
unsigned __int64 v4; // xmm0_8
__int64 v5; // rax
__int64 v6; // rax
v4 = GameManager::sharedState(a1, a2, a3).u64[0];
*(_BYTE *)(v5 + 1027) = 0;
if ( a1[704] == 1 )
{
v4 = GameManager::sharedState(a1, a2, v3).u64[0];
if ( *(_QWORD *)(v6 + 544) )
AdToolbox::enableBanner();
}
return (*(__int64 (__fastcall **)(_BYTE *, __int64, double))(*(_QWORD *)a1 + 528LL))(a1, 1, *(double *)&v4);
}