{"type": "func", "start": 5375303920, "end": 5375304039, "name": "EffectGameObject::updateSpecialColor", "pseudocode": "// \n// EffectGameObject::updateSpecialColor from 0x14064a0f0 to 0x14064a167 (119 bytes)\n// \n// 4 xrefs:\n// > EditorUI::getCreateBtn @ 0x1401f162d\n// > LevelEditorLayer::addSpecial @ 0x1403f4e99\n// > SetupObjectTogglePopup::valueDidChange @ 0x1405bfab1\n// > <???> @ 0x140931454\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:35:38 +0000\n// \n\nvoid __fastcall EffectGameObject::updateSpecialColor(__int64 a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rcx\n  void (__fastcall **v4)(__int64, __int16 *); // rax\n  void (__fastcall **v5)(__int64, __int16 *); // rax\n  __int16 v6; // [rsp+30h] [rbp+8h] BYREF\n  char v7; // [rsp+32h] [rbp+Ah]\n  __int16 v8; // [rsp+38h] [rbp+10h] BYREF\n  char v9; // [rsp+3Ah] [rbp+12h]\n\n  if ( *(_DWORD *)(a1 + 1036) == 1049 )\n  {\n    v2 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 472LL))(a1, 998);\n    if ( v2 )\n    {\n      v3 = v2 + 320;\n      if ( *(_BYTE *)(a1 + 1653) )\n      {\n        v6 = -256;\n        v4 = *(void (__fastcall ***)(__int64, __int16 *))(v2 + 320);\n        v7 = 127;\n        (*v4)(v3, &v6);\n      }\n      else\n      {\n        v8 = 0x3FFF;\n        v5 = *(void (__fastcall ***)(__int64, __int16 *))(v2 + 320);\n        v9 = 63;\n        (*v5)(v3, &v8);\n      }\n    }\n  }\n}", "assembly": "; \n; EffectGameObject::updateSpecialColor from 0x14064a0f0 to 0x14064a167 (119 bytes)\n; \n; 4 xrefs:\n; > EditorUI::getCreateBtn @ 0x1401f162d\n; > LevelEditorLayer::addSpecial @ 0x1403f4e99\n; > SetupObjectTogglePopup::valueDidChange @ 0x1405bfab1\n; > <???> @ 0x140931454\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:35:38 +0000\n; \npush    rbx                                                            ; +0x0, 0x14064a0f0\nsub     rsp, 20h                                                       ; +0x2, 0x14064a0f2\ncmp     dword ptr [rcx+40Ch], 419h                                     ; +0x6, 0x14064a0f6\nmov     rbx, rcx                                                       ; +0x10, 0x14064a100\njnz     short loc_14064A161                                            ; +0x13, 0x14064a103\nmov     rax, [rcx]                                                     ; +0x15, 0x14064a105\nmov     edx, 3E6h                                                      ; +0x18, 0x14064a108\ncall    qword ptr [rax+1D8h]                                           ; +0x1d, 0x14064a10d\ntest    rax, rax                                                       ; +0x23, 0x14064a113\njz      short loc_14064A161                                            ; +0x26, 0x14064a116\ncmp     byte ptr [rbx+675h], 0                                         ; +0x28, 0x14064a118\njz      short loc_14064A144                                            ; +0x2f, 0x14064a11f\nlea     rcx, [rax+140h]                                                ; +0x31, 0x14064a121\nmov     [rsp+28h+arg_0], 0FF00h                                        ; +0x38, 0x14064a128\nmov     rax, [rcx]                                                     ; +0x3f, 0x14064a12f\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x42, 0x14064a132\nmov     [rsp+28h+arg_2], 7Fh                                           ; +0x47, 0x14064a137\ncall    qword ptr [rax]                                                ; +0x4c, 0x14064a13c\nadd     rsp, 20h                                                       ; +0x4e, 0x14064a13e\npop     rbx                                                            ; +0x52, 0x14064a142\nretn                                                                   ; +0x53, 0x14064a143\nlea     rcx, [rax+140h]                                                ; +0x54, 0x14064a144\nmov     [rsp+28h+arg_8], 3FFFh                                         ; +0x5b, 0x14064a14b\nmov     rax, [rcx]                                                     ; +0x62, 0x14064a152\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x65, 0x14064a155\nmov     [rsp+28h+arg_A], 3Fh ; '?'                                     ; +0x6a, 0x14064a15a\ncall    qword ptr [rax]                                                ; +0x6f, 0x14064a15f\nadd     rsp, 20h                                                       ; +0x71, 0x14064a161\npop     rbx                                                            ; +0x75, 0x14064a165\nretn                                                                   ; +0x76, 0x14064a166", "xrefs": ["EditorUI::getCreateBtn @ 0x1401f162d", "LevelEditorLayer::addSpecial @ 0x1403f4e99", "SetupObjectTogglePopup::valueDidChange @ 0x1405bfab1", "<???> @ 0x140931454"], "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"}