//
// cocos2d::CCTexture2D::setAliasTexParameters from 0xda2a70 to 0xda2b28 (184 bytes)
//
// 8 xrefs:
// > GJBaseGameLayer::setupLayers @ 0x9f4e0c
// > FMODLevelVisualizer::init @ 0xa2113c
// > ShaderLayer::toggleAntiAlias @ 0xb29a90
// > cocos2d::CCRenderTexture::listenToForeground @ 0xd6a46c
// > cocos2d::CCRenderTexture::listenToForeground @ 0xd6a478
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0xd6a9f4
// > cocos2d::CCTMXLayer::setupTiles @ 0xdac1d4
// > ??> @ 0xb0770
//
// 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::setAliasTexParameters(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] = 0x260000000000LL;
v5[1] = 0;
if ( v2 )
v3 = 9728;
else
v3 = 9984;
LODWORD(v5[0]) = v3;
cocos2d::VolatileTexture::setTexParameters(this, v5);
return _stack_chk_guard;
}