//
// sub_67C98C from 0x67c98c to 0x67c9f2 (102 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_67C98C(_DWORD *a1)
{
int v2; // r3
v2 = a1[110];
if ( !v2 )
{
if ( !sub_67C8B0(a1) )
return 0;
v2 = a1[110];
}
if ( *(_DWORD *)(a1[116] + 20) + 208 == v2 )
{
*(_DWORD *)(*a1 + 20) = 100;
*(_DWORD *)(*a1 + 24) = *(_DWORD *)(a1[116] + 20);
(*(void (__fastcall **)(_DWORD *, int))(*a1 + 4))(a1, 3);
a1[110] = 0;
goto LABEL_4;
}
if ( (*(int (__fastcall **)(_DWORD *))(a1[6] + 20))(a1) )
{
LABEL_4:
*(_DWORD *)(a1[116] + 20) = ((unsigned __int8)*(_DWORD *)(a1[116] + 20) + 1) & 7;
return 1;
}
return 0;
}