// // ShaderLayer::toggleAntiAlias from 0x1404829d0 to 0x140482a37 (103 bytes) // // 3 xrefs: // > ShaderLayer::setupShader @ 0x1404822a5 // > ShaderLayer::prePixelateShader @ 0x14048613a // > @ 0x1406dbb40 // // 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 ShaderLayer::toggleAntiAlias(ShaderLayer *a1, bool a2) { cocos2d::CCRenderTexture_vtbl *v2; // rax __int64 v3; // rax cocos2d::CCTexture2D *v4; // rax __int64 v5; // rax cocos2d::CCTexture2D *v6; // rax if ( a1->m_antiAlias != a2 ) { a1->m_antiAlias = a2; v2 = a1->m_renderTexture->__vftable; if ( a2 ) { v3 = ((__int64 (*)(void))v2->getSprite)(); v4 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(v3 + 344) + 16LL))(v3 + 344); cocos2d::CCTexture2D::setAntiAliasTexParameters(v4); } else { v5 = ((__int64 (*)(void))v2->getSprite)(); v6 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(v5 + 344) + 16LL))(v5 + 344); cocos2d::CCTexture2D::setAliasTexParameters(v6); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source