//
// sub_C14F24 from 0xc14f24 to 0xc14fb0 (140 bytes)
//
// 2 xrefs:
// > sub_C14E0C @ 0xc14e60
// > sub_C14E0C @ 0xc14e68
//
// 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_C14F24(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, _DWORD *a6)
{
__int64 v7; // x21
__int64 result; // x0
v7 = a1[75];
(*(void (**)(void))(a1[80] + 8LL))();
(*(void (__fastcall **)(_QWORD *, _QWORD, __int64, _QWORD))(a1[82] + 8LL))(
a1,
*(_QWORD *)(v7 + 24),
a5 + 8LL * (unsigned int)*a6,
0);
result = (unsigned int)*a6;
*a6 = result;
return result;
}