{"type": "func", "start": 6443042112, "end": 6443042242, "name": "cocos2d::CCSpriteFrameCache::~CCSpriteFrameCache", "pseudocode": "// \n// cocos2d::CCSpriteFrameCache::~CCSpriteFrameCache from 0x180090540 to 0x1800905c2 (130 bytes)\n// \n// 4 xrefs:\n// > sub_1800905D0 @ 0x180090632\n// > sub_1800905D0 @ 0x1800905ec\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b630c\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::CCSpriteFrameCache::~CCSpriteFrameCache(cocos2d::CCSpriteFrameCache *this)\n{\n  cocos2d::CCObject *v2; // rcx\n  cocos2d::CCObject *v3; // rcx\n  void **v4; // rdi\n\n  this->__vftable = (cocos2d::CCSpriteFrameCache_vtbl *)&cocos2d::CCSpriteFrameCache::`vftable';\n  v2 = *((cocos2d::CCObject **)this + 7);\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  v3 = *((cocos2d::CCObject **)this + 8);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  v4 = *((void ***)this + 9);\n  if ( v4 )\n  {\n    sub_1800903C0(*((_QWORD *)this + 9), *((_QWORD *)this + 9), *((__int64 **)*v4 + 1));\n    j_j_free_0(*v4);\n    j_j_free_0(v4);\n    *((_QWORD *)this + 9) = 0;\n  }\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCSpriteFrameCache::~CCSpriteFrameCache from 0x180090540 to 0x1800905c2 (130 bytes)\n; \n; 4 xrefs:\n; > sub_1800905D0 @ 0x180090632\n; > sub_1800905D0 @ 0x1800905ec\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b630c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180090540\npush    rdi                                                            ; +0x5, 0x180090545\nsub     rsp, 20h                                                       ; +0x6, 0x180090546\nmov     rbx, rcx                                                       ; +0xa, 0x18009054a\nlea     rax, ??_7CCSpriteFrameCache@cocos2d@@6B@; const cocos2d::CCSpriteFrameCache::`vftable' ; +0xd, 0x18009054d\nmov     [rcx], rax                                                     ; +0x14, 0x180090554\nmov     rcx, [rcx+38h]; this                                           ; +0x17, 0x180090557\ntest    rcx, rcx                                                       ; +0x1b, 0x18009055b\njz      short loc_180090565                                            ; +0x1e, 0x18009055e\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x20, 0x180090560\nmov     rcx, [rbx+40h]; this                                           ; +0x25, 0x180090565\ntest    rcx, rcx                                                       ; +0x29, 0x180090569\njz      short loc_180090573                                            ; +0x2c, 0x18009056c\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2e, 0x18009056e\nmov     rdi, [rbx+48h]                                                 ; +0x33, 0x180090573\ntest    rdi, rdi                                                       ; +0x37, 0x180090577\njz      short loc_1800905B0                                            ; +0x3a, 0x18009057a\nmov     r8, [rdi]                                                      ; +0x3c, 0x18009057c\nmov     r8, [r8+8]                                                     ; +0x3f, 0x18009057f\nmov     rdx, rdi                                                       ; +0x43, 0x180090583\nmov     rcx, rdi                                                       ; +0x46, 0x180090586\ncall    sub_1800903C0                                                  ; +0x49, 0x180090589\nmov     edx, 40h ; '@'                                                 ; +0x4e, 0x18009058e\nmov     rcx, [rdi]; Block                                              ; +0x53, 0x180090593\ncall    j_j_free_0                                                     ; +0x56, 0x180090596\nmov     edx, 10h                                                       ; +0x5b, 0x18009059b\nmov     rcx, rdi; Block                                                ; +0x60, 0x1800905a0\ncall    j_j_free_0                                                     ; +0x63, 0x1800905a3\nmov     qword ptr [rbx+48h], 0                                         ; +0x68, 0x1800905a8\nmov     rcx, rbx; this                                                 ; +0x70, 0x1800905b0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x73, 0x1800905b3\nadd     rsp, 20h                                                       ; +0x78, 0x1800905b8\npop     rdi                                                            ; +0x7c, 0x1800905bc\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x7d, 0x1800905bd", "xrefs": ["sub_1800905D0 @ 0x180090632", "sub_1800905D0 @ 0x1800905ec", "<???> @ 0x1801438a8", "<???> @ 0x1801b630c"], "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"}