// // ShaderLayer::preBulgeShader from 0x9f68d4 to 0x9f6948 (116 bytes) // // 2 xrefs: // > ShaderLayer::performCalculations @ 0x9f7ca8 // > @ 0x5ecb0 // // 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::preBulgeShader(ShaderLayer *a1) { float m_bulgeValue; // s0 cocos2d::CCGLProgram *v3; // x0 cocos2d::CCAction *ActionByTag; // x0 m_bulgeValue = a1->m_state.m_bulgeValue; if ( m_bulgeValue > 0.0 || (ActionByTag = cocos2d::CCNode::getActionByTag(a1, 21), m_bulgeValue = a1->m_state.m_bulgeValue, ActionByTag) ) { a1->m_state.m_usesShaders = 1; } if ( m_bulgeValue <= 0.0 ) { v3 = a1->m_sprite->getShaderProgram(a1->m_sprite); cocos2d::CCGLProgram::setUniformLocationWith1f(v3, a1->m_bulgeValueUniform, 0.0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source