{"type": "func", "start": 5368991712, "end": 5368991858, "name": "CCAnimateFrameCache::sharedSpriteFrameCache", "pseudocode": "// \n// CCAnimateFrameCache::sharedSpriteFrameCache from 0x140044fe0 to 0x140045072 (146 bytes)\n// \n// 6 xrefs:\n// > CCPartAnimSprite::initWithAnimDesc @ 0x140049702\n// > CCPartAnimSprite::setDisplayFrame @ 0x140049e9c\n// > CCPartAnimSprite::tweenToFrame @ 0x14004a19e\n// > GameManager::reloadAllStep2 @ 0x1402878da\n// > LoadingLayer::loadAssets @ 0x140469ecc\n// > <???> @ 0x14090f800\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:25:30 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 CCAnimateFrameCache::sharedSpriteFrameCache()\n{\n  __int64 result; // rax\n  cocos2d::CCObject *v1; // rax\n  cocos2d::CCObject *v2; // rax\n  cocos2d::CCObject *v3; // rax\n  cocos2d::CCObject *v4; // [rsp+30h] [rbp+8h]\n\n  result = qword_14090BF58;\n  if ( !qword_14090BF58 )\n  {\n    v4 = (cocos2d::CCObject *)operator new(0x50u);\n    cocos2d::CCObject::CCObject(v4);\n    *(_QWORD *)v4 = &CCAnimateFrameCache::`vftable';\n    *((_QWORD *)v4 + 7) = 0;\n    *((_QWORD *)v4 + 8) = 0;\n    *((_QWORD *)v4 + 9) = 0;\n    qword_14090BF58 = (__int64)v4;\n    v1 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();\n    *((_QWORD *)v4 + 7) = v1;\n    cocos2d::CCObject::retain(v1);\n    v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();\n    *((_QWORD *)v4 + 8) = v2;\n    cocos2d::CCObject::retain(v2);\n    v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();\n    *((_QWORD *)v4 + 9) = v3;\n    cocos2d::CCObject::retain(v3);\n    return qword_14090BF58;\n  }\n  return result;\n}", "assembly": "; \n; CCAnimateFrameCache::sharedSpriteFrameCache from 0x140044fe0 to 0x140045072 (146 bytes)\n; \n; 6 xrefs:\n; > CCPartAnimSprite::initWithAnimDesc @ 0x140049702\n; > CCPartAnimSprite::setDisplayFrame @ 0x140049e9c\n; > CCPartAnimSprite::tweenToFrame @ 0x14004a19e\n; > GameManager::reloadAllStep2 @ 0x1402878da\n; > LoadingLayer::loadAssets @ 0x140469ecc\n; > <???> @ 0x14090f800\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:25:30 +0000\n; \npush    rbx                                                            ; +0x0, 0x140044fe0\nsub     rsp, 20h                                                       ; +0x2, 0x140044fe2\nmov     rax, cs:qword_14090BF58                                        ; +0x6, 0x140044fe6\ntest    rax, rax                                                       ; +0xd, 0x140044fed\njnz     short loc_14004506C                                            ; +0x10, 0x140044ff0\nmov     ecx, 50h ; 'P'; Size                                           ; +0x12, 0x140044ff2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140044ff7\nmov     rbx, rax                                                       ; +0x1c, 0x140044ffc\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x140044fff\nmov     rcx, rax                                                       ; +0x24, 0x140045004\ncall    cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x140045007\nlea     rax, ??_7CCAnimateFrameCache@@6B@; const CCAnimateFrameCache::`vftable' ; +0x2d, 0x14004500d\nmov     [rbx], rax                                                     ; +0x34, 0x140045014\nxor     eax, eax                                                       ; +0x37, 0x140045017\nmov     [rbx+38h], rax                                                 ; +0x39, 0x140045019\nmov     [rbx+40h], rax                                                 ; +0x3d, 0x14004501d\nmov     [rbx+48h], rax                                                 ; +0x41, 0x140045021\nmov     cs:qword_14090BF58, rbx                                        ; +0x45, 0x140045025\ncall    cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x4c, 0x14004502c\nmov     [rbx+38h], rax                                                 ; +0x52, 0x140045032\nmov     rcx, rax                                                       ; +0x56, 0x140045036\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x59, 0x140045039\ncall    cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x5f, 0x14004503f\nmov     [rbx+40h], rax                                                 ; +0x65, 0x140045045\nmov     rcx, rax                                                       ; +0x69, 0x140045049\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6c, 0x14004504c\ncall    cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x72, 0x140045052\nmov     [rbx+48h], rax                                                 ; +0x78, 0x140045058\nmov     rcx, rax                                                       ; +0x7c, 0x14004505c\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x7f, 0x14004505f\nmov     rax, cs:qword_14090BF58                                        ; +0x85, 0x140045065\nadd     rsp, 20h                                                       ; +0x8c, 0x14004506c\npop     rbx                                                            ; +0x90, 0x140045070\nretn                                                                   ; +0x91, 0x140045071", "xrefs": ["CCPartAnimSprite::initWithAnimDesc @ 0x140049702", "CCPartAnimSprite::setDisplayFrame @ 0x140049e9c", "CCPartAnimSprite::tweenToFrame @ 0x14004a19e", "GameManager::reloadAllStep2 @ 0x1402878da", "LoadingLayer::loadAssets @ 0x140469ecc", "<???> @ 0x14090f800"], "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"}