// // ShaderLayer::setupChromaticUniforms from 0x1003cb6f0 to 0x1003cb74a (90 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::setupChromaticUniforms(ShaderLayer *a1) { __int64 v1; // rax __int64 v2; // rax v1 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_sprite->getShaderProgram)(a1->m_sprite); a1->m_chromaticXOffUniform = glGetUniformLocation(*(_DWORD *)(v1 + 56), "_chromaticXOff"); v2 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_sprite->getShaderProgram)(a1->m_sprite); a1->m_chromaticYOffUniform = glGetUniformLocation(*(_DWORD *)(v2 + 56), "_chromaticYOff"); }
GD Web Decomp Icon

GD Web Decomp

Raw Source