// // LevelInfoLayer::confirmClone from 0x1002aec90 to 0x1002aed9c (268 bytes) // // 3 xrefs: // > LevelInfoLayer::tryCloneLevel @ 0x1002aedf7 // > LevelInfoLayer::numberInputClosed @ 0x1002b1345 // > LevelInfoLayer::init @ 0x1002ab5e3 // // 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:28:00 +0000 // void __fastcall LevelInfoLayer::confirmClone(__int64 a1, __int64 a2, __int64 a3) { int v3; // r14d __int64 v4; // rax bool v5; // zf const char *v6; // r14 size_t v7; // r15 __int64 v8; // rbx _QWORD v9[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] if ( !*(_BYTE *)(a1 + 488) ) { v3 = *(_DWORD *)(*(_QWORD *)(a1 + 504) + 576LL) - *(_DWORD *)(*(_QWORD *)(a1 + 504) + 580LL); GameManager::sharedState(a1, a2, a3); v5 = v3 == *(_DWORD *)(v4 + 660) - *(_DWORD *)(v4 + 664); v6 = "Create a copy of this level?"; if ( v5 ) v6 = "Create a copy of this level?\n(Creator enabled)"; v7 = 44; if ( v5 ) v7 = 70; __p = operator new((v7 | 7) + 1); v9[0] = (v7 | 7) + 2; v9[1] = v7; memcpy(__p, v6, v7); *((_BYTE *)__p + v7) = 0; v8 = FLAlertLayer::create_1(a1 + 440, "Clone Level", v9, "NO", "YES", 300.0); if ( (v9[0] & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 72LL))(v8, 6); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source