// // DemonFilterSelectLayer::selectRating from 0x3ac2b8 to 0x3ac322 (106 bytes) // // 1 xrefs: // > DemonFilterSelectLayer::init @ 0x3ac71e // // 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; // r4 int v4; // r0 int v5; // r8 int v6; // r0 int m_currentDemon; // r10 int v8; // r7 void *v9; // r1 v3 = 0; a1->m_currentDemon = a2->getTag(a2); while ( v3 < cocos2d::CCArray::count(a1->m_demons) ) { v4 = cocos2d::CCArray::objectAtIndex(a1->m_demons, v3++); v5 = v4; v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 528))(v4); m_currentDemon = a1->m_currentDemon; v8 = v6; if ( m_currentDemon == (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 32))(v5) ) v9 = &unk_9AA983; else v9 = &unk_9AA980; (*(void (__fastcall **)(int, void *))(*(_DWORD *)v8 + 472))(v8, v9); } }