//
// OptionsScrollLayer::getRelevantObjects from 0x1003c2fb0 to 0x1003c3038 (136 bytes)
//
// 1 xrefs:
// > OptionsScrollLayer::setupList @ 0x1003c2ee0
//
// 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 *v4; // x20
cocos2d::ccArray *data; // x9
__int64 num; // x8
cocos2d::CCObject **arr; // x21
unsigned __int64 v8; // x22
cocos2d::CCObject *v9; // x1
v4 = (cocos2d::CCArray *)sub_10024A15C();
if ( a2 )
{
data = a2->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
v8 = (unsigned __int64)&arr[num - 1];
do
{
v9 = *arr;
if ( !*arr )
break;
if ( v9[1].m_unknown2 > a1->m_minCount || BYTE4(v9[1].__vftable) == 1 )
sub_10024A2D0((__int64)v4);
++arr;
}
while ( (unsigned __int64)arr <= v8 );
}
}
return v4;
}