//
// HardStreak::firstSetup from 0x10005d860 to 0x10005d8e4 (132 bytes)
//
// 1 xrefs:
// > HardStreak::init @ 0x10005d84c
//
// 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::firstSetup(HardStreak *a1)
{
__n128 v2; // q0
__n128 v3; // q1
double v4; // d0
__int64 v5; // [xsp+8h] [xbp-18h] BYREF
cocos2d::CCPoint v6; // 0:s0.4,4:s1.4
v6.x = sub_1000229B8(&v5, &qword_10086AA10);
HardStreak::addPoint(a1, v6);
v2.n128_u32[0] = 10.0;
v3.n128_u32[0] = 10.0;
sub_100022980(v2, v3, &v5);
v4 = sub_1000229D0(&a1->m_currentPoint, (double *)&v5);
HardStreak::updateStroke(a1, *(float *)&v4);
((void (__fastcall *)(HardStreak *))a1->visit)(a1);
cocos2d::CCDrawNode::clear(a1);
sub_10024A45C(a1->m_pointArray);
}