{"type": "func", "start": 4297347936, "end": 4297348024, "name": "CCAnimateFrameCache::sharedSpriteFrameCache", "pseudocode": "// \n// CCAnimateFrameCache::sharedSpriteFrameCache from 0x100245360 to 0x1002453b8 (88 bytes)\n// \n// 5 xrefs:\n// > sub_100086DC4 @ 0x100086e38\n// > CCPartAnimSprite::setDisplayFrame @ 0x1000878a8\n// > sub_1000879B8 @ 0x1000879f8\n// > LoadingLayer::loadAssets @ 0x10026f314\n// > GameManager::reloadAllStep2 @ 0x1003bb6a8\n// \n// This function is hookable on this platform (idp: arm, 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:01:26 +0000\n// \n\n__int64 CCAnimateFrameCache::sharedSpriteFrameCache()\n{\n  __int64 result; // x0\n  _QWORD *v1; // x19\n\n  result = qword_1009F50A0;\n  if ( !qword_1009F50A0 )\n  {\n    v1 = operator new(0x50u);\n    cocos2d::CCObject::CCObject((__int64)v1);\n    *v1 = off_100907C30;\n    v1[8] = 0;\n    v1[9] = 0;\n    v1[7] = 0;\n    qword_1009F50A0 = (__int64)v1;\n    sub_1002453CC(v1);\n    return qword_1009F50A0;\n  }\n  return result;\n}", "assembly": "; \n; CCAnimateFrameCache::sharedSpriteFrameCache from 0x100245360 to 0x1002453b8 (88 bytes)\n; \n; 5 xrefs:\n; > sub_100086DC4 @ 0x100086e38\n; > CCPartAnimSprite::setDisplayFrame @ 0x1000878a8\n; > sub_1000879B8 @ 0x1000879f8\n; > LoadingLayer::loadAssets @ 0x10026f314\n; > GameManager::reloadAllStep2 @ 0x1003bb6a8\n; \n; This function is hookable on this platform (idp: arm, 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:01:26 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100245360\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100245364\nADD             X29, SP, #0x10                                         ; +0x8, 0x100245368\nADRP            X20, #qword_1009F50A0@PAGE                             ; +0xc, 0x10024536c\nLDR             X0, [X20,#qword_1009F50A0@PAGEOFF]                     ; +0x10, 0x100245370\nCBNZ            X0, loc_1002453AC                                      ; +0x14, 0x100245374\nMOV             W0, #0x50 ; 'P'; __sz                                  ; +0x18, 0x100245378\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x10024537c\nMOV             X19, X0                                                ; +0x20, 0x100245380\nBL              cocos2d__CCObject__CCObject                            ; +0x24, 0x100245384\nADRL            X8, off_100907C30                                      ; +0x28, 0x100245388\nSTR             X8, [X19]                                              ; +0x30, 0x100245390\nSTP             XZR, XZR, [X19,#0x40]                                  ; +0x34, 0x100245394\nSTR             XZR, [X19,#0x38]                                       ; +0x38, 0x100245398\nSTR             X19, [X20,#qword_1009F50A0@PAGEOFF]                    ; +0x3c, 0x10024539c\nMOV             X0, X19                                                ; +0x40, 0x1002453a0\nBL              sub_1002453CC                                          ; +0x44, 0x1002453a4\nLDR             X0, [X20,#qword_1009F50A0@PAGEOFF]                     ; +0x48, 0x1002453a8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1002453ac\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1002453b0\nRET                                                                    ; +0x54, 0x1002453b4", "xrefs": ["sub_100086DC4 @ 0x100086e38", "CCPartAnimSprite::setDisplayFrame @ 0x1000878a8", "sub_1000879B8 @ 0x1000879f8", "LoadingLayer::loadAssets @ 0x10026f314", "GameManager::reloadAllStep2 @ 0x1003bb6a8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}