//
// ShareListLayer::onUnlisted from 0x14030ae30 to 0x14030ae95 (101 bytes)
//
// 3 xrefs:
// > ShareListLayer::init @ 0x14030a56e
// > ShareListLayer::init @ 0x14030a7d0
// > ??> @ 0x1406d4658
//
// 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; // eax
GJLevelList *m_list; // rdx
bool m_unlisted; // cl
v3 = a2->getTag(a2);
m_list = a1->m_list;
if ( v3 == 1 )
{
m_list->m_friendsOnly = !m_list->m_friendsOnly;
}
else
{
m_unlisted = m_list->m_unlisted;
m_list->m_unlisted = !m_unlisted;
if ( m_unlisted )
a1->m_list->m_friendsOnly = 0;
ShareListLayer::updateUnlistedF(a1);
}
}