//
// cocos2d::CCPlace::create from 0xabe28c to 0xabe310 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0xb51a0
//
// 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
//
cocos2d::CCPlace *cocos2d::CCPlace::create(const cocos2d::CCPoint *a1)
{
__int64 v1; // x19
v1 = operator new(0x60u);
cocos2d::CCActionInstant::CCActionInstant((cocos2d::CCActionInstant *)v1);
*(_QWORD *)v1 = &off_11FD940;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 84));
if ( cocos2d::CCPlace::initWithPosition((cocos2d::CCPlace *)v1, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return (cocos2d::CCPlace *)v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}