//
// cocos2d::ccGLDeleteTexture from 0x100221a94 to 0x100221ad4 (64 bytes)
//
// 4 xrefs:
// > cocos2d::CCTexture2D::dCCTexture2D @ 0x1001aade8
// > cocos2d::CCTexture2D::initWithData @ 0x1001aaf8c
// > cocos2d::CCTexturePVR::dCCTexturePVR @ 0x100415148
// > cocos2d::CCTexturePVR::createGLTexture @ 0x100415598
//
// This function is hookable on this platform (idp: arm, 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:01:08 +0000
//
void __fastcall cocos2d::ccGLDeleteTexture(GLuint a1)
{
GLuint textures; // [xsp+Ch] [xbp-4h] BYREF
textures = a1;
if ( (_DWORD)xmmword_1009D407C == a1 )
LODWORD(xmmword_1009D407C) = -1;
glDeleteTextures(1, &textures);
}