// // sub_5F0974 from 0x5f0974 to 0x5f09a2 (46 bytes) // // 0 xrefs: // // 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 // FILE *__fastcall sub_5F0974(int a1, char *filename, char a3) { const char *v3; // r3 if ( (a3 & 3) == 1 ) { v3 = "rb"; } else if ( (a3 & 4) != 0 ) { v3 = "r+b"; } else { if ( (a3 & 8) == 0 ) return nullptr; v3 = "wb"; } if ( filename ) return j_fopen(filename, v3); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source