//
// cocos2d::CCCallFunc::setTargetCallback from 0x1800d2480 to 0x1800d24c0 (64 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ba488
//
// 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
//
void __fastcall cocos2d::CCCallFunc::setTargetCallback(cocos2d::CCCallFunc *this, struct cocos2d::CCObject *a2)
{
cocos2d::CCObject *v4; // rcx
if ( a2 != *((struct cocos2d::CCObject **)this + 11) )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 11);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 11) = a2;
}
}