//
// cocos2d::CCTexture2D::releaseGLTexture from 0x1800a98f0 to 0x1800a9912 (34 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1f44
//
// 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 11:22:17 +0000
//
void __fastcall cocos2d::CCTexture2D::releaseGLTexture(cocos2d::CCTexture2D *this)
{
cocos2d *v2; // rcx
v2 = (cocos2d *)*((unsigned int *)this + 18);
if ( (_DWORD)v2 )
cocos2d::ccGLDeleteTexture(v2);
*((_DWORD *)this + 18) = 0;
}