//
// PromoInterstitial::ccTouchEnded from 0x5454bc to 0x5454ec (48 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'PromoInterstitial::ccTouchEnded @ 0x5454f0
//
// 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::ccTouchEnded(int a1, int a2)
{
int result; // r0
int v4; // r0
result = *(_DWORD *)(a1 + 500);
if ( result == *(_DWORD *)(a2 + 52) )
{
if ( *(_BYTE *)(a1 + 524) )
v4 = *(_DWORD *)(a1 + 520);
else
v4 = *(_DWORD *)(a1 + 444);
result = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 456))(v4);
*(_DWORD *)(a1 + 500) = -1;
}
return result;
}