//
// cocos2d::CCTexture2D::dCCTexture2D from 0x10046c980 to 0x10046c9bb (59 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:30:31 +0000
//
__int64 __fastcall cocos2d::CCTexture2D::dCCTexture2D(__int64 a1)
{
__int64 v2; // rdi
GLuint v3; // edi
*(_QWORD *)a1 = off_100B45358;
v2 = *(_QWORD *)(a1 + 96);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(_DWORD *)(a1 + 72);
if ( v3 )
cocos2d::ccGLDeleteTexture(v3);
return sub_10047FF60(a1);
}