// // LevelEditorLayer::waitForAutoSave from 0x463918 to 0x463990 (120 bytes) // // 3 xrefs: // > LevelEditorLayer::~LevelEditorLayer @ 0x46943a // > LevelEditorLayer::saveLevel @ 0x4728a8 // > EditorPauseLayer::onExitEditor @ 0x5091a2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:54 +0000 // unsigned __int8 *__fastcall LevelEditorLayer::waitForAutoSave(LevelEditorLayer *this) { unsigned __int8 *result; // r0 __int64 v2; // r4 int v3; // r3 __int64 v4; // [sp+8h] [bp-8h] BYREF _DWORD v5[3]; // [sp+10h] [bp+0h] BYREF result = (unsigned __int8 *)std::chrono::steady_clock::now((std::chrono::steady_clock *)&v4); v2 = v4; do { result = (unsigned __int8 *)LocalLevelManager::sharedState((LocalLevelManager *)result); __dmb(0xFu); v3 = result[377]; __dmb(0xFu); if ( !v3 ) break; v5[0] = 1000000; v5[1] = 0; std::this_thread::sleep_for(v5); result = (unsigned __int8 *)std::chrono::steady_clock::now((std::chrono::steady_clock *)&v4); } while ( v4 - v2 <= 30000000000LL ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source