//
// DemonFilterSelectLayer::selectRating from 0x6cd4b4 to 0x6cd578 (196 bytes)
//
// 4 xrefs:
// > DemonFilterSelectLayer::init @ 0x6ce0a8
// > ??> @ 0x38448
// > DemonFilterSelectLayer::init @ 0x6cdf34
// > ??> @ 0x1229bc8
//
// 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
//
void DemonFilterSelectLayer::selectRating(DemonFilterSelectLayer *a1, cocos2d::CCObject *a2)
{
unsigned int v3; // w19
__int64 v4; // x20
__int64 v5; // x22
v3 = 0;
a1->m_currentDemon = a2->getTag(a2);
while ( v3 < (unsigned int)cocos2d::CCArray::count(a1->m_demons) )
{
v4 = cocos2d::CCArray::objectAtIndex(a1->m_demons, v3);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1056LL))(v4);
(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4);
++v3;
(*(void (**)(void))(*(_QWORD *)v5 + 944LL))();
}
}