// // PlayerObject::getOldPosition from 0x100402c30 to 0x100402cb2 (130 bytes) // // 1 xrefs: // > GJBaseGameLayer::processPlayerFollowActions @ 0x100146876 // // 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 // // local variable allocation has failed, the output may be wrong! float __fastcall PlayerObject::getOldPosition(PlayerObject *a1, float a2) { __m128 v2; // xmm0 int v3; // eax int v4; // ecx int v5; // eax int v6; // ecx int v7; // eax if ( a2 <= 0.0 ) return a1->m_obPosition.y; v2.f32[0] = a2 / 0.0099999998; v3 = (int)_mm_round_ss(v2, v2, 9).f32[0]; v4 = 199; if ( v3 < 199 ) v4 = v3; v5 = 0; if ( v4 > 0 ) v5 = v4; v6 = a1->m_followRelated % 200 - v5; v7 = v6 + 200; if ( v6 >= 0 ) v7 = v6; return a1->m_playerFollowFloats.__begin_[v7]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source