//
// sub_1005F8B1C from 0x1005f8b1c to 0x1005f8b30 (20 bytes)
//
// 3 xrefs:
// > sub_1005F5624 @ 0x1005f5868
// > sub_1005F6E94 @ 0x1005f7028
// > sub_1005F6E94 @ 0x1005f7304
//
// 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_1005F8B1C(__int64 *a1, int a2, __int64 a3)
{
__int64 v3; // x8
__int64 v4; // x9
__int64 result; // x0
v3 = *a1;
v4 = *(_QWORD *)(a3 + 8);
result = *(unsigned int *)(*a1 + v4);
*(_DWORD *)(v3 + v4) = a2;
return result;
}