// // sub_100136168 from 0x100136168 to 0x1001361cc (100 bytes) // // 1 xrefs: // > sub_10013611C @ 0x10013611c // // 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_100136168(int a1, char *__filename, char a3) { int v3; // w8 const char *v4; // x11 const char *v5; // x14 int v6; // w12 char v7; // w9 const char *v8; // x8 v3 = a3 & 3; v4 = "r+b"; v5 = "wb"; if ( (a3 & 8) == 0 ) v5 = nullptr; if ( (a3 & 4) != 0 ) LOBYTE(v6) = 1; else v6 = (unsigned __int8)(a3 & 8) >> 3; if ( (a3 & 4) == 0 ) v4 = v5; if ( v3 == 1 ) v7 = 1; else v7 = v6; if ( v3 == 1 ) v8 = "rb"; else v8 = v4; if ( __filename && (v7 & 1) != 0 ) return fopen(__filename, v8); else return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source