//
// ShaderLayer::setupBulgeShader from 0xb2d248 to 0xb2d304 (188 bytes)
//
// 2 xrefs:
// > ShaderLayer::setupShader @ 0xb2df54
// > ??> @ 0xe0920
//
// 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:41 +0000
//
__int64 __fastcall ShaderLayer::setupBulgeShader(ShaderLayer *this)
{
__int64 result; // x0
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 373) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 374) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
*((_DWORD *)this + 375) = glGetUniformLocation();
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138));
result = glGetUniformLocation();
*((_DWORD *)this + 376) = result;
return result;
}