//
// cocos2d::CCTexture2D::~CCTexture2D from 0x1800a8700 to 0x1800a873a (58 bytes)
//
// 3 xrefs:
// > sub_1800A87A0 @ 0x1800a87b9
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1e54
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:16 +0000
//
void __fastcall cocos2d::CCTexture2D::~CCTexture2D(cocos2d::CCTexture2D *this)
{
cocos2d::CCObject *v2; // rcx
cocos2d *v3; // rcx
*(_QWORD *)this = &cocos2d::CCTexture2D::`vftable';
v2 = *((cocos2d::CCObject **)this + 12);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d *)*((unsigned int *)this + 18);
if ( (_DWORD)v3 )
cocos2d::ccGLDeleteTexture(v3);
cocos2d::CCObject::~CCObject(this);
}