//
// cocos2d::ccGLDeleteTextureN from 0x1800881a0 to 0x1800881d2 (50 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b58b0
//
// 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::ccGLDeleteTextureN(cocos2d *this, GLuint a2)
{
GLuint textures; // [rsp+38h] [rbp+10h] BYREF
textures = a2;
if ( *((_DWORD *)&qword_1801A2FF0 + (unsigned int)this) == a2 )
*((_DWORD *)&qword_1801A2FF0 + (unsigned int)this) = -1;
glDeleteTextures(1, &textures);
}