//
// ShaderLayer::setupShockLineUniforms from 0x140625ec0 to 0x1406260eb (555 bytes)
//
// 2 xrefs:
// > ShaderLayer::setupShader @ 0x140622f7b
// > ??> @ 0x140930668
//
// 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 11:35:24 +0000
//
__int64 __fastcall ShaderLayer::setupShockLineUniforms(__int64 a1)
{
__int64 v2; // rax
int UniformLocation; // eax
__int64 v4; // rcx
__int64 v5; // rax
int v6; // eax
__int64 v7; // rcx
__int64 v8; // rax
int v9; // eax
__int64 v10; // rcx
__int64 v11; // rax
int v12; // eax
__int64 v13; // rcx
__int64 v14; // rax
int v15; // eax
__int64 v16; // rcx
__int64 v17; // rax
int v18; // eax
__int64 v19; // rcx
__int64 v20; // rax
int v21; // eax
__int64 v22; // rcx
__int64 v23; // rax
int v24; // eax
__int64 v25; // rcx
__int64 v26; // rax
int v27; // eax
__int64 v28; // rcx
__int64 v29; // rax
int v30; // eax
__int64 v31; // rcx
__int64 v32; // rax
int v33; // eax
__int64 v34; // rcx
__int64 v35; // rax
__int64 result; // rax
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152));
UniformLocation = _glewGetUniformLocation(*(unsigned int *)(v2 + 56), "_shockLineTime");
v4 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1356) = UniformLocation;
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 648LL))(v4);
v6 = _glewGetUniformLocation(*(unsigned int *)(v5 + 56), "_shockLineTime1");
v7 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1360) = v6;
v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 648LL))(v7);
v9 = _glewGetUniformLocation(*(unsigned int *)(v8 + 56), "_shockLineTime2");
v10 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1364) = v9;
v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 648LL))(v10);
v12 = _glewGetUniformLocation(*(unsigned int *)(v11 + 56), "_shockLineTime3");
v13 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1368) = v12;
v14 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 648LL))(v13);
v15 = _glewGetUniformLocation(*(unsigned int *)(v14 + 56), "_shockLineTime4");
v16 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1372) = v15;
v17 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 648LL))(v16);
v18 = _glewGetUniformLocation(*(unsigned int *)(v17 + 56), "_shockLineAxis");
v19 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1376) = v18;
v20 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v19 + 648LL))(v19);
v21 = _glewGetUniformLocation(*(unsigned int *)(v20 + 56), "_shockLineDirection");
v22 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1380) = v21;
v23 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v22 + 648LL))(v22);
v24 = _glewGetUniformLocation(*(unsigned int *)(v23 + 56), "_shockLineDual");
v25 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1384) = v24;
v26 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v25 + 648LL))(v25);
v27 = _glewGetUniformLocation(*(unsigned int *)(v26 + 56), "_shockLineWaves");
v28 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1388) = v27;
v29 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v28 + 648LL))(v28);
v30 = _glewGetUniformLocation(*(unsigned int *)(v29 + 56), "_shockLineStrength");
v31 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1392) = v30;
v32 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v31 + 648LL))(v31);
v33 = _glewGetUniformLocation(*(unsigned int *)(v32 + 56), "_shockLineCenter");
v34 = *(_QWORD *)(a1 + 1152);
*(_DWORD *)(a1 + 1396) = v33;
v35 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v34 + 648LL))(v34);
result = _glewGetUniformLocation(*(unsigned int *)(v35 + 56), "_shockLineMaxDistVal");
*(_DWORD *)(a1 + 1400) = result;
return result;
}