//
// GJMGLayer::defaultYOffsetForBG2 from 0x7ec9b8 to 0x7ec9dc (36 bytes)
//
// 2 xrefs:
// > GJMGLayer::init @ 0x7ecdb4
// > ??> @ 0x384d8
//
// 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
//
float GJMGLayer::defaultYOffsetForBG2(int a1)
{
unsigned int v1; // w0
float result; // s0
v1 = a1 - 1;
result = 0.0;
if ( v1 <= 2 )
return flt_ED4720[v1];
return result;
}