//
// GameStatsManager::getSpecialRewardDescription from 0x100078020 to 0x100078078 (88 bytes)
//
// 0 xrefs:
//
// 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
//
_QWORD *__fastcall GameStatsManager::getSpecialRewardDescription(_QWORD *a1, __int64 a2, __int64 a3, double a4)
{
__int64 v4; // rax
__int64 v5; // rax
v4 = sub_100091EE0(a2 + 376, a3);
if ( v4 )
{
if ( (*(_BYTE *)(v4 + 40) & 1) != 0 )
{
sub_100006B70(a1, *(const void **)(v4 + 56), *(_QWORD *)(v4 + 48), a4);
}
else
{
v5 = v4 + 40;
a1[2] = *(_QWORD *)(v5 + 16);
*(_OWORD *)a1 = *(_OWORD *)v5;
}
}
else
{
*(_WORD *)a1 = 0;
}
return a1;
}