//
// cocos2d::CCTintBy::copyWithZone from 0x1003a4cc0 to 0x1003a4daf (239 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b33058
//
// This function is hookable on this platform (idp: pc, 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 12:29:21 +0000
//
char *__fastcall cocos2d::CCTintBy::copyWithZone(__int64 a1, void **a2)
{
char *v2; // rbx
void **v3; // r15
__m128 v4; // xmm0
__int16 v5; // ax
__m128 v6; // xmm1
if ( a2 && (v2 = (char *)*a2) != nullptr )
{
v3 = nullptr;
}
else
{
v2 = (char *)operator new(0x68u);
*(_OWORD *)v2 = 0;
*((_OWORD *)v2 + 1) = 0;
*((_OWORD *)v2 + 2) = 0;
*((_OWORD *)v2 + 3) = 0;
*((_OWORD *)v2 + 4) = 0;
*((_OWORD *)v2 + 5) = 0;
*((_QWORD *)v2 + 12) = 0;
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = off_100B33058;
v3 = (void **)operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
a2 = v3;
}
cocos2d::CCActionInterval::copyWithZone(a1, a2);
v4 = (__m128)*(unsigned int *)(a1 + 80);
v5 = *(unsigned __int8 *)(a1 + 94);
v6 = _mm_cmpeq_ss((__m128)0LL, v4);
*((_QWORD *)v2 + 10) = _mm_andnot_ps(v6, v4).u32[0] | v6.i32[0] & 0x34000000;
v2[88] = 1;
*(_DWORD *)(v2 + 90) = *(_DWORD *)(a1 + 90) & 0xFF00FF;
*((_WORD *)v2 + 47) = v5;
if ( v3 )
operator delete(v3);
return v2;
}