{"type": "func", "start": 4295266720, "end": 4295266833, "name": "EditorUI::canAllowMultiActivate", "pseudocode": "// \n// EditorUI::canAllowMultiActivate from 0x1000491a0 to 0x100049211 (113 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editButton2Usable @ 0x100049050\n// > EditorUI::editObjectSpecial @ 0x100049959\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall EditorUI::canAllowMultiActivate(EditorUI *a1, GameObject *a2, cocos2d::CCArray *a3)\n{\n  unsigned int v5; // r14d\n  __int64 v6; // rax\n  char v7; // r15\n\n  if ( a2 )\n    return ((bool (__fastcall *)(GameObject *))a2->canAllowMultiActivate)(a2);\n  if ( !(unsigned int)sub_100720070(a3) )\n    return 1;\n  v5 = 0;\n  do\n  {\n    v6 = sub_1007200C0(a3, v5);\n    v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1616LL))(v6);\n    if ( !v7 )\n      break;\n    ++v5;\n  }\n  while ( v5 < (unsigned int)sub_100720070(a3) );\n  return v7;\n}", "assembly": "; \n; EditorUI::canAllowMultiActivate from 0x1000491a0 to 0x100049211 (113 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editButton2Usable @ 0x100049050\n; > EditorUI::editObjectSpecial @ 0x100049959\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ntest    rsi, rsi                                                       ; +0x0, 0x1000491a0\njz      short loc_1000491B1                                            ; +0x3, 0x1000491a3\nmov     rax, [rsi]                                                     ; +0x5, 0x1000491a5\nmov     rdi, rsi                                                       ; +0x8, 0x1000491a8\njmp     qword ptr [rax+650h]                                           ; +0xb, 0x1000491ab\npush    rbp                                                            ; +0x11, 0x1000491b1\nmov     rbp, rsp                                                       ; +0x12, 0x1000491b2\npush    r15                                                            ; +0x15, 0x1000491b5\npush    r14                                                            ; +0x17, 0x1000491b7\npush    rbx                                                            ; +0x19, 0x1000491b9\npush    rax                                                            ; +0x1a, 0x1000491ba\nmov     rbx, rdx                                                       ; +0x1b, 0x1000491bb\nmov     rdi, rdx                                                       ; +0x1e, 0x1000491be\ncall    sub_100720070                                                  ; +0x21, 0x1000491c1\ntest    eax, eax                                                       ; +0x26, 0x1000491c6\njz      short loc_100049200                                            ; +0x28, 0x1000491c8\nxor     r14d, r14d                                                     ; +0x2a, 0x1000491ca\nnop     dword ptr [rax]                                                ; +0x2d, 0x1000491cd\nmov     rdi, rbx                                                       ; +0x30, 0x1000491d0\nmov     esi, r14d                                                      ; +0x33, 0x1000491d3\ncall    sub_1007200C0                                                  ; +0x36, 0x1000491d6\nmov     rcx, [rax]                                                     ; +0x3b, 0x1000491db\nmov     rdi, rax                                                       ; +0x3e, 0x1000491de\ncall    qword ptr [rcx+650h]                                           ; +0x41, 0x1000491e1\nmov     r15d, eax                                                      ; +0x47, 0x1000491e7\ntest    al, al                                                         ; +0x4a, 0x1000491ea\njz      short loc_100049203                                            ; +0x4c, 0x1000491ec\ninc     r14d                                                           ; +0x4e, 0x1000491ee\nmov     rdi, rbx                                                       ; +0x51, 0x1000491f1\ncall    sub_100720070                                                  ; +0x54, 0x1000491f4\ncmp     r14d, eax                                                      ; +0x59, 0x1000491f9\njb      short loc_1000491D0                                            ; +0x5c, 0x1000491fc\njmp     short loc_100049203                                            ; +0x5e, 0x1000491fe\nmov     r15b, 1                                                        ; +0x60, 0x100049200\nmov     eax, r15d                                                      ; +0x63, 0x100049203\nadd     rsp, 8                                                         ; +0x66, 0x100049206\npop     rbx                                                            ; +0x6a, 0x10004920a\npop     r14                                                            ; +0x6b, 0x10004920b\npop     r15                                                            ; +0x6d, 0x10004920d\npop     rbp                                                            ; +0x6f, 0x10004920f\nretn                                                                   ; +0x70, 0x100049210", "xrefs": ["EditorUI::editButton2Usable @ 0x100049050", "EditorUI::editObjectSpecial @ 0x100049959"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}