//
// cocos2d::CCTextureCache::removeTextureForKey from 0x100114930 to 0x100114994 (100 bytes)
//
// 28 xrefs:
// > sub_100064D5C @ 0x100064e4c
// > SecretLayer5::onExit @ 0x100076fe0
// > GJShopLayer::onExit @ 0x10014bf6c
// > cocos2d::CCDirector::removeStatsLabel @ 0x100176570
// > TutorialLayer::removeTutorialTexture @ 0x1001bdbf8
// > GauntletSelectLayer::onExit @ 0x1001c0534
// > GJPromoPopup::onExit @ 0x1002e5510
// > SecretRewardsLayer::onExit @ 0x1002eeb28
// > SecretLayer2::onExit @ 0x10030dbd8
// > SecretLayer3::onExit @ 0x1003118ac
// > GameManager::unloadIcon @ 0x100317e78
// > GameManager::loadFont @ 0x100318184
// > GameManager::loadDeathEffect @ 0x100318310
// > GameManager::unloadBackground @ 0x1003183d0
// > GameManager::loadBackground @ 0x100318480
// > GameManager::finishedLoadingBGAsync @ 0x1003185e4
// > GameManager::loadMiddleground @ 0x100318668
// > GameManager::loadMiddleground @ 0x100318694
// > GameManager::finishedLoadingMGAsync @ 0x100318910
// > GameManager::finishedLoadingMGAsync @ 0x10031891c
// > GameManager::loadGround @ 0x100318994
// > GameManager::loadGround @ 0x1003189d0
// > GameManager::finishedLoadingGAsync @ 0x100318c60
// > GameManager::finishedLoadingGAsync @ 0x100318c6c
// > LevelAreaLayer::onExit @ 0x10034560c
// > LevelAreaInnerLayer::onExit @ 0x100346dd8
// > SecretLayer4::onExit @ 0x1003564ec
// > GJPathsLayer::onExit @ 0x1003b8674
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCTextureCache::removeTextureForKey(cocos2d::CCTextureCache *a1, const char *a2)
{
cocos2d::CCFileUtils *v4; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
if ( a2 )
{
v4 = cocos2d::CCFileUtils::sharedFileUtils();
((void (__fastcall *)(void **__return_ptr, cocos2d::CCFileUtils *, const char *, _QWORD))v4->createCCArrayWithContentsOfFile)(
__p,
v4,
a2,
0);
cocos2d::CCDictionary::removeObjectForKey_1((int)a1->m_pTextures, (char *)__p);
if ( v6 < 0 )
operator delete(__p[0]);
}
}