//
// GJMapObject::startMonsterJumpLoop from 0x50e200 to 0x50e2ae (174 bytes)
//
// 0 xrefs:
//
// 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::startMonsterJumpLoop(GJMapObject *a1)
{
double v1; // d0
int v3; // r0
float v4; // r1
float v5; // r2
unsigned int v6; // r0
int v7; // r7
float v8; // s16
stl::StringData::Internal *v9; // r2
stl::StringData::Internal *v10; // r3
int v11; // [sp+0h] [bp-Ch] BYREF
GJMapObject::moveFinished(a1);
a1->m_monsterIdle = 0;
sub_50D7B0(v3, v4, v5, 0);
v6 = rand();
v7 = *(_DWORD *)(a1->m_mainNode[4].m_eGLServerState + 516);
v8 = v1 + 5.0 + (float)(vcvts_n_f32_s32(v6, 0x1Fu) * 10.0);
a1->m_jumpStopTime = v8;
sub_775C20(&v11);
SpriteAnimationManager::runAnimation(v7, (int)&v11, v9, v10);
sub_774008(&v11);
SpriteAnimationManager::updateAnimationSpeed(
*(SpriteAnimationManager **)(a1->m_mainNode[4].m_eGLServerState + 516),
0.9);
GJMapObject::monsterJump(a1);
}