//
// cocos2d::CCTexturePVR::dCCTexturePVR from 0x10041511c to 0x10041515c (64 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCTexturePVR::dCCTexturePVR @ 0x100415160
// > sub_100415164 @ 0x10041516c
//
// 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 11:04:52 +0000
//
__int64 __fastcall cocos2d::CCTexturePVR::dCCTexturePVR(__int64 a1)
{
GLuint v2; // w0
*(_QWORD *)a1 = off_10094D1F8;
v2 = *(_DWORD *)(a1 + 324);
if ( v2 && (*(_BYTE *)(a1 + 331) & 1) == 0 )
cocos2d::ccGLDeleteTexture(v2);
return cocos2d::CCObject::dCCObject(a1);
}