// // GManager::waitForSave from 0x3d3fa8 to 0x3d402e (134 bytes) // // 6 xrefs: // > GManager::save @ 0x3d4472 // > AppDelegate::applicationWillTerminate @ 0x3f6b48 // > AppDelegate::applicationWillTerminate @ 0x3f6b5a // > AppDelegate::trySaveGame @ 0x3f6cee // > AppDelegate::trySaveGame @ 0x3f6cfa // > EditorPauseLayer::saveLevel @ 0x509118 // // 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:46:42 +0000 // int __fastcall GManager::waitForSave(GManager *this, double a2) { double v5; // r0 __int64 v6; // r6 int v7; // r3 __int64 v9; // [sp+0h] [bp-8h] BYREF _DWORD v10[3]; // [sp+8h] [bp+0h] BYREF LODWORD(v5) = std::chrono::steady_clock::now((std::chrono::steady_clock *)&v9); v6 = v9; do { v7 = *((unsigned __int8 *)this + 277); __dmb(0xFu); if ( !v7 ) break; v10[0] = 10000000; v10[1] = 0; std::this_thread::sleep_for(v10); std::chrono::steady_clock::now((std::chrono::steady_clock *)&v9); v5 = (double)(v9 - v6); } while ( a2 * 1000000000.0 >= v5 ); return LODWORD(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source