//
// cocos2d::CCTextureCache::removeTextureForKey from 0x80091c to 0x800964 (72 bytes)
//
// 35 xrefs:
// > GameManager::finishedLoadingBGAsync @ 0x412f6e
// > GameManager::loadFont @ 0x414560
// > GameManager::loadDeathEffect @ 0x414632
// > GameManager::unloadBackground @ 0x4146a8
// > GameManager::loadBackground @ 0x41470e
// > GameManager::loadMiddleground @ 0x4147ca
// > GameManager::loadMiddleground @ 0x4147e8
// > GameManager::finishedLoadingMGAsync @ 0x414916
// > GameManager::finishedLoadingMGAsync @ 0x414920
// > GameManager::loadGround @ 0x4149be
// > GameManager::loadGround @ 0x4149e8
// > GameManager::finishedLoadingGAsync @ 0x414b3a
// > GameManager::finishedLoadingGAsync @ 0x414b44
// > GameManager::unloadIcon @ 0x41d536
// > TutorialPopup::~TutorialPopup @ 0x41e836
// > GJMoreGamesLayer::~GJMoreGamesLayer @ 0x53813a
// > TutorialLayer::removeTutorialTexture @ 0x538b64
// > GJPromoPopup::onExit @ 0x5d3e6e
// > GauntletSelectLayer::onExit @ 0x60d99e
// > GJShopLayer::onExit @ 0x6139e4
// > SecretLayer3::onExit @ 0x61a486
// > SecretLayer2::onExit @ 0x61a6ca
// > SecretLayer4::onExit @ 0x623426
// > WorldSelectLayer::onExit @ 0x62cace
// > GJBigSprite::unloadSprite @ 0x63f652
// > MapSelectLayer::onExit @ 0x640fc4
// > LevelAreaLayer::onExit @ 0x6a5d4a
// > LevelAreaInnerLayer::onExit @ 0x6a5d7e
// > NewsPopup::~NewsPopup @ 0x6c2ce0
// > SecretRewardsLayer::onExit @ 0x6cff0e
// > GJPathsLayer::onExit @ 0x6d1766
// > SecretLayer5::onExit @ 0x6e28a6
// > KeybindCapturePopup::~KeybindCapturePopup @ 0x79a2d6
// > SelectFontLayer2::unloadPreviewSheet @ 0x7a204a
// > cocos2d::CCDirector::removeStatsLabel @ 0x7caf66
//
// 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 12:01:19 +0000
//
cocos2d::CCFileUtils *__fastcall cocos2d::CCTextureCache::removeTextureForKey(
cocos2d::CCFileUtils *this,
const char *a2)
{
cocos2d::CCFileUtils *v2; // r7
int v4; // r0
_BYTE v5[12]; // [sp+0h] [bp-14h] BYREF
v2 = this;
if ( a2 )
{
v4 = cocos2d::CCFileUtils::sharedFileUtils(this);
(*(void (__fastcall **)(_BYTE *, int, const char *, _DWORD))(*(_DWORD *)v4 + 24))(v5, v4, a2, 0);
cocos2d::CCDictionary::removeObjectForKey(*((cocos2d::CCDictionary **)v2 + 13), (int)v5);
return (cocos2d::CCFileUtils *)std::string::~string((int)v5);
}
return this;
}