{"type": "func", "start": 6443020512, "end": 6443020549, "name": "cocos2d::CCAnimationCache::purgeSharedAnimationCache", "pseudocode": "// \n// cocos2d::CCAnimationCache::purgeSharedAnimationCache from 0x18008b0e0 to 0x18008b105 (37 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCDirector::purgeDirector @ 0x1800bef30\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5aa8\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\nvoid __fastcall cocos2d::CCAnimationCache::purgeSharedAnimationCache()\n{\n  if ( cocos2d::CCAnimationCache::s_pSharedAnimationCache )\n  {\n    cocos2d::CCObject::release(cocos2d::CCAnimationCache::s_pSharedAnimationCache);\n    cocos2d::CCAnimationCache::s_pSharedAnimationCache = nullptr;\n  }\n}", "assembly": "; \n; cocos2d::CCAnimationCache::purgeSharedAnimationCache from 0x18008b0e0 to 0x18008b105 (37 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCDirector::purgeDirector @ 0x1800bef30\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5aa8\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, 0x18008b0e0\nmov     rcx, cs:?s_pSharedAnimationCache@CCAnimationCache@cocos2d@@0PEAV12@EA; this ; +0x4, 0x18008b0e4\ntest    rcx, rcx                                                       ; +0xb, 0x18008b0eb\njz      short loc_18008B100                                            ; +0xe, 0x18008b0ee\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x10, 0x18008b0f0\nmov     cs:?s_pSharedAnimationCache@CCAnimationCache@cocos2d@@0PEAV12@EA, 0; cocos2d::CCAnimationCache * cocos2d::CCAnimationCache::s_pSharedAnimationCache ; +0x15, 0x18008b0f5\nadd     rsp, 28h                                                       ; +0x20, 0x18008b100\nretn                                                                   ; +0x24, 0x18008b104", "xrefs": ["cocos2d::CCDirector::purgeDirector @ 0x1800bef30", "<???> @ 0x1801438a8", "<???> @ 0x1801b5aa8"], "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"}