//
// sub_1003107B8 from 0x1003107b8 to 0x100310810 (88 bytes)
//
// 1 xrefs:
// > ShaderLayer::performCalculations @ 0x100310fe8
//
// 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_1003107B8(__int64 a1)
{
__int64 v2; // x0
if ( *(float *)(a1 + 996) > 0.0 || cocos2d::CCNode::getActionByTag(a1, 33) )
*(_BYTE *)(a1 + 1078) = 1;
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
cocos2d::CCGLProgram::setUniformLocationWith1f(v2, *(_DWORD *)(a1 + 1536), *(GLfloat *)(a1 + 996));
}