//
// sub_1003B4F50 from 0x1003b4f50 to 0x1003b4ff4 (164 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:28 +0000
//
GLint __fastcall sub_1003B4F50(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rax
GLint result; // eax
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1508) = glGetUniformLocation(*(_DWORD *)(v2 + 56), "_pinchValue");
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1512) = glGetUniformLocation(*(_DWORD *)(v3 + 56), "_pinchCenterPos");
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
*(_DWORD *)(a1 + 1516) = glGetUniformLocation(*(_DWORD *)(v4 + 56), "_pinchCalc1");
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104));
result = glGetUniformLocation(*(_DWORD *)(v5 + 56), "_pinchRadius");
*(_DWORD *)(a1 + 1520) = result;
return result;
}