//
// GJPromoPopup::onExit from 0x1002a47e0 to 0x1002a481d (61 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0ac48
//
// This function is hookable on this platform (idp: pc, 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:27:55 +0000
//
__int64 __fastcall GJPromoPopup::onExit(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rbx
cocos2d::CCLayer::onExit(a1);
v1 = cocos2d::CCTextureCache::sharedTextureCache(a1);
if ( (*(_BYTE *)(a1 + 664) & 1) != 0 )
v2 = *(_QWORD *)(a1 + 680);
else
v2 = a1 + 665;
return cocos2d::CCTextureCache::removeTextureForKey(v1, v2);
}