//
// cocos2d::CCTintBy::copyWithZone from 0xd35a78 to 0xd35b60 (232 bytes)
//
// 2 xrefs:
// > ??> @ 0x9de88
// > ??> @ 0x1514560
//
// 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:23 +0000
//
cocos2d::CCTintBy *__fastcall cocos2d::CCTintBy::copyWithZone(cocos2d::CCTintBy *this, cocos2d::CCZone *a2)
{
cocos2d::CCTintBy *v3; // x19
cocos2d::CCObject *v5; // x0
cocos2d::CCObject *v6; // x19
cocos2d::CCZone *v7; // x21
if ( a2 && (v3 = *(cocos2d::CCTintBy **)a2) != nullptr )
{
cocos2d::CCActionInterval::copyWithZone(this, a2);
cocos2d::CCTintBy::initWithDuration(
v3,
*((float *)this + 20),
*((unsigned __int8 *)this + 90),
*((unsigned __int8 *)this + 92),
*((unsigned __int8 *)this + 94));
return v3;
}
else
{
v5 = (cocos2d::CCObject *)operator new(0x68u);
*((_QWORD *)v5 + 12) = 0;
*(_QWORD *)v5 = 0;
*((_QWORD *)v5 + 1) = 0;
*((_QWORD *)v5 + 2) = 0;
*((_QWORD *)v5 + 3) = 0;
*((_QWORD *)v5 + 4) = 0;
*((_QWORD *)v5 + 5) = 0;
*((_QWORD *)v5 + 6) = 0;
*((_QWORD *)v5 + 7) = 0;
*((_QWORD *)v5 + 8) = 0;
*((_QWORD *)v5 + 9) = 0;
*((_QWORD *)v5 + 10) = 0;
*((_QWORD *)v5 + 11) = 0;
v6 = v5;
cocos2d::CCAction::CCAction(v5);
*((_DWORD *)v6 + 20) = 0;
*(_QWORD *)v6 = &off_1514560;
v7 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v7, v6);
cocos2d::CCActionInterval::copyWithZone(this, v7);
cocos2d::CCTintBy::initWithDuration(
v6,
*((float *)this + 20),
*((unsigned __int8 *)this + 90),
*((unsigned __int8 *)this + 92),
*((unsigned __int8 *)this + 94));
operator delete(v7);
return v6;
}
}