//
// sub_1003B4930 from 0x1003b4930 to 0x1003b4afc (460 bytes)
//
// 1 xrefs:
// > ShaderLayer::setupShader @ 0x1003b408b
//
// 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:27 +0000
//
GLint __fastcall sub_1003B4930(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rax
__int64 v6; // rax
__int64 v7; // rax
__int64 v8; // rax
__int64 v9; // rax
__int64 v10; // rax
__int64 v11; // rax
__int64 v12; // rax
__int64 v13; // rax
GLint result; // eax
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1308) = glGetUniformLocation(*(_DWORD *)(v2 + 56), "_shockLineTime");
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1312) = glGetUniformLocation(*(_DWORD *)(v3 + 56), "_shockLineTime1");
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1316) = glGetUniformLocation(*(_DWORD *)(v4 + 56), "_shockLineTime2");
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1320) = glGetUniformLocation(*(_DWORD *)(v5 + 56), "_shockLineTime3");
v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1324) = glGetUniformLocation(*(_DWORD *)(v6 + 56), "_shockLineTime4");
v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1328) = glGetUniformLocation(*(_DWORD *)(v7 + 56), "_shockLineAxis");
v8 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1332) = glGetUniformLocation(*(_DWORD *)(v8 + 56), "_shockLineDirection");
v9 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1336) = glGetUniformLocation(*(_DWORD *)(v9 + 56), "_shockLineDual");
v10 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1340) = glGetUniformLocation(*(_DWORD *)(v10 + 56), "_shockLineWaves");
v11 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1344) = glGetUniformLocation(*(_DWORD *)(v11 + 56), "_shockLineStrength");
v12 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1348) = glGetUniformLocation(*(_DWORD *)(v12 + 56), "_shockLineCenter");
v13 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
result = glGetUniformLocation(*(_DWORD *)(v13 + 56), "_shockLineMaxDistVal");
*(_DWORD *)(a1 + 1352) = result;
return result;
}