{"type": "func", "start": 6443146096, "end": 6443146210, "name": "cocos2d::CCTextureAtlas::~CCTextureAtlas", "pseudocode": "// \n// cocos2d::CCTextureAtlas::~CCTextureAtlas from 0x1800a9b70 to 0x1800a9be2 (114 bytes)\n// \n// 4 xrefs:\n// > sub_1800A9BF0 @ 0x1800a9c4b\n// > sub_1800A9BF0 @ 0x1800a9c0c\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c1f80\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 11:22:17 +0000\n// \n\nvoid __fastcall cocos2d::CCTextureAtlas::~CCTextureAtlas(cocos2d::CCTextureAtlas *this)\n{\n  void *v2; // rcx\n  void *v3; // rcx\n  cocos2d::CCObject *v4; // rcx\n\n  *(_QWORD *)this = &cocos2d::CCTextureAtlas::`vftable';\n  v2 = *((void **)this + 12);\n  if ( v2 )\n  {\n    free(v2);\n    *((_QWORD *)this + 12) = 0;\n  }\n  v3 = *((void **)this + 7);\n  if ( v3 )\n  {\n    free(v3);\n    *((_QWORD *)this + 7) = 0;\n  }\n  _glewDeleteBuffers(2, (char *)this + 64);\n  v4 = *((cocos2d::CCObject **)this + 11);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::~CCTextureAtlas from 0x1800a9b70 to 0x1800a9be2 (114 bytes)\n; \n; 4 xrefs:\n; > sub_1800A9BF0 @ 0x1800a9c4b\n; > sub_1800A9BF0 @ 0x1800a9c0c\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c1f80\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 11:22:17 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800a9b70\nsub     rsp, 20h                                                       ; +0x2, 0x1800a9b72\nmov     rbx, rcx                                                       ; +0x6, 0x1800a9b76\nlea     rax, ??_7CCTextureAtlas@cocos2d@@6B@; const cocos2d::CCTextureAtlas::`vftable' ; +0x9, 0x1800a9b79\nmov     [rcx], rax                                                     ; +0x10, 0x1800a9b80\nmov     rcx, [rcx+60h]; Block                                          ; +0x13, 0x1800a9b83\ntest    rcx, rcx                                                       ; +0x17, 0x1800a9b87\njz      short loc_1800A9B9A                                            ; +0x1a, 0x1800a9b8a\ncall    cs:__imp_free                                                  ; +0x1c, 0x1800a9b8c\nmov     qword ptr [rbx+60h], 0                                         ; +0x22, 0x1800a9b92\nmov     rcx, [rbx+38h]; Block                                          ; +0x2a, 0x1800a9b9a\ntest    rcx, rcx                                                       ; +0x2e, 0x1800a9b9e\njz      short loc_1800A9BB1                                            ; +0x31, 0x1800a9ba1\ncall    cs:__imp_free                                                  ; +0x33, 0x1800a9ba3\nmov     qword ptr [rbx+38h], 0                                         ; +0x39, 0x1800a9ba9\nlea     rdx, [rbx+40h]                                                 ; +0x41, 0x1800a9bb1\nmov     rax, cs:__glewDeleteBuffers                                    ; +0x45, 0x1800a9bb5\nmov     r8, [rax]                                                      ; +0x4c, 0x1800a9bbc\nmov     ecx, 2                                                         ; +0x4f, 0x1800a9bbf\ncall    r8                                                             ; +0x54, 0x1800a9bc4\nmov     rcx, [rbx+58h]; this                                           ; +0x57, 0x1800a9bc7\ntest    rcx, rcx                                                       ; +0x5b, 0x1800a9bcb\njz      short loc_1800A9BD5                                            ; +0x5e, 0x1800a9bce\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x60, 0x1800a9bd0\nmov     rcx, rbx; this                                                 ; +0x65, 0x1800a9bd5\nadd     rsp, 20h                                                       ; +0x68, 0x1800a9bd8\npop     rbx                                                            ; +0x6c, 0x1800a9bdc\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x6d, 0x1800a9bdd", "xrefs": ["sub_1800A9BF0 @ 0x1800a9c4b", "sub_1800A9BF0 @ 0x1800a9c0c", "<???> @ 0x18014cf68", "<???> @ 0x1801c1f80"], "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"}