//
// UILayer::isJumpButtonPressed from 0x1004c99f0 to 0x1004c9a20 (48 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall UILayer::isJumpButtonPressed(UILayer *a1, bool a2)
{
bool result; // al
result = 1;
if ( a2 )
{
if ( a1->m_p1TouchId == -1 )
return a1->m_p1Jumping;
}
else if ( a1->m_p2TouchId == -1 )
{
return a1->m_p2Jumping;
}
return result;
}