// // sub_1004F5910 from 0x1004f5910 to 0x1004f5984 (116 bytes) // // 1 xrefs: // > sub_1004F59C4 @ 0x1004f5c8c // // 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 __fastcall sub_1004F5910(int a1, int a2) { int v4; // w0 __int64 v5; // x19 int v6; // w9 v4 = fcntl(a1, 3); v5 = 43; if ( v4 != -1 ) { if ( a2 ) v6 = 4; else v6 = 0; if ( fcntl(a1, 4, v4 & 0xFFFFFFFB | v6) == -1 ) return 43; else return 0; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source