// // sub_901C50 from 0x901c50 to 0x901d40 (240 bytes) // // 6 xrefs: // > TIFFInitThunderScan @ 0x901d70 // > TIFFInitThunderScan @ 0x901d74 // > TIFFInitThunderScan @ 0x901d80 // > TIFFInitThunderScan @ 0x901d84 // > @ 0x901da4 // > @ 0x901da8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:04:17 +0000 // int __fastcall sub_901C50(_DWORD *a1, char *a2, int a3) { int v5; // [sp+4h] [bp-18h] v5 = a3; if ( a3 % a1[145] ) { TIFFErrorExt(a1[157], (int)"ThunderDecodeRow", "Fractional scanlines cannot be read"); return 0; } else { while ( v5 > 0 ) { if ( !sub_9015A4(a1, a2, a1[14]) ) return 0; v5 -= a1[145]; a2 += a1[145]; } return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source