//
// jpeg_alloc_quant_table from 0x6717c0 to 0x6717d4 (20 bytes)
//
// 3 xrefs:
// > jpeg_add_quant_table @ 0x6718ac
// > jpeg_copy_critical_parameters @ 0x6743b2
// > sub_67CED0 @ 0x67df1e
//
// 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
//
int __fastcall jpeg_alloc_quant_table(int a1)
{
int result; // r0
result = (**(int (***)(void))(a1 + 4))();
*(_DWORD *)(result + 128) = 0;
return result;
}