//
// UILayer::isJumpButtonPressed from 0x3fc78e to 0x3fc7b0 (34 bytes)
//
// 6 xrefs:
// > UILayer::isJumpButtonPressed @ 0x3fc7b6
// > UILayer::isJumpButtonPressed @ 0x3fc7c4
// > PlayLayer::isJumpHeldForPlayer @ 0x401e5c
// > PlayLayer::isJumpHeldForPlayer @ 0x401e6a
// > PlayLayer::resetLevel @ 0x412a7a
// > PlayLayer::resetLevel @ 0x412a94
//
// 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:21 +0000
//
int __fastcall UILayer::isJumpButtonPressed(UILayer *this, int a2)
{
if ( a2 )
{
if ( *((_DWORD *)this + 116) == -1 )
return *((unsigned __int8 *)this + 458);
}
else if ( *((_DWORD *)this + 117) == -1 )
{
return *((unsigned __int8 *)this + 459);
}
return 1;
}