//
// sub_10056FC78 from 0x10056fc78 to 0x10056fca8 (48 bytes)
//
// 1 xrefs:
// > sub_10054F830 @ 0x10054f85c
//
// 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
//
__int64 __fastcall sub_10056FC78(__int64 result)
{
__int64 v1; // x19
v1 = *(_QWORD *)result;
if ( *(_DWORD *)(*(_QWORD *)result + 332LL) )
{
result = inflateEnd((z_streamp)(v1 + 336));
*(_DWORD *)(v1 + 332) = 0;
}
return result;
}