//
// sub_10050EB00 from 0x10050eb00 to 0x10050eb25 (37 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b68bf8
// > ??> @ 0x100b693c0
//
// This function is hookable on this platform (idp: pc, 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:31:35 +0000
//
__int64 __fastcall sub_10050EB00(__int64 a1, int a2)
{
__int64 v2; // rdi
v2 = a1 - 344;
if ( a2 == 38 || a2 == 32 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1376LL))(v2);
else
return FLAlertLayer::keyDown(v2, a2);
}