//
// ShaderLayer::setupCommonUniforms from 0xb29bd0 to 0xb29d7c (428 bytes)
//
// 2 xrefs:
// > ShaderLayer::setupShader @ 0xb2df14
// > ??> @ 0xf4f30
//
// 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 13:01:40 +0000
//
__int64 __fastcall ShaderLayer::setupCommonUniforms(ShaderLayer *this)
{
__int64 result; // x0
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 298) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 299) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 300) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 301) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 302) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 303) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 304) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 305) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 369) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
result = glGetUniformLocation();
*((_DWORD *)this + 306) = result;
return result;
}