//
// COMP_compress_block from 0x9ee5c4 to 0x9ee610 (76 bytes)
//
// 2 xrefs:
// > ssl3_do_compress @ 0x99f5d4
// > ??> @ 0x7441c
//
// 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:07:28 +0000
//
int __fastcall COMP_compress_block(_DWORD *a1, int a2, int a3, int a4, int a5)
{
int (__fastcall *v5)(_DWORD *); // r12
int result; // r0
int v8; // r3
v5 = *(int (__fastcall **)(_DWORD *))(*a1 + 16);
if ( !v5 )
return -1;
result = v5(a1);
if ( result > 0 )
{
v8 = a1[2] + result;
a1[1] += a5;
a1[2] = v8;
}
return result;
}