//
// UILayer::isJumpButtonPressed from 0x6eea30 to 0x6eea78 (72 bytes)
//
// 9 xrefs:
// > UILayer::isJumpButtonPressed @ 0x6eea8c
// > UILayer::isJumpButtonPressed @ 0x6eeab0
// > PlayLayer::isJumpHeldForPlayer @ 0x6f6380
// > PlayLayer::isJumpHeldForPlayer @ 0x6f6390
// > PlayLayer::isJumpHeldForPlayer @ 0x6f63fc
// > PlayLayer::isJumpHeldForPlayer @ 0x6f640c
// > PlayLayer::resetLevel @ 0x711784
// > PlayLayer::resetLevel @ 0x7117a8
// > ??> @ 0x9cd48
//
// 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:47 +0000
//
__int64 __fastcall UILayer::isJumpButtonPressed(UILayer *this, char a2)
{
if ( a2 )
{
if ( *((_DWORD *)this + 146) != -1 )
return 1;
return *((unsigned __int8 *)this + 578);
}
else
{
if ( *((_DWORD *)this + 147) != -1 )
return 1;
return *((unsigned __int8 *)this + 579);
}
}