//
// GJKeybindManager::isExclusive from 0x713278 to 0x7132d8 (96 bytes)
//
// 1 xrefs:
// > GJKeybindManager::actionsForKey @ 0x7147d4
//
// 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:45 +0000
//
int __fastcall GJKeybindManager::isExclusive(unsigned int this, int a2)
{
int v3; // r6
unsigned int v4; // r9
_DWORD *v5; // r4
unsigned int v6; // r0
unsigned int v7; // r1
int result; // r0
if ( dword_D2DC48 )
{
v3 = dword_D2DC48 - 1;
if ( ((dword_D2DC48 - 1) & dword_D2DC48) != 0 )
v4 = this % dword_D2DC48;
else
v4 = this & v3;
v5 = *(_DWORD **)(dword_D2DC44 + 4 * v4);
if ( v5 )
{
do
{
v5 = (_DWORD *)*v5;
if ( !v5 )
break;
v6 = v5[1];
if ( ((dword_D2DC48 - 1) & dword_D2DC48) != 0 )
v7 = v6 % dword_D2DC48;
else
v7 = v3 & v6;
if ( v7 != v4 )
goto LABEL_11;
}
while ( v5[2] != this );
}
}
else
{
LABEL_11:
v5 = nullptr;
}
result = (int)v5;
if ( v5 )
return 1;
return result;
}