//
// sub_1000867B0 from 0x1000867b0 to 0x1000867d4 (36 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008c6fb8
// > ??> @ 0x1008c7780
//
// 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 10:58:19 +0000
//
__int64 __fastcall sub_1000867B0(__int64 a1, int a2)
{
__int64 v2; // x0
v2 = a1 - 344;
if ( a2 == 38 || a2 == 32 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1376LL))(v2);
else
return FLAlertLayer::keyDown(v2);
}