//
// GJMapObject::moveFinished from 0xac1768 to 0xac1800 (152 bytes)
//
// 4 xrefs:
// > GJMapObject::startMonsterJumpLoop @ 0xac2fb4
// > ??> @ 0xd7218
// > GJMapObject::moveMonster @ 0xac1bd8
// > ??> @ 0x15466c0
//
// This function is hookable on this platform (idp: arm, 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 13:01:05 +0000
//
__int64 __fastcall GJMapObject::moveFinished(GJMapObject *this)
{
double v2; // d8
float v3; // s1
__int64 result; // x0
__int64 v5; // [xsp+38h] [xbp+38h] BYREF
__int64 v6; // [xsp+40h] [xbp+40h]
*((_BYTE *)this + 357) = 0;
clock_gettime(0, (struct timespec *)&v5);
v2 = (double)v5 + (double)v6 / 1000000000.0;
v3 = (float)rand();
result = _stack_chk_guard;
*((double *)this + 45) = (float)((float)(v3 * 4.6566e-10) * 5.0) + v2;
return result;
}