//
// KeybindCapturePopup::inputKeySelected from 0x1001a51cc to 0x1001a51f8 (44 bytes)
//
// 2 xrefs:
// > sub_1001A51F8 @ 0x1001a51fc
// > ??> @ 0x1008e5790
//
// 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 11:00:02 +0000
//
__int64 __fastcall KeybindCapturePopup::inputKeySelected(__int64 result, int a2)
{
if ( *(_BYTE *)(result + 1053) == 1 && *(_DWORD *)(result + 1048) == a2 )
return KeybindCapturePopup::onSet(result);
*(_DWORD *)(result + 1048) = a2;
*(_BYTE *)(result + 1053) = 1;
return KeybindCapturePopup::updateChordDisplay(result);
}