//
// cocos2d::CCTextureCache::sharedTextureCache from 0x1005ec810 to 0x1005ec877 (103 bytes)
//
// 150 xrefs:
// > EditorUI::getCreateBtn @ 0x100033754
// > ButtonSprite::updateBGImage @ 0x10009333c
// > LevelEditorLayer::updateLevelFont @ 0x1000f11e1
// > LevelEditorLayer::updateLevelFont @ 0x1000f14c2
// > GJBaseGameLayer::setupLayers @ 0x10011169e
// > GJBaseGameLayer::setupLayers @ 0x1001116b7
// > GJBaseGameLayer::setupLayers @ 0x1001116d1
// > GJBaseGameLayer::setupLayers @ 0x1001116eb
// > GJBaseGameLayer::setupLayers @ 0x100111704
// > GJBaseGameLayer::setupLayers @ 0x10011171e
// > GJBaseGameLayer::createTextLayers @ 0x10011f9cc
// > GJBaseGameLayer::createTextLayers @ 0x10011fb97
// > GJBaseGameLayer::createTextLayers @ 0x10011fbd5
// > cocos2d::CCSpriteBatchNode::create @ 0x10017657a
// > cocos2d::CCSpriteBatchNode::initWithFile @ 0x1001765e2
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x100259ae7
// > GJBigSprite::updateSpriteVisibility @ 0x1002689e7
// > GJBigSprite::updateSpriteVisibility @ 0x100268ae3
// > MapSelectLayer::onExit @ 0x100269156
// > GJBigSprite::unloadAll @ 0x100269258
// > GJBigSprite::unloadSprite @ 0x10026a302
// > GJBigSprite::loadSpriteAsync @ 0x10026a38c
// > GJBigSprite::finishedLoadingSpriteAsync @ 0x10026a488
// > LevelAreaLayer::init @ 0x10027796d
// > LevelAreaLayer::onExit @ 0x100279a5b
// > LevelAreaInnerLayer::init @ 0x100279d4c
// > LevelAreaInnerLayer::onExit @ 0x10027bb5b
// > cocos2d::CCSprite::initWithFile_1 @ 0x100288995
// > cocos2d::CCSprite::initWithFile @ 0x100288a23
// > cocos2d::CCSprite::setTexture @ 0x10028b272
// > cocos2d::CCSprite::setTexture @ 0x10028b2d7
// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x100296e95
// > FMODLevelVisualizer::init @ 0x1002b07c7
// > GJPromoPopup::init @ 0x1002b649e
// > GJPromoPopup::onExit @ 0x1002b676e
// > GJPathsLayer::init @ 0x1002fe3a4
// > GJPathsLayer::onExit @ 0x1002feadb
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 @ 0x10031ceb3
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2 @ 0x10031d124
// > GJShopLayer::init @ 0x10032323c
// > GJShopLayer::onExit @ 0x100324db9
// > cocos2d::CCAtlasNode::create @ 0x10032aa93
// > cocos2d::CCAtlasNode::initWithTileFile @ 0x10032ab1d
// > CCAnimatedSprite::initWithType @ 0x10034ffbd
// > CCAnimatedSprite::loadType @ 0x100350388
// > cocos2d::CCSpriteFrame::getTexture @ 0x10035862e
// > GameManager::loadIconAsync @ 0x100381312
// > GameManager::loadIcon @ 0x10038200b
// > GameManager::loadIcon @ 0x1003820a1
// > GameManager::unloadIcon @ 0x100382872
// > GameManager::loadFont @ 0x10038306f
// > GameManager::loadFont @ 0x1003830a2
// > GameManager::loadDeathEffect @ 0x1003831ca
// > GameManager::loadDeathEffect @ 0x1003831e2
// > GameManager::unloadBackground @ 0x100383297
// > GameManager::loadBackground @ 0x10038334d
// > GameManager::loadBackground @ 0x10038337e
// > GameManager::loadBackgroundAsync @ 0x1003833eb
// > GameManager::finishedLoadingBGAsync @ 0x10038349e
// > GameManager::loadMiddleground @ 0x10038351d
// > GameManager::loadMiddleground @ 0x10038352d
// > GameManager::loadMiddleground @ 0x100383561
// > GameManager::loadMiddleground @ 0x10038358f
// > GameManager::loadMiddlegroundAsync @ 0x10038361c
// > GameManager::loadMiddlegroundAsync @ 0x10038365e
// > GameManager::finishedLoadingMGAsync @ 0x10038379e
// > GameManager::finishedLoadingMGAsync @ 0x1003837ae
// > GameManager::loadGround @ 0x100383831
// > GameManager::loadGround @ 0x10038384f
// > GameManager::loadGround @ 0x10038389a
// > GameManager::loadGround @ 0x1003838b9
// > GameManager::loadGroundAsync @ 0x100383967
// > GameManager::loadGroundAsync @ 0x1003839b0
// > GameManager::finishedLoadingGAsync @ 0x100383aee
// > GameManager::finishedLoadingGAsync @ 0x100383afe
// > LoadingLayer::init @ 0x1003a270e
// > LoadingLayer::loadAssets @ 0x1003a2efa
// > LoadingLayer::loadAssets @ 0x1003a2f1e
// > LoadingLayer::loadAssets @ 0x1003a3049
// > LoadingLayer::loadAssets @ 0x1003a3073
// > LoadingLayer::loadAssets @ 0x1003a309d
// > LoadingLayer::loadAssets @ 0x1003a30b3
// > LoadingLayer::loadAssets @ 0x1003a30c9
// > LoadingLayer::loadAssets @ 0x1003a30f3
// > LoadingLayer::loadAssets @ 0x1003a324e
// > LoadingLayer::loadAssets @ 0x1003a3278
// > LoadingLayer::loadAssets @ 0x1003a328e
// > LoadingLayer::loadAssets @ 0x1003a32a4
// > LoadingLayer::loadAssets @ 0x1003a32ba
// > LoadingLayer::loadAssets @ 0x1003a32d0
// > LoadingLayer::loadAssets @ 0x1003a334d
// > LoadingLayer::loadAssets @ 0x1003a3374
// > LoadingLayer::loadAssets @ 0x1003a339e
// > LoadingLayer::loadAssets @ 0x1003a33b0
// > LoadingLayer::loadAssets @ 0x1003a33da
// > LoadingLayer::loadAssets @ 0x1003a3401
// > LoadingLayer::loadAssets @ 0x1003a3417
// > LoadingLayer::loadAssets @ 0x1003a342d
// > LoadingLayer::loadAssets @ 0x1003a3443
// > LoadingLayer::loadAssets @ 0x1003a3459
// > LoadingLayer::loadAssets @ 0x1003a346f
// > LoadingLayer::loadAssets @ 0x1003a3501
// > LoadingLayer::loadAssets @ 0x1003a3517
// > SecretLayer4::init @ 0x1003b0ca7
// > SecretLayer4::onExit @ 0x1003b516b
// > WorldSelectLayer::init @ 0x1003c1ddb
// > WorldSelectLayer::onExit @ 0x1003c3a9b
// > cocos2d::CCParticleBatchNode::create @ 0x1003c8b18
// > cocos2d::CCParticleBatchNode::initWithFile @ 0x1003c8b82
// > PlayerObject::setupStreak @ 0x1003fca2e
// > PlayerObject::update @ 0x1003fdee0
// > SecretLayer5::init @ 0x10047a078
// > SecretLayer5::init @ 0x10047a0a2
// > SecretLayer5::onExit @ 0x10047e93b
// > SecretLayer6::init @ 0x10047eb94
// > cocos2d::CCDirector::removeStatsLabel @ 0x100484967
// > sub_1004851D0 @ 0x1004851db
// > sub_1004851D0 @ 0x10048523e
// > SecretLayer2::init @ 0x10049d1c7
// > SecretLayer2::onExit @ 0x1004a318b
// > SecretLayer3::init @ 0x1004a3636
// > SecretLayer3::onExit @ 0x1004a849d
// > cocos2d::CCTextureAtlas::create @ 0x1004ace89
// > cocos2d::CCTextureAtlas::initWithFile @ 0x1004acf02
// > AudioEffectsLayer::init @ 0x1004af7e6
// > PlatformToolbox::spriteFromSavedFile @ 0x1004c4559
// > TutorialLayer::onClose @ 0x1004dcbad
// > TutorialLayer::onNext @ 0x1004dcc38
// > TutorialLayer::loadPage @ 0x1004dccbf
// > TutorialLayer::removeTutorialTexture @ 0x1004dd109
// > TutorialLayer::keyBackClicked @ 0x1004dd17d
// > sub_1004DD1A0 @ 0x1004dd210
// > GauntletSelectLayer::init @ 0x1005713a4
// > GauntletSelectLayer::onExit @ 0x10057382b
// > cocos2d::CCMotionStreak::create_1 @ 0x1005763f4
// > cocos2d::CCMotionStreak::initWithFade_1 @ 0x100576495
// > GameObject::createWithKey @ 0x10059d5eb
// > sub_1005D47A0 @ 0x1005d481f
// > cocos2d::CCLabelBMFont::initWithString @ 0x1005d874a
// > cocos2d::CCLabelBMFont::setFntFile @ 0x1005db4b8
// > SecretRewardsLayer::init @ 0x1006300d1
// > SecretRewardsLayer::onExit @ 0x10063a44d
// > sub_100794EB0 @ 0x100795045
// > GJMoreGamesLayer::getMoreGamesList @ 0x1007953be
// > cocos2d::CCLabelAtlas::create @ 0x1007991f0
// > cocos2d::CCLabelAtlas::initWithString_1 @ 0x1007992a1
// > cocos2d::CCLabelAtlas::initWithString_2 @ 0x1007997d2
// > CurrencyRewardLayer::init @ 0x1007a5cd2
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c847b
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c85a5
//
// 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
//
cocos2d::CCTextureCache *__fastcall cocos2d::CCTextureCache::sharedTextureCache()
{
cocos2d::CCTextureCache *v0; // rbx
cocos2d::CCDictionary *v1; // r15
v0 = (cocos2d::CCTextureCache *)qword_1009A3018;
if ( !qword_1009A3018 )
{
v0 = (cocos2d::CCTextureCache *)operator new(0x48u);
cocos2d::CCObject::CCObject((__int64)v0);
v0->__vftable = (cocos2d::CCTextureCache_vtbl *)off_10097A130;
v1 = (cocos2d::CCDictionary *)operator new(0x48u);
cocos2d::CCDictionary::CCDictionary((__int64)v1);
v0->m_pTextures = v1;
v0->m_asyncLoadingPrepared = 0;
qword_1009A3018 = (__int64)v0;
}
return v0;
}