//
// cocos2d::CCTexture2D::setTexParameters from 0xda29c8 to 0xda2a70 (168 bytes)
//
// 13 xrefs:
// > Slider::init @ 0x6b5afc
// > LoadingLayer::init @ 0x6ed704
// > PlayLayer::setupHasCompleted @ 0x707e98
// > MenuGameLayer::init @ 0x7dafac
// > CustomSongWidget::init @ 0x86b6d0
// > CustomSongWidget::init @ 0x86be7c
// > GJBaseGameLayer::createBackground @ 0x9995dc
// > GauntletLayer::init @ 0xa79684
// > LevelAreaLayer::init @ 0xb5bb80
// > CustomSFXWidget::init @ 0xb5fcec
// > cocos2d::CCMotionStreak::enableRepeatMode @ 0xd684d4
// > cocos2d::VolatileTexture::reloadAllTextures @ 0xda6ac0
// > ??> @ 0x812f8
//
// 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 13:08:30 +0000
//
__int64 __fastcall cocos2d::CCTexture2D::setTexParameters(unsigned int *a1, __int64 a2)
{
cocos2d *v4; // x21
v4 = (cocos2d *)a1[16];
if ( v4 == (cocos2d *)cocos2d::ccNextPOT(v4) || *(_DWORD *)(a2 + 8) == 33071 )
cocos2d::ccNextPOT((cocos2d *)a1[17]);
cocos2d::ccGLBindTexture2D((cocos2d *)a1[18]);
glTexParameteri();
glTexParameteri();
glTexParameteri();
glTexParameteri();
return cocos2d::VolatileTexture::setTexParameters(a1, a2);
}