//
// SFXBrowser::isCustomIDSelected from 0x1004333e0 to 0x100433420 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b42528
//
// This function is hookable on this platform (idp: pc, 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 12:30:23 +0000
//
char __fastcall SFXBrowser::isCustomIDSelected(__int64 a1, int a2)
{
__int64 *v2; // rax
v2 = *(__int64 **)(a1 + 1008);
if ( !v2 )
return 0;
while ( *((_DWORD *)v2 + 7) > a2 )
{
LABEL_3:
v2 = (__int64 *)*v2;
if ( !v2 )
return 0;
}
if ( *((_DWORD *)v2 + 7) < a2 )
{
++v2;
goto LABEL_3;
}
return 1;
}