//
// ColorAction::create from 0x5c27ec to 0x5c28b6 (202 bytes)
//
// 4 xrefs:
// > ColorAction::create @ 0x5c28f2
// > ColorAction::create @ 0x5c291c
// > ColorAction::create @ 0x5c2944
// > ColorAction::getCopy @ 0x5c2bda
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:50 +0000
//
int __fastcall ColorAction::create(int a1, int a2, int a3, int a4, int a5, int a6, char a7, int a8, int a9, int a10)
{
int v11; // r4
float v12; // r0
float v13; // r1
float v14; // r2
int v15; // r3
int v16; // r3
int v17; // r0
v11 = operator new(0x98u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v11);
*(_BYTE *)(v11 + 52) = 0;
*(_DWORD *)v11 = &off_CB5598;
*(_DWORD *)(v11 + 60) = 1065353216;
*(_DWORD *)(v11 + 92) = 1065353216;
*(_DWORD *)(v11 + 96) = 1065353216;
*(_BYTE *)(v11 + 53) = 0;
*(_DWORD *)(v11 + 64) = 0;
*(_DWORD *)(v11 + 76) = 0;
v12 = flt_D2C480;
v13 = flt_D2C484;
v14 = flt_D2C488;
v15 = *(_DWORD *)&word_D2C48C;
*(_BYTE *)(v11 + 80) = 0;
*(_DWORD *)(v11 + 84) = 0;
*(_DWORD *)(v11 + 88) = 0;
*(float *)(v11 + 100) = v12;
*(float *)(v11 + 104) = v13;
*(float *)(v11 + 108) = v14;
*(_DWORD *)(v11 + 112) = v15;
*(_DWORD *)(v11 + 116) = 0;
*(_BYTE *)(v11 + 120) = 0;
*(_BYTE *)(v11 + 121) = 0;
*(_BYTE *)(v11 + 122) = 0;
*(_DWORD *)(v11 + 124) = 0;
*(_DWORD *)(v11 + 128) = 0;
*(_BYTE *)(v11 + 132) = 0;
*(_DWORD *)(v11 + 136) = 0;
*(_DWORD *)(v11 + 140) = 0;
*(_DWORD *)(v11 + 144) = 0;
*(_DWORD *)(v11 + 148) = 0;
if ( ColorAction::init(v11, a1, a2, a3, a5, a6, a7, a8, a9, a10) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11);
}
else
{
v16 = *(_DWORD *)v11;
v17 = v11;
v11 = 0;
(*(void (__fastcall **)(int))(v16 + 8))(v17);
}
return v11;
}