{"type": "func", "start": 6865108, "end": 6865232, "name": "EditorUI::canAllowMultiActivate", "pseudocode": "// \n// EditorUI::canAllowMultiActivate from 0x68c0d4 to 0x68c150 (124 bytes)\n// \n// 3 xrefs:\n// > EditorUI::editButton2Usable @ 0x68c30c\n// > EditorUI::editObjectSpecial @ 0x68c62c\n// > <???> @ 0x75c00\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 EditorUI::canAllowMultiActivate(EditorUI *a1, GameObject *a2, cocos2d::CCArray *a3)\n{\n  unsigned int v4; // w19\n  bool result; // w0\n  __int64 v6; // x0\n  bool v7; // cf\n  unsigned int v8; // w1\n\n  v4 = 0;\n  if ( a2 )\n    return a2->canAllowMultiActivate(a2);\n  while ( 1 )\n  {\n    v7 = v4 >= (unsigned int)cocos2d::CCArray::count(a3);\n    v8 = v4++;\n    if ( v7 )\n      break;\n    v6 = cocos2d::CCArray::objectAtIndex(a3, v8);\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1616LL))(v6);\n    if ( !result )\n      return result;\n  }\n  return 1;\n}", "assembly": "; \n; EditorUI::canAllowMultiActivate from 0x68c0d4 to 0x68c150 (124 bytes)\n; \n; 3 xrefs:\n; > EditorUI::editButton2Usable @ 0x68c30c\n; > EditorUI::editObjectSpecial @ 0x68c62c\n; > <???> @ 0x75c00\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x68c0d4\nMOV             X29, SP                                                ; +0x4, 0x68c0d8\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x68c0dc\nMOV             X20, X2                                                ; +0xc, 0x68c0e0\nMOV             W19, #0                                                ; +0x10, 0x68c0e4\nCBZ             X1, loc_68C124                                         ; +0x14, 0x68c0e8\nLDR             X2, [X1]                                               ; +0x18, 0x68c0ec\nMOV             X0, X1                                                 ; +0x1c, 0x68c0f0\nLDR             X1, [X2,#0x650]                                        ; +0x20, 0x68c0f4\nBLR             X1                                                     ; +0x24, 0x68c0f8\nUXTB            W0, W0                                                 ; +0x28, 0x68c0fc\nLDP             X19, X20, [SP,#var_s10]                                ; +0x2c, 0x68c100\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x30, 0x68c104\nRET                                                                    ; +0x34, 0x68c108\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x38, 0x68c10c\nLDR             X1, [X0]                                               ; +0x3c, 0x68c110\nLDR             X1, [X1,#0x650]                                        ; +0x40, 0x68c114\nBLR             X1                                                     ; +0x44, 0x68c118\nUXTB            W0, W0                                                 ; +0x48, 0x68c11c\nCBZ             W0, loc_68C100                                         ; +0x4c, 0x68c120\nMOV             X0, X20; this                                          ; +0x50, 0x68c124\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x54, 0x68c128\nCMP             W19, W0                                                ; +0x58, 0x68c12c\nMOV             W1, W19; unsigned int                                  ; +0x5c, 0x68c130\nMOV             X0, X20; this                                          ; +0x60, 0x68c134\nADD             W19, W19, #1                                           ; +0x64, 0x68c138\nB.CC            loc_68C10C                                             ; +0x68, 0x68c13c\nMOV             W0, #1                                                 ; +0x6c, 0x68c140\nLDP             X19, X20, [SP,#var_s10]                                ; +0x70, 0x68c144\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x74, 0x68c148\nRET                                                                    ; +0x78, 0x68c14c", "xrefs": ["EditorUI::editButton2Usable @ 0x68c30c", "EditorUI::editObjectSpecial @ 0x68c62c", "<???> @ 0x75c00"], "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"}