//
// sub_947A4 from 0x947a4 to 0x947dc (56 bytes)
//
// 1 xrefs:
// > sub_91BFC @ 0x91bfc
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:14:23 +0000
//
__int64 __fastcall sub_947A4(__int64 a1, _DWORD *a2)
{
int v2; // w8
__int64 v3; // x10
__int64 v4; // x11
if ( !a2 )
return 31;
v2 = 0;
v3 = -14208;
do
{
v4 = *(_QWORD *)(a1 + 1088 + v3 + 14208);
v3 += 888;
if ( v4 )
++v2;
}
while ( v3 );
*a2 = v2;
return 0;
}