//
// cocos2d::CCCallFunc::initWithTarget from 0x7bb962 to 0x7bb97e (28 bytes)
//
// 3 xrefs:
// > cocos2d::CCCallFuncN::initWithTarget @ 0x7bb986
// > cocos2d::CCCallFuncND::initWithTarget @ 0x7bb9a8
// > cocos2d::CCCallFuncO::initWithTarget @ 0x7bb9d0
//
// 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:15 +0000
//
int __fastcall cocos2d::CCCallFunc::initWithTarget(cocos2d::CCCallFunc *this, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v4; // r0
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 18);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_DWORD *)this + 18) = a2;
return 1;
}