// // TIFFInitSGILog from 0x6dc698 to 0x6dc8e4 (588 bytes) // // 3 xrefs: // > @ 0x57c4c // > @ 0xabb3c0 // > @ 0xabb3cc // // 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 TIFFInitSGILog(const char **a1, int a2) { char *v6; // [sp+Ch] [bp-8h] if ( a2 != 34677 && a2 != 34676 ) _assert2(); if ( TIFFMergeFields(a1, (int)&unk_A2DAAC, 2u) ) { a1[144] = (const char *)TIFFmalloc(32); if ( a1[144] ) { v6 = (char *)a1[144]; TIFFmemset(v6, 0, 32); *(_DWORD *)v6 = -1; *((_DWORD *)v6 + 1) = a2 == 34677; *((_DWORD *)v6 + 5) = sub_6DB5C0; a1[126] = (const char *)sub_6DBD6C; a1[127] = (const char *)sub_6DBD90; a1[135] = (const char *)sub_6D7BE8; a1[137] = (const char *)sub_6D7CE0; a1[129] = (const char *)sub_6DC010; a1[136] = (const char *)sub_6D8D40; a1[138] = (const char *)sub_6D8E38; a1[139] = (const char *)sub_6DC2AC; a1[141] = (const char *)sub_6DC314; *((_DWORD *)v6 + 6) = a1[168]; a1[168] = (const char *)sub_6DC614; *((_DWORD *)v6 + 7) = a1[167]; a1[167] = (const char *)sub_6DC3D4; return 1; } else { TIFFErrorExt((int)a1[157], (int)"TIFFInitSGILog", "%s: No space for LogLuv state block", *a1); return 0; } } else { TIFFErrorExt((int)a1[157], (int)"TIFFInitSGILog", "Merging SGILog codec-specific tags failed"); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source