//
// jpeg_input_complete from 0xe7a920 to 0xe7a970 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x73a80
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:10:42 +0000
//
__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);
}