//
// cocos2d::CCPlace::create from 0x1800306a0 to 0x18003071f (127 bytes)
//
// 3 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba1d4
// > ??> @ 0x1801ba1e0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:21:33 +0000
//
// Hidden C++ exception states: #wind=2
struct cocos2d::CCPlace *__fastcall cocos2d::CCPlace::create(const struct cocos2d::CCPoint *a1)
{
cocos2d::CCAction *v2; // rax
cocos2d::CCAction *v3; // rbx
v2 = (cocos2d::CCAction *)sub_1800E4AC0(0x60u);
v3 = v2;
if ( v2 )
{
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = &cocos2d::CCPlace::`vftable';
cocos2d::CCSize::CCSize((cocos2d::CCAction *)((char *)v3 + 88));
}
else
{
v3 = nullptr;
}
if ( !v3 )
return nullptr;
cocos2d::CCSize::operator=((_DWORD *)v3 + 22, a1);
cocos2d::CCObject::autorelease(v3);
return v3;
}