// // _TIFFgetMode from 0x6df93c to 0x6dfa08 (204 bytes) // // 3 xrefs: // > TIFFClientOpen @ 0x6dfa7c // > TIFFOpen @ 0x6f6794 // > @ 0x5857c // // 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 __fastcall TIFFgetMode(const char *a1, int a2) { int v2; // r3 int v4; // [sp+Ch] [bp-8h] v4 = -1; v2 = *(unsigned __int8 *)a1; if ( v2 == 114 ) { v4 = 0; if ( a1[1] == 43 ) return 2; } else if ( v2 == 119 || v2 == 97 ) { v4 = 66; if ( *a1 == 119 ) return 578; } else { TIFFErrorExt(0, a2, "\"%s\": Bad mode", a1); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source