//
// cocos2d::CCFollow::create from 0xab43d0 to 0xab4484 (180 bytes)
//
// 1 xrefs:
// > ??> @ 0x74d90
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCFollow *cocos2d::CCFollow::create(cocos2d::CCNode *a1, const cocos2d::CCRect *a2)
{
__int64 v3; // x19
v3 = operator new(0x80u);
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);
*(_QWORD *)(v3 + 80) = 0;
*(_BYTE *)(v3 + 88) = 0;
*(_QWORD *)v3 = &off_11FB450;
*(_BYTE *)(v3 + 89) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 92));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 100));
*(_DWORD *)(v3 + 108) = 0;
*(_DWORD *)(v3 + 112) = 0;
*(_DWORD *)(v3 + 116) = 0;
*(_DWORD *)(v3 + 120) = 0;
if ( cocos2d::CCFollow::initWithTarget((cocos2d::CCFollow *)v3, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return (cocos2d::CCFollow *)v3;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
}