//
// HardStreak::addPoint from 0x1402b9800 to 0x1402b98a1 (161 bytes)
//
// 4 xrefs:
// > HardStreak::init @ 0x1402b8e47
// > PlayerObject::createFadeOutDartStreak @ 0x140398785
// > PlayerObject::placeStreakPoint @ 0x1403a06da
// > ??> @ 0x1406d26fc
//
// 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
//
// Hidden C++ exception states: #wind=2
void HardStreak::addPoint(HardStreak *a1, cocos2d::CCPoint a2)
{
char *v3; // rsi
__int64 v4; // rax
cocos2d::CCPoint v5; // [rsp+40h] [rbp+8h] BYREF
char *v6; // [rsp+50h] [rbp+18h] BYREF
cocos2d::CCPoint::CCPoint(&v5);
v3 = (char *)operator new(0x40u);
v6 = v3;
*(_OWORD *)v3 = 0;
*((_OWORD *)v3 + 1) = 0;
*((_OWORD *)v3 + 2) = 0;
*((_OWORD *)v3 + 3) = 0;
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v3);
*(_QWORD *)v3 = &PointNode::`vftable';
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v3 + 7);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6);
cocos2d::CCPoint::operator=(v3 + 56, v4);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
cocos2d::CCArray::addObject(a1->m_pointArray, (struct cocos2d::CCObject *)v3);
}