//
// jpeg_set_marker_processor from 0x88eaac to 0x88eae0 (52 bytes)
//
// 0 xrefs:
//
// 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:20 +0000
//
_DWORD *__fastcall jpeg_set_marker_processor(_DWORD *result, int a2, int a3)
{
int v3; // r4
v3 = result[116];
if ( a2 == 254 )
{
*(_DWORD *)(v3 + 28) = a3;
}
else if ( (unsigned int)(a2 - 224) > 0xF )
{
*(_DWORD *)(*result + 20) = 70;
*(_DWORD *)(*result + 24) = a2;
return (_DWORD *)(*(int (__fastcall **)(_DWORD *))*result)(result);
}
else
{
*(_DWORD *)(v3 + 4 * (a2 - 216)) = a3;
}
return result;
}