// // _TIFFDefaultTileSize from 0xc626bc to 0xc62748 (140 bytes) // // 3 xrefs: // > @ 0x7e2e8 // > _TIFFSetDefaultCompressionState @ 0xc2eca8 // > @ 0x122c3f8 // // 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 TIFFDefaultTileSize(__int64 a1, _DWORD *a2, int *a3) { __int64 result; // x0 int v4; // w1 int v5; // w3 LODWORD(result) = *a2; if ( (int)*a2 > 0 ) { if ( *a3 > 0 ) { if ( (result & 0xF) == 0 ) goto LABEL_4; LABEL_11: v5 = 0; if ( (unsigned int)result <= 0xFFFFFFEF ) v5 = (result + 15) & 0xFFFFFFF0; *a2 = v5; goto LABEL_4; } LABEL_10: *a3 = 256; result = (unsigned int)*a2; if ( (result & 0xF) == 0 ) return result; goto LABEL_11; } *a2 = 256; if ( *a3 <= 0 ) goto LABEL_10; LABEL_4: result = (unsigned int)*a3; if ( (result & 0xF) != 0 ) { v4 = 0; if ( (unsigned int)result <= 0xFFFFFFEF ) v4 = (result + 15) & 0xFFFFFFF0; *a3 = v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source