// // TIFFComputeTile from 0xed8280 to 0xed838c (268 bytes) // // 3 xrefs: // > TIFFReadTile @ 0xed5e44 // > TIFFWriteTile @ 0xed9f70 // > @ 0xc32c8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:11:44 +0000 // __int64 __fastcall TIFFComputeTile(__int64 a1, unsigned int a2, unsigned int a3, unsigned int a4, unsigned __int16 a5) { __int64 v5; // x0 unsigned int v6; // w8 unsigned int v7; // w7 unsigned int v8; // w6 unsigned int v9; // w5 unsigned int v10; // w12 unsigned int v11; // w13 unsigned int v12; // w11 unsigned int v13; // w10 unsigned int v14; // w9 v5 = a1 + 56; v6 = *(_DWORD *)(v5 + 40); v7 = *(_DWORD *)(v5 + 44); v8 = *(_DWORD *)(v5 + 48); if ( v6 == 1 ) a4 = 0; v9 = *(_DWORD *)(v5 + 52); if ( v7 == -1 ) v7 = *(_DWORD *)(v5 + 32); if ( v8 == -1 ) v8 = *(_DWORD *)(v5 + 36); if ( v9 == -1 ) v9 = *(_DWORD *)(v5 + 40); if ( v8 == 0 || v7 == 0 || !v9 ) return 1; v10 = *(_DWORD *)(v5 + 32); v11 = 0; if ( v10 < -v7 ) v11 = (v10 - 1 + v7) / v7; v12 = *(_DWORD *)(v5 + 36); v13 = 0; if ( v12 < -v8 ) v13 = (v12 - 1 + v8) / v8; v14 = 0; if ( v6 < -v9 ) v14 = (v6 - 1 + v9) / v9; if ( *(_WORD *)(v5 + 114) == 2 ) return a2 / v7 + (a3 / v8 + (a4 / v9 + v14 * a5) * v13) * v11; else return a2 / v7 + (a3 / v8 + v13 * (a4 / v9)) * v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source