//
// GJBaseGameLayer::minZOrderForShaderZ from 0x470b68 to 0x470b80 (24 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::maxZOrderForShaderZ @ 0x470ba6
// > GJBaseGameLayer::updateShaderLayer @ 0x472822
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int GJBaseGameLayer::minZOrderForShaderZ(GJBaseGameLayer *a1, int a2)
{
unsigned int v2; // r1
v2 = a2 - 1;
if ( v2 > 0xE )
return 0;
else
return *((__int16 *)&unk_9ABF60 + v2 + 8);
}