//
// sub_1004F1F00 from 0x1004f1f00 to 0x1004f1f58 (88 bytes)
//
// 1 xrefs:
// > KeybindSet::chordsForAction @ 0x1004f1d10
//
// 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
//
__int64 __fastcall sub_1004F1F00(__int64 a1, _QWORD *a2, _QWORD *a3)
{
__int64 v3; // x3
_QWORD *v4; // x8
_QWORD *v5; // x10
_QWORD *v6; // x9
bool v7; // zf
if ( a2 != a3 )
{
v3 = 0;
v4 = a2;
do
{
v5 = (_QWORD *)v4[1];
if ( v5 )
{
do
{
v6 = v5;
v5 = (_QWORD *)*v5;
}
while ( v5 );
}
else
{
do
{
v6 = (_QWORD *)v4[2];
v7 = *v6 == (_QWORD)v4;
v4 = v6;
}
while ( !v7 );
}
++v3;
v4 = v6;
}
while ( v6 != a3 );
}
return sub_1004F1F58();
}