//
// EditorPauseLayer::keyDown from 0x508df4 to 0x508e0a (22 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorPauseLayer::keyDown @ 0x508e0e
//
// 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:51:26 +0000
//
int __fastcall EditorPauseLayer::keyDown(int result, int a2)
{
if ( a2 == 1009 || a2 == 27 )
return (*(int (__fastcall **)(int))(*(_DWORD *)result + 556))(result);
return result;
}