//
// sub_10018E920 from 0x10018e920 to 0x10018e97c (92 bytes)
//
// 3 xrefs:
// > GJKeybindManager::unbindChord @ 0x10018c644
// > GJKeybindManager::unbindChord @ 0x10018c678
// > sub_10018EDD0 @ 0x10018edf0
//
// 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 10:59:53 +0000
//
__int64 __fastcall sub_10018E920(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
_QWORD **v3; // x20
void *__p; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+18h] [xbp-18h]
v2 = *a2;
sub_100019364(a1, a2, (__int64)&__p);
v3 = (_QWORD **)__p;
__p = nullptr;
if ( v3 )
{
if ( v6 == 1 )
sub_1000187C4((__int64)(v3 + 3), v3[4]);
operator delete(v3);
}
return v2;
}