//
// ColorAction::setupFromString from 0x140259a80 to 0x140259b30 (176 bytes)
//
// 12 xrefs:
// > EditorUI::pasteObjects @ 0x14011399c
// > GJEffectManager::setupFromString @ 0x140263dc9
// > LevelSettingsObject::objectFromDict @ 0x1402edf61
// > LevelSettingsObject::objectFromDict @ 0x1402edfc5
// > LevelSettingsObject::objectFromDict @ 0x1402ee021
// > LevelSettingsObject::objectFromDict @ 0x1402ee089
// > LevelSettingsObject::objectFromDict @ 0x1402ee0ed
// > LevelSettingsObject::objectFromDict @ 0x1402ee151
// > LevelSettingsObject::objectFromDict @ 0x1402ee1b5
// > LevelSettingsObject::objectFromDict @ 0x1402ee219
// > LevelSettingsObject::objectFromDict @ 0x1402ee27d
// > ??> @ 0x1406cfc00
//
// 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=2
void __fastcall ColorAction::setupFromString(ColorAction *a1, std::string *a2)
{
_QWORD *v4; // rax
const char *v5; // rdx
void *Block[2]; // [rsp+20h] [rbp-28h] BYREF
std::string *v7; // [rsp+30h] [rbp-18h]
v7 = 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, v5, (std::map *)Block);
ColorAction::setupFromMap(a1, (std::map *)Block);
sub_14026D220(Block, Block, *((_QWORD *)Block[0] + 1));
j_j_free(Block[0]);
sub_14003A830((__int64)a2);
}