//
// ShaderLayer::preBulgeShader from 0x1003ba130 to 0x1003ba19c (108 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:29:30 +0000
//
__int64 __fastcall ShaderLayer::preBulgeShader(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rax
if ( *(float *)(a1 + 896) > 0.0 || (result = cocos2d::CCNode::getActionByTag(a1, 21)) != 0 )
*(_BYTE *)(a1 + 1078) = 1;
if ( *(float *)(a1 + 896) <= 0.0 )
{
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
return cocos2d::CCGLProgram::setUniformLocationWith1f(v2, *(unsigned int *)(a1 + 1492), 0.0);
}
return result;
}