//
// PointNode::create from 0x56a1cc to 0x56a254 (136 bytes)
//
// 1 xrefs:
// > HardStreak::addPoint @ 0x56a28a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:30 +0000
//
int *__fastcall PointNode::create(const cocos2d::CCPoint *a1)
{
int *v2; // r4
int v3; // r3
int *v4; // r0
_BYTE v6[8]; // [sp+4h] [bp-10h] BYREF
v2 = (int *)operator new(0x3Cu);
memset(v2, 0, 0x3Cu);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v2);
*v2 = (int)&off_CB0A38;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 13));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, a1);
if ( PointNode::init((int)v2, (int)v6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
v3 = *v2;
v4 = v2;
v2 = nullptr;
(*(void (__fastcall **)(int *))(v3 + 8))(v4);
}
return v2;
}