// // PlayLayer::incrementJumps from 0x100122754 to 0x1001227cc (120 bytes) // // 1 xrefs: // > PlayerObject::incrementJumps @ 0x10021e134 // // 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 // void __fastcall PlayLayer::incrementJumps(PlayLayer *a1) { GJGameLevel *m_level; // x19 int v2; // w20 float v3; // s0 a1->m_hasJumped = 1; ++a1->m_uncommittedJumps; ++a1->m_jumps; m_level = a1->m_level; v2 = m_level->m_jumps.random - m_level->m_jumps.seed + 1; m_level->m_jumps.value = v2; v3 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; m_level->m_jumps.seed = (int)v3; m_level->m_jumps.random = v2 + (int)v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source