//
// PointNode::create from 0x958a0c to 0x958b30 (292 bytes)
//
// 2 xrefs:
// > HardStreak::addPoint @ 0x958b80
// > ??> @ 0x68770
//
// This function is hookable on this platform (idp: arm, 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:57:26 +0000
//
__int64 __fastcall PointNode::create(const cocos2d::CCPoint *a1)
{
cocos2d::CCObject *v2; // x0
__int64 v3; // x19
__int64 v4; // x1
__int64 v5; // x0
_BYTE v7[8]; // [xsp+30h] [xbp+30h] BYREF
v2 = (cocos2d::CCObject *)operator new(0x40u);
*(_QWORD *)v2 = 0;
*((_DWORD *)v2 + 2) = 0;
*((_DWORD *)v2 + 3) = 0;
v3 = (__int64)v2;
*((_DWORD *)v2 + 4) = 0;
*((_DWORD *)v2 + 5) = 0;
*((_DWORD *)v2 + 6) = 0;
*((_DWORD *)v2 + 7) = 0;
*((_DWORD *)v2 + 8) = 0;
*((_DWORD *)v2 + 9) = 0;
*((_DWORD *)v2 + 10) = 0;
*((_DWORD *)v2 + 11) = 0;
*((_DWORD *)v2 + 12) = 0;
*((_DWORD *)v2 + 13) = 0;
*((_DWORD *)v2 + 14) = 0;
*((_DWORD *)v2 + 15) = 0;
cocos2d::CCObject::CCObject(v2);
*(_QWORD *)v3 = &off_146DC50;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 56));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, a1);
if ( (unsigned __int8)PointNode::init(v3, (__int64)v7) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *(_QWORD *)v3;
v5 = v3;
v3 = 0;
(*(void (__fastcall **)(__int64))(v4 + 16))(v5);
}
return v3;
}