//
// cocos2d::CCTexture2D::releaseGLTexture from 0xda24d8 to 0xda2504 (44 bytes)
//
// 2 xrefs:
// > cocos2d::VolatileTexture::reloadAllTextures @ 0xda6a18
// > ??> @ 0x83128
//
// 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 13:08:30 +0000
//
__int64 __fastcall cocos2d::CCTexture2D::releaseGLTexture(cocos2d::CCTexture2D *this)
{
__int64 result; // x0
result = *((unsigned int *)this + 18);
if ( (_DWORD)result )
result = cocos2d::ccGLDeleteTexture((cocos2d *)result);
*((_DWORD *)this + 18) = 0;
return result;
}