//
// ShareListLayer::onUnlisted from 0x592954 to 0x592994 (64 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
//
void ShareListLayer::onUnlisted(ShareListLayer *a1, cocos2d::CCObject *a2)
{
int v3; // r0
GJLevelList *m_list; // r3
_BOOL4 m_unlisted; // r2
v3 = a2->getTag(a2);
m_list = a1->m_list;
if ( v3 == 1 )
{
m_list->m_friendsOnly ^= 1u;
}
else
{
m_unlisted = m_list->m_unlisted;
m_list->m_unlisted = !m_unlisted;
if ( m_unlisted )
m_list->m_friendsOnly = 0;
ShareListLayer::updateUnlistedF(a1);
}
}