//
// KeybindSet::actionsForChord from 0x1004f1d3c to 0x1004f1de8 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009942e0
//
// 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 11:06:45 +0000
//
void __usercall KeybindSet::actionsForChord(__int64 a1@, int a2@, _QWORD *a3@)
{
int *v3; // x22
int *v4; // x21
__int64 *v7; // x8
int v8; // w9
int *v9; // x9
int *v10; // x8
bool v11; // zf
*a3 = 0;
a3[1] = 0;
a3[2] = 0;
v3 = *(int **)(a1 + 8);
v4 = (int *)(a1 + 16);
if ( v3 == (int *)(a1 + 16) )
return;
do
{
v7 = *((__int64 **)v3 + 6);
if ( !v7 )
goto LABEL_8;
while ( 1 )
{
v8 = *((_DWORD *)v7 + 7);
if ( v8 <= a2 )
break;
LABEL_7:
v7 = (__int64 *)*v7;
if ( !v7 )
goto LABEL_8;
}
if ( v8 < a2 )
{
++v7;
goto LABEL_7;
}
sub_10000D038((__int64)a3, v3 + 8);
LABEL_8:
v9 = *((int **)v3 + 1);
if ( v9 )
{
do
{
v10 = v9;
v9 = *(int **)v9;
}
while ( v9 );
}
else
{
do
{
v10 = *((int **)v3 + 2);
v11 = *(_QWORD *)v10 == (_QWORD)v3;
v3 = v10;
}
while ( !v11 );
}
v3 = v10;
}
while ( v10 != v4 );
}