//
// PromoInterstitial::onClick from 0x915b74 to 0x915bc4 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x94570
// > PromoInterstitial::setup @ 0x915f4c
// > ??> @ 0x1544018
//
// 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::onClick(PromoInterstitial *this, cocos2d::CCObject *a2)
{
cocos2d::CCApplication *v3; // x0
__int64 v4; // x0
char *v5; // x1
PlatformToolbox::logEvent((PlatformToolbox *)"gjl_store", (const char *)a2);
v4 = cocos2d::CCApplication::sharedApplication(v3);
v5 = (char *)this + 681;
if ( (*((_BYTE *)this + 680) & 1) != 0 )
v5 = *((char **)this + 87);
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 104LL))(v4, v5);
return PromoInterstitial::onClose(this, nullptr);
}