//
// PlayLayer::incrementJumps from 0x10008d850 to 0x10008d8bc (108 bytes)
//
// 2 xrefs:
// > PlayerObject::incrementJumps @ 0x1003f08fe
// > PlayerObject::ringJump @ 0x100401d9f
//
// This function is hookable on this platform (idp: pc, 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 12:20:07 +0000
//
__int64 __fastcall PlayLayer::incrementJumps(__int64 a1)
{
_DWORD *v1; // rbx
int v2; // r14d
float v3; // xmm0_4
__int64 result; // rax
*(_BYTE *)(a1 + 14628) = 1;
++*(_DWORD *)(a1 + 14632);
++*(_DWORD *)(a1 + 14624);
v1 = *(_DWORD **)(a1 + 1936);
v2 = v1[202] - v1[203];
v1[204] = v2 + 1;
v3 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
v1[203] = (int)v3;
result = (unsigned int)(v2 + (int)v3 + 1);
v1[202] = result;
return result;
}