//
// sub_C2B004 from 0xc2b004 to 0xc2b04c (72 bytes)
//
// 2 xrefs:
// > jinit_memory_mgr @ 0xc2c350
// > jinit_memory_mgr @ 0xc2c358
//
// 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_C2B004(__int64 a1)
{
sub_C2AEA0(a1, 1u);
sub_C2AEA0(a1, 0);
jpeg_free_small(a1, *(void **)(a1 + 8));
*(_QWORD *)(a1 + 8) = 0;
return jpeg_mem_term(a1);
}