//
// PlayerObject::placeStreakPoint from 0x1004034d0 to 0x100403568 (152 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::teleportPlayer @ 0x100120e74
// > GJBaseGameLayer::toggleDualMode @ 0x10012428b
// > MenuGameLayer::resetPlayer @ 0x1004fa9a1
//
// 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 PlayerObject::placeStreakPoint(PlayerObject *a1)
{
__int64 v1; // rax
GameManager *v2; // rax
HardStreak *m_waveTrail; // r14
double *v4; // rax
cocos2d::CCPoint v5; // xmm0_8
__int64 v6; // [rsp-28h] [rbp-28h] BYREF
if ( !a1->m_maybeReducedEffects && a1->m_isDart && !a1->m_isLocked && a1->m_fadeOutStreak )
{
v6 = v1;
if ( !a1->m_playEffects || (v2 = GameManager::sharedState(), !GJBaseGameLayer::isFlipping(v2->m_playLayer)) )
{
m_waveTrail = a1->m_waveTrail;
v4 = (double *)((__int64 (__fastcall *)(PlayerObject *))a1->getPosition)(a1);
*(double *)&v5 = sub_10028CC60(&v6, v4);
HardStreak::addPoint(m_waveTrail, v5);
}
}
a1->m_justPlacedStreak = 0;
}