//
// UILayer::handleKeypress from 0x3fc706 to 0x3fc722 (28 bytes)
//
// 2 xrefs:
// > UILayer::keyDown @ 0x3fc72a
// > UILayer::keyUp @ 0x3fc74c
//
// 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::handleKeypress(int result, int a2, int a3)
{
if ( a2 == 27 )
{
if ( a3 )
return (*(int (__fastcall **)(int, int, int))(*(_DWORD *)result + 656))(result, 10009, 1);
}
return result;
}