//
// sub_1004AB5FC from 0x1004ab5fc to 0x1004ab628 (44 bytes)
//
// 3 xrefs:
// > KeybindCapturePopup::init @ 0x1001a4a24
// > sub_1001A4D10 @ 0x1001a4d30
// > KeybindCapturePopup::keyDown @ 0x1001a59c0
//
// 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:06:07 +0000
//
__int64 __fastcall sub_1004AB5FC(__int64 a1, int a2)
{
__int64 v2; // x0
void *v3; // x1
*(_BYTE *)(a1 + 328) = a2;
v2 = *(_QWORD *)(a1 + 344);
if ( a2 )
v3 = &unk_10076F7E4;
else
v3 = &unk_10076F7C8;
return (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 960LL))(v2, v3);
}