//
// cocos2d::ccGLDeleteTexture from 0x180088170 to 0x18008819f (47 bytes)
//
// 8 xrefs:
// > cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a4c68
// > sub_1800A4CE0 @ 0x1800a4d59
// > cocos2d::CCTexture2D::initWithData @ 0x1800a56c5
// > cocos2d::CCTexture2D::releaseGLTexture @ 0x1800a5df0
// > sub_1800A9E30 @ 0x1800a9e5c
// > sub_1800A9E90 @ 0x1800a9ed2
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b58a4
//
// 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
//
void __fastcall cocos2d::ccGLDeleteTexture(cocos2d *this)
{
GLuint textures; // [rsp+30h] [rbp+8h] BYREF
textures = (unsigned int)this;
if ( (_DWORD)qword_1801A2FF0 == (_DWORD)this )
LODWORD(qword_1801A2FF0) = -1;
glDeleteTextures(1, &textures);
}