{"type": "func", "start": 6443140864, "end": 6443140922, "name": "cocos2d::CCTexture2D::~CCTexture2D", "pseudocode": "// \n// cocos2d::CCTexture2D::~CCTexture2D from 0x1800a8700 to 0x1800a873a (58 bytes)\n// \n// 3 xrefs:\n// > sub_1800A87A0 @ 0x1800a87b9\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c1e54\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:16 +0000\n// \n\nvoid __fastcall cocos2d::CCTexture2D::~CCTexture2D(cocos2d::CCTexture2D *this)\n{\n  cocos2d::CCObject *v2; // rcx\n  cocos2d *v3; // rcx\n\n  *(_QWORD *)this = &cocos2d::CCTexture2D::`vftable';\n  v2 = *((cocos2d::CCObject **)this + 12);\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  v3 = (cocos2d *)*((unsigned int *)this + 18);\n  if ( (_DWORD)v3 )\n    cocos2d::ccGLDeleteTexture(v3);\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCTexture2D::~CCTexture2D from 0x1800a8700 to 0x1800a873a (58 bytes)\n; \n; 3 xrefs:\n; > sub_1800A87A0 @ 0x1800a87b9\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c1e54\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:16 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800a8700\nsub     rsp, 20h                                                       ; +0x2, 0x1800a8702\nmov     rbx, rcx                                                       ; +0x6, 0x1800a8706\nlea     rax, ??_7CCTexture2D@cocos2d@@6B@; const cocos2d::CCTexture2D::`vftable' ; +0x9, 0x1800a8709\nmov     [rcx], rax                                                     ; +0x10, 0x1800a8710\nmov     rcx, [rcx+60h]; this                                           ; +0x13, 0x1800a8713\ntest    rcx, rcx                                                       ; +0x17, 0x1800a8717\njz      short loc_1800A8721                                            ; +0x1a, 0x1800a871a\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1c, 0x1800a871c\nmov     ecx, [rbx+48h]; this                                           ; +0x21, 0x1800a8721\ntest    ecx, ecx                                                       ; +0x24, 0x1800a8724\njz      short loc_1800A872D                                            ; +0x26, 0x1800a8726\ncall    ?ccGLDeleteTexture@cocos2d@@YAXI@Z; cocos2d::ccGLDeleteTexture(uint) ; +0x28, 0x1800a8728\nmov     rcx, rbx; this                                                 ; +0x2d, 0x1800a872d\nadd     rsp, 20h                                                       ; +0x30, 0x1800a8730\npop     rbx                                                            ; +0x34, 0x1800a8734\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x35, 0x1800a8735", "xrefs": ["sub_1800A87A0 @ 0x1800a87b9", "<???> @ 0x18014cf68", "<???> @ 0x1801c1e54"], "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"}