//
// ColorAction::setupFromString from 0x140363ce0 to 0x140363d97 (183 bytes)
//
// 12 xrefs:
// > EditorUI::pasteObjects @ 0x1401c6617
// > GJEffectManager::setupFromString @ 0x14036e661
// > LevelSettingsObject::objectFromDict @ 0x1404128c6
// > LevelSettingsObject::objectFromDict @ 0x14041292a
// > LevelSettingsObject::objectFromDict @ 0x140412986
// > LevelSettingsObject::objectFromDict @ 0x1404129ee
// > LevelSettingsObject::objectFromDict @ 0x140412a52
// > LevelSettingsObject::objectFromDict @ 0x140412ab6
// > LevelSettingsObject::objectFromDict @ 0x140412b1a
// > LevelSettingsObject::objectFromDict @ 0x140412b7e
// > LevelSettingsObject::objectFromDict @ 0x140412be2
// > ??> @ 0x14092159c
//
// 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:30:54 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall ColorAction::setupFromString(__int64 a1, __int64 *a2)
{
_QWORD *v4; // rax
void *Block[2]; // [rsp+20h] [rbp-28h] BYREF
__int64 *v6; // [rsp+30h] [rbp-18h]
v6 = a2;
*(_OWORD *)Block = 0;
v4 = operator new(0x60u);
*v4 = v4;
v4[1] = v4;
v4[2] = v4;
*((_WORD *)v4 + 12) = 257;
Block[0] = v4;
GameToolbox::stringSetupToMap(a2, "_", (__int64)Block);
ColorAction::setupFromMap(a1, Block);
sub_1400D26B0((__int64)Block, (__int64)Block, *((_QWORD *)Block[0] + 1));
j_j_free(Block[0]);
sub_14003D310((__int64)a2);
}