{"type": "func", "start": 4295073616, "end": 4295073748, "name": "EditorUI::resetSelectedObjectsColor", "pseudocode": "// \n// EditorUI::resetSelectedObjectsColor from 0x100019f50 to 0x100019fd4 (132 bytes)\n// \n// 0 xrefs:\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:18:55 +0000\n// \n\nunsigned int *__fastcall EditorUI::resetSelectedObjectsColor(__int64 a1)\n{\n  __int64 v2; // rdi\n  unsigned int *result; // rax\n  __int64 v4; // rbx\n  _QWORD *v5; // rbx\n  unsigned __int64 v6; // r14\n\n  v2 = *(_QWORD *)(a1 + 1496);\n  if ( v2 )\n    return (unsigned int *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1528LL))(v2, 65280);\n  v4 = a1;\n  result = (unsigned int *)sub_1007FEF90(*(_QWORD *)(a1 + 896));\n  if ( (_DWORD)result )\n  {\n    result = *(unsigned int **)(v4 + 896);\n    if ( result )\n    {\n      result = *((unsigned int **)result + 7);\n      if ( *result )\n      {\n        v5 = *((_QWORD **)result + 2);\n        v6 = (unsigned __int64)&v5[*result - 1];\n        do\n        {\n          if ( !*v5 )\n            break;\n          result = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v5 + 1528LL))(*v5, 65280);\n          ++v5;\n        }\n        while ( (unsigned __int64)v5 <= v6 );\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::resetSelectedObjectsColor from 0x100019f50 to 0x100019fd4 (132 bytes)\n; \n; 0 xrefs:\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:18:55 +0000\n; \nmov     rax, rdi                                                       ; +0x0, 0x100019f50\nmov     rdi, [rdi+5D8h]                                                ; +0x3, 0x100019f53\ntest    rdi, rdi                                                       ; +0xa, 0x100019f5a\njz      short loc_100019F70                                            ; +0xd, 0x100019f5d\nmov     rax, [rdi]                                                     ; +0xf, 0x100019f5f\nmov     rax, [rax+5F8h]                                                ; +0x12, 0x100019f62\nmov     esi, 0FF00h                                                    ; +0x19, 0x100019f69\njmp     rax                                                            ; +0x1e, 0x100019f6e\npush    rbp                                                            ; +0x20, 0x100019f70\nmov     rbp, rsp                                                       ; +0x21, 0x100019f71\npush    r14                                                            ; +0x24, 0x100019f74\npush    rbx                                                            ; +0x26, 0x100019f76\nmov     rbx, rax                                                       ; +0x27, 0x100019f77\nmov     rdi, [rax+380h]                                                ; +0x2a, 0x100019f7a\ncall    sub_1007FEF90                                                  ; +0x31, 0x100019f81\ntest    eax, eax                                                       ; +0x36, 0x100019f86\njz      short loc_100019FCF                                            ; +0x38, 0x100019f88\nmov     rax, [rbx+380h]                                                ; +0x3a, 0x100019f8a\ntest    rax, rax                                                       ; +0x41, 0x100019f91\njz      short loc_100019FCF                                            ; +0x44, 0x100019f94\nmov     rax, [rax+38h]                                                 ; +0x46, 0x100019f96\nmov     ecx, [rax]                                                     ; +0x4a, 0x100019f9a\ntest    rcx, rcx                                                       ; +0x4c, 0x100019f9c\njz      short loc_100019FCF                                            ; +0x4f, 0x100019f9f\nmov     rbx, [rax+10h]                                                 ; +0x51, 0x100019fa1\nlea     r14, [rbx+rcx*8]                                               ; +0x55, 0x100019fa5\nadd     r14, 0FFFFFFFFFFFFFFF8h                                        ; +0x59, 0x100019fa9\nnop     dword ptr [rax]                                                ; +0x5d, 0x100019fad\nmov     rdi, [rbx]                                                     ; +0x60, 0x100019fb0\ntest    rdi, rdi                                                       ; +0x63, 0x100019fb3\njz      short loc_100019FCF                                            ; +0x66, 0x100019fb6\nmov     rax, [rdi]                                                     ; +0x68, 0x100019fb8\nmov     esi, 0FF00h                                                    ; +0x6b, 0x100019fbb\ncall    qword ptr [rax+5F8h]                                           ; +0x70, 0x100019fc0\nadd     rbx, 8                                                         ; +0x76, 0x100019fc6\ncmp     rbx, r14                                                       ; +0x7a, 0x100019fca\njbe     short loc_100019FB0                                            ; +0x7d, 0x100019fcd\npop     rbx                                                            ; +0x7f, 0x100019fcf\npop     r14                                                            ; +0x80, 0x100019fd0\npop     rbp                                                            ; +0x82, 0x100019fd2\nretn                                                                   ; +0x83, 0x100019fd3", "xrefs": [], "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"}