//
// sub_1003F06C0 from 0x1003f06c0 to 0x1003f0752 (146 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::update @ 0x100130d17
// > GJBaseGameLayer::update @ 0x100130d2c
// > GJBaseGameLayer::flipFinished @ 0x100134390
// > GJBaseGameLayer::flipFinished @ 0x1001343a5
//
// This function is hookable on this platform (idp: pc, 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 12:29:53 +0000
//
void __fastcall sub_1003F06C0(__int64 a1)
{
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 2168) + 976LL))(
*(_QWORD *)(a1 + 2168),
*(float *)(a1 + 1952));
if ( *(_BYTE *)(a1 + 2417) || *(_BYTE *)(a1 + 2418) || *(_BYTE *)(a1 + 2420) || *(_BYTE *)(a1 + 2428) == 1 )
{
PlayerObject::resetStreak(a1);
PlayerObject::activateStreak(a1);
if ( *(_BYTE *)(a1 + 2420) == 1 )
sub_1003F05E0(a1);
}
else if ( *(_BYTE *)(a1 + 2273) == 1 )
{
PlayerObject::resetStreak(a1);
PlayerObject::activateStreak(a1);
}
}