{"type": "func", "start": 6443160240, "end": 6443160297, "name": "cocos2d::CCTextureCache::sharedTextureCache", "pseudocode": "// \n// cocos2d::CCTextureCache::sharedTextureCache from 0x1800ad2b0 to 0x1800ad2e9 (57 bytes)\n// \n// 29 xrefs:\n// > cocos2d::CCAtlasNode::create @ 0x1800019b8\n// > cocos2d::CCAtlasNode::initWithTileFile @ 0x180001d40\n// > cocos2d::CCLabelAtlas::initWithString @ 0x180047de0\n// > cocos2d::CCLabelBMFont::initWithString @ 0x18004a07a\n// > cocos2d::CCLabelBMFont::setFntFile @ 0x18004e1ea\n// > cocos2d::CCMotionStreak::create @ 0x18005ec8f\n// > cocos2d::CCMotionStreak::initWithFade @ 0x18005f103\n// > cocos2d::CCParticleBatchNode::create @ 0x18006376f\n// > cocos2d::CCParticleBatchNode::initWithFile @ 0x180063ac8\n// > sub_180065EE0 @ 0x180065eea\n// > sub_180065EE0 @ 0x180065f71\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a822\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a9c0\n// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x18008c9e0\n// > cocos2d::CCSprite::initWithFile @ 0x18008ecd0\n// > cocos2d::CCSprite::initWithFile @ 0x18008ed68\n// > cocos2d::CCSprite::setTexture @ 0x18008fccf\n// > cocos2d::CCSprite::setTexture @ 0x18008fd4d\n// > cocos2d::CCSpriteBatchNode::create @ 0x1800914ec\n// > cocos2d::CCSpriteBatchNode::initWithFile @ 0x180091848\n// > cocos2d::CCSpriteFrame::getTexture @ 0x180092d7f\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094718\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094c38\n// > cocos2d::CCTextureAtlas::create @ 0x1800a9cdb\n// > cocos2d::CCTextureAtlas::initWithFile @ 0x1800aa0c8\n// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800af9a5\n// > cocos2d::CCDirector::removeStatsLabel @ 0x1800c28fe\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c21b4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:18 +0000\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 = qword_1801B3B18;\n  if ( !qword_1801B3B18 )\n  {\n    result = (struct cocos2d::CCTextureCache *)sub_1800E4AC0(0x48u);\n    if ( result )\n      result = cocos2d::CCTextureCache::CCTextureCache(result);\n    qword_1801B3B18 = result;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCTextureCache::sharedTextureCache from 0x1800ad2b0 to 0x1800ad2e9 (57 bytes)\n; \n; 29 xrefs:\n; > cocos2d::CCAtlasNode::create @ 0x1800019b8\n; > cocos2d::CCAtlasNode::initWithTileFile @ 0x180001d40\n; > cocos2d::CCLabelAtlas::initWithString @ 0x180047de0\n; > cocos2d::CCLabelBMFont::initWithString @ 0x18004a07a\n; > cocos2d::CCLabelBMFont::setFntFile @ 0x18004e1ea\n; > cocos2d::CCMotionStreak::create @ 0x18005ec8f\n; > cocos2d::CCMotionStreak::initWithFade @ 0x18005f103\n; > cocos2d::CCParticleBatchNode::create @ 0x18006376f\n; > cocos2d::CCParticleBatchNode::initWithFile @ 0x180063ac8\n; > sub_180065EE0 @ 0x180065eea\n; > sub_180065EE0 @ 0x180065f71\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a822\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a9c0\n; > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x18008c9e0\n; > cocos2d::CCSprite::initWithFile @ 0x18008ecd0\n; > cocos2d::CCSprite::initWithFile @ 0x18008ed68\n; > cocos2d::CCSprite::setTexture @ 0x18008fccf\n; > cocos2d::CCSprite::setTexture @ 0x18008fd4d\n; > cocos2d::CCSpriteBatchNode::create @ 0x1800914ec\n; > cocos2d::CCSpriteBatchNode::initWithFile @ 0x180091848\n; > cocos2d::CCSpriteFrame::getTexture @ 0x180092d7f\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094718\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094c38\n; > cocos2d::CCTextureAtlas::create @ 0x1800a9cdb\n; > cocos2d::CCTextureAtlas::initWithFile @ 0x1800aa0c8\n; > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800af9a5\n; > cocos2d::CCDirector::removeStatsLabel @ 0x1800c28fe\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c21b4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:18 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800ad2b0\nmov     rax, cs:qword_1801B3B18                                        ; +0x4, 0x1800ad2b4\ntest    rax, rax                                                       ; +0xb, 0x1800ad2bb\njnz     short loc_1800AD2E4                                            ; +0xe, 0x1800ad2be\nmov     ecx, 48h ; 'H'; Size                                           ; +0x10, 0x1800ad2c0\ncall    sub_1800E4AC0                                                  ; +0x15, 0x1800ad2c5\nmov     [rsp+28h+arg_0], rax                                           ; +0x1a, 0x1800ad2ca\ntest    rax, rax                                                       ; +0x1f, 0x1800ad2cf\njz      short loc_1800AD2DD                                            ; +0x22, 0x1800ad2d2\nmov     rcx, rax; this                                                 ; +0x24, 0x1800ad2d4\ncall    ??0CCTextureCache@cocos2d@@QEAA@XZ; cocos2d::CCTextureCache::CCTextureCache(void) ; +0x27, 0x1800ad2d7\nnop                                                                    ; +0x2c, 0x1800ad2dc\nmov     cs:qword_1801B3B18, rax                                        ; +0x2d, 0x1800ad2dd\nadd     rsp, 28h                                                       ; +0x34, 0x1800ad2e4\nretn                                                                   ; +0x38, 0x1800ad2e8", "xrefs": ["cocos2d::CCAtlasNode::create @ 0x1800019b8", "cocos2d::CCAtlasNode::initWithTileFile @ 0x180001d40", "cocos2d::CCLabelAtlas::initWithString @ 0x180047de0", "cocos2d::CCLabelBMFont::initWithString @ 0x18004a07a", "cocos2d::CCLabelBMFont::setFntFile @ 0x18004e1ea", "cocos2d::CCMotionStreak::create @ 0x18005ec8f", "cocos2d::CCMotionStreak::initWithFade @ 0x18005f103", "cocos2d::CCParticleBatchNode::create @ 0x18006376f", "cocos2d::CCParticleBatchNode::initWithFile @ 0x180063ac8", "sub_180065EE0 @ 0x180065eea", "sub_180065EE0 @ 0x180065f71", "cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a822", "cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a9c0", "cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x18008c9e0", "cocos2d::CCSprite::initWithFile @ 0x18008ecd0", "cocos2d::CCSprite::initWithFile @ 0x18008ed68", "cocos2d::CCSprite::setTexture @ 0x18008fccf", "cocos2d::CCSprite::setTexture @ 0x18008fd4d", "cocos2d::CCSpriteBatchNode::create @ 0x1800914ec", "cocos2d::CCSpriteBatchNode::initWithFile @ 0x180091848", "cocos2d::CCSpriteFrame::getTexture @ 0x180092d7f", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094718", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x180094c38", "cocos2d::CCTextureAtlas::create @ 0x1800a9cdb", "cocos2d::CCTextureAtlas::initWithFile @ 0x1800aa0c8", "cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800af9a5", "cocos2d::CCDirector::removeStatsLabel @ 0x1800c28fe", "<???> @ 0x18014cf68", "<???> @ 0x1801c21b4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}