//
// sub_6B748 from 0x6b748 to 0x6b782 (58 bytes)
//
// 1 xrefs:
// > sub_52286 @ 0x522b4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_6B748(int a1, unsigned __int8 *a2)
{
int v2; // r1
int v3; // r2
int v4; // r4
int v5; // r3
int v6; // r5
bool v7; // zf
if ( !*(_BYTE *)(a1 + 624) )
{
v3 = *a2;
v4 = 0;
v5 = a2[1];
while ( v4 != 512 )
{
if ( *(unsigned __int8 *)(a1 + v4 + 628) == v3 )
{
v6 = *(unsigned __int8 *)(a1 + v4 + 629);
v2 = 1;
v7 = v6 == 255;
if ( v6 != 255 )
v7 = v6 == v5;
if ( v7 )
return v2;
}
v4 += 16;
}
}
return 0;
}