//
// cocos2d::CCTexture2D::~CCTexture2D from 0x7ff0e4 to 0x7ff110 (44 bytes)
//
// 1 xrefs:
// > cocos2d::CCTexture2D::~CCTexture2D @ 0x7ff118
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:18 +0000
//
// Alternative name is '_ZN7cocos2d11CCTexture2DD1Ev'
void __fastcall cocos2d::CCTexture2D::~CCTexture2D(cocos2d **this, cocos2d::CCTexture2D *a2)
{
unsigned int v3; // r1
GLuint v4; // r2
_DWORD *v5; // r0
cocos2d *v6; // r0
*this = (cocos2d *)&off_D11F40;
cocos2d::VolatileTexture::removeTexture((cocos2d::VolatileTexture *)this, a2);
v5 = *(this + 23);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *(this + 17);
if ( v6 )
cocos2d::ccGLDeleteTexture(v6, v3, v4);
cocos2d::CCObject::~CCObject((cocos2d::CCObject *)this);
}