// // sub_905714 from 0x905714 to 0x9058d0 (444 bytes) // // 9 xrefs: // > TIFFInitZIP @ 0x905eb0 // > TIFFInitZIP @ 0x905eb4 // > TIFFInitZIP @ 0x905ec0 // > TIFFInitZIP @ 0x905ec4 // > TIFFInitZIP @ 0x905ed0 // > TIFFInitZIP @ 0x905ed4 // > @ 0x905f7c // > @ 0x905f80 // > @ 0x905f84 // // 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:18 +0000 // int __fastcall sub_905714(_DWORD *a1, int a2, int a3) { int v8; // [sp+14h] [bp-8h] v8 = a1[144]; if ( !v8 ) _assert2(); if ( *(_DWORD *)(v8 + 124) != 2 ) _assert2(); *(_DWORD *)(v8 + 64) = a2; *(_DWORD *)(v8 + 68) = a3; if ( *(_DWORD *)(v8 + 68) == a3 ) { do { if ( j_deflate(v8 + 64, 0) ) { TIFFErrorExt(a1[157], (int)"ZIPEncode", "Encoder error: %s", *(const char **)(v8 + 88)); return 0; } if ( !*(_DWORD *)(v8 + 80) ) { a1[152] = a1[148]; TIFFFlushData1((int)a1); *(_DWORD *)(v8 + 76) = a1[147]; *(_DWORD *)(v8 + 80) = a1[148]; } } while ( *(_DWORD *)(v8 + 68) ); return 1; } else { TIFFErrorExt(a1[157], (int)"ZIPEncode", "ZLib cannot deal with buffers this size"); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source