// // GJBaseGameLayer::getBumpMod from 0x10012a110 to 0x10012a1d4 (196 bytes) // // 0 xrefs: // // 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 __fastcall GJBaseGameLayer::getBumpMod(GJBaseGameLayer *a1, PlayerObject *a2, int a3) { if ( a3 == 34 ) { if ( a2->m_isShip ) { return *(float *)&dword_100816A08[a2->m_vehicleSize < 1.0]; } else if ( a2->m_isBird ) { return flt_100816A00[a2->m_vehicleSize < 1.0]; } else { return 1.25; } } else if ( a3 == 9 ) { if ( a2->m_isShip ) { return 0.34999999; } else if ( a2->m_isBird ) { return 0.40000001; } else if ( a2->m_isBall || a2->m_isSpider ) { return 0.69999999; } else { return 0.64999998; } } else { return 1.0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source