// // _TIFFDefaultStripSize from 0x6f08c8 to 0x6f09a4 (220 bytes) // // 3 xrefs: // > @ 0x57d7c // > _TIFFSetDefaultCompressionState @ 0x6a2880 // > @ 0xab8030 // // 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 TIFFDefaultStripSize(int a1, int a2) { int v3; // [sp+0h] [bp-1Ch] unsigned __int64 v4; // [sp+8h] [bp-14h] unsigned __int64 v5; // [sp+10h] [bp-Ch] v3 = a2; if ( a2 <= 0 ) { v4 = TIFFScanlineSize64(a1); if ( !v4 ) v4 = 1; v5 = 0x2000 / v4; if ( 0x2000 / v4 ) { if ( HIDWORD(v5) ) LODWORD(v5) = -1; } else { LODWORD(v5) = 1; } return v5; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source