//
// jpeg_set_marker_processor from 0x67ea2c to 0x67ea60 (52 bytes)
//
// 0 xrefs:
//
// 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
//
_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;
}