//
// GameStatsManager::addSpecialRewardDescription from 0x1401ea2b0 to 0x1401ea339 (137 bytes)
//
// 3 xrefs:
// > GameStatsManager::createSpecialChestItems @ 0x1401e811c
// > GameStatsManager::createSpecialChestItems @ 0x1401e994c
// > ??> @ 0x1406cc648
//
// 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
//
// Hidden C++ exception states: #wind=2
void __fastcall GameStatsManager::addSpecialRewardDescription(__int64 a1, __int64 a2, void **a3)
{
void **v5; // rcx
void *v6; // rdx
_BYTE v7[16]; // [rsp+20h] [rbp-38h] BYREF
__int64 v8; // [rsp+30h] [rbp-28h]
void **v9; // [rsp+38h] [rbp-20h]
v8 = a2;
v9 = a3;
v5 = (void **)(*(_QWORD *)sub_1401F4F70(a1 + 384, v7, a2) + 48LL);
if ( v5 != a3 )
{
v6 = a3;
if ( (unsigned __int64)a3[3] > 0xF )
v6 = *a3;
sub_14003CCE0(v5, v6, (size_t)a3[2]);
}
sub_14003A830(a2);
sub_14003A830((__int64)a3);
}