//
// GameStatsManager::getSpecialUnlockDescription from 0x528e9c to 0x528f24 (136 bytes)
//
// 1 xrefs:
// > ItemInfoPopup::init @ 0x50e1ea
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:57 +0000
//
int *__fastcall GameStatsManager::getSpecialUnlockDescription(int *a1, int a2, int a3, int a4)
{
int *v6; // r0
unsigned __int8 v8[12]; // [sp+4h] [bp-1Ch] BYREF
int v9[3]; // [sp+10h] [bp-10h] BYREF
GameStatsManager::getItemKey((GameStatsManager *)v8, a2, a3, a4);
v6 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_DWORD *)(a2 + 312),
v8);
if ( v6 )
{
std::string::basic_string(v9, (int)(v6 + 5));
GameStatsManager::getSpecialRewardDescription(a1, a2, (unsigned __int8 *)v9);
std::string::~string((int)v9);
}
else
{
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, &unk_B6B226, 0);
}
std::string::~string((int)v8);
return a1;
}