//
// sub_C7850 from 0xc7850 to 0xc7884 (52 bytes)
//
// 2 xrefs:
// > sub_C7FC4 @ 0xc8250
// > sub_C825C @ 0xc8608
//
// 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 sub_C7850()
{
long double *v0; // x20
__int64 v1; // x0
__int64 v2; // x8
__int64 result; // x0
v1 = sub_CD614();
if ( v2 )
v1 = sub_CD4BC(v1);
result = sub_CD6CC(v1, *v0);
++*(_DWORD *)(*(_QWORD *)v0 + 8LL);
return result;
}