//
// cocos2d::CCPlace::create from 0x5b5b10 to 0x5b5b54 (68 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
//
cocos2d::CCPlace *cocos2d::CCPlace::create(const cocos2d::CCPoint *a1)
{
int v2; // r4
v2 = operator new(0x50u);
cocos2d::CCActionInstant::CCActionInstant((cocos2d::CCActionInstant *)v2);
*(_DWORD *)v2 = &off_A9FFE8;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 72));
if ( cocos2d::CCPlace::initWithPosition((cocos2d::CCPlace *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (cocos2d::CCPlace *)v2;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v2 + 8))(v2);
return nullptr;
}
}