//
// cocos2d::CCTexture2D::generateMipmap from 0x1800a51a0 to 0x1800a51de (62 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b7be4
//
// 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::CCTexture2D::generateMipmap(cocos2d::CCTexture2D *this)
{
if ( this->m_uPixelsWide == (unsigned int)sub_180095970(this->m_uPixelsWide) )
sub_180095970(this->m_uPixelsHigh);
cocos2d::ccGLBindTexture2D((cocos2d *)this->m_uName);
_glewGenerateMipmap(3553);
this->m_bHasMipmaps = 1;
}