// // sub_951FA0 from 0x951fa0 to 0x952000 (96 bytes) // // 1 xrefs: // > sub_9520B0 @ 0x9520da // // 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 12:05:24 +0000 // int sub_951FA0() { int v0; // r6 int i; // r4 ssize_t v2; // r0 _BYTE buf[256]; // [sp+4h] [bp-108h] BYREF v0 = open("/proc/cpuinfo", 0); if ( v0 < 0 ) return -1; for ( i = 0; ; i += v2 ) { while ( 1 ) { v2 = read(v0, buf, 0x100u); if ( v2 >= 0 ) break; if ( *(_DWORD *)_errno() != 4 ) goto LABEL_8; } if ( !v2 ) break; } LABEL_8: close(v0); return i; }
GD Web Decomp Icon

GD Web Decomp

Raw Source