//
// cocos2d::CCTexture2D::setAntiAliasTexParameters from 0xda2b28 to 0xda2be0 (184 bytes)
//
// 2 xrefs:
// > ShaderLayer::toggleAntiAlias @ 0xb29ab8
// > ??> @ 0x823f0
//
// 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::setAntiAliasTexParameters(cocos2d::CCTexture2D *this)
{
bool v2; // zf
int v3; // w2
_QWORD v5[2]; // [xsp+28h] [xbp+28h] BYREF
cocos2d::ccGLBindTexture2D((cocos2d *)*((unsigned int *)this + 18));
glTexParameteri();
glTexParameteri();
v2 = *((_BYTE *)this + 93) == 0;
v5[0] = 0x260100000000LL;
v5[1] = 0;
if ( v2 )
v3 = 9729;
else
v3 = 9985;
LODWORD(v5[0]) = v3;
cocos2d::VolatileTexture::setTexParameters(this, v5);
return _stack_chk_guard;
}