//
// GJKeybindManager::unbindChord from 0x7156e2 to 0x71573c (90 bytes)
//
// 4 xrefs:
// > GlobalKeybindSource::unbindChord @ 0x588eac
// > GJKeybindManager::clearMovementOverride @ 0x7157d2
// > GJKeybindManager::applyMovementOverride @ 0x7163a0
// > GJKeybindManager::applyMovementOverride @ 0x7164a2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:47 +0000
//
_DWORD *__fastcall GJKeybindManager::unbindChord(GJKeybindManager *this, unsigned int a2, unsigned int a3)
{
_DWORD *v3; // r8
_DWORD *v5; // r0
_DWORD *v6; // r5
_DWORD *v7; // r4
_DWORD *result; // r0
_DWORD *v9; // r5
unsigned int v10; // [sp+0h] [bp-8h] BYREF
unsigned int v11; // [sp+4h] [bp-4h] BYREF
v3 = (_DWORD *)((char *)this + 52);
v11 = a2;
v10 = a3;
v5 = std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::find(
(_DWORD *)this + 13,
&v11);
v6 = v5;
if ( v5 )
{
std::__tree::__erase_unique((int **)v5 + 3, &v10);
if ( !v6[5] )
std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::erase(
v3,
v6);
}
v7 = (_DWORD *)((char *)this + 72);
result = std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::find(
v7,
&v10);
v9 = result;
if ( result )
{
result = std::__tree::__erase_unique((int **)result + 3, &v11);
if ( !v9[5] )
return (_DWORD *)std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::erase(
v7,
v9);
}
return result;
}