// // LevelEditorLayer::canAutoSave from 0x1000d50a0 to 0x1000d5188 (232 bytes) // // 0 xrefs: // // 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:20:55 +0000 // char __fastcall LevelEditorLayer::canAutoSave(__int64 a1, double a2) { __int64 v3; // rax __int64 v4; // rdi __int64 v5; // rdi __int64 v6; // rdi if ( (*(_BYTE *)(LocalLevelManager::sharedState(a2) + 601) & 1) != 0 || *(_DWORD *)(*(_QWORD *)(a1 + 1936) + 1140LL) != 2 || *(_DWORD *)(a1 + 1972) || *(_BYTE *)(a1 + 14808) ) { return 0; } v3 = *(_QWORD *)(a1 + 14248); if ( !v3 ) return 1; if ( *(_BYTE *)(v3 + 1513) || *(_BYTE *)(v3 + 1512) ) return 0; v4 = *(_QWORD *)(v3 + 760); if ( v4 ) { if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v4 + 352LL))(v4) ) return 0; v3 = *(_QWORD *)(a1 + 14248); } v5 = *(_QWORD *)(v3 + 784); if ( v5 ) { if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v5 + 352LL))(v5) ) return 0; v3 = *(_QWORD *)(a1 + 14248); } v6 = *(_QWORD *)(v3 + 792); if ( !v6 ) return *(_DWORD *)(v3 + 704) == -1; if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v6 + 352LL))(v6) ) return 0; v3 = *(_QWORD *)(a1 + 14248); return *(_DWORD *)(v3 + 704) == -1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source