// // sub_C42FC8 from 0xc42fc8 to 0xc43120 (344 bytes) // // 8 xrefs: // > TIFFInitCCITTFax3 @ 0xc48b6c // > TIFFInitCCITTFax3 @ 0xc48b74 // > TIFFInitCCITTFax4 @ 0xc48d44 // > TIFFInitCCITTFax4 @ 0xc48d4c // > TIFFInitCCITTRLE @ 0xc48f48 // > TIFFInitCCITTRLE @ 0xc48f50 // > TIFFInitCCITTRLEW @ 0xc490d8 // > TIFFInitCCITTRLEW @ 0xc490e0 // // 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_C42FC8(__int64 a1, unsigned int a2, __int64 a3) { __int64 v3; // x6 int v4; // w3 __int64 v5; // x5 _DWORD **v7; // x1 _DWORD **v8; // x1 _DWORD **v9; // x1 _DWORD **v10; // x1 _QWORD **v11; // x1 _WORD **v12; // x1 v3 = *(_QWORD *)(a3 + 8); v4 = *(_DWORD *)(a3 + 24); v5 = *(_QWORD *)(a1 + 848); if ( a2 == 327 ) { if ( v4 <= -8 ) v12 = (_WORD **)(v3 + v4); else v12 = *(_WORD ***)a3; **v12 = *(_WORD *)(v5 + 20); return 1; } else if ( a2 <= 0x147 ) { if ( a2 < 0x124 ) return (*(__int64 (**)(void))(v5 + 40))(); if ( a2 <= 0x125 ) { if ( v4 <= -8 ) v8 = (_DWORD **)(v3 + v4); else v8 = *(_DWORD ***)a3; **v8 = *(_DWORD *)(v5 + 32); return 1; } else { if ( a2 != 326 ) return (*(__int64 (**)(void))(v5 + 40))(); if ( v4 <= -8 ) v7 = (_DWORD **)(v3 + v4); else v7 = *(_DWORD ***)a3; **v7 = *(_DWORD *)(v5 + 28); return 1; } } else { switch ( a2 ) { case 0x10000u: if ( v4 <= -8 ) v9 = (_DWORD **)(v3 + v4); else v9 = *(_DWORD ***)a3; **v9 = *(_DWORD *)(v5 + 4); return 1; case 0x10004u: if ( v4 <= -8 ) v11 = (_QWORD **)(v3 + v4); else v11 = *(_QWORD ***)a3; **v11 = *(_QWORD *)(v5 + 88); return 1; case 0x148u: if ( v4 <= -8 ) v10 = (_DWORD **)(v3 + v4); else v10 = *(_DWORD ***)a3; **v10 = *(_DWORD *)(v5 + 24); return 1; default: return (*(__int64 (**)(void))(v5 + 40))(); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source