//
// cocos2d::CCTexture2D::dCCTexture2D from 0x100478020 to 0x10047805b (59 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::CCTexture2D::dCCTexture2D(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
unsigned int v3; // edi
*(_QWORD *)a1 = off_10093B1A0;
v2 = *(cocos2d::CCObject **)(a1 + 96);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(_DWORD *)(a1 + 72);
if ( v3 )
cocos2d::ccGLDeleteTexture(v3);
return cocos2d::CCObject::dCCObject(a1);
}