// // LevelInfoLayer::confirmClone from 0x10002c104 to 0x10002c1d4 (208 bytes) // // 3 xrefs: // > LevelInfoLayer::tryCloneLevel @ 0x10002c244 // > LevelInfoLayer::numberInputClosed @ 0x10002e0e0 // > LevelInfoLayer::init @ 0x100028c1c // // 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 10:57:28 +0000 // __int64 __fastcall LevelInfoLayer::confirmClone(__int64 result) { __int64 v1; // x19 int v2; // w20 __int64 v3; // x0 char *v4; // x1 __int64 v5; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v7; // [xsp+1Fh] [xbp-11h] if ( (*(_BYTE *)(result + 488) & 1) == 0 ) { v1 = result; v2 = *(_DWORD *)(*(_QWORD *)(result + 504) + 576LL) - *(_DWORD *)(*(_QWORD *)(result + 504) + 580LL); v3 = GameManager::sharedState(result); if ( v2 == *(_DWORD *)(v3 + 660) - *(_DWORD *)(v3 + 664) ) v4 = "Create a copy of this level?\n(Creator enabled)"; else v4 = "Create a copy of this level?"; sub_100009900(__p, v4); v5 = FLAlertLayer::create_1(v1 + 440, "Clone Level", __p, "NO", "YES", 300.0); if ( v7 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 72LL))(v5, 6); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source