// // sub_C6406C from 0xc6406c to 0xc640f4 (136 bytes) // // 1 xrefs: // > TIFFFdOpen @ 0xc6425c // // 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_C6406C(int a1, _QWORD *a2, size_t *a3) { size_t v6; // x20 void *v7; // x0 _BYTE v9[48]; // [xsp+30h] [xbp+30h] BYREF size_t len; // [xsp+60h] [xbp+60h] if ( fstat(a1, (struct stat *)v9) < 0 ) v6 = 0; else v6 = len; v7 = mmap(nullptr, v6, 1, 1, a1, 0); *a2 = v7; if ( v7 == (void *)-1LL ) return 0; *a3 = v6; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source