//
// cocos2d::CCPlace::create from 0xd2ff94 to 0xd30018 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0xec8d8
//
// This function is hookable on this platform (idp: arm, 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 13:07:19 +0000
//
__int64 __fastcall cocos2d::CCPlace::create(cocos2d::CCPlace *this, const cocos2d::CCPoint *a2)
{
__int64 v2; // x19
v2 = operator new(0x60u);
cocos2d::CCActionInstant::CCActionInstant((cocos2d::CCActionInstant *)v2);
*(_QWORD *)v2 = &off_1513250;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 84));
if ( (unsigned __int8)cocos2d::CCPlace::initWithPosition((cocos2d::CCPlace *)v2, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}