// // PlayerObject::getOldPosition from 0x622bd0 to 0x622c40 (112 bytes) // // 2 xrefs: // > GJBaseGameLayer::processPlayerFollowActions @ 0x8633b4 // > @ 0x7d100 // // 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 PlayerObject::getOldPosition(PlayerObject *a1, float a2) { float *m_start; // x3 int v3; // w1 int v4; // w0 if ( a2 <= 0.0 ) return a1->m_obPosition.y; m_start = a1->m_playerFollowFloats.m_start; v3 = a1->m_followRelated % 200; v4 = vcvtms_s32_f32(a2 / 0.01); if ( v4 > 199 ) v4 = 199; if ( v4 < 0 ) v4 = 0; return m_start[v3 - v4 + (v3 - v4 < 0 ? 0xC8 : 0)]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source