{"type": "func", "start": 4300832400, "end": 4300832540, "name": "CCAnimateFrameCache::sharedSpriteFrameCache", "pseudocode": "// \n// CCAnimateFrameCache::sharedSpriteFrameCache from 0x100597e90 to 0x100597f1c (140 bytes)\n// \n// 5 xrefs:\n// > CCPartAnimSprite::initWithAnimDesc @ 0x10035d0a8\n// > CCPartAnimSprite::setDisplayFrame @ 0x10035e343\n// > CCPartAnimSprite::tweenToFrame @ 0x10035e55e\n// > GameManager::reloadAllStep2 @ 0x100376f88\n// > LoadingLayer::loadAssets @ 0x10038cbb4\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 12:32:29 +0000\n// \n\n__int64 CCAnimateFrameCache::sharedSpriteFrameCache()\n{\n  __int64 result; // rax\n  char *v1; // rbx\n  _QWORD *v2; // rax\n  _QWORD *v3; // rax\n  _QWORD *v4; // rax\n\n  result = qword_100BE56C0;\n  if ( !qword_100BE56C0 )\n  {\n    v1 = (char *)operator new(0x50u);\n    cocos2d::CCObject::CCObject((__int64)v1);\n    *(_QWORD *)v1 = off_100B715D0;\n    *(_OWORD *)(v1 + 56) = 0;\n    *((_QWORD *)v1 + 9) = 0;\n    qword_100BE56C0 = (__int64)v1;\n    v2 = cocos2d::CCDictionary::create();\n    *((_QWORD *)v1 + 7) = v2;\n    cocos2d::CCObject::retain((__int64)v2);\n    v3 = cocos2d::CCDictionary::create();\n    *((_QWORD *)v1 + 8) = v3;\n    cocos2d::CCObject::retain((__int64)v3);\n    v4 = cocos2d::CCDictionary::create();\n    *((_QWORD *)v1 + 9) = v4;\n    cocos2d::CCObject::retain((__int64)v4);\n    return qword_100BE56C0;\n  }\n  return result;\n}", "assembly": "; \n; CCAnimateFrameCache::sharedSpriteFrameCache from 0x100597e90 to 0x100597f1c (140 bytes)\n; \n; 5 xrefs:\n; > CCPartAnimSprite::initWithAnimDesc @ 0x10035d0a8\n; > CCPartAnimSprite::setDisplayFrame @ 0x10035e343\n; > CCPartAnimSprite::tweenToFrame @ 0x10035e55e\n; > GameManager::reloadAllStep2 @ 0x100376f88\n; > LoadingLayer::loadAssets @ 0x10038cbb4\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 12:32:29 +0000\n; \npush    rbp                                                            ; +0x0, 0x100597e90\nmov     rbp, rsp                                                       ; +0x1, 0x100597e91\npush    r14                                                            ; +0x4, 0x100597e94\npush    rbx                                                            ; +0x6, 0x100597e96\nmov     rax, cs:qword_100BE56C0                                        ; +0x7, 0x100597e97\ntest    rax, rax                                                       ; +0xe, 0x100597e9e\njz      short loc_100597EA8                                            ; +0x11, 0x100597ea1\npop     rbx                                                            ; +0x13, 0x100597ea3\npop     r14                                                            ; +0x14, 0x100597ea4\npop     rbp                                                            ; +0x16, 0x100597ea6\nretn                                                                   ; +0x17, 0x100597ea7\nmov     edi, 50h ; 'P'; __sz                                           ; +0x18, 0x100597ea8\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x100597ead\nmov     rbx, rax                                                       ; +0x22, 0x100597eb2\nmov     rdi, rax                                                       ; +0x25, 0x100597eb5\ncall    cocos2d__CCObject__CCObject                                    ; +0x28, 0x100597eb8\nlea     rax, off_100B715D0                                             ; +0x2d, 0x100597ebd\nmov     [rbx], rax                                                     ; +0x34, 0x100597ec4\nxorps   xmm0, xmm0                                                     ; +0x37, 0x100597ec7\nmovups  xmmword ptr [rbx+38h], xmm0                                    ; +0x3a, 0x100597eca\nmov     qword ptr [rbx+48h], 0                                         ; +0x3e, 0x100597ece\nmov     cs:qword_100BE56C0, rbx                                        ; +0x46, 0x100597ed6\ncall    cocos2d__CCDictionary__create                                  ; +0x4d, 0x100597edd\nmov     [rbx+38h], rax                                                 ; +0x52, 0x100597ee2\nmov     rdi, rax                                                       ; +0x56, 0x100597ee6\ncall    cocos2d__CCObject__retain                                      ; +0x59, 0x100597ee9\ncall    cocos2d__CCDictionary__create                                  ; +0x5e, 0x100597eee\nmov     [rbx+40h], rax                                                 ; +0x63, 0x100597ef3\nmov     rdi, rax                                                       ; +0x67, 0x100597ef7\ncall    cocos2d__CCObject__retain                                      ; +0x6a, 0x100597efa\ncall    cocos2d__CCDictionary__create                                  ; +0x6f, 0x100597eff\nmov     [rbx+48h], rax                                                 ; +0x74, 0x100597f04\nmov     rdi, rax                                                       ; +0x78, 0x100597f08\ncall    cocos2d__CCObject__retain                                      ; +0x7b, 0x100597f0b\nmov     rax, cs:qword_100BE56C0                                        ; +0x80, 0x100597f10\npop     rbx                                                            ; +0x87, 0x100597f17\npop     r14                                                            ; +0x88, 0x100597f18\npop     rbp                                                            ; +0x8a, 0x100597f1a\nretn                                                                   ; +0x8b, 0x100597f1b", "xrefs": ["CCPartAnimSprite::initWithAnimDesc @ 0x10035d0a8", "CCPartAnimSprite::setDisplayFrame @ 0x10035e343", "CCPartAnimSprite::tweenToFrame @ 0x10035e55e", "GameManager::reloadAllStep2 @ 0x100376f88", "LoadingLayer::loadAssets @ 0x10038cbb4"], "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"}