//
// cocos2d::ccGLDeleteTextureN from 0x10035b820 to 0x10035b854 (52 bytes)
//
// 0 xrefs:
//
// 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(unsigned int a1, unsigned int a2)
{
GLuint textures; // [rsp+Ch] [rbp-4h] BYREF
textures = a2;
if ( *((_DWORD *)&xmmword_10099C880 + a1) == a2 )
*((_DWORD *)&xmmword_10099C880 + a1) = -1;
glDeleteTextures(1, &textures);
}