// // sub_6DBD90 from 0x6dbd90 to 0x6dbfd0 (576 bytes) // // 3 xrefs: // > TIFFInitSGILog @ 0x6dc7d8 // > TIFFInitSGILog @ 0x6dc7dc // > @ 0x6dc904 // // 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 sub_6DBD90(int a1) { int v1; // r3 int v2; // r3 int v3; // r3 int *v7; // [sp+10h] [bp-Ch] int v8; // [sp+14h] [bp-8h] v7 = *(int **)(a1 + 576); v8 = a1 + 40; *(_DWORD *)(a1 + 652) = TIFFNoPostDecode; v1 = *(unsigned __int16 *)(a1 + 90); if ( v1 != 32844 ) { if ( v1 == 32845 ) { if ( sub_6DBAA8((_DWORD *)a1) ) { if ( *(unsigned __int16 *)(v8 + 48) == 34677 ) { *(_DWORD *)(a1 + 532) = sub_6D7544; v2 = *v7; if ( *v7 == 1 ) { v7[5] = (int)sub_6DA6D4; } else if ( v2 == 3 ) { v7[5] = (int)sub_6DA840; } else if ( !v2 ) { v7[5] = (int)sub_6DA648; } } else { *(_DWORD *)(a1 + 532) = sub_6D77CC; v3 = *v7; if ( *v7 == 1 ) { v7[5] = (int)sub_6DB09C; } else if ( v3 == 3 ) { v7[5] = (int)sub_6DB1F0; } else if ( !v3 ) { v7[5] = (int)sub_6DB010; } } return 1; } } else { TIFFErrorExt( *(_DWORD *)(a1 + 628), (int)"LogLuvSetupDecode", "Inappropriate photometric interpretation %d for SGILog compression; %s", *(unsigned __int16 *)(a1 + 90), "must be either LogLUV or LogL"); } return 0; } if ( !sub_6DB6F8((_DWORD *)a1) ) return 0; *(_DWORD *)(a1 + 532) = sub_6D7118; if ( *v7 ) { if ( *v7 == 3 ) v7[5] = (int)sub_6D92C4; } else { v7[5] = (int)sub_6D9228; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source