//
// GJMapObject::moveFinished from 0x97d8b8 to 0x97d954 (156 bytes)
//
// 4 xrefs:
// > GJMapObject::startMonsterJumpLoop @ 0x97e4ac
// > ??> @ 0xa3a88
// > GJMapObject::moveMonster @ 0x97e190
// > ??> @ 0x122da78
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJMapObject::moveFinished(GJMapObject *a1)
{
double v2; // d8
float v3; // s0
__int64 v4; // [xsp+38h] [xbp+38h] BYREF
__int64 v5; // [xsp+40h] [xbp+40h]
a1->m_monsterMoving = 0;
clock_gettime(0, (struct timespec *)&v4);
v2 = (double)v4 + (double)v5 / 1000000000.0;
v3 = (float)((float)((float)rand() * 4.6566e-10) * 5.0) + v2;
a1->m_moveStopTime = v3;
}