//
// PromoInterstitial::onClick from 0x545434 to 0x545466 (50 bytes)
//
// 0 xrefs:
//
// 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::onClick(PromoInterstitial *this, cocos2d::CCObject *a2)
{
cocos2d::CCApplication *v3; // r0
int v4; // r0
char *v5; // r1
PlatformToolbox::logEvent((PlatformToolbox *)"gjl_store", (const char *)a2);
v4 = cocos2d::CCApplication::sharedApplication(v3);
if ( (*((_BYTE *)this + 528) & 1) != 0 )
v5 = *((char **)this + 134);
else
v5 = (char *)this + 529;
(*(void (__fastcall **)(int, char *))(*(_DWORD *)v4 + 52))(v4, v5);
return PromoInterstitial::onClose(this, nullptr);
}