//
// cocos2d::CCTexture2D::dCCTexture2D from 0x1001aadb8 to 0x1001aadfc (68 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCTexture2D::dCCTexture2D @ 0x1001aae00
// > sub_1001AAE04 @ 0x1001aae0c
//
// 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:00:05 +0000
//
__int64 __fastcall cocos2d::CCTexture2D::dCCTexture2D(__int64 a1)
{
_DWORD *v2; // x0
*(_QWORD *)a1 = off_1008E6780;
v2 = *(_DWORD **)(a1 + 96);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(_DWORD *)(a1 + 72) )
cocos2d::ccGLDeleteTexture();
return cocos2d::CCObject::dCCObject(a1);
}