//
// cocos2d::CCFollow::copyWithZone from 0x7b6574 to 0x7b65e8 (116 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:11 +0000
//
int __fastcall cocos2d::CCFollow::copyWithZone(cocos2d::CCFollow *this, cocos2d::CCZone *a2)
{
cocos2d::CCZone *v3; // r5
int v4; // r4
cocos2d::CCZone *v5; // r6
v3 = a2;
if ( a2 && (v4 = *(_DWORD *)a2) != 0 )
{
v5 = nullptr;
}
else
{
v4 = operator new(0x6Cu);
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v4);
*(_DWORD *)v4 = &off_D02478;
*(_DWORD *)(v4 + 68) = 0;
*(_BYTE *)(v4 + 72) = 0;
*(_BYTE *)(v4 + 73) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 76));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 84));
*(_DWORD *)(v4 + 92) = 0;
*(_DWORD *)(v4 + 96) = 0;
*(_DWORD *)(v4 + 100) = 0;
*(_DWORD *)(v4 + 104) = 0;
v3 = (cocos2d::CCZone *)operator new(4u);
cocos2d::CCZone::CCZone(v3, (cocos2d::CCObject *)v4);
v5 = v3;
}
cocos2d::CCAction::copyWithZone(this, (cocos2d::CCAction **)v3);
*(_DWORD *)(v4 + 60) = *((_DWORD *)this + 15);
if ( v5 )
operator delete(v5);
return v4;
}