//
// GameStatsManager::getSpecialRewardDescription from 0x8d7e70 to 0x8d7f04 (148 bytes)
//
// 2 xrefs:
// > GameStatsManager::getSpecialUnlockDescription @ 0x8e7d78
// > ??> @ 0xdc000
//
// This function is hookable on this platform (idp: arm, 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 12:56:45 +0000
//
__int64 *__usercall GameStatsManager::getSpecialRewardDescription@(
__int64 a1@,
__int64 a2@,
__int64 *a3@)
{
__int64 *v4; // x0
__int64 v5; // x1
v4 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_QWORD *)(a1 + 376),
a2);
*a3 = 0;
if ( !v4 )
{
a3[1] = 0;
a3[2] = 0;
std::string::__init(a3, &byte_11B8890, 0);
return a3;
}
a3[1] = 0;
a3[2] = 0;
if ( (v4[5] & 1) == 0 )
{
v5 = v4[6];
*a3 = v4[5];
a3[1] = v5;
a3[2] = v4[7];
return a3;
}
std::string::__init(a3, (void *)v4[7], v4[6]);
return a3;
}