//
// jinit_marker_writer from 0x880368 to 0x8803b2 (74 bytes)
//
// 3 xrefs:
// > jpeg_write_tables @ 0x8770c2
// > jinit_compress_master @ 0x87db74
// > jpeg_write_coefficients @ 0x8841f0
//
// 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:03:10 +0000
//
int (__fastcall **__fastcall jinit_marker_writer(int a1))(int a1)
{
int (__fastcall **result)(int); // r0
result = (int (__fastcall **)(int))(**(int (***)(void))(a1 + 4))();
*(_DWORD *)(a1 + 408) = result;
*result = sub_87E1D8;
result[1] = (int (__fastcall *)(int))sub_87F918;
result[2] = (int (__fastcall *)(int))sub_87EF2C;
result[3] = (int (__fastcall *)(int))sub_87DD48;
result[4] = (int (__fastcall *)(int))sub_87EC2C;
result[5] = (int (__fastcall *)(int))sub_87DE10;
result[6] = (int (__fastcall *)(int))sub_87DD14;
result[7] = nullptr;
return result;
}