// // TIFFComputeStrip from 0xc60054 to 0xc600cc (120 bytes) // // 6 xrefs: // > sub_C4E8CC @ 0xc4e9f4 // > sub_C4EB74 @ 0xc4ee08 // > sub_C4EB74 @ 0xc4ee58 // > sub_C4EB74 @ 0xc4ee9c // > sub_C4EB74 @ 0xc4eee8 // > @ 0x51ab0 // // 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 TIFFComputeStrip(__int64 a1, unsigned int a2, unsigned __int16 a3) { unsigned int v3; // w1 unsigned int v5; // w4 v3 = a2 / *(_DWORD *)(a1 + 132); if ( *(_WORD *)(a1 + 170) != 2 ) return v3; v5 = *(unsigned __int16 *)(a1 + 130); if ( v5 <= a3 ) { TIFFErrorExt( *(_QWORD *)(a1 + 952), (__int64)"TIFFComputeStrip", "%lu: Sample out of range, max %lu", a3, (unsigned __int16)v5); return 0; } return v3 + a3 * *(_DWORD *)(a1 + 224); }
GD Web Decomp Icon

GD Web Decomp

Raw Source