//
// cocos2d::ccGLDeleteTextureN from 0x5e4c84 to 0x5e4caa (38 bytes)
//
// 1 xrefs:
// > cocos2d::ccGLDeleteTexture @ 0x5e4cb4
//
// 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 cocos2d::ccGLDeleteTextureN(unsigned int a1, unsigned int a2)
{
int *v2; // r0
GLuint textures[2]; // [sp+4h] [bp-8h] BYREF
v2 = &dword_ABAC98[a1];
textures[0] = a2;
if ( v2[2] == a2 )
v2[2] = -1;
glDeleteTextures(1, textures);
}