//
// PromoInterstitial::ccTouchBegan from 0x915c78 to 0x915d38 (192 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'PromoInterstitial::ccTouchBegan @ 0x915d3c
// > ??> @ 0xf1ca8
// > ??> @ 0x1467f90
//
// 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:57:19 +0000
//
__int64 __fastcall PromoInterstitial::ccTouchBegan(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // x0
__int64 v8; // x0
if ( *(_DWORD *)(a1 + 640) != -1 )
return 1;
v5 = *(_QWORD *)(a1 + 664);
if ( v5 && (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v5 + 896LL))(v5) )
{
*(_BYTE *)(a1 + 672) = 1;
*(_DWORD *)(a1 + 640) = *(_DWORD *)(a2 + 56);
return 1;
}
else
{
v8 = *(_QWORD *)(a1 + 552);
if ( !v8 || !(*(unsigned __int8 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v8 + 896LL))(v8, a2, a3) )
return 1;
*(_BYTE *)(a1 + 672) = 0;
*(_DWORD *)(a1 + 640) = *(_DWORD *)(a2 + 56);
return 1;
}
}