//
// GJBaseGameLayer::minZOrderForShaderZ from 0x5905d4 to 0x5905ec (24 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::maxZOrderForShaderZ @ 0x590612
// > GJBaseGameLayer::updateShaderLayer @ 0x5922c2
//
// 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:53:05 +0000
//
int __fastcall GJBaseGameLayer::minZOrderForShaderZ(GJBaseGameLayer *this, int a2)
{
unsigned int v2; // r1
v2 = a2 - 1;
if ( v2 > 0xE )
return 0;
else
return *((__int16 *)&unk_BEE010 + v2 + 8);
}