// // GJBaseGameLayer::getBumpMod from 0x46facc to 0x46fb6c (160 bytes) // // 1 xrefs: // > GJBaseGameLayer::bumpPlayer @ 0x492136 // // 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) { float v3; // s15 int v4; // s14 bool v5; // nf if ( a3 == 9 ) { if ( a2->m_isShip ) { return 0.35; } else if ( a2->m_isBird ) { return 0.4; } else if ( a2->m_isBall ) { return 0.7; } else { v3 = 0.7; if ( !a2->m_isSpider ) return 0.65; } } else if ( a3 == 34 ) { if ( a2->m_isShip ) { v4 = 1059145646; v5 = a2->m_vehicleSize < 1.0; v3 = 0.95; } else { if ( !a2->m_isBird ) return 1.25; v4 = 1058642330; v3 = 0.98; v5 = a2->m_vehicleSize < 1.0; } if ( !v5 ) return *(float *)&v4; } else { return 1.0; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source