//
// cocos2d::ccGLDeleteTexture from 0x10035b7e0 to 0x10035b811 (49 bytes)
//
// 9 xrefs:
// > cocos2d::CCTexturePVR::dCCTexturePVR @ 0x100284b46
// > sub_100284B70 @ 0x100284b96
// > sub_100284BC0 @ 0x100284be6
// > cocos2d::CCTexturePVR::createGLTexture @ 0x1002851a0
// > cocos2d::CCTexture2D::dCCTexture2D @ 0x100478048
// > sub_100478070 @ 0x100478098
// > sub_1004780C0 @ 0x1004780e8
// > cocos2d::CCTexture2D::releaseGLTexture @ 0x100478270
// > cocos2d::CCTexture2D::initWithData @ 0x100478338
//
// 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(unsigned int a1)
{
GLuint textures; // [rsp+Ch] [rbp-4h] BYREF
textures = a1;
if ( (_DWORD)xmmword_10099C880 == a1 )
LODWORD(xmmword_10099C880) = -1;
glDeleteTextures(1, &textures);
}