//
// cocos2d::CCTexturePVR::dCCTexturePVR from 0x1003702e4 to 0x100370324 (64 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCTexturePVR::dCCTexturePVR @ 0x100370328
// > sub_10037032C @ 0x100370334
//
// 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
//
cocos2d::CCObject *__fastcall cocos2d::CCTexturePVR::dCCTexturePVR(__int64 a1)
{
unsigned int v2; // w0
*(_QWORD *)a1 = off_1007F4FC8;
v2 = *(_DWORD *)(a1 + 324);
if ( v2 && (*(_BYTE *)(a1 + 331) & 1) == 0 )
cocos2d::ccGLDeleteTexture(v2);
return cocos2d::CCObject::dCCObject((cocos2d::CCObject *)a1);
}