//
// NodePoint::create from 0x36c200 to 0x36c288 (136 bytes)
//
// 0 xrefs:
//
// 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
//
NodePoint *NodePoint::create(cocos2d::CCPoint a1)
{
float x; // r7
NodePoint *v2; // r4
cocos2d::CCPoint v3; // r1
NodePoint_vtbl *v4; // r3
NodePoint *v5; // r0
cocos2d::CCPoint v7; // [sp+4h] [bp-10h] BYREF
x = a1.x;
v2 = (NodePoint *)operator new(0x3Cu);
memset(v2, 0, sizeof(NodePoint));
cocos2d::CCObject::CCObject(v2);
v2->__vftable = (NodePoint_vtbl *)&off_A4B808;
cocos2d::CCPoint::CCPoint(&v2->m_point);
cocos2d::CCPoint::CCPoint(&v7, (const cocos2d::CCPoint *)LODWORD(x));
LODWORD(v3.x) = &v7;
if ( NodePoint::init(v2, v3) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v4 = v2->__vftable;
v5 = v2;
v2 = nullptr;
v4->~NodePoint_0(v5);
}
return v2;
}