//
// sub_F417B8 from 0xf417b8 to 0xf41864 (172 bytes)
//
// 1 xrefs:
// > sub_F41864 @ 0xf41940
//
// 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 13:13:07 +0000
//
__int64 sub_F417B8()
{
int v0; // w2
int v1; // w2
unsigned int v3; // [xsp+28h] [xbp+28h] BYREF
int v4; // [xsp+30h] [xbp+30h] BYREF
char v5[64]; // [xsp+38h] [xbp+38h] BYREF
v3 = 0;
v0 = sub_F41540("/sys/devices/system/cpu/present", (__int64)v5, 64);
if ( (v0 & 0x80000000) == 0 )
sub_F41664(&v3, v5, v0);
v4 = 0;
v1 = sub_F41540("/sys/devices/system/cpu/possible", (__int64)v5, 64);
if ( (v1 & 0x80000000) == 0 )
sub_F41664(&v4, v5, v1);
return _popcountdi2(v4 & v3);
}