//
// sub_4799C from 0x4799c to 0x479c4 (40 bytes)
//
// 4 xrefs:
// > sub_46B58 @ 0x46bb0
// > sub_46B58 @ 0x46e38
// > sub_49672 @ 0x496fa
// > sub_4BB6C @ 0x4bc6c
//
// 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_4799C(int a1)
{
_BYTE *v1; // r2
int v2; // r0
int v3; // r1
bool v5; // zf
v1 = (_BYTE *)(a1 + 67464);
v2 = *(_DWORD *)(a1 + 68252);
v3 = -1;
do
{
if ( ++v3 >= v2 )
return 0;
v5 = *v1 == 0;
v1 += 112;
}
while ( v5 );
return 1;
}