// // ShareListLayer::onShare from 0xa7b0d4 to 0xa7b220 (332 bytes) // // 3 xrefs: // > @ 0xc8eb0 // > ShareListLayer::init @ 0xa79af0 // > @ 0x122efc0 // // 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::onShare(ShareListLayer *a1, cocos2d::CCObject *a2) { FLAlertLayer *v3; // x20 void *v4; // x0 UploadListPopup *v5; // x0 unsigned int *v6; // x2 int v7; // w1 __int64 v8; // [xsp+30h] [xbp+30h] BYREF if ( GJLevelList::totalLevels(a1->m_list) ) { v5 = UploadListPopup::create(a1->m_list); v5->show(v5); ShareListLayer::onClose(a1, nullptr); } else { sub_D153B8((int)&v8, "You can't share an empty list."); v3 = FLAlertLayer::create(0, (__int64)"Empty", (__int64)&v8); v4 = (void *)(v8 - 24); if ( (__int64 *)(v8 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v8 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *(_DWORD *)(v8 - 8); *(_DWORD *)(v8 - 8) = v7 - 1; } if ( v7 <= 0 ) operator delete(v4); } v3->show(v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source