//
// KeybindCapturePopup::inputKeySelected from 0xcf7db8 to 0xcf7dec (52 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'KeybindCapturePopup::inputKeySelected @ 0xcf7df0
// > ??> @ 0x703c0
// > ??> @ 0x1504b60
//
// 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 13:06:49 +0000
//
__int64 __fastcall KeybindCapturePopup::inputKeySelected(KeybindCapturePopup *this, int a2)
{
if ( *((_BYTE *)this + 1053) && *((_DWORD *)this + 262) == a2 )
return KeybindCapturePopup::onSet((__int64)this, nullptr);
*((_DWORD *)this + 262) = a2;
*((_BYTE *)this + 1053) = 1;
return KeybindCapturePopup::updateChordDisplay(this);
}