//
// GJBaseGameLayer::getBumpMod from 0x85b008 to 0x85b0b8 (176 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::bumpPlayer @ 0x88b450
// > ??> @ 0x67d88
//
// 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 GJBaseGameLayer::getBumpMod(GJBaseGameLayer *a1, PlayerObject *a2, int a3)
{
if ( a3 == 9 )
{
if ( a2->m_isShip )
{
return 0.35;
}
else if ( a2->m_isBird )
{
return 0.4;
}
else if ( a2->m_isBall || a2->m_isSpider )
{
return 0.7;
}
else
{
return 0.65;
}
}
else if ( a3 == 34 )
{
if ( a2->m_isShip )
{
if ( a2->m_vehicleSize < 1.0 )
return 0.95;
else
return 0.63;
}
else if ( a2->m_isBird )
{
if ( a2->m_vehicleSize < 1.0 )
return 0.98;
else
return 0.6;
}
else
{
return 1.25;
}
}
else
{
return 1.0;
}
}