//
// PromoInterstitial::ccTouchBegan from 0x54546c to 0x5454b4 (72 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'PromoInterstitial::ccTouchBegan @ 0x5454b8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:22 +0000
//
int __fastcall PromoInterstitial::ccTouchBegan(int a1, int a2, int a3)
{
int v6; // r0
char v7; // r3
int v8; // r0
if ( *(_DWORD *)(a1 + 500) == -1 )
{
v6 = *(_DWORD *)(a1 + 520);
if ( v6 && (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 448))(v6) )
{
v7 = 1;
LABEL_8:
*(_BYTE *)(a1 + 524) = v7;
*(_DWORD *)(a1 + 500) = *(_DWORD *)(a2 + 52);
return 1;
}
v8 = *(_DWORD *)(a1 + 444);
if ( v8 && (*(int (__fastcall **)(int, int, int))(*(_DWORD *)v8 + 448))(v8, a2, a3) )
{
v7 = 0;
goto LABEL_8;
}
}
return 1;
}