// // LevelEditorLayer::waitForAutoSave from 0x140409d30 to 0x140409db3 (131 bytes) // // 6 xrefs: // > EditorPauseLayer::onExitEditor @ 0x140182baf // > LevelEditorLayer::dLevelEditorLayer @ 0x1403ed085 // > LevelEditorLayer::saveLevel @ 0x1403ff51f // > @ 0x1408c73c4 // > @ 0x1408c73d4 // > @ 0x140925c70 // // 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 // _QWORD *__fastcall LevelEditorLayer::waitForAutoSave(__int64 a1) { __int64 v1; // rcx _QWORD *result; // rax __int64 v3; // rbx __int64 v4; // rcx __int64 v5; // [rsp+30h] [rbp+8h] BYREF __int64 v6; // [rsp+38h] [rbp+10h] BYREF v5 = a1; sub_140077240(&v5); result = (_QWORD *)LocalLevelManager::sharedState(v1); if ( *((_BYTE *)result + 673) ) { v3 = v5; v6 = 1; do { sub_1400779D0(&v6); result = sub_140077240(&v5); v4 = *result - v3; if ( v4 > 30000000000LL ) break; result = (_QWORD *)LocalLevelManager::sharedState(v4); } while ( *((_BYTE *)result + 673) ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source