//
// HardStreak::clearBehindXPos from 0x10009da80 to 0x10009db15 (149 bytes)
//
// 1 xrefs:
// > PlayerObject::update @ 0x1003fdc23
//
// 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)
{
float v2[2]; // [rsp+4h] [rbp-1Ch] BYREF
float v3; // [rsp+Ch] [rbp-14h]
v3 = a2;
if ( (unsigned int)sub_100720070(a1->m_pointArray) >= 2 && (unsigned int)sub_100720070(a1->m_pointArray) >= 2 )
{
do
{
sub_1007200C0(a1->m_pointArray, 1);
sub_10028CC60(v2);
if ( v3 <= v2[0] )
break;
sub_100720230(a1->m_pointArray, 0, 1);
}
while ( (unsigned int)sub_100720070(a1->m_pointArray) > 1 );
}
}