{"type": "func", "start": 3667220, "end": 3667280, "name": "EditorUI::canAllowMultiActivate", "pseudocode": "// \n// EditorUI::canAllowMultiActivate from 0x37f514 to 0x37f550 (60 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editButton2Usable @ 0x37f6b8\n// > EditorUI::editObjectSpecial @ 0x37f8f4\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 i; // r4\n  int v5; // r0\n  int v6; // r0\n\n  if ( a2 )\n  {\n    LOBYTE(v6) = a2->canAllowMultiActivate(a2);\n  }\n  else\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a3); ++i )\n    {\n      v5 = cocos2d::CCArray::objectAtIndex(a3, i);\n      v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 808))(v5);\n      if ( !v6 )\n        return v6;\n    }\n    LOBYTE(v6) = 1;\n  }\n  return v6;\n}", "assembly": "; \n; EditorUI::canAllowMultiActivate from 0x37f514 to 0x37f550 (60 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editButton2Usable @ 0x37f6b8\n; > EditorUI::editObjectSpecial @ 0x37f8f4\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x37f514\nMOV             R5, R2                                                 ; +0x2, 0x37f516\nCBNZ            R1, loc_37F540                                         ; +0x4, 0x37f518\nMOV             R4, R1                                                 ; +0x6, 0x37f51a\nMOV             R0, R5; this                                           ; +0x8, 0x37f51c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xa, 0x37f51e\nCMP             R4, R0                                                 ; +0xe, 0x37f522\nBCS             loc_37F53C                                             ; +0x10, 0x37f524\nMOV             R0, R5; this                                           ; +0x12, 0x37f526\nMOV             R1, R4; unsigned int                                   ; +0x14, 0x37f528\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x16, 0x37f52a\nLDR             R3, [R0]                                               ; +0x1a, 0x37f52e\nLDR.W           R3, [R3,#0x328]                                        ; +0x1c, 0x37f530\nBLX             R3                                                     ; +0x20, 0x37f534\nCBZ             R0, locret_37F54E                                      ; +0x22, 0x37f536\nADDS            R4, #1                                                 ; +0x24, 0x37f538\nB               loc_37F51C                                             ; +0x26, 0x37f53a\nMOVS            R0, #1                                                 ; +0x28, 0x37f53c\nPOP             {R4-R6,PC}                                             ; +0x2a, 0x37f53e\nLDR             R3, [R1]                                               ; +0x2c, 0x37f540\nMOV             R0, R1                                                 ; +0x2e, 0x37f542\nPOP.W           {R4-R6,LR}                                             ; +0x30, 0x37f544\nLDR.W           R3, [R3,#0x328]                                        ; +0x34, 0x37f548\nBX              R3                                                     ; +0x38, 0x37f54c\nPOP             {R4-R6,PC}                                             ; +0x3a, 0x37f54e", "xrefs": ["EditorUI::editButton2Usable @ 0x37f6b8", "EditorUI::editObjectSpecial @ 0x37f8f4"], "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"}