//
// ColorAction::create from 0x140258ea0 to 0x140258f89 (233 bytes)
//
// 16 xrefs:
// > GJEffectManager::getColorAction @ 0x14025bc45
// > GJEffectManager::setupFromString @ 0x140263d17
// > GJEffectManager::loadFromState @ 0x140264537
// > LevelEditorLayer::init @ 0x1402d2a07
// > LevelEditorLayer::init @ 0x1402d2a90
// > LevelEditorLayer::getNextColorChannel @ 0x1402db342
// > LevelEditorLayer::transferDefaultColors @ 0x1402dbf0d
// > LevelEditorLayer::transferDefaultColors @ 0x1402dbf8c
// > LevelSettingsObject::init @ 0x1402eacbb
// > LevelSettingsObject::init @ 0x1402ead1a
// > LevelSettingsObject::init @ 0x1402ead79
// > LevelSettingsObject::init @ 0x1402eadd8
// > LevelSettingsObject::init @ 0x1402eae3b
// > LevelSettingsObject::init @ 0x1402eae9a
// > CreateParticlePopup::onSelectColor @ 0x1404318e3
// > ??> @ 0x1406cfbe8
//
// 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
ColorAction *ColorAction::create()
{
char *v1; // [rsp+30h] [rbp+8h]
v1 = (char *)operator new(0xA8u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v1);
*(_QWORD *)v1 = &ColorAction::`vftable';
*((_WORD *)v1 + 28) = 0;
*((_QWORD *)v1 + 8) = 1065353216;
*((_DWORD *)v1 + 20) = 0;
v1[84] = 0;
*((_QWORD *)v1 + 11) = 0;
*((_DWORD *)v1 + 24) = 1065353216;
*((_DWORD *)v1 + 25) = 1065353216;
*(_OWORD *)(v1 + 104) = xmmword_1406BA178;
*((_DWORD *)v1 + 30) = 0;
*((_WORD *)v1 + 62) = 0;
v1[126] = 0;
*((_QWORD *)v1 + 16) = 0;
v1[136] = 0;
*((_QWORD *)v1 + 18) = 0;
*((_QWORD *)v1 + 19) = 0;
*((_QWORD *)v1 + 20) = 0;
*((_WORD *)v1 + 36) = -1;
v1[74] = -1;
*(_WORD *)(v1 + 75) = -1;
v1[77] = -1;
*((_DWORD *)v1 + 20) = 0;
v1[84] = 0;
*((_DWORD *)v1 + 22) = -1;
*((_DWORD *)v1 + 23) = 0;
*((_DWORD *)v1 + 24) = 1065353216;
*((_DWORD *)v1 + 25) = 1065353216;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return (ColorAction *)v1;
}