//
// KeybindSet::chordsForAction from 0xcf351c to 0xcf35dc (192 bytes)
//
// 2 xrefs:
// > ??> @ 0x43ab0
// > ??> @ 0x1504460
//
// 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 13:06:46 +0000
//
_QWORD *__usercall KeybindSet::chordsForAction@(KeybindSet *this@, int a2@, _QWORD *a3@)
{
char *v3; // x4
char *v5; // x2
char *v6; // x0
v3 = (char *)this + 16;
*a3 = 0;
a3[1] = 0;
v5 = (char *)this + 16;
a3[2] = 0;
v6 = *((char **)this + 2);
if ( v6 )
{
do
{
while ( *((_DWORD *)v6 + 8) >= a2 )
{
v5 = v6;
v6 = *(char **)v6;
if ( !v6 )
goto LABEL_4;
}
v6 = *((char **)v6 + 1);
}
while ( v6 );
LABEL_4:
if ( v3 != v5 && *((_DWORD *)v5 + 8) <= a2 )
std::vector::assign *,long>>(
(__int64)a3,
*((char **)v5 + 5),
v5 + 48);
}
return a3;
}