{"type": "func", "start": 9958444, "end": 9958536, "name": "GJBigSprite::unloadSprite", "pseudocode": "// \n// GJBigSprite::unloadSprite from 0x97f42c to 0x97f488 (92 bytes)\n// \n// 4 xrefs:\n// > GJBigSprite::unloadAll @ 0x97f524\n// > GJBigSprite::finishedLoadingSpriteAsync @ 0x97f6ac\n// > GJBigSprite::updateSpriteVisibility @ 0x97f9f4\n// > <???> @ 0x9ed90\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\n__int64 __fastcall GJBigSprite::unloadSprite(__int64 a1, const char **a2, int a3)\n{\n  cocos2d::CCTextureCache *v4; // x0\n  __int64 v5; // x3\n  unsigned __int64 v6; // x1\n  __int64 result; // x0\n\n  v4 = cocos2d::CCTextureCache::sharedTextureCache();\n  cocos2d::CCTextureCache::removeTextureForKey(v4, *a2);\n  v5 = *(_QWORD *)(a1 + 320);\n  v6 = (unsigned __int64)a3 >> 6;\n  result = *(_QWORD *)(v5 + 8 * v6);\n  *(_QWORD *)(v5 + 8 * v6) = result & ~(1LL << (a3 & 0x3F));\n  return result;\n}", "assembly": "; \n; GJBigSprite::unloadSprite from 0x97f42c to 0x97f488 (92 bytes)\n; \n; 4 xrefs:\n; > GJBigSprite::unloadAll @ 0x97f524\n; > GJBigSprite::finishedLoadingSpriteAsync @ 0x97f6ac\n; > GJBigSprite::updateSpriteVisibility @ 0x97f9f4\n; > <???> @ 0x9ed90\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x97f42c\nMOV             X29, SP                                                ; +0x4, 0x97f430\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x97f434\nMOV             X19, X0                                                ; +0xc, 0x97f438\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x10, 0x97f43c\nSTR             X1, [X29,#0x30+var_10]                                 ; +0x14, 0x97f440\nBL              _ZN7cocos2d14CCTextureCache18sharedTextureCacheEv; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x18, 0x97f444\nLDR             X1, [X29,#0x30+var_10]                                 ; +0x1c, 0x97f448\nLDR             X1, [X1]; char *                                       ; +0x20, 0x97f44c\nBL              _ZN7cocos2d14CCTextureCache19removeTextureForKeyEPKc; cocos2d::CCTextureCache::removeTextureForKey(char const*) ; +0x24, 0x97f450\nLDR             X2, [X29,#0x30+var_8]                                  ; +0x28, 0x97f454\nMOV             X0, #1                                                 ; +0x2c, 0x97f458\nLDR             X3, [X19,#0x140]                                       ; +0x30, 0x97f45c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x34, 0x97f460\nSXTW            X1, W2                                                 ; +0x38, 0x97f464\nAND             W2, W2, #0x3F ; '?'                                    ; +0x3c, 0x97f468\nLSR             X1, X1, #6                                             ; +0x40, 0x97f46c\nLSL             X2, X0, X2                                             ; +0x44, 0x97f470\nLDR             X0, [X3,X1,LSL#3]                                      ; +0x48, 0x97f474\nBIC             X2, X0, X2                                             ; +0x4c, 0x97f478\nSTR             X2, [X3,X1,LSL#3]                                      ; +0x50, 0x97f47c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x54, 0x97f480\nRET                                                                    ; +0x58, 0x97f484", "xrefs": ["GJBigSprite::unloadAll @ 0x97f524", "GJBigSprite::finishedLoadingSpriteAsync @ 0x97f6ac", "GJBigSprite::updateSpriteVisibility @ 0x97f9f4", "<???> @ 0x9ed90"], "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"}