// // sub_CCB5F8 from 0xccb5f8 to 0xccb6a4 (172 bytes) // // 1 xrefs: // > sub_CCB6A4 @ 0xccb780 // // 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 // __int64 sub_CCB5F8() { 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_CCB380("/sys/devices/system/cpu/present", (__int64)v5, 64); if ( (v0 & 0x80000000) == 0 ) sub_CCB4A4(&v3, v5, v0); v4 = 0; v1 = sub_CCB380("/sys/devices/system/cpu/possible", (__int64)v5, 64); if ( (v1 & 0x80000000) == 0 ) sub_CCB4A4(&v4, v5, v1); return _popcountdi2(v4 & v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source