//
// jpeg_input_complete from 0xc04760 to 0xc047b0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x53568
//
// 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_input_complete(__int64 a1)
{
int v1; // w1
void (__fastcall **v3)(__int64); // x2
v1 = *(_DWORD *)(a1 + 36);
if ( (unsigned int)(v1 - 200) > 0xA )
{
v3 = *(void (__fastcall ***)(__int64))a1;
*((_DWORD *)v3 + 11) = v1;
*((_DWORD *)v3 + 10) = 21;
(**(void (__fastcall ***)(__int64))a1)(a1);
}
return *(unsigned int *)(*(_QWORD *)(a1 + 608) + 36LL);
}