// // sub_C4A3A4 from 0xc4a3a4 to 0xc4a460 (188 bytes) // // 2 xrefs: // > TIFFRGBAImageBegin @ 0xc52d5c // > TIFFRGBAImageBegin @ 0xc52d64 // // 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_C4A3A4( __int64 result, int *a2, __int64 a3, __int64 a4, int a5, int a6, int a7, int a8, unsigned __int8 *a9) { int v9; // w17 int v10; // w16 int v12; // w6 __int64 v13; // x14 __int64 v14; // x7 __int64 v15; // x17 __int64 v16; // x19 __int64 v17; // x17 __int64 v18; // x13 int v19; // w9 unsigned __int8 *v20; // x2 int *v21; // x10 int v22; // w5 __int64 v23; // x11 __int64 v24; // x8 __int64 v25; // x3 __int64 v26; // x12 v9 = *(unsigned __int16 *)(result + 30); v10 = a6 - 1; v12 = a7 * v9; if ( a6 ) { v13 = (unsigned __int16)v9; v14 = 4LL * a8; v15 = (unsigned int)(a5 - 1) + 1LL; v16 = 4 * v15; v17 = v15 * v13; do { if ( a5 ) { v18 = *(_QWORD *)(result + 120); v19 = a5 - 1; v20 = a9; v21 = a2; do { v22 = v20[3]; --v19; v23 = *v20; v24 = v20[1]; v25 = v18 + ((unsigned __int64)v20[3] << 8); v26 = v20[2]; v20 += v13; *v21++ = *(unsigned __int8 *)(v25 + v23) | (v22 << 24) | (*(unsigned __int8 *)(v25 + v24) << 8) | (*(unsigned __int8 *)(v25 + v26) << 16); } while ( v19 != -1 ); a2 = (int *)((char *)a2 + v16); a9 += v17; } --v10; a2 = (int *)((char *)a2 + v14); a9 += v12; } while ( v10 != -1 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source