{"type": "func", "start": 4297499376, "end": 4297499467, "name": "GJBigSprite::unloadSprite", "pseudocode": "// \n// GJBigSprite::unloadSprite from 0x10026a2f0 to 0x10026a34b (91 bytes)\n// \n// 0 xrefs:\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, __int64 a2, int a3)\n{\n  cocos2d::CCTextureCache *v4; // rax\n  const char *v5; // r15\n  __int64 result; // rax\n\n  v4 = cocos2d::CCTextureCache::sharedTextureCache();\n  if ( (*(_BYTE *)a2 & 1) != 0 )\n    v5 = *(const char **)(a2 + 16);\n  else\n    v5 = (const char *)(a2 + 1);\n  cocos2d::CCTextureCache::removeTextureForKey(v4, v5);\n  result = *(_QWORD *)(a1 + 320);\n  *(_QWORD *)(result + 8 * ((unsigned __int64)a3 >> 6)) &= __ROL8__(-2, a3);\n  return result;\n}", "assembly": "; \n; GJBigSprite::unloadSprite from 0x10026a2f0 to 0x10026a34b (91 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x10026a2f0\nmov     rbp, rsp                                                       ; +0x1, 0x10026a2f1\npush    r15                                                            ; +0x4, 0x10026a2f4\npush    r14                                                            ; +0x6, 0x10026a2f6\npush    rbx                                                            ; +0x8, 0x10026a2f8\npush    rax                                                            ; +0x9, 0x10026a2f9\nmov     ebx, edx                                                       ; +0xa, 0x10026a2fa\nmov     r15, rsi                                                       ; +0xc, 0x10026a2fc\nmov     r14, rdi                                                       ; +0xf, 0x10026a2ff\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0x12, 0x10026a302\ntest    byte ptr [r15], 1                                              ; +0x17, 0x10026a307\njnz     short loc_10026A312                                            ; +0x1b, 0x10026a30b\ninc     r15                                                            ; +0x1d, 0x10026a30d\njmp     short loc_10026A316                                            ; +0x20, 0x10026a310\nmov     r15, [r15+10h]                                                 ; +0x22, 0x10026a312\nmov     rdi, rax                                                       ; +0x26, 0x10026a316\nmov     rsi, r15                                                       ; +0x29, 0x10026a319\ncall    cocos2d__CCTextureCache__removeTextureForKey                   ; +0x2c, 0x10026a31c\nmovsxd  rcx, ebx                                                       ; +0x31, 0x10026a321\nmov     rax, [r14+140h]                                                ; +0x34, 0x10026a324\nmov     rdx, rcx                                                       ; +0x3b, 0x10026a32b\nmov     rsi, 0FFFFFFFFFFFFFFFEh                                        ; +0x3e, 0x10026a32e\nrol     rsi, cl                                                        ; +0x45, 0x10026a335\nshr     rdx, 6                                                         ; +0x48, 0x10026a338\nand     [rax+rdx*8], rsi                                               ; +0x4c, 0x10026a33c\nadd     rsp, 8                                                         ; +0x50, 0x10026a340\npop     rbx                                                            ; +0x54, 0x10026a344\npop     r14                                                            ; +0x55, 0x10026a345\npop     r15                                                            ; +0x57, 0x10026a347\npop     rbp                                                            ; +0x59, 0x10026a349\nretn                                                                   ; +0x5a, 0x10026a34a", "xrefs": [], "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"}