{"type": "func", "start": 4297409248, "end": 4297409339, "name": "GJBigSprite::unloadSprite", "pseudocode": "// \n// GJBigSprite::unloadSprite from 0x1002542e0 to 0x10025433b (91 bytes)\n// \n// 0 xrefs:\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:27:25 +0000\n// \n\n__int64 __fastcall GJBigSprite::unloadSprite(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v4; // rax\n  __int64 v5; // r15\n  __int64 result; // rax\n\n  v4 = cocos2d::CCTextureCache::sharedTextureCache(a1);\n  if ( (*(_BYTE *)a2 & 1) != 0 )\n    v5 = *(_QWORD *)(a2 + 16);\n  else\n    v5 = 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 0x1002542e0 to 0x10025433b (91 bytes)\n; \n; 0 xrefs:\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:27:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002542e0\nmov     rbp, rsp                                                       ; +0x1, 0x1002542e1\npush    r15                                                            ; +0x4, 0x1002542e4\npush    r14                                                            ; +0x6, 0x1002542e6\npush    rbx                                                            ; +0x8, 0x1002542e8\npush    rax                                                            ; +0x9, 0x1002542e9\nmov     ebx, edx                                                       ; +0xa, 0x1002542ea\nmov     r15, rsi                                                       ; +0xc, 0x1002542ec\nmov     r14, rdi                                                       ; +0xf, 0x1002542ef\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0x12, 0x1002542f2\ntest    byte ptr [r15], 1                                              ; +0x17, 0x1002542f7\njnz     short loc_100254302                                            ; +0x1b, 0x1002542fb\ninc     r15                                                            ; +0x1d, 0x1002542fd\njmp     short loc_100254306                                            ; +0x20, 0x100254300\nmov     r15, [r15+10h]                                                 ; +0x22, 0x100254302\nmov     rdi, rax                                                       ; +0x26, 0x100254306\nmov     rsi, r15                                                       ; +0x29, 0x100254309\ncall    cocos2d__CCTextureCache__removeTextureForKey                   ; +0x2c, 0x10025430c\nmovsxd  rcx, ebx                                                       ; +0x31, 0x100254311\nmov     rax, [r14+140h]                                                ; +0x34, 0x100254314\nmov     rdx, rcx                                                       ; +0x3b, 0x10025431b\nmov     rsi, 0FFFFFFFFFFFFFFFEh                                        ; +0x3e, 0x10025431e\nrol     rsi, cl                                                        ; +0x45, 0x100254325\nshr     rdx, 6                                                         ; +0x48, 0x100254328\nand     [rax+rdx*8], rsi                                               ; +0x4c, 0x10025432c\nadd     rsp, 8                                                         ; +0x50, 0x100254330\npop     rbx                                                            ; +0x54, 0x100254334\npop     r14                                                            ; +0x55, 0x100254335\npop     r15                                                            ; +0x57, 0x100254337\npop     rbp                                                            ; +0x59, 0x100254339\nretn                                                                   ; +0x5a, 0x10025433a", "xrefs": [], "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"}