// // cocos2d::CCTexture2D::setAliasTexParameters from 0x5f3b48 to 0x5f3bc6 (126 bytes) // // 7 xrefs: // > GJBaseGameLayer::setupLayers @ 0x47b5b4 // > FMODLevelVisualizer::init @ 0x4b14ce // > ShaderLayer::toggleAntiAlias @ 0x54b6c4 // > cocos2d::CCRenderTexture::listenToForeground @ 0x5d7f54 // > cocos2d::CCRenderTexture::listenToForeground @ 0x5d7f5e // > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x5d831a // > cocos2d::CCTMXLayer::setupTiles @ 0x5f7cc4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::CCTexture2D::setAliasTexParameters(cocos2d::CCTexture2D *a1) { GLint v2; // r2 cocos2d::_ccTexParams *v3; // r2 int v4; // r3 _DWORD v5[4]; // [sp+4h] [bp-14h] BYREF cocos2d::ccGLBindTexture2D(a1->m_uName); if ( a1->m_bHasMipmaps ) v2 = 9984; else v2 = 9728; glTexParameteri(0xDE1u, 0x2801u, v2); glTexParameteri(0xDE1u, 0x2800u, 9728); memset(v5, 0, sizeof(v5)); v5[1] = 9728; if ( a1->m_bHasMipmaps ) v4 = 9984; else v4 = 9728; v5[0] = v4; cocos2d::VolatileTexture::setTexParameters((cocos2d::VolatileTexture *)a1, (cocos2d::CCTexture2D *)v5, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source