// // LevelInfoLayer::confirmClone from 0x1402fd860 to 0x1402fd9cb (363 bytes) // // 4 xrefs: // > LevelInfoLayer::tryCloneLevel @ 0x1402fd43f // > LevelInfoLayer::numberInputClosed @ 0x1402fd825 // > LevelInfoLayer::init @ 0x1402f8c97 // > @ 0x1406d4244 // // 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 // // Hidden C++ exception states: #wind=2 void LevelInfoLayer::confirmClone(LevelInfoLayer *a1, cocos2d::CCObject *a2) { int v2; // ebx int v3; // edi __int64 v4; // rdx int v5; // eax __int128 *v6; // rdx size_t v7; // r8 __int64 v8; // rax FLAlertLayer *v9; // rbx __int128 v10; // [rsp+50h] [rbp-48h] BYREF __int64 v11; // [rsp+60h] [rbp-38h] __int64 v12; // [rsp+68h] [rbp-30h] _BYTE v13[40]; // [rsp+70h] [rbp-28h] BYREF void *v14; // [rsp+A0h] [rbp+8h] v2 = (int)a1; if ( !a1->m_isBusy ) { v3 = a1->m_level->m_userID.random - a1->m_level->m_userID.seed; v4 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v14 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v14); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = qword_1406C2ED8; } v5 = *(_DWORD *)(v4 + 652) - *(_DWORD *)(v4 + 656); v6 = (__int128 *)"Create a copy of this level?\n(Creator enabled)"; if ( v3 != v5 ) v6 = &xmmword_140551520; v10 = 0; v11 = 0; v12 = 0; v7 = -1; do ++v7; while ( *((_BYTE *)v6 + v7) ); sub_14003A930(&v10, v6, v7); v8 = sub_14003BDB0((__int64)v13, (__int64)&v10); v9 = FLAlertLayer::create( v2 + 440, (int)"Clone Level", v8, (__int64)&unk_140547160, (__int64)"YES", 1133903872, 0, 0, 1065353216); sub_14003A830((__int64)&v10); v9->setTag(v9, 6); v9->show(v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source