// // sub_8EB950 from 0x8eb950 to 0x8ebb90 (576 bytes) // // 3 xrefs: // > TIFFInitSGILog @ 0x8ec398 // > TIFFInitSGILog @ 0x8ec39c // > @ 0x8ec4c4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:04:12 +0000 // int __fastcall sub_8EB950(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_8EB668((_DWORD *)a1) ) { if ( *(unsigned __int16 *)(v8 + 48) == 34677 ) { *(_DWORD *)(a1 + 532) = sub_8E7104; v2 = *v7; if ( *v7 == 1 ) { v7[5] = (int)sub_8EA294; } else if ( v2 == 3 ) { v7[5] = (int)sub_8EA400; } else if ( !v2 ) { v7[5] = (int)sub_8EA208; } } else { *(_DWORD *)(a1 + 532) = sub_8E738C; v3 = *v7; if ( *v7 == 1 ) { v7[5] = (int)sub_8EAC5C; } else if ( v3 == 3 ) { v7[5] = (int)sub_8EADB0; } else if ( !v3 ) { v7[5] = (int)sub_8EABD0; } } 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_8EB2B8((_DWORD *)a1) ) return 0; *(_DWORD *)(a1 + 532) = sub_8E6CD8; if ( *v7 ) { if ( *v7 == 3 ) v7[5] = (int)sub_8E8E84; } else { v7[5] = (int)sub_8E8DE8; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source