//
// sub_7E878 from 0x7e878 to 0x7e8f8 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x114c60
//
// 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_7E878(__int64 *a1, int a2, int a3)
{
__int64 v3; // x8
v3 = *a1;
if ( (unsigned int)(a2 - 33) > 0x1F )
{
if ( a2 )
{
return 31;
}
else
{
*(_DWORD *)(v3 + 9304) = a3;
return 0;
}
}
else
{
*(_DWORD *)(v3 + 4LL * (a2 - 33) + 9308) = a3;
return 0;
}
}