//
// PlayLayer::incrementJumps from 0x402460 to 0x4024ba (90 bytes)
//
// 1 xrefs:
// > PlayerObject::incrementJumps @ 0x435274
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:25 +0000
//
unsigned int __fastcall PlayLayer::incrementJumps(PlayLayer *this)
{
_DWORD *v1; // r5
int v2; // r4
unsigned int result; // r0
int v4; // s15
*((_BYTE *)this + 12088) = 1;
++*((_DWORD *)this + 3023);
++*((_DWORD *)this + 3021);
v1 = *((_DWORD **)this + 352);
v2 = v1[158] - v1[159] + 1;
v1[160] = v2;
result = rand();
v4 = (int)(float)(vcvts_n_f32_s32(result, 0x1Fu) * 1000.0);
v1[159] = v4;
v1[158] = v4 + v2;
return result;
}