// // ShareLevelLayer::onShare from 0x100313c0c to 0x100313d4c (320 bytes) // // 1 xrefs: // > ShareLevelLayer::init @ 0x1003134f0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:03:14 +0000 // __int64 __fastcall ShareLevelLayer::onShare(_QWORD *a1) { __int64 v2; // x0 __int64 v3; // x19 void *v4; // x0 __int64 v5; // x0 _QWORD v7[2]; // [xsp+0h] [xbp-40h] BYREF char v8; // [xsp+17h] [xbp-29h] void *__p[2]; // [xsp+18h] [xbp-28h] BYREF char v10; // [xsp+2Fh] [xbp-11h] v2 = a1[83]; if ( *(_BYTE *)(v2 + 785) == 1 ) { sub_100009900(__p, "This version has already been submitted"); v3 = FLAlertLayer::create_1(0, "Uploaded", __p, "OK", 0, 380.0); if ( v10 < 0 ) { v4 = __p[0]; LABEL_4: operator delete(v4); } } else { if ( *(_DWORD *)(v2 + 776) - *(_DWORD *)(v2 + 780) == 1 || (*(_BYTE *)(v2 + 616) & 1) != 0 ) { v5 = UploadPopup::create(); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0); return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1); } sub_100009900( v7, "You cannot share a level until you have completed it.\n" "Complete the level in Normal mode to verify that it can be beaten!\n" "A level cannot be verified if it has a Start Pos.\n" "Unlisted levels do not need to be verified."); v3 = FLAlertLayer::create_1(0, "Unverified", v7, "OK", 0, 380.0); if ( v8 < 0 ) { v4 = (void *)v7[0]; goto LABEL_4; } } return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source