// // sub_7423E0 from 0x7423e0 to 0x742440 (96 bytes) // // 1 xrefs: // > sub_7424F0 @ 0x74251a // // 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 // int sub_7423E0() { 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