{"type": "func", "start": 4295068480, "end": 4295068593, "name": "EditorUI::canAllowMultiActivate", "pseudocode": "// \n// EditorUI::canAllowMultiActivate from 0x100018b40 to 0x100018bb1 (113 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editButton2Usable @ 0x1000189f0\n// > EditorUI::editObjectSpecial @ 0x100019327\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\n__int64 __fastcall EditorUI::canAllowMultiActivate(__int64 a1, __int64 a2, __int64 a3)\n{\n  unsigned int v3; // r15d\n  unsigned int v6; // r14d\n  __int64 v7; // rax\n\n  if ( a2 )\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1632LL))(a2);\n  if ( (unsigned int)sub_1007FEF90(a3) )\n  {\n    v6 = 0;\n    do\n    {\n      v7 = sub_1007FEFE0(a3, v6);\n      v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1632LL))(v7);\n      if ( !(_BYTE)v3 )\n        break;\n      ++v6;\n    }\n    while ( v6 < (unsigned int)sub_1007FEF90(a3) );\n  }\n  else\n  {\n    LOBYTE(v3) = 1;\n  }\n  return v3;\n}", "assembly": "; \n; EditorUI::canAllowMultiActivate from 0x100018b40 to 0x100018bb1 (113 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editButton2Usable @ 0x1000189f0\n; > EditorUI::editObjectSpecial @ 0x100019327\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; \ntest    rsi, rsi                                                       ; +0x0, 0x100018b40\njz      short loc_100018B51                                            ; +0x3, 0x100018b43\nmov     rax, [rsi]                                                     ; +0x5, 0x100018b45\nmov     rdi, rsi                                                       ; +0x8, 0x100018b48\njmp     qword ptr [rax+660h]                                           ; +0xb, 0x100018b4b\npush    rbp                                                            ; +0x11, 0x100018b51\nmov     rbp, rsp                                                       ; +0x12, 0x100018b52\npush    r15                                                            ; +0x15, 0x100018b55\npush    r14                                                            ; +0x17, 0x100018b57\npush    rbx                                                            ; +0x19, 0x100018b59\npush    rax                                                            ; +0x1a, 0x100018b5a\nmov     rbx, rdx                                                       ; +0x1b, 0x100018b5b\nmov     rdi, rdx                                                       ; +0x1e, 0x100018b5e\ncall    sub_1007FEF90                                                  ; +0x21, 0x100018b61\ntest    eax, eax                                                       ; +0x26, 0x100018b66\njz      short loc_100018BA0                                            ; +0x28, 0x100018b68\nxor     r14d, r14d                                                     ; +0x2a, 0x100018b6a\nnop     dword ptr [rax]                                                ; +0x2d, 0x100018b6d\nmov     rdi, rbx                                                       ; +0x30, 0x100018b70\nmov     esi, r14d                                                      ; +0x33, 0x100018b73\ncall    sub_1007FEFE0                                                  ; +0x36, 0x100018b76\nmov     rcx, [rax]                                                     ; +0x3b, 0x100018b7b\nmov     rdi, rax                                                       ; +0x3e, 0x100018b7e\ncall    qword ptr [rcx+660h]                                           ; +0x41, 0x100018b81\nmov     r15d, eax                                                      ; +0x47, 0x100018b87\ntest    al, al                                                         ; +0x4a, 0x100018b8a\njz      short loc_100018BA3                                            ; +0x4c, 0x100018b8c\ninc     r14d                                                           ; +0x4e, 0x100018b8e\nmov     rdi, rbx                                                       ; +0x51, 0x100018b91\ncall    sub_1007FEF90                                                  ; +0x54, 0x100018b94\ncmp     r14d, eax                                                      ; +0x59, 0x100018b99\njb      short loc_100018B70                                            ; +0x5c, 0x100018b9c\njmp     short loc_100018BA3                                            ; +0x5e, 0x100018b9e\nmov     r15b, 1                                                        ; +0x60, 0x100018ba0\nmov     eax, r15d                                                      ; +0x63, 0x100018ba3\nadd     rsp, 8                                                         ; +0x66, 0x100018ba6\npop     rbx                                                            ; +0x6a, 0x100018baa\npop     r14                                                            ; +0x6b, 0x100018bab\npop     r15                                                            ; +0x6d, 0x100018bad\npop     rbp                                                            ; +0x6f, 0x100018baf\nretn                                                                   ; +0x70, 0x100018bb0", "xrefs": ["EditorUI::editButton2Usable @ 0x1000189f0", "EditorUI::editObjectSpecial @ 0x100019327"], "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"}