{"type": "func", "start": 4300971360, "end": 4300971488, "name": "EditorUI::deselectObjectsColor", "pseudocode": "// \n// EditorUI::deselectObjectsColor from 0x1005b9d60 to 0x1005b9de0 (128 bytes)\n// \n// 1 xrefs:\n// > EditorUI::checkLiveColorSelect @ 0x1005b8f53\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 12:32:43 +0000\n// \n\n__int64 __fastcall EditorUI::deselectObjectsColor(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 result; // rax\n  unsigned int v4; // r14d\n  __int64 v5; // rax\n\n  v2 = *(_QWORD *)(a1 + 1496);\n  if ( v2 )\n    return GameObject::deselectObject(v2);\n  result = sub_1007FEF90(*(_QWORD *)(a1 + 896));\n  if ( (_DWORD)result )\n  {\n    result = sub_1007FEF90(*(_QWORD *)(a1 + 896));\n    if ( (_DWORD)result )\n    {\n      v4 = 0;\n      do\n      {\n        v5 = sub_1007FEFE0(*(_QWORD *)(a1 + 896), v4);\n        GameObject::deselectObject(v5);\n        ++v4;\n        result = sub_1007FEF90(*(_QWORD *)(a1 + 896));\n      }\n      while ( v4 < (unsigned int)result );\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::deselectObjectsColor from 0x1005b9d60 to 0x1005b9de0 (128 bytes)\n; \n; 1 xrefs:\n; > EditorUI::checkLiveColorSelect @ 0x1005b8f53\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 12:32:43 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005b9d60\nmov     rbp, rsp                                                       ; +0x1, 0x1005b9d61\npush    r14                                                            ; +0x4, 0x1005b9d64\npush    rbx                                                            ; +0x6, 0x1005b9d66\nmov     rbx, rdi                                                       ; +0x7, 0x1005b9d67\nmov     rdi, [rdi+5D8h]                                                ; +0xa, 0x1005b9d6a\ntest    rdi, rdi                                                       ; +0x11, 0x1005b9d71\njz      short loc_1005B9D7F                                            ; +0x14, 0x1005b9d74\npop     rbx                                                            ; +0x16, 0x1005b9d76\npop     r14                                                            ; +0x17, 0x1005b9d77\npop     rbp                                                            ; +0x19, 0x1005b9d79\njmp     GameObject__deselectObject                                     ; +0x1a, 0x1005b9d7a\nmov     rdi, [rbx+380h]                                                ; +0x1f, 0x1005b9d7f\ncall    sub_1007FEF90                                                  ; +0x26, 0x1005b9d86\ntest    eax, eax                                                       ; +0x2b, 0x1005b9d8b\njz      short loc_1005B9DDB                                            ; +0x2d, 0x1005b9d8d\nmov     rdi, [rbx+380h]                                                ; +0x2f, 0x1005b9d8f\ncall    sub_1007FEF90                                                  ; +0x36, 0x1005b9d96\ntest    eax, eax                                                       ; +0x3b, 0x1005b9d9b\njz      short loc_1005B9DDB                                            ; +0x3d, 0x1005b9d9d\nxor     r14d, r14d                                                     ; +0x3f, 0x1005b9d9f\nnop     word ptr [rax+rax+00000000h]                                   ; +0x42, 0x1005b9da2\nmov     rdi, [rbx+380h]                                                ; +0x50, 0x1005b9db0\nmov     esi, r14d                                                      ; +0x57, 0x1005b9db7\ncall    sub_1007FEFE0                                                  ; +0x5a, 0x1005b9dba\nmov     rdi, rax                                                       ; +0x5f, 0x1005b9dbf\ncall    GameObject__deselectObject                                     ; +0x62, 0x1005b9dc2\ninc     r14d                                                           ; +0x67, 0x1005b9dc7\nmov     rdi, [rbx+380h]                                                ; +0x6a, 0x1005b9dca\ncall    sub_1007FEF90                                                  ; +0x71, 0x1005b9dd1\ncmp     r14d, eax                                                      ; +0x76, 0x1005b9dd6\njb      short loc_1005B9DB0                                            ; +0x79, 0x1005b9dd9\npop     rbx                                                            ; +0x7b, 0x1005b9ddb\npop     r14                                                            ; +0x7c, 0x1005b9ddc\npop     rbp                                                            ; +0x7e, 0x1005b9dde\nretn                                                                   ; +0x7f, 0x1005b9ddf", "xrefs": ["EditorUI::checkLiveColorSelect @ 0x1005b8f53"], "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"}