//
// cocos2d::CCPlace::copyWithZone from 0x100890190 to 0x10089022f (159 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba7948
//
// 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 12:37:03 +0000
//
_DWORD *__fastcall cocos2d::CCPlace::copyWithZone(__int64 a1, void **a2)
{
_DWORD *v2; // rbx
void **v3; // r15
if ( a2 && (v2 = *a2) != nullptr )
{
v3 = nullptr;
}
else
{
v2 = operator new(0x60u);
cocos2d::CCAction::CCAction((__int64)v2);
v2[20] = 0;
*(_QWORD *)v2 = off_100BA7948;
sub_1002782A0(v2 + 21);
v3 = (void **)operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
a2 = v3;
}
cocos2d::CCActionInstant::copyWithZone(a1, a2);
sub_100278300(v2 + 21, (_QWORD *)(a1 + 84));
if ( v3 )
operator delete(v3);
return v2;
}