//
// PlayerObject::updateSpecial from 0x622b40 to 0x622bc4 (132 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::update @ 0x89e0c0
// > GJBaseGameLayer::update @ 0x89e424
// > ??> @ 0x80dd8
//
// 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 PlayerObject::updateSpecial(PlayerObject *a1, float a2)
{
int m_followRelated; // w2
float v3; // s0
int v4; // w2
float *m_start; // x3
float y; // w4
m_followRelated = a1->m_followRelated;
v3 = a2 + a1->m_unk838;
a1->m_unk838 = v3;
if ( v3 >= 0.01 )
{
v4 = m_followRelated + 1;
m_start = a1->m_playerFollowFloats.m_start;
a1->m_followRelated = v4;
y = a1->m_obPosition.y;
a1->m_unk838 = v3 - 0.01;
m_start[v4 % 200] = y;
}
else
{
a1->m_playerFollowFloats.m_start[m_followRelated % 200] = a1->m_obPosition.y;
}
}