//
// GameStatsManager::addSpecialRewardDescription from 0x1402ee540 to 0x1402ee5c9 (137 bytes)
//
// 3 xrefs:
// > GameStatsManager::createSpecialChestItems @ 0x1402ec2ad
// > GameStatsManager::createSpecialChestItems @ 0x1402edbc1
// > ??> @ 0x14091e0d4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:29:56 +0000
//
// 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_1402F9FD0(a1 + 384, v7, a2) + 48LL);
if ( v5 != a3 )
{
v6 = a3;
if ( (unsigned __int64)a3[3] > 0xF )
v6 = *a3;
sub_1400405A0(v5, v6, (size_t)a3[2]);
}
sub_14003D310(a2);
sub_14003D310((__int64)a3);
}