//
// sub_67538C from 0x67538c to 0x6753ea (94 bytes)
//
// 0 xrefs:
//
// 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_67538C(_DWORD *a1, int a2)
{
int v4; // r4
int v5; // r2
_BYTE *v6; // r6
int v7; // r7
int v8; // r4
v4 = a1[117];
if ( a1[70] )
{
v5 = *(_DWORD *)(v4 + 56);
if ( !v5 )
{
sub_674DA4(a1);
v5 = *(_DWORD *)(v4 + 56);
}
*(_DWORD *)(v4 + 56) = v5 - 1;
}
v6 = (_BYTE *)(v4 + 188);
v7 = 1 << a1[106];
if ( (int)a1[92] > 0 )
{
v8 = 0;
do
{
if ( sub_674E5C(a1, v6) )
**(_WORD **)(a2 + 4 * v8) |= v7;
++v8;
}
while ( a1[92] > v8 );
}
return 1;
}