//
// HardStreak::clearBehindXPos from 0x100066bcc to 0x100066c64 (152 bytes)
//
// 1 xrefs:
// > PlayerObject::update @ 0x1002b696c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:57:56 +0000
//
void __fastcall HardStreak::clearBehindXPos(__int64 a1, float a2)
{
__int64 v4; // x0
__int64 v5; // [xsp+8h] [xbp-28h] BYREF
if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 416)) >= 2
&& (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 416)) >= 2 )
{
do
{
v4 = sub_1002E75A0(*(_QWORD *)(a1 + 416), 1);
sub_1000262F4(&v5, (double *)(v4 + 56));
if ( *(float *)&v5 >= a2 )
break;
sub_1002E7664(*(_QWORD *)(a1 + 416), 0, 1);
}
while ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 416)) > 1 );
}
}