//
// sub_1008B6210 from 0x1008b6210 to 0x1008b6246 (54 bytes)
//
// 3 xrefs:
// > KeybindCapturePopup::init @ 0x1005b4362
// > sub_1005B4730 @ 0x1005b4754
// > KeybindCapturePopup::keyDown @ 0x1005b5c62
//
// 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:37:23 +0000
//
__int64 __fastcall sub_1008B6210(__int64 a1, int a2)
{
__int64 v2; // rdi
void *v3; // rax
*(_BYTE *)(a1 + 328) = a2;
v2 = *(_QWORD *)(a1 + 344);
v3 = &unk_100A1353C;
if ( a2 )
v3 = &unk_100A13545;
return (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 960LL))(v2, v3);
}