{"type": "func", "start": 4299117172, "end": 4299117308, "name": "EditorUI::canAllowMultiActivate", "pseudocode": "// \n// EditorUI::canAllowMultiActivate from 0x1003f5274 to 0x1003f52fc (136 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editButton2Usable @ 0x1003f5144\n// > EditorUI::editObjectSpecial @ 0x1003f57b4\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; // w20\n  __int64 v6; // x0\n  char v7; // w21\n\n  if ( a2 )\n    return ((bool (__fastcall *)(GameObject *))a2->canAllowMultiActivate)(a2);\n  if ( !(unsigned int)sub_10024A36C((__int64)a3) )\n    return 1;\n  v5 = 0;\n  do\n  {\n    v6 = sub_10024A388((__int64)a3, v5);\n    v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1616LL))(v6);\n    if ( (v7 & 1) == 0 )\n      break;\n    ++v5;\n  }\n  while ( v5 < (unsigned int)sub_10024A36C((__int64)a3) );\n  return v7;\n}", "assembly": "; \n; EditorUI::canAllowMultiActivate from 0x1003f5274 to 0x1003f52fc (136 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editButton2Usable @ 0x1003f5144\n; > EditorUI::editObjectSpecial @ 0x1003f57b4\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\nCBZ             X1, loc_1003F5288                                      ; +0x0, 0x1003f5274\nLDR             X8, [X1]                                               ; +0x4, 0x1003f5278\nLDR             X2, [X8,#0x650]                                        ; +0x8, 0x1003f527c\nMOV             X0, X1                                                 ; +0xc, 0x1003f5280\nBR              X2                                                     ; +0x10, 0x1003f5284\nSTP             X22, X21, [SP,#var_30]!                                ; +0x14, 0x1003f5288\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0x18, 0x1003f528c\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x1c, 0x1003f5290\nADD             X29, SP, #0x30+var_10                                  ; +0x20, 0x1003f5294\nMOV             X19, X2                                                ; +0x24, 0x1003f5298\nMOV             X0, X2                                                 ; +0x28, 0x1003f529c\nBL              sub_10024A36C                                          ; +0x2c, 0x1003f52a0\nCBZ             W0, loc_1003F52E4                                      ; +0x30, 0x1003f52a4\nMOV             W20, #0                                                ; +0x34, 0x1003f52a8\nMOV             X0, X19                                                ; +0x38, 0x1003f52ac\nMOV             X1, X20                                                ; +0x3c, 0x1003f52b0\nBL              sub_10024A388                                          ; +0x40, 0x1003f52b4\nLDR             X8, [X0]                                               ; +0x44, 0x1003f52b8\nLDR             X8, [X8,#0x650]                                        ; +0x48, 0x1003f52bc\nBLR             X8                                                     ; +0x4c, 0x1003f52c0\nMOV             X21, X0                                                ; +0x50, 0x1003f52c4\nTBZ             W0, #0, loc_1003F52E8                                  ; +0x54, 0x1003f52c8\nADD             W20, W20, #1                                           ; +0x58, 0x1003f52cc\nMOV             X0, X19                                                ; +0x5c, 0x1003f52d0\nBL              sub_10024A36C                                          ; +0x60, 0x1003f52d4\nCMP             W20, W0                                                ; +0x64, 0x1003f52d8\nB.CC            loc_1003F52AC                                          ; +0x68, 0x1003f52dc\nB               loc_1003F52E8                                          ; +0x6c, 0x1003f52e0\nMOV             W21, #1                                                ; +0x70, 0x1003f52e4\nMOV             X0, X21                                                ; +0x74, 0x1003f52e8\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x78, 0x1003f52ec\nLDP             X20, X19, [SP,#0x30+var_20]                            ; +0x7c, 0x1003f52f0\nLDP             X22, X21, [SP+0x30+var_30],#0x30                       ; +0x80, 0x1003f52f4\nRET                                                                    ; +0x84, 0x1003f52f8", "xrefs": ["EditorUI::editButton2Usable @ 0x1003f5144", "EditorUI::editObjectSpecial @ 0x1003f57b4"], "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"}