// // GJBaseGameLayer::getBumpMod from 0x1001ea508 to 0x1001ea5cc (196 bytes) // // 1 xrefs: // > GJBaseGameLayer::bumpPlayer @ 0x1001e9024 // // 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) { float result; // s0 _BOOL4 v4; // w8 float *v5; // x9 if ( a3 == 34 ) { if ( a2->m_isShip ) { v4 = a2->m_vehicleSize < 1.0; v5 = (float *)&unk_10063A540; } else { result = 1.25; if ( !a2->m_isBird ) return result; v4 = a2->m_vehicleSize < 1.0; v5 = (float *)&unk_10063A538; } return v5[v4]; } else { result = 1.0; 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 { result = 0.65; if ( a2->m_isSpider ) return 0.7; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source