//
// cocos2d::CCTexturePVR::dCCTexturePVR from 0x100284b20 to 0x100284b59 (57 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall cocos2d::CCTexturePVR::dCCTexturePVR(__int64 a1)
{
unsigned int v2; // edi
*(_QWORD *)a1 = off_1008F2D30;
v2 = *(_DWORD *)(a1 + 324);
if ( v2 && !*(_BYTE *)(a1 + 331) )
cocos2d::ccGLDeleteTexture(v2);
return cocos2d::CCObject::dCCObject(a1);
}