//
// sub_1403D51D0 from 0x1403d51d0 to 0x1403d51fb (43 bytes)
//
// 3 xrefs:
// > ??> @ 0x140786688
// > ??> @ 0x1407866f0
// > ??> @ 0x140924950
//
// 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 11:31:36 +0000
//
_QWORD *__fastcall sub_1403D51D0(_QWORD *a1, char a2)
{
*a1 = &KeybindSource::`vftable';
if ( (a2 & 1) != 0 )
j_j_free(a1);
return a1;
}