//
// cocos2d::CCPlace::create from 0x18002ff60 to 0x18002ffdf (127 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b00c0
// > ??> @ 0x1801b00cc
//
// 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
//
// Hidden C++ exception states: #wind=2
struct cocos2d::CCPlace *__fastcall cocos2d::CCPlace::create(struct cocos2d::CCPoint *a1)
{
cocos2d::CCAction *v2; // rax
cocos2d::CCAction *v3; // rbx
v2 = (cocos2d::CCAction *)operator new(0x60u);
v3 = v2;
if ( v2 )
{
cocos2d::CCAction::CCAction(v2);
LODWORD(v3[1].__vftable) = 0;
v3->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCPlace::`vftable';
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v3[1].m_uID);
}
else
{
v3 = nullptr;
}
if ( !v3 )
return nullptr;
cocos2d::CCSize::operator=(&v3[1].m_uID, a1);
cocos2d::CCObject::autorelease(v3);
return (struct cocos2d::CCPlace *)v3;
}