//
// EditorUI::canAllowMultiActivate from 0x7c4e10 to 0x7c4e8c (124 bytes)
//
// 3 xrefs:
// > EditorUI::editButton2Usable @ 0x7c5048
// > EditorUI::editObjectSpecial @ 0x7c52d8
// > ??> @ 0x9dd98
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:54:08 +0000
//
__int64 __fastcall EditorUI::canAllowMultiActivate(EditorUI *this, GameObject *a2, cocos2d::CCArray *a3)
{
unsigned int v4; // w19
__int64 result; // x0
__int64 v6; // x0
bool v7; // cf
unsigned int v8; // w1
v4 = 0;
if ( a2 )
return (*(unsigned __int8 (__fastcall **)(GameObject *))(*(_QWORD *)a2 + 1632LL))(a2);
while ( 1 )
{
v7 = v4 >= (unsigned int)cocos2d::CCArray::count(a3);
v8 = v4++;
if ( v7 )
break;
v6 = cocos2d::CCArray::objectAtIndex(a3, v8);
result = (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1632LL))(v6);
if ( !(_BYTE)result )
return result;
}
return 1;
}