//
// EditorPauseLayer::keyDown from 0x8b657c to 0x8b65b0 (52 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorPauseLayer::keyDown @ 0x8b65b4
// > ??> @ 0x4e9b8
// > ??> @ 0x1459b68
//
// 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:56:25 +0000
//
__int64 __fastcall EditorPauseLayer::keyDown(__int64 result, int a2)
{
if ( a2 == 27 || a2 == 1009 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1112LL))(result);
return result;
}