//
// cocos2d::CCTintBy::create from 0x1800352f0 to 0x1800353bb (203 bytes)
//
// 3 xrefs:
// > cocos2d::CCTintBy::reverse @ 0x18003651e
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba7bc
//
// 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 11:21:34 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCTintBy *__fastcall cocos2d::CCTintBy::create(float a1, __int16 a2, __int16 a3, __int16 a4)
{
cocos2d::CCAction *v7; // rax
cocos2d::CCAction *v8; // rbx
v7 = (cocos2d::CCAction *)sub_1800E4AC0(0x70u);
v8 = v7;
if ( v7 )
{
*(_OWORD *)v7 = 0;
*((_OWORD *)v7 + 1) = 0;
*((_OWORD *)v7 + 2) = 0;
*((_OWORD *)v7 + 3) = 0;
*((_OWORD *)v7 + 4) = 0;
*((_OWORD *)v7 + 5) = 0;
*((_OWORD *)v7 + 6) = 0;
cocos2d::CCAction::CCAction(v7);
*((_DWORD *)v8 + 20) = 0;
*(_QWORD *)v8 = &cocos2d::CCTintBy::`vftable';
}
else
{
v8 = nullptr;
}
*((float *)v8 + 20) = a1;
if ( a1 == 0.0 )
*((_DWORD *)v8 + 20) = 872415232;
*((_DWORD *)v8 + 22) = 0;
*((_BYTE *)v8 + 92) = 1;
*((_WORD *)v8 + 48) = a2;
*((_WORD *)v8 + 49) = a3;
*((_WORD *)v8 + 50) = a4;
cocos2d::CCObject::autorelease(v8);
return v8;
}