//
// cocos2d::CCTexture2D::setTexParameters from 0xb31618 to 0xb316c0 (168 bytes)
//
// 13 xrefs:
// > Slider::init @ 0x594294
// > LoadingLayer::init @ 0x5c5768
// > PlayLayer::setupHasCompleted @ 0x5dc7e0
// > MenuGameLayer::init @ 0x6ca008
// > CustomSongWidget::init @ 0x745e94
// > CustomSongWidget::init @ 0x746630
// > GJBaseGameLayer::createBackground @ 0x8570a8
// > GauntletLayer::init @ 0x91f49c
// > LevelAreaLayer::init @ 0xa2f85c
// > CustomSFXWidget::init @ 0xa32f40
// > cocos2d::CCMotionStreak::enableRepeatMode @ 0xaf7ab4
// > cocos2d::VolatileTexture::reloadAllTextures @ 0xb35b48
// > ??> @ 0x5e830
//
// 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::CCTexture2D::setTexParameters(cocos2d::CCTexture2D *a1, cocos2d::ccTexParams *a2)
{
cocos2d *m_uPixelsWide; // x21
cocos2d::_ccTexParams *v5; // x2
m_uPixelsWide = (cocos2d *)a1->m_uPixelsWide;
if ( m_uPixelsWide == (cocos2d *)cocos2d::ccNextPOT(m_uPixelsWide) || a2->wrapS == 33071 )
cocos2d::ccNextPOT((cocos2d *)a1->m_uPixelsHigh);
cocos2d::ccGLBindTexture2D(a1->m_uName);
glTexParameteri();
glTexParameteri();
glTexParameteri();
glTexParameteri();
cocos2d::VolatileTexture::setTexParameters((cocos2d::VolatileTexture *)a1, (cocos2d::CCTexture2D *)a2, v5);
}