//
// ShaderLayer::preBulgeShader from 0x54e460 to 0x54e4ac (76 bytes)
//
// 1 xrefs:
// > ShaderLayer::performCalculations @ 0x54f2c0
//
// 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)
{
cocos2d::CCGLProgram *v2; // r0
if ( a1->m_state.m_bulgeValue > 0.0 || cocos2d::CCNode::getActionByTag(a1, 21) )
a1->m_state.m_usesShaders = 1;
if ( a1->m_state.m_bulgeValue <= 0.0 )
{
v2 = a1->m_sprite->getShaderProgram(a1->m_sprite);
cocos2d::CCGLProgram::setUniformLocationWith1f(v2, a1->m_bulgeValueUniform, 0.0);
}
}