//
// GameStatsManager::getEventRewardKey from 0x7b70dc to 0x7b71f0 (276 bytes)
//
// 1 xrefs:
// > ??> @ 0x74ca0
//
// 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 __usercall GameStatsManager::getEventRewardKey@(
GameStatsManager *this@,
unsigned int a2@,
__int64 a3@)
{
size_t v4; // x22
size_t v6; // [xsp+48h] [xbp+48h] BYREF
unsigned __int64 v7; // [xsp+50h] [xbp+50h]
char *v8; // [xsp+58h] [xbp+58h]
_QWORD v9[63]; // [xsp+60h] [xbp+60h] BYREF
v8 = (char *)v9;
v7 = 500;
v6 = 8;
v9[0] = *(_QWORD *)"o_event_";
fmt::BasicWriter::FormatInt,char>>(&v6, a2);
v4 = v6;
if ( v6 + 1 > v7 )
fmt::internal::Array::grow(&v6, v6 + 1);
v8[v4] = 0;
sub_D153B8(a3, v8);
if ( v8 != (char *)v9 && v8 )
operator delete[](v8);
return a3;
}