//
// COMP_compress_block from 0xfff848 to 0xfff8a4 (92 bytes)
//
// 2 xrefs:
// > ssl3_do_compress @ 0xfb2328
// > ??> @ 0xf82c0
//
// 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:15:53 +0000
//
__int64 __fastcall COMP_compress_block(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4, int a5)
{
__int64 (*v6)(void); // x6
__int64 result; // x0
__int64 v9; // x1
v6 = *(__int64 (**)(void))(*a1 + 32LL);
if ( !v6 )
return 0xFFFFFFFFLL;
result = v6();
if ( (int)result > 0 )
{
v9 = a1[2] + (int)result;
a1[1] += a5;
a1[2] = v9;
}
return result;
}