//
// KeybindCapturePopup::keyUp from 0x1005b5cd0 to 0x1005b5cfa (42 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b7dd20
//
// 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:32:41 +0000
//
__int64 __fastcall KeybindCapturePopup::keyUp(__int64 a1, int a2)
{
bool v2; // cl
__int64 result; // rax
LODWORD(result) = *(_DWORD *)(a1 + 1048);
v2 = (_DWORD)result == 0;
result = (unsigned __int16)result;
LOBYTE(result) = v2 || (unsigned __int16)result != a2;
if ( !(_BYTE)result )
{
*(_BYTE *)(a1 + 1053) = 1;
return KeybindCapturePopup::updateChordDisplay(a1);
}
return result;
}