//
// cocos2d::CCTintBy::create from 0x180034ca0 to 0x180034d6b (203 bytes)
//
// 3 xrefs:
// > cocos2d::CCTintBy::reverse @ 0x180035e2e
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b069c
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCTintBy *__fastcall cocos2d::CCTintBy::create(float a1, __int16 a2, __int16 a3, __int16 a4)
{
_OWORD *v7; // rax
_OWORD *v8; // rbx
v7 = operator new(0x70u);
v8 = v7;
if ( v7 )
{
*v7 = 0;
v7[1] = 0;
v7[2] = 0;
v7[3] = 0;
v7[4] = 0;
v7[5] = 0;
v7[6] = 0;
cocos2d::CCAction::CCAction((cocos2d::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((cocos2d::CCObject *)v8);
return (struct cocos2d::CCTintBy *)v8;
}