//
// sub_10031041C from 0x10031041c to 0x10031048c (112 bytes)
//
// 1 xrefs:
// > ShaderLayer::performCalculations @ 0x100310fc8
//
// This function is hookable on this platform (idp: arm, 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 11:03:12 +0000
//
void __fastcall sub_10031041C(__int64 a1)
{
__int64 v2; // x0
if ( *(float *)(a1 + 896) > 0.0 || cocos2d::CCNode::getActionByTag(a1, 21) )
*(_BYTE *)(a1 + 1078) = 1;
if ( *(float *)(a1 + 896) <= 0.0 )
{
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
cocos2d::CCGLProgram::setUniformLocationWith1f(v2, *(_DWORD *)(a1 + 1492), 0.0);
}
}