//
// NodePoint::create from 0x792538 to 0x79265c (292 bytes)
//
// 1 xrefs:
// > ??> @ 0xf8dd0
//
// 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:53:30 +0000
//
__int64 __fastcall NodePoint::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_1435940;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 56));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, a1);
if ( (unsigned __int8)NodePoint::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;
}