// // sub_8CF47C from 0x8cf47c to 0x8cf5dc (352 bytes) // // 9 xrefs: // > TIFFInitDumpMode @ 0x8cf7bc // > TIFFInitDumpMode @ 0x8cf7c0 // > TIFFInitDumpMode @ 0x8cf7cc // > TIFFInitDumpMode @ 0x8cf7d0 // > TIFFInitDumpMode @ 0x8cf7dc // > TIFFInitDumpMode @ 0x8cf7e0 // > @ 0x8cf81c // > @ 0x8cf820 // > @ 0x8cf824 // // 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:05 +0000 // int __fastcall sub_8CF47C(_DWORD *a1, int a2, int a3) { int v8; // [sp+14h] [bp-8h] while ( a3 > 0 ) { v8 = a3; if ( a1[152] + a3 > a1[148] ) v8 = a1[148] - a1[152]; if ( v8 <= 0 ) _assert2(); if ( a1[151] != a2 ) TIFFmemcpy(a1[151], a2, v8); a1[151] += v8; a1[152] += v8; a2 += v8; a3 -= v8; if ( a1[152] >= a1[148] && !TIFFFlushData1(a1) ) return -1; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source