// // ShareLevelLayer::onShare from 0x10026d980 to 0x10026db08 (392 bytes) // // 1 xrefs: // > ShareLevelLayer::init @ 0x10026d1d1 // // This function is hookable on this platform (idp: pc, 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 12:27:36 +0000 // __int64 __fastcall ShareLevelLayer::onShare(_QWORD *a1) { __int64 v1; // rax __int64 v2; // rbx char *v3; // rdi __int64 v6; // rax _QWORD v7[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] _QWORD v9[2]; // [rsp+18h] [rbp-28h] BYREF char *v10; // [rsp+28h] [rbp-18h] v1 = a1[83]; if ( *(_BYTE *)(v1 + 785) == 1 ) { __p = operator new(0x28u); v7[0] = 41; v7[1] = 39; strcpy((char *)__p, "This version has already been submitted"); v2 = FLAlertLayer::create_1(0, "Uploaded", v7, "OK", 0, 380.0); if ( (v7[0] & 1) == 0 ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2); v3 = (char *)__p; LABEL_4: operator delete(v3); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2); } if ( *(_DWORD *)(v1 + 776) - *(_DWORD *)(v1 + 780) != 1 && !*(_BYTE *)(v1 + 616) ) { v10 = (char *)operator new(0xF8u); v9[0] = 249; v9[1] = 246; strcpy( v10, "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."); v2 = FLAlertLayer::create_1(0, "Unverified", v9, "OK", 0, 380.0); if ( (v9[0] & 1) == 0 ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2); v3 = v10; goto LABEL_4; } v6 = sub_10026E270(a1[83]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6); (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0); return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source