//
// GJMGLayer::defaultYOffsetForBG2 from 0x434e14 to 0x434e2a (22 bytes)
//
// 1 xrefs:
// > GJMGLayer::init @ 0x43504a
//
// 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; // r0
v1 = a1 - 1;
if ( v1 > 2 )
return 0.0;
else
return *((float *)&off_9AB688 + v1 + 7);
}