//
// PlayerObject::updateSpecial from 0x10021d6d4 to 0x10021d744 (112 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::update @ 0x1001fec5c
// > GJBaseGameLayer::update @ 0x1001fece4
//
// 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 PlayerObject::updateSpecial(PlayerObject *a1, float a2)
{
float v2; // s0
int m_followRelated; // w8
v2 = a1->m_unk838 + a2;
a1->m_unk838 = v2;
if ( v2 >= 0.01 )
{
a1->m_unk838 = v2 + -0.01;
m_followRelated = a1->m_followRelated + 1;
a1->m_followRelated = m_followRelated;
}
else
{
m_followRelated = a1->m_followRelated;
}
a1->m_playerFollowFloats.__begin_[m_followRelated % 200] = a1->m_obPosition.y;
}