// // ShareListLayer::onShare from 0x100363040 to 0x10036311c (220 bytes) // // 1 xrefs: // > ShareListLayer::init @ 0x100362600 // // 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::onShare(ShareListLayer *a1, cocos2d::CCObject *a2) { UploadListPopup *v2; // rax __int64 v3; // rbx _QWORD v4[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] if ( GJLevelList::totalLevels(a1->m_list) ) { v2 = UploadListPopup::create(a1->m_list); ((void (__fastcall *)(UploadListPopup *, cocos2d::CCObject *))v2->show)(v2, a2); ((void (__fastcall *)(ShareListLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(ShareListLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); } else { __p = operator new(0x20u); v4[0] = 33; v4[1] = 30; strcpy((char *)__p, "You can't share an empty list."); v3 = FLAlertLayer::create_1(0, "Empty", v4, "OK", 0, 380.0); if ( (v4[0] & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source