//
// HardStreak::addPoint from 0x456ad8 to 0x456b0e (54 bytes)
//
// 3 xrefs:
// > PlayerObject::placeStreakPoint @ 0x342350
// > HardStreak::firstSetup @ 0x456b32
// > HardStreak::createDuplicate @ 0x456c50
//
// 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 HardStreak::addPoint(HardStreak *a1, cocos2d::CCPoint a2)
{
cocos2d::CCArray *m_pointArray; // r6
cocos2d::CCPoint v3; // r0
PointNode *v4; // r0
cocos2d::CCPoint v5; // [sp+4h] [bp-Ch] BYREF
v5 = a2;
m_pointArray = a1->m_pointArray;
cocos2d::CCPoint::CCPoint(&v5, (const cocos2d::CCPoint *)LODWORD(a2.x));
LODWORD(v3.x) = &v5;
v4 = PointNode::create(v3);
cocos2d::CCArray::addObject(m_pointArray, v4);
}