//
// GJPromoPopup::onExit from 0xa1e93c to 0xa1e970 (52 bytes)
//
// 2 xrefs:
// > ??> @ 0xbe6f0
// > ??> @ 0x1485120
//
// 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:59:39 +0000
//
__int64 __fastcall GJPromoPopup::onExit(GJPromoPopup *this)
{
cocos2d::CCTextureCache *v2; // x0
cocos2d::CCTextureCache *v3; // x0
const char *v4; // x1
v2 = (cocos2d::CCTextureCache *)cocos2d::CCLayer::onExit(this);
v3 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v2);
v4 = (char *)this + 665;
if ( (*((_BYTE *)this + 664) & 1) != 0 )
v4 = *((const char **)this + 85);
return cocos2d::CCTextureCache::removeTextureForKey(v3, v4);
}