//
// sub_79EFA from 0x79efa to 0x79f26 (44 bytes)
//
// 1 xrefs:
// > sub_7798C @ 0x7798c
//
// 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_79EFA(int a1, _DWORD *a2)
{
int v2; // r0
int v3; // r2
int v4; // r3
int v5; // r4
if ( !a2 )
return 31;
v2 = a1 + 732;
v3 = 0;
v4 = 0;
while ( v3 != 10752 )
{
v5 = *(_DWORD *)(v2 + v3);
v3 += 672;
if ( v5 )
++v4;
}
*a2 = v4;
return 0;
}