// // ShaderLayer::preBulgeShader from 0x1003d0c10 to 0x1003d0c7c (108 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::preBulgeShader(ShaderLayer *a1) { cocos2d::CCGLProgram *v1; // rax 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 ) { v1 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_sprite->getShaderProgram)(a1->m_sprite); cocos2d::CCGLProgram::setUniformLocationWith1f(v1, a1->m_bulgeValueUniform, 0.0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source