//
// sub_C065EC from 0xc065ec to 0xc0663c (80 bytes)
//
// 1 xrefs:
// > jpeg_mem_src @ 0xc06848
//
// 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 sub_C065EC(_QWORD *a1)
{
void (__fastcall *v2)(_QWORD *, __int64); // x3
_QWORD *v3; // x2
v2 = *(void (__fastcall **)(_QWORD *, __int64))(*a1 + 8LL);
*(_DWORD *)(*a1 + 40LL) = 123;
v2(a1, 0xFFFFFFFFLL);
v3 = (_QWORD *)a1[5];
*v3 = &unk_F30700;
v3[1] = 2;
return 1;
}