//
// cocos2d::CCFollow::create from 0xd25f10 to 0xd25fc4 (180 bytes)
//
// 1 xrefs:
// > ??> @ 0x9cc28
//
// 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:14 +0000
//
__int64 __fastcall cocos2d::CCFollow::create(cocos2d::CCFollow *this, cocos2d::CCNode *a2, const cocos2d::CCRect *a3)
{
__int64 v4; // x19
v4 = operator new(0x80u);
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v4);
*(_QWORD *)(v4 + 80) = 0;
*(_BYTE *)(v4 + 88) = 0;
*(_QWORD *)v4 = &off_1510D60;
*(_BYTE *)(v4 + 89) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 92));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 100));
*(_DWORD *)(v4 + 108) = 0;
*(_DWORD *)(v4 + 112) = 0;
*(_DWORD *)(v4 + 116) = 0;
*(_DWORD *)(v4 + 120) = 0;
if ( (unsigned __int8)cocos2d::CCFollow::initWithTarget((cocos2d::CCFollow *)v4, this, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
return 0;
}
}