//
// OptionsScrollLayer::getRelevantObjects from 0x100610810 to 0x100610888 (120 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCArray *__fastcall OptionsScrollLayer::getRelevantObjects(OptionsScrollLayer *a1, cocos2d::CCArray *a2)
{
cocos2d::CCArray *v2; // r14
cocos2d::ccArray *data; // rax
cocos2d::CCObject **arr; // r15
unsigned __int64 v5; // r12
cocos2d::CCObject *v6; // rsi
v2 = (cocos2d::CCArray *)sub_10071F9E0(a1, a2);
if ( a2 )
{
data = a2->data;
if ( data->num )
{
arr = data->arr;
v5 = (unsigned __int64)&arr[data->num - 1];
do
{
v6 = *arr;
if ( !*arr )
break;
if ( v6[1].m_unknown2 > a1->m_minCount || BYTE4(v6[1].__vftable) == 1 )
sub_10071FCD0(v2, v6);
++arr;
}
while ( (unsigned __int64)arr <= v5 );
}
}
return v2;
}