//
// jpeg_std_error from 0xc16044 to 0xc160b0 (108 bytes)
//
// 3 xrefs:
// > cocos2d::CCImage::_initWithJpgData @ 0xb0bc68
// > cocos2d::CCImage::_saveImageToJPG @ 0xb0ce90
// > ??> @ 0x3ce40
//
// 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 jpeg_std_error(__int64 result)
{
*(_DWORD *)(result + 124) = 0;
*(_QWORD *)result = sub_C16018;
*(_QWORD *)(result + 128) = 0;
*(_QWORD *)(result + 8) = sub_C15E28;
*(_DWORD *)(result + 40) = 0;
*(_QWORD *)(result + 16) = sub_C15FA8;
*(_QWORD *)(result + 24) = sub_C15EB4;
*(_QWORD *)(result + 32) = sub_C15EA4;
*(_QWORD *)(result + 136) = jpeg_std_message_table;
*(_QWORD *)(result + 152) = 0;
*(_DWORD *)(result + 144) = 126;
*(_DWORD *)(result + 160) = 0;
*(_DWORD *)(result + 164) = 0;
return result;
}