//
// cocos2d::CCTexturePVR::~CCTexturePVR from 0xda9930 to 0xda9984 (84 bytes)
//
// 4 xrefs:
// > cocos2d::CCTexturePVR::~CCTexturePVR @ 0xda9994
// > ??> @ 0xae7a8
// > ??> @ 0xeb378
// > ??> @ 0x15304e8
//
// This function is hookable on this platform (idp: arm, 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 13:08:34 +0000
//
// Alternative name is '_ZN7cocos2d12CCTexturePVRD1Ev'
void __fastcall cocos2d::CCTexturePVR::~CCTexturePVR(cocos2d::CCTexturePVR *this)
{
cocos2d *v2; // x0
v2 = (cocos2d *)*((unsigned int *)this + 81);
*(_QWORD *)this = &off_15304E0;
if ( (_DWORD)v2 && !*((_BYTE *)this + 331) )
{
cocos2d::ccGLDeleteTexture(v2);
cocos2d::CCObject::~CCObject(this);
}
else
{
cocos2d::CCObject::~CCObject(this);
}
}