//
// UILayer::isJumpButtonPressed from 0x1000527e8 to 0x100052820 (56 bytes)
//
// 4 xrefs:
// > sub_10014A688 @ 0x10014a6f0
// > sub_10014A688 @ 0x10014a700
// > PlayLayer::resetLevel @ 0x10014beb4
// > PlayLayer::resetLevel @ 0x10014bed8
//
// 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 10:57:44 +0000
//
__int64 __fastcall UILayer::isJumpButtonPressed(__int64 a1, int a2)
{
char v2; // w8
if ( !a2 )
{
if ( *(_DWORD *)(a1 + 588) == -1 )
{
v2 = *(_BYTE *)(a1 + 579);
return v2 & 1;
}
goto LABEL_5;
}
if ( *(_DWORD *)(a1 + 584) != -1 )
{
LABEL_5:
v2 = 1;
return v2 & 1;
}
v2 = *(_BYTE *)(a1 + 578);
return v2 & 1;
}