//
// cocos2d::ccGLDeleteTexture from 0x18008b340 to 0x18008b36f (47 bytes)
//
// 8 xrefs:
// > cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a8728
// > sub_1800A87A0 @ 0x1800a8819
// > cocos2d::CCTexture2D::initWithData @ 0x1800a91c7
// > cocos2d::CCTexture2D::releaseGLTexture @ 0x1800a9900
// > sub_1800AD6B0 @ 0x1800ad6dc
// > cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad752
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfb74
//
// 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:06 +0000
//
void __fastcall cocos2d::ccGLDeleteTexture(cocos2d *this)
{
GLuint textures; // [rsp+30h] [rbp+8h] BYREF
textures = (unsigned int)this;
if ( (_DWORD)qword_1801ACFC0 == (_DWORD)this )
LODWORD(qword_1801ACFC0) = -1;
glDeleteTextures(1, &textures);
}