//
// cocos2d::CCTexture2D::setAliasTexParameters from 0x7ff5c4 to 0x7ff642 (126 bytes)
//
// 7 xrefs:
// > GJBaseGameLayer::setupLayers @ 0x59a09a
// > FMODLevelVisualizer::init @ 0x5d5412
// > ShaderLayer::toggleAntiAlias @ 0x6819b6
// > cocos2d::CCRenderTexture::listenToForeground @ 0x7e0300
// > cocos2d::CCRenderTexture::listenToForeground @ 0x7e030a
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x7e07ae
// > cocos2d::CCTMXLayer::setupTiles @ 0x804a04
//
// 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::setAliasTexParameters(cocos2d **this, unsigned int a2, unsigned int a3)
{
GLint v4; // r2
int v5; // r3
_DWORD v7[4]; // [sp+4h] [bp-14h] BYREF
cocos2d::ccGLBindTexture2D(*(this + 17), a2, a3);
if ( *((_BYTE *)this + 89) )
v4 = 9984;
else
v4 = 9728;
glTexParameteri(0xDE1u, 0x2801u, v4);
glTexParameteri(0xDE1u, 0x2800u, 9728);
memset(v7, 0, sizeof(v7));
v7[1] = 9728;
if ( *((_BYTE *)this + 89) )
v5 = 9984;
else
v5 = 9728;
v7[0] = v5;
return cocos2d::VolatileTexture::setTexParameters(this, v7);
}