{"type": "func", "start": 5371173504, "end": 5371173680, "name": "ColorAction::setupFromString", "pseudocode": "// \n// ColorAction::setupFromString from 0x140259a80 to 0x140259b30 (176 bytes)\n// \n// 12 xrefs:\n// > EditorUI::pasteObjects @ 0x14011399c\n// > GJEffectManager::setupFromString @ 0x140263dc9\n// > LevelSettingsObject::objectFromDict @ 0x1402edf61\n// > LevelSettingsObject::objectFromDict @ 0x1402edfc5\n// > LevelSettingsObject::objectFromDict @ 0x1402ee021\n// > LevelSettingsObject::objectFromDict @ 0x1402ee089\n// > LevelSettingsObject::objectFromDict @ 0x1402ee0ed\n// > LevelSettingsObject::objectFromDict @ 0x1402ee151\n// > LevelSettingsObject::objectFromDict @ 0x1402ee1b5\n// > LevelSettingsObject::objectFromDict @ 0x1402ee219\n// > LevelSettingsObject::objectFromDict @ 0x1402ee27d\n// > <???> @ 0x1406cfc00\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall ColorAction::setupFromString(ColorAction *a1, std::string *a2)\n{\n  _QWORD *v4; // rax\n  const char *v5; // rdx\n  void *Block[2]; // [rsp+20h] [rbp-28h] BYREF\n  std::string *v7; // [rsp+30h] [rbp-18h]\n\n  v7 = a2;\n  *(_OWORD *)Block = 0;\n  v4 = operator new(0x60u);\n  *v4 = v4;\n  v4[1] = v4;\n  v4[2] = v4;\n  *((_WORD *)v4 + 12) = 257;\n  Block[0] = v4;\n  GameToolbox::stringSetupToMap(a2, v5, (std::map<std::string,std::string> *)Block);\n  ColorAction::setupFromMap(a1, (std::map<std::string,std::string> *)Block);\n  sub_14026D220(Block, Block, *((_QWORD *)Block[0] + 1));\n  j_j_free(Block[0]);\n  sub_14003A830((__int64)a2);\n}", "assembly": "; \n; ColorAction::setupFromString from 0x140259a80 to 0x140259b30 (176 bytes)\n; \n; 12 xrefs:\n; > EditorUI::pasteObjects @ 0x14011399c\n; > GJEffectManager::setupFromString @ 0x140263dc9\n; > LevelSettingsObject::objectFromDict @ 0x1402edf61\n; > LevelSettingsObject::objectFromDict @ 0x1402edfc5\n; > LevelSettingsObject::objectFromDict @ 0x1402ee021\n; > LevelSettingsObject::objectFromDict @ 0x1402ee089\n; > LevelSettingsObject::objectFromDict @ 0x1402ee0ed\n; > LevelSettingsObject::objectFromDict @ 0x1402ee151\n; > LevelSettingsObject::objectFromDict @ 0x1402ee1b5\n; > LevelSettingsObject::objectFromDict @ 0x1402ee219\n; > LevelSettingsObject::objectFromDict @ 0x1402ee27d\n; > <???> @ 0x1406cfc00\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140259a80\npush    rdi                                                            ; +0x5, 0x140259a85\nsub     rsp, 40h                                                       ; +0x6, 0x140259a86\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x140259a8a\nxor     rax, rsp                                                       ; +0x11, 0x140259a91\nmov     [rsp+48h+var_10], rax                                          ; +0x14, 0x140259a94\nmov     rdi, rdx                                                       ; +0x19, 0x140259a99\nmov     rbx, rcx                                                       ; +0x1c, 0x140259a9c\nmov     [rsp+48h+var_18], rdx                                          ; +0x1f, 0x140259a9f\nxorps   xmm0, xmm0                                                     ; +0x24, 0x140259aa4\nmovdqu  xmmword ptr [rsp+48h+Block], xmm0                              ; +0x27, 0x140259aa7\nmov     ecx, 60h ; '`'; Size                                           ; +0x2d, 0x140259aad\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x32, 0x140259ab2\nmov     [rax], rax                                                     ; +0x37, 0x140259ab7\nmov     [rax+8], rax                                                   ; +0x3a, 0x140259aba\nmov     [rax+10h], rax                                                 ; +0x3e, 0x140259abe\nmov     word ptr [rax+18h], 101h                                       ; +0x42, 0x140259ac2\nmov     [rsp+48h+Block], rax                                           ; +0x48, 0x140259ac8\nlea     r8, [rsp+48h+Block]                                            ; +0x4d, 0x140259acd\nmov     rcx, rdi                                                       ; +0x52, 0x140259ad2\ncall    GameToolbox__stringSetupToMap                                  ; +0x55, 0x140259ad5\nlea     rdx, [rsp+48h+Block]                                           ; +0x5a, 0x140259ada\nmov     rcx, rbx                                                       ; +0x5f, 0x140259adf\ncall    ColorAction__setupFromMap                                      ; +0x62, 0x140259ae2\nnop                                                                    ; +0x67, 0x140259ae7\nmov     r8, [rsp+48h+Block]                                            ; +0x68, 0x140259ae8\nmov     r8, [r8+8]                                                     ; +0x6d, 0x140259aed\nlea     rdx, [rsp+48h+Block]                                           ; +0x71, 0x140259af1\nlea     rcx, [rsp+48h+Block]                                           ; +0x76, 0x140259af6\ncall    sub_14026D220                                                  ; +0x7b, 0x140259afb\nmov     edx, 60h ; '`'                                                 ; +0x80, 0x140259b00\nmov     rcx, [rsp+48h+Block]; Block                                    ; +0x85, 0x140259b05\ncall    j_j_free                                                       ; +0x8a, 0x140259b0a\nnop                                                                    ; +0x8f, 0x140259b0f\nmov     rcx, rdi                                                       ; +0x90, 0x140259b10\ncall    sub_14003A830                                                  ; +0x93, 0x140259b13\nmov     rcx, [rsp+48h+var_10]                                          ; +0x98, 0x140259b18\nxor     rcx, rsp; StackCookie                                          ; +0x9d, 0x140259b1d\ncall    __security_check_cookie                                        ; +0xa0, 0x140259b20\nmov     rbx, [rsp+48h+arg_10]                                          ; +0xa5, 0x140259b25\nadd     rsp, 40h                                                       ; +0xaa, 0x140259b2a\npop     rdi                                                            ; +0xae, 0x140259b2e\nretn                                                                   ; +0xaf, 0x140259b2f", "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"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}