// // ShaderLayer::preSepiaShader from 0x10027295c to 0x1002729b4 (88 bytes) // // 1 xrefs: // > ShaderLayer::performCalculations @ 0x100273188 // // 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::preSepiaShader(ShaderLayer *a1) { cocos2d::CCGLProgram *v2; // x0 if ( a1->m_state.m_sepiaValue > 0.0 || cocos2d::CCNode::getActionByTag(a1, 33) ) a1->m_state.m_usesShaders = 1; v2 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_sprite->getShaderProgram)(a1->m_sprite); cocos2d::CCGLProgram::setUniformLocationWith1f(v2, a1->m_sepiaValueUniform, a1->m_state.m_sepiaValue); }
GD Web Decomp Icon

GD Web Decomp

Raw Source