{"type": "func", "start": 4732736, "end": 4732796, "name": "EditorUI::canAllowMultiActivate", "pseudocode": "// \n// EditorUI::canAllowMultiActivate from 0x483740 to 0x48377c (60 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editButton2Usable @ 0x4838e4\n// > EditorUI::editObjectSpecial @ 0x483b4c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:23 +0000\n// \n\nint __fastcall EditorUI::canAllowMultiActivate(EditorUI *this, GameObject *a2, cocos2d::CCArray *a3)\n{\n  unsigned int i; // r4\n  int v5; // r0\n  int result; // r0\n\n  if ( a2 )\n    return (*(int (__fastcall **)(GameObject *))(*(_DWORD *)a2 + 816))(a2);\n  for ( i = 0; i < cocos2d::CCArray::count(a3); ++i )\n  {\n    v5 = cocos2d::CCArray::objectAtIndex(a3, i);\n    result = (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 816))(v5);\n    if ( !result )\n      return result;\n  }\n  return 1;\n}", "assembly": "; \n; EditorUI::canAllowMultiActivate from 0x483740 to 0x48377c (60 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editButton2Usable @ 0x4838e4\n; > EditorUI::editObjectSpecial @ 0x483b4c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:23 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x483740\nMOV             R5, R2                                                 ; +0x2, 0x483742\nCBNZ            R1, loc_48376C                                         ; +0x4, 0x483744\nMOV             R4, R1                                                 ; +0x6, 0x483746\nMOV             R0, R5; this                                           ; +0x8, 0x483748\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xa, 0x48374a\nCMP             R4, R0                                                 ; +0xe, 0x48374e\nBCS             loc_483768                                             ; +0x10, 0x483750\nMOV             R0, R5; this                                           ; +0x12, 0x483752\nMOV             R1, R4; unsigned int                                   ; +0x14, 0x483754\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x16, 0x483756\nLDR             R3, [R0]                                               ; +0x1a, 0x48375a\nLDR.W           R3, [R3,#0x330]                                        ; +0x1c, 0x48375c\nBLX             R3                                                     ; +0x20, 0x483760\nCBZ             R0, locret_48377A                                      ; +0x22, 0x483762\nADDS            R4, #1                                                 ; +0x24, 0x483764\nB               loc_483748                                             ; +0x26, 0x483766\nMOVS            R0, #1                                                 ; +0x28, 0x483768\nPOP             {R4-R6,PC}                                             ; +0x2a, 0x48376a\nLDR             R3, [R1]                                               ; +0x2c, 0x48376c\nMOV             R0, R1                                                 ; +0x2e, 0x48376e\nPOP.W           {R4-R6,LR}                                             ; +0x30, 0x483770\nLDR.W           R3, [R3,#0x330]                                        ; +0x34, 0x483774\nBX              R3                                                     ; +0x38, 0x483778\nPOP             {R4-R6,PC}                                             ; +0x3a, 0x48377a", "xrefs": ["EditorUI::editButton2Usable @ 0x4838e4", "EditorUI::editObjectSpecial @ 0x483b4c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}