//
// std::__ndk1::chrono::steady_clock::now from 0x95405c to 0x9540b8 (92 bytes)
//
// 4 xrefs:
// > GManager::waitForSave @ 0x3d3fd6
// > GManager::waitForSave @ 0x3d3ff4
// > LevelEditorLayer::waitForAutoSave @ 0x46393c
// > LevelEditorLayer::waitForAutoSave @ 0x463966
//
// 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 12:05:26 +0000
//
int __fastcall std::chrono::steady_clock::now(std::chrono::steady_clock *this)
{
int *v2; // r0
int v4; // [sp+4h] [bp-14h] BYREF
int v5; // [sp+8h] [bp-10h]
int v6; // [sp+Ch] [bp-Ch]
if ( clock_gettime(1, (struct timespec *)&v4) )
{
v2 = (int *)_errno();
std::__throw_system_error(*v2, "clock_gettime(CLOCK_MONOTONIC) failed");
}
*(_QWORD *)this = 1000000000LL * v4 + v5;
return _stack_chk_guard - v6;
}