//
// SFXBrowser::isCustomIDSelected from 0xb8dfc8 to 0xb8e008 (64 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SFXBrowser::isCustomIDSelected @ 0xb8e00c
// > ??> @ 0xf93e8
// > ??> @ 0x14d6c90
//
// 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:02:35 +0000
//
__int64 __fastcall SFXBrowser::isCustomIDSelected(SFXBrowser *this, int a2)
{
__int64 result; // x0
int v3; // w2
result = *((_QWORD *)this + 126);
if ( !result )
return 0;
while ( 1 )
{
while ( 1 )
{
v3 = *(_DWORD *)(result + 28);
if ( v3 <= a2 )
break;
result = *(_QWORD *)result;
if ( !result )
return result;
}
if ( v3 >= a2 )
break;
result = *(_QWORD *)(result + 8);
if ( !result )
return result;
}
return 1;
}