//
// GJKeybindManager::clearMovementOverride from 0x71573c to 0x715850 (276 bytes)
//
// 4 xrefs:
// > UILayer::~UILayer @ 0x3fc1ec
// > UILayer::applyLevelBindings @ 0x3fc6a6
// > GJKeybindManager::firstSetup @ 0x715860
// > GJKeybindManager::applyMovementOverride @ 0x716226
//
// 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
//
void __fastcall GJKeybindManager::clearMovementOverride(GJKeybindManager *this)
{
char *v2; // r5
char *v3; // r7
char *i; // r6
char *v5; // r5
char *v6; // r7
unsigned int *j; // r6
unsigned int v8; // r1
_DWORD *v9; // r0
bool v10; // zf
_DWORD *v11; // r7
_DWORD *v12; // r6
int v13; // [sp+Ch] [bp-18h] BYREF
char *v14[3]; // [sp+10h] [bp-14h] BYREF
if ( *((_BYTE *)this + 116) )
{
v2 = *((char **)this + 26);
v3 = (char *)this + 108;
while ( v2 != v3 )
{
for ( i = *((char **)v2 + 5); i != v2 + 24; i = (char *)std::__tree_next *>(i) )
GJKeybindManager::bindChord(this, *((_DWORD *)v2 + 4), *((_DWORD *)i + 4));
v2 = (char *)std::__tree_next *>(v2);
}
std::__tree>,std::__map_value_compare>,std::less,true>,std::allocator>>>::destroy(
(int)this + 104,
*((_DWORD **)this + 27));
*((_DWORD *)this + 26) = v2;
*((_DWORD *)this + 28) = 0;
v5 = "erE";
*((_DWORD *)this + 27) = 0;
do
{
v13 = *((_DWORD *)v5 + 1);
GJKeybindManager::chordsForAction((GJKeybindManager *)v14, (int)this, v13, (int)(v5 + 4));
v6 = v14[1];
for ( j = (unsigned int *)v14[0]; j != (unsigned int *)v6; ++j )
{
v8 = *j;
GJKeybindManager::unbindChord(this, v8, v13);
}
v9 = std::__tree>,std::__map_value_compare>,std::less,true>,std::allocator>>>::find(
(int)this + 92,
&v13);
if ( v9 != (_DWORD *)((char *)this + 96) )
{
v11 = (_DWORD *)v9[5];
v12 = v9 + 6;
while ( v11 != v12 )
{
GJKeybindManager::bindChord(this, v11[4], v13);
v11 = std::__tree_next *>(v11);
}
}
std::__vector_base::~__vector_base(v14);
v10 = v5 + 8 == "GD Keybind Files (*.gdkb)";
v5 += 4;
}
while ( !v10 );
std::__tree>,std::__map_value_compare>,std::less,true>,std::allocator>>>::destroy(
(int)this + 92,
*((_DWORD **)this + 24));
*((_DWORD *)this + 23) = (char *)this + 96;
*((_DWORD *)this + 25) = 0;
*((_DWORD *)this + 24) = 0;
*((_BYTE *)this + 116) = 0;
}
}