//
// ShareListLayer::onUnlisted from 0xa793b4 to 0xa79420 (108 bytes)
//
// 4 xrefs:
// > ??> @ 0x81780
// > ShareListLayer::init @ 0xa79c4c
// > ShareListLayer::init @ 0xa79e00
// > ??> @ 0x122c5d8
//
// 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)
{
GJLevelList *m_list; // x0
_BOOL4 m_unlisted; // w1
if ( a2->getTag(a2) == 1 )
{
a1->m_list->m_friendsOnly ^= 1u;
}
else
{
m_list = a1->m_list;
m_unlisted = m_list->m_unlisted;
m_list->m_unlisted = !m_unlisted;
if ( m_unlisted )
m_list->m_friendsOnly = 0;
ShareListLayer::updateUnlistedF(a1);
}
}