//
// ColorAction::create from 0x10000d488 to 0x10000d520 (152 bytes)
//
// 4 xrefs:
// > ColorAction::create_1 @ 0x10000d484
// > GJEffectManager::getColorAction @ 0x10000f0e0
// > GJEffectManager::setupFromString @ 0x1000168d4
// > GJEffectManager::loadFromState @ 0x100016ddc
//
// 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
//
// local variable allocation has failed, the output may be wrong!
ColorAction *__fastcall ColorAction::create(
cocos2d::ccColor3B a1,
cocos2d::ccColor3B a2,
float a3,
double a4,
bool a5,
int a6,
float a7,
float a8)
{
int v13; // w22
int v14; // w23
char *v15; // x19
v13 = *(_DWORD *)&a2.r;
v14 = *(_DWORD *)&a1.r;
v15 = (char *)operator new(0xA8u);
ColorAction::ColorAction((ColorAction *)v15);
*((_WORD *)v15 + 36) = v14;
v15[74] = BYTE2(v14);
*(_WORD *)(v15 + 75) = v13;
v15[77] = BYTE2(v13);
*((float *)v15 + 20) = a3;
v15[84] = a5;
*((_DWORD *)v15 + 22) = a6;
*((_DWORD *)v15 + 23) = 0;
*((float *)v15 + 24) = a7;
*((float *)v15 + 25) = a8;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v15);
return (ColorAction *)v15;
}