{"type": "func", "start": 5372263648, "end": 5372263831, "name": "ColorAction::setupFromString", "pseudocode": "// \n// ColorAction::setupFromString from 0x140363ce0 to 0x140363d97 (183 bytes)\n// \n// 12 xrefs:\n// > EditorUI::pasteObjects @ 0x1401c6617\n// > GJEffectManager::setupFromString @ 0x14036e661\n// > LevelSettingsObject::objectFromDict @ 0x1404128c6\n// > LevelSettingsObject::objectFromDict @ 0x14041292a\n// > LevelSettingsObject::objectFromDict @ 0x140412986\n// > LevelSettingsObject::objectFromDict @ 0x1404129ee\n// > LevelSettingsObject::objectFromDict @ 0x140412a52\n// > LevelSettingsObject::objectFromDict @ 0x140412ab6\n// > LevelSettingsObject::objectFromDict @ 0x140412b1a\n// > LevelSettingsObject::objectFromDict @ 0x140412b7e\n// > LevelSettingsObject::objectFromDict @ 0x140412be2\n// > <???> @ 0x14092159c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:30:54 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall ColorAction::setupFromString(__int64 a1, __int64 *a2)\n{\n  _QWORD *v4; // rax\n  void *Block[2]; // [rsp+20h] [rbp-28h] BYREF\n  __int64 *v6; // [rsp+30h] [rbp-18h]\n\n  v6 = 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, \"_\", (__int64)Block);\n  ColorAction::setupFromMap(a1, Block);\n  sub_1400D26B0((__int64)Block, (__int64)Block, *((_QWORD *)Block[0] + 1));\n  j_j_free(Block[0]);\n  sub_14003D310((__int64)a2);\n}", "assembly": "; \n; ColorAction::setupFromString from 0x140363ce0 to 0x140363d97 (183 bytes)\n; \n; 12 xrefs:\n; > EditorUI::pasteObjects @ 0x1401c6617\n; > GJEffectManager::setupFromString @ 0x14036e661\n; > LevelSettingsObject::objectFromDict @ 0x1404128c6\n; > LevelSettingsObject::objectFromDict @ 0x14041292a\n; > LevelSettingsObject::objectFromDict @ 0x140412986\n; > LevelSettingsObject::objectFromDict @ 0x1404129ee\n; > LevelSettingsObject::objectFromDict @ 0x140412a52\n; > LevelSettingsObject::objectFromDict @ 0x140412ab6\n; > LevelSettingsObject::objectFromDict @ 0x140412b1a\n; > LevelSettingsObject::objectFromDict @ 0x140412b7e\n; > LevelSettingsObject::objectFromDict @ 0x140412be2\n; > <???> @ 0x14092159c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:30:54 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140363ce0\npush    rdi                                                            ; +0x5, 0x140363ce5\nsub     rsp, 40h                                                       ; +0x6, 0x140363ce6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x140363cea\nxor     rax, rsp                                                       ; +0x11, 0x140363cf1\nmov     [rsp+48h+var_10], rax                                          ; +0x14, 0x140363cf4\nmov     rdi, rdx                                                       ; +0x19, 0x140363cf9\nmov     rbx, rcx                                                       ; +0x1c, 0x140363cfc\nmov     [rsp+48h+var_18], rdx                                          ; +0x1f, 0x140363cff\nxorps   xmm0, xmm0                                                     ; +0x24, 0x140363d04\nmovdqu  xmmword ptr [rsp+48h+Block], xmm0                              ; +0x27, 0x140363d07\nmov     ecx, 60h ; '`'; Size                                           ; +0x2d, 0x140363d0d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x32, 0x140363d12\nmov     [rax], rax                                                     ; +0x37, 0x140363d17\nmov     [rax+8], rax                                                   ; +0x3a, 0x140363d1a\nmov     [rax+10h], rax                                                 ; +0x3e, 0x140363d1e\nmov     word ptr [rax+18h], 101h                                       ; +0x42, 0x140363d22\nmov     [rsp+48h+Block], rax                                           ; +0x48, 0x140363d28\nlea     r8, [rsp+48h+Block]                                            ; +0x4d, 0x140363d2d\nlea     rdx, asc_14071413C; \"_\"                                        ; +0x52, 0x140363d32\nmov     rcx, rdi                                                       ; +0x59, 0x140363d39\ncall    GameToolbox__stringSetupToMap                                  ; +0x5c, 0x140363d3c\nlea     rdx, [rsp+48h+Block]                                           ; +0x61, 0x140363d41\nmov     rcx, rbx                                                       ; +0x66, 0x140363d46\ncall    ColorAction__setupFromMap                                      ; +0x69, 0x140363d49\nnop                                                                    ; +0x6e, 0x140363d4e\nmov     r8, [rsp+48h+Block]                                            ; +0x6f, 0x140363d4f\nmov     r8, [r8+8]                                                     ; +0x74, 0x140363d54\nlea     rdx, [rsp+48h+Block]                                           ; +0x78, 0x140363d58\nlea     rcx, [rsp+48h+Block]                                           ; +0x7d, 0x140363d5d\ncall    sub_1400D26B0                                                  ; +0x82, 0x140363d62\nmov     edx, 60h ; '`'                                                 ; +0x87, 0x140363d67\nmov     rcx, [rsp+48h+Block]; Block                                    ; +0x8c, 0x140363d6c\ncall    j_j_free                                                       ; +0x91, 0x140363d71\nnop                                                                    ; +0x96, 0x140363d76\nmov     rcx, rdi                                                       ; +0x97, 0x140363d77\ncall    sub_14003D310                                                  ; +0x9a, 0x140363d7a\nmov     rcx, [rsp+48h+var_10]                                          ; +0x9f, 0x140363d7f\nxor     rcx, rsp; StackCookie                                          ; +0xa4, 0x140363d84\ncall    __security_check_cookie                                        ; +0xa7, 0x140363d87\nmov     rbx, [rsp+48h+arg_10]                                          ; +0xac, 0x140363d8c\nadd     rsp, 40h                                                       ; +0xb1, 0x140363d91\npop     rdi                                                            ; +0xb5, 0x140363d95\nretn                                                                   ; +0xb6, 0x140363d96", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}