//
// HardStreak::clearBehindXPos from 0x10005e144 to 0x10005e1dc (152 bytes)
//
// 1 xrefs:
// > PlayerObject::update @ 0x100219eac
//
// 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 HardStreak::clearBehindXPos(HardStreak *a1, float a2)
{
__int64 v4; // x0
__int64 v5; // [xsp+8h] [xbp-28h] BYREF
if ( (unsigned int)sub_10024A36C(a1->m_pointArray) >= 2 && (unsigned int)sub_10024A36C(a1->m_pointArray) >= 2 )
{
do
{
v4 = sub_10024A388(a1->m_pointArray, 1);
sub_1000229B8(&v5, (__int64 *)(v4 + 56));
if ( *(float *)&v5 >= a2 )
break;
sub_10024A44C(a1->m_pointArray, 0, 1);
}
while ( (unsigned int)sub_10024A36C(a1->m_pointArray) > 1 );
}
}