//
// cocos2d::CCTexture2D::setAntiAliasTexParameters from 0x7ff648 to 0x7ff6c4 (124 bytes)
//
// 1 xrefs:
// > ShaderLayer::toggleAntiAlias @ 0x6819a4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:18 +0000
//
int __fastcall cocos2d::CCTexture2D::setAntiAliasTexParameters(cocos2d **this, unsigned int a2, unsigned int a3)
{
GLint v4; // r2
int v5; // r1
int v6; // r3
_DWORD v8[4]; // [sp+4h] [bp-14h] BYREF
cocos2d::ccGLBindTexture2D(*(this + 17), a2, a3);
if ( *((_BYTE *)this + 89) )
v4 = 9985;
else
v4 = 9729;
glTexParameteri(0xDE1u, 0x2801u, v4);
glTexParameteri(0xDE1u, 0x2800u, 9729);
memset(v8, 0, sizeof(v8));
v5 = *((unsigned __int8 *)this + 89);
v6 = 9729;
v8[1] = 9729;
if ( v5 )
v6 = 9985;
v8[0] = v6;
return cocos2d::VolatileTexture::setTexParameters(this, v8);
}