// // sub_C45CE4 from 0xc45ce4 to 0xc45d98 (180 bytes) // // 2 xrefs: // > TIFFInitCCITTFax4 @ 0xc48e48 // > TIFFInitCCITTFax4 @ 0xc48e50 // // 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 sub_C45CE4(_QWORD *a1, unsigned __int8 *a2, __int64 a3) { __int64 v3; // x19 __int64 v6; // x21 __int64 v7; // x0 __int64 result; // x0 v3 = a1[106]; v6 = a3; if ( a3 % *(_QWORD *)(v3 + 8) ) { TIFFErrorExt(a1[119], (__int64)&dword_F35E00[160], "Fractional scanlines cannot be written"); return 0; } else { while ( v6 > 0 ) { result = sub_C44780(a1, a2, *(_BYTE **)(v3 + 128), *(_DWORD *)(v3 + 16)); if ( !(_DWORD)result ) return result; TIFFmemcpy(*(void **)(v3 + 128), a2, *(_QWORD *)(v3 + 8)); v7 = *(_QWORD *)(v3 + 8); v6 -= v7; a2 += v7; } return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source