//
// ShaderLayer::preBulgeShader from 0x684778 to 0x6847c4 (76 bytes)
//
// 1 xrefs:
// > ShaderLayer::performCalculations @ 0x6855f0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:04 +0000
//
float *__fastcall ShaderLayer::preBulgeShader(float *this)
{
float *v1; // r4
cocos2d::CCGLProgram *v2; // r0
v1 = this;
if ( *(this + 192) > 0.0 || (this = (float *)cocos2d::CCNode::getActionByTag((cocos2d::CCNode *)this, 21)) != nullptr )
*((_BYTE *)v1 + 950) = 1;
if ( v1[192] <= 0.0 )
{
v2 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)v1 + 241) + 328))(*((_DWORD *)v1 + 241));
return (float *)cocos2d::CCGLProgram::setUniformLocationWith1f(v2, *((_DWORD *)v1 + 334), 0.0);
}
return this;
}