//
// PromoInterstitial::keyBackClicked from 0x1002c1490 to 0x1002c14e7 (87 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0ffb0
//
// 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::keyBackClicked(_BYTE *a1)
{
__int64 v1; // rdx
__int64 v2; // rdx
unsigned __int64 v3; // xmm0_8
__int64 v4; // rax
__int64 v5; // rax
(*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);
v3 = GameManager::sharedState(a1, 0, v1).u64[0];
*(_BYTE *)(v4 + 1027) = 0;
if ( a1[704] == 1 )
{
v3 = GameManager::sharedState(a1, 0, v2).u64[0];
if ( *(_QWORD *)(v5 + 544) )
AdToolbox::enableBanner();
}
return (*(__int64 (__fastcall **)(_BYTE *, __int64, double))(*(_QWORD *)a1 + 528LL))(a1, 1, *(double *)&v3);
}