// // ShaderLayer::toggleAntiAlias from 0x1003cb0a0 to 0x1003cb0ec (76 bytes) // // 0 xrefs: // // 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 __fastcall ShaderLayer::toggleAntiAlias(ShaderLayer *a1, bool a2) { __int64 v2; // rax cocos2d::CCTexture2D *v3; // rdi if ( a1->m_antiAlias != a2 ) { a1->m_antiAlias = a2; v2 = ((__int64 (__fastcall *)(cocos2d::CCRenderTexture *))a1->m_renderTexture->getSprite)(a1->m_renderTexture); v3 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1056LL))(v2); if ( a2 ) cocos2d::CCTexture2D::setAntiAliasTexParameters(v3); else cocos2d::CCTexture2D::setAliasTexParameters(v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source