// // LevelEditorLayer::canAutoSave from 0x1404089f0 to 0x140408b0f (287 bytes) // // 5 xrefs: // > LevelEditorLayer::checkAutoSave @ 0x140408cba // > LevelEditorLayer::checkAutoSave @ 0x140408e8f // > LevelEditorLayer::doAutoSave @ 0x140409206 // > LevelEditorLayer::doAutoBackup @ 0x14040965e // > @ 0x140925c1c // // 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 11:31:59 +0000 // bool __fastcall LevelEditorLayer::canAutoSave(__int64 a1) { __int64 v2; // rax __int64 v3; // rcx __int64 v4; // rdi __int64 v5; // rcx __int64 v6; // rcx if ( !*(_BYTE *)(LocalLevelManager::sharedState(a1) + 673) && *(_DWORD *)(*(_QWORD *)(a1 + 2168) + 1220LL) == 2 && !*(_DWORD *)(a1 + 2204) && !*(_BYTE *)(a1 + 15512) ) { v2 = *(_QWORD *)(a1 + 14904); if ( !v2 ) return 1; if ( !*(_BYTE *)(v2 + 1585) && !*(_BYTE *)(v2 + 1584) ) { v3 = *(_QWORD *)(v2 + 808); v4 = a1 + 14904; if ( !v3 ) goto LABEL_11; if ( !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v3 + 344LL))(v3) ) { v4 = a1 + 14904; LABEL_11: v5 = *(_QWORD *)(*(_QWORD *)(a1 + 14904) + 832LL); if ( !v5 || !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v5 + 344LL))(v5) ) { v6 = *(_QWORD *)(*(_QWORD *)v4 + 840LL); if ( !v6 || !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v6 + 344LL))(v6) ) return *(_DWORD *)(*(_QWORD *)v4 + 752LL) == -1; } } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source