//
// sub_79EFA from 0x79efa to 0x79f26 (44 bytes)
//
// 1 xrefs:
// > sub_7798C @ 0x7798c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:41:13 +0000
//
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;
}