// // png_set_compression_buffer_size from 0x660a30 to 0x660a8c (92 bytes) // // 0 xrefs: // // 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 // _DWORD *__fastcall png_set_compression_buffer_size(_DWORD *result, int a2) { _DWORD *v3; // r4 const char *v4; // r1 if ( result ) { if ( a2 <= 0 ) png_error((int)result, "invalid compression buffer size"); v3 = result; if ( (result[77] & 0x8000) != 0 ) { result[224] = a2; return result; } if ( result[80] ) { v4 = "Compression buffer size cannot be changed because it is in use"; } else { if ( (unsigned int)a2 > 5 ) { if ( result[96] != a2 ) { result = (_DWORD *)png_free_buffer_list(result, result + 95); v3[96] = a2; } return result; } v4 = "Compression buffer size cannot be reduced below 6"; } return (_DWORD *)png_warning((int)result, v4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source