// // sub_C43518 from 0xc43518 to 0xc435cc (180 bytes) // // 6 xrefs: // > TIFFInitCCITTFax3 @ 0xc48c04 // > TIFFInitCCITTFax3 @ 0xc48c0c // > TIFFInitCCITTFax4 @ 0xc48ddc // > TIFFInitCCITTFax4 @ 0xc48de4 // > TIFFInitCCITTRLE @ 0xc48fb8 // > TIFFInitCCITTRLEW @ 0xc49148 // // 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_C43518(__int64 a1) { __int64 v1; // x19 void *v3; // x0 float v4; // s0 int v5; // w0 int v6; // w0 v1 = *(_QWORD *)(a1 + 848); v3 = *(void **)(v1 + 128); *(_DWORD *)(v1 + 76) = 8; *(_DWORD *)(v1 + 72) = 0; *(_DWORD *)(v1 + 120) = 0; if ( v3 ) TIFFmemset(v3, 0, *(_QWORD *)(v1 + 8)); if ( (*(_DWORD *)(v1 + 32) & 1) != 0 ) { v4 = *(float *)(a1 + 164); if ( *(_WORD *)(a1 + 168) == 3 ) v4 = v4 * 2.54; *(_DWORD *)(v1 + 144) = 0; if ( v4 <= 150.0 ) v5 = 1; else v5 = 3; *(_DWORD *)(v1 + 136) = v5; if ( v4 <= 150.0 ) v6 = 2; else v6 = 4; *(_DWORD *)(v1 + 140) = v6; return 1; } else { *(_DWORD *)(v1 + 140) = 0; *(_DWORD *)(v1 + 136) = 0; *(_DWORD *)(v1 + 144) = 0; return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source