//
// PlayLayer::incrementJumps from 0x6f6f2c to 0x6f6fa8 (124 bytes)
//
// 2 xrefs:
// > PlayerObject::incrementJumps @ 0x74ebc4
// > ??> @ 0x41428
//
// 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 12:51:51 +0000
//
__int64 __fastcall PlayLayer::incrementJumps(PlayLayer *this)
{
_DWORD *v1; // x20
int v2; // w1
int v3; // w19
__int64 result; // x0
*((_BYTE *)this + 14628) = 1;
v1 = *((_DWORD **)this + 242);
v2 = *((_DWORD *)this + 3656) + 1;
++*((_DWORD *)this + 3658);
*((_DWORD *)this + 3656) = v2;
v3 = v1[202] - v1[203] + 1;
v1[204] = v3;
result = (unsigned int)(int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0);
v1[203] = result;
v1[202] = v3 + result;
return result;
}