//
// PlayLayer::incrementJumps from 0x1000bf230 to 0x1000bf29c (108 bytes)
//
// 2 xrefs:
// > PlayerObject::incrementJumps @ 0x10040385e
// > PlayerObject::ringJump @ 0x100414d1f
//
// 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 __fastcall PlayLayer::incrementJumps(PlayLayer *a1)
{
GJGameLevel *m_level; // rbx
int v2; // r14d
float v3; // xmm0_4
a1->m_hasJumped = 1;
++a1->m_uncommittedJumps;
++a1->m_jumps;
m_level = a1->m_level;
v2 = m_level->m_jumps.random - m_level->m_jumps.seed;
m_level->m_jumps.value = v2 + 1;
v3 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
m_level->m_jumps.seed = (int)v3;
m_level->m_jumps.random = v2 + (int)v3 + 1;
}