//
// sub_95A748 from 0x95a748 to 0x95a87c (308 bytes)
//
// 2 xrefs:
// > SongInfoObject::addSongLink @ 0x9657d4
// > SongInfoObject::addArtistLink @ 0x9659cc
//
// 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 12:57:27 +0000
//
__int64 __fastcall sub_95A748(_QWORD *a1, __int64 a2)
{
__int64 v2; // x21
__int64 v4; // x19
__int64 v5; // x20
int v6; // w22
__int64 v7; // x23
unsigned __int8 v8; // w3
unsigned __int8 *v9; // x0
int v10; // w4
size_t v11; // x2
__int64 v12; // x3
unsigned __int8 *v13; // x1
unsigned __int8 *v14; // x3
unsigned __int8 *v15; // x2
int v16; // t1
v2 = 0x6DB6DB6DB6DB6DB7LL * ((__int64)(a1[1] - *a1) >> 3);
if ( !v2 )
return 0;
v4 = *a1 + 33LL;
v5 = 0;
v6 = *(_BYTE *)a2 & 1;
v7 = *(_BYTE *)a2 >> 1;
while ( 1 )
{
while ( 1 )
{
v8 = *(_BYTE *)(v4 - 1);
v9 = (unsigned __int8 *)v4;
v10 = v8 & 1;
v11 = v8 >> 1;
if ( (v8 & 1) != 0 )
v11 = *(_QWORD *)(v4 + 7);
v12 = v7;
if ( v6 )
v12 = *(_QWORD *)(a2 + 8);
if ( v11 != v12 )
goto LABEL_3;
if ( v10 )
v9 = *(unsigned __int8 **)(v4 + 15);
v13 = (unsigned __int8 *)(a2 + 1);
if ( v6 )
v13 = *(unsigned __int8 **)(a2 + 16);
if ( !v10 )
break;
if ( !v11 || !memcmp(v9, v13, v11) )
return 1;
++v5;
v4 += 56;
if ( v5 == v2 )
return 0;
}
if ( !v11 )
return 1;
if ( *v9 == *v13 )
break;
LABEL_3:
++v5;
v4 += 56;
if ( v5 == v2 )
return 0;
}
v14 = v9 + 1;
v15 = &v9[v11];
while ( 1 )
{
++v13;
if ( v14 == v15 )
return 1;
v16 = *v14++;
if ( *v13 != v16 )
goto LABEL_3;
}
}