{"type": "func", "start": 6443145872, "end": 6443145927, "name": "cocos2d::CCTextureCache::sharedTextureCache", "pseudocode": "// \n// cocos2d::CCTextureCache::sharedTextureCache from 0x1800a9a90 to 0x1800a9ac7 (55 bytes)\n// \n// 29 xrefs:\n// > cocos2d::CCAtlasNode::create @ 0x180001a08\n// > cocos2d::CCAtlasNode::initWithTileFile @ 0x180001d80\n// > cocos2d::CCLabelAtlas::initWithString @ 0x180046570\n// > cocos2d::CCLabelBMFont::initWithString @ 0x180048a5f\n// > cocos2d::CCLabelBMFont::setFntFile @ 0x18004c625\n// > cocos2d::CCMotionStreak::create @ 0x18005cc3f\n// > cocos2d::CCMotionStreak::initWithFade @ 0x18005d0a3\n// > cocos2d::CCParticleBatchNode::create @ 0x18006135f\n// > cocos2d::CCParticleBatchNode::initWithFile @ 0x1800616b8\n// > sub_180063AC0 @ 0x180063aca\n// > sub_180063AC0 @ 0x180063b4f\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800686ee\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006888e\n// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x1800899c0\n// > cocos2d::CCSprite::initWithFile @ 0x18008bae0\n// > cocos2d::CCSprite::initWithFile @ 0x18008bb78\n// > cocos2d::CCSprite::setTexture @ 0x18008cac7\n// > cocos2d::CCSprite::setTexture @ 0x18008cb41\n// > cocos2d::CCSpriteBatchNode::create @ 0x18008e2bc\n// > cocos2d::CCSpriteBatchNode::initWithFile @ 0x18008e618\n// > cocos2d::CCSpriteFrame::getTexture @ 0x18008fbaf\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1800912f8\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180091775\n// > cocos2d::CCTextureAtlas::create @ 0x1800a61bb\n// > cocos2d::CCTextureAtlas::initWithFile @ 0x1800a6578\n// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac1cd\n// > cocos2d::CCDirector::removeStatsLabel @ 0x1800bf0ae\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7ef0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCTextureCache *__fastcall cocos2d::CCTextureCache::sharedTextureCache()\n{\n  struct cocos2d::CCTextureCache *result; // rax\n\n  result = (struct cocos2d::CCTextureCache *)qword_1801A9AB8;\n  if ( !qword_1801A9AB8 )\n  {\n    result = (struct cocos2d::CCTextureCache *)operator new(0x48u);\n    if ( result )\n      result = cocos2d::CCTextureCache::CCTextureCache(result);\n    qword_1801A9AB8 = result;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCTextureCache::sharedTextureCache from 0x1800a9a90 to 0x1800a9ac7 (55 bytes)\n; \n; 29 xrefs:\n; > cocos2d::CCAtlasNode::create @ 0x180001a08\n; > cocos2d::CCAtlasNode::initWithTileFile @ 0x180001d80\n; > cocos2d::CCLabelAtlas::initWithString @ 0x180046570\n; > cocos2d::CCLabelBMFont::initWithString @ 0x180048a5f\n; > cocos2d::CCLabelBMFont::setFntFile @ 0x18004c625\n; > cocos2d::CCMotionStreak::create @ 0x18005cc3f\n; > cocos2d::CCMotionStreak::initWithFade @ 0x18005d0a3\n; > cocos2d::CCParticleBatchNode::create @ 0x18006135f\n; > cocos2d::CCParticleBatchNode::initWithFile @ 0x1800616b8\n; > sub_180063AC0 @ 0x180063aca\n; > sub_180063AC0 @ 0x180063b4f\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800686ee\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006888e\n; > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x1800899c0\n; > cocos2d::CCSprite::initWithFile @ 0x18008bae0\n; > cocos2d::CCSprite::initWithFile @ 0x18008bb78\n; > cocos2d::CCSprite::setTexture @ 0x18008cac7\n; > cocos2d::CCSprite::setTexture @ 0x18008cb41\n; > cocos2d::CCSpriteBatchNode::create @ 0x18008e2bc\n; > cocos2d::CCSpriteBatchNode::initWithFile @ 0x18008e618\n; > cocos2d::CCSpriteFrame::getTexture @ 0x18008fbaf\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1800912f8\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180091775\n; > cocos2d::CCTextureAtlas::create @ 0x1800a61bb\n; > cocos2d::CCTextureAtlas::initWithFile @ 0x1800a6578\n; > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac1cd\n; > cocos2d::CCDirector::removeStatsLabel @ 0x1800bf0ae\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7ef0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 28h                                                       ; +0x0, 0x1800a9a90\nmov     rax, cs:qword_1801A9AB8                                        ; +0x4, 0x1800a9a94\ntest    rax, rax                                                       ; +0xb, 0x1800a9a9b\njnz     short loc_1800A9AC2                                            ; +0xe, 0x1800a9a9e\nlea     ecx, [rax+48h]; Size                                           ; +0x10, 0x1800a9aa0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x1800a9aa3\nmov     [rsp+28h+arg_0], rax                                           ; +0x18, 0x1800a9aa8\ntest    rax, rax                                                       ; +0x1d, 0x1800a9aad\njz      short loc_1800A9ABB                                            ; +0x20, 0x1800a9ab0\nmov     rcx, rax; this                                                 ; +0x22, 0x1800a9ab2\ncall    ??0CCTextureCache@cocos2d@@QEAA@XZ; cocos2d::CCTextureCache::CCTextureCache(void) ; +0x25, 0x1800a9ab5\nnop                                                                    ; +0x2a, 0x1800a9aba\nmov     cs:qword_1801A9AB8, rax                                        ; +0x2b, 0x1800a9abb\nadd     rsp, 28h                                                       ; +0x32, 0x1800a9ac2\nretn                                                                   ; +0x36, 0x1800a9ac6", "xrefs": ["cocos2d::CCAtlasNode::create @ 0x180001a08", "cocos2d::CCAtlasNode::initWithTileFile @ 0x180001d80", "cocos2d::CCLabelAtlas::initWithString @ 0x180046570", "cocos2d::CCLabelBMFont::initWithString @ 0x180048a5f", "cocos2d::CCLabelBMFont::setFntFile @ 0x18004c625", "cocos2d::CCMotionStreak::create @ 0x18005cc3f", "cocos2d::CCMotionStreak::initWithFade @ 0x18005d0a3", "cocos2d::CCParticleBatchNode::create @ 0x18006135f", "cocos2d::CCParticleBatchNode::initWithFile @ 0x1800616b8", "sub_180063AC0 @ 0x180063aca", "sub_180063AC0 @ 0x180063b4f", "cocos2d::CCParticleSystem::initWithDictionary @ 0x1800686ee", "cocos2d::CCParticleSystem::initWithDictionary @ 0x18006888e", "cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x1800899c0", "cocos2d::CCSprite::initWithFile @ 0x18008bae0", "cocos2d::CCSprite::initWithFile @ 0x18008bb78", "cocos2d::CCSprite::setTexture @ 0x18008cac7", "cocos2d::CCSprite::setTexture @ 0x18008cb41", "cocos2d::CCSpriteBatchNode::create @ 0x18008e2bc", "cocos2d::CCSpriteBatchNode::initWithFile @ 0x18008e618", "cocos2d::CCSpriteFrame::getTexture @ 0x18008fbaf", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1800912f8", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180091775", "cocos2d::CCTextureAtlas::create @ 0x1800a61bb", "cocos2d::CCTextureAtlas::initWithFile @ 0x1800a6578", "cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac1cd", "cocos2d::CCDirector::removeStatsLabel @ 0x1800bf0ae", "<???> @ 0x1801438a8", "<???> @ 0x1801b7ef0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}