//
// PlayerObject::buttonDown from 0x74fc5c to 0x74fc74 (24 bytes)
//
// 7 xrefs:
// > PlayLayer::resetLevel @ 0x711698
// > PlayLayer::resetLevel @ 0x7119b0
// > PlayLayer::resetLevel @ 0x7119c4
// > PlayLayer::resetLevel @ 0x7119d8
// > PlayLayer::resetLevel @ 0x7119ec
// > PlayLayer::resetLevel @ 0x711a00
// > ??> @ 0x436f0
//
// 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:52:54 +0000
//
__int64 __fastcall PlayerObject::buttonDown(__int64 a1, int a2)
{
bool v2; // zf
unsigned int v3; // w1
v2 = a2 == 1;
v3 = 0;
if ( v2 )
return *(unsigned __int8 *)(a1 + 2365);
return v3;
}