// // ShareListLayer::onUnlisted from 0x1003631f0 to 0x1003632de (238 bytes) // // 2 xrefs: // > ShareListLayer::init @ 0x100362808 // > ShareListLayer::init @ 0x100362a44 // // 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 __fastcall ShareListLayer::onUnlisted(ShareListLayer *a1, cocos2d::CCObject *a2) { int v2; // eax GJLevelList *m_list; // rcx bool v4; // r15 void *v5; // r14 __int64 v6; // rax __int64 v7; // rax v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); m_list = a1->m_list; if ( v2 == 1 ) { m_list->m_friendsOnly ^= 1u; } else { v4 = !m_list->m_unlisted; m_list->m_unlisted = v4; if ( v4 ) { v5 = &unk_100819D28; } else { m_list->m_friendsOnly = 0; CCMenuItemToggler::toggle(a1->m_friendsOnlyToggler, 0); v5 = &unk_100819D31; } ((void (__fastcall *)(CCMenuItemToggler *, bool))a1->m_friendsOnlyToggler->setEnabled)(a1->m_friendsOnlyToggler, v4); v6 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_friendsOnlyToggler->m_offButton->getNormalImage)(a1->m_friendsOnlyToggler->m_offButton); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v6 + 944LL))(v6, v5); v7 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_friendsOnlyToggler->m_onButton->getNormalImage)(a1->m_friendsOnlyToggler->m_onButton); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v7 + 944LL))(v7, v5); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void *))a1->m_friendsOnlyLabel->setColor)( a1->m_friendsOnlyLabel, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source