//
// ShaderLayer::setupGrayscaleShader from 0x684880 to 0x6848d4 (84 bytes)
//
// 1 xrefs:
// > ShaderLayer::setupShader @ 0x68514e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:04 +0000
//
int __fastcall ShaderLayer::setupGrayscaleShader(ShaderLayer *this)
{
int result; // r0
(*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 241) + 328))(*((_DWORD *)this + 241));
*((_DWORD *)this + 342) = glGetUniformLocation();
(*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 241) + 328))(*((_DWORD *)this + 241));
*((_DWORD *)this + 343) = glGetUniformLocation();
(*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 241) + 328))(*((_DWORD *)this + 241));
result = glGetUniformLocation();
*((_DWORD *)this + 344) = result;
return result;
}