//
// EditorUI::arrayContainsClass from 0x1003f51fc to 0x1003f5274 (120 bytes)
//
// 2 xrefs:
// > EditorUI::editButton2Usable @ 0x1003f501c
// > EditorUI::editObjectSpecial @ 0x1003f5584
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall EditorUI::arrayContainsClass(EditorUI *a1, cocos2d::CCArray *a2, int a3)
{
unsigned int v5; // w21
int v6; // w8
bool v7; // w22
if ( !a2 || !(unsigned int)sub_10024A36C((__int64)a2) )
return 0;
v5 = 0;
do
{
v6 = *(_DWORD *)(sub_10024A388((__int64)a2, v5) + 1248);
v7 = v6 == a3;
if ( v6 == a3 )
break;
++v5;
}
while ( v5 < (unsigned int)sub_10024A36C((__int64)a2) );
return v7;
}