//
// GameLevelManager::getDeathDisplayData from 0x4b21c8 to 0x4b2202 (58 bytes)
//
// 3 xrefs:
// > PlayLayer::setupHasCompleted @ 0x409fcc
// > DeathStatsPopup::showResult @ 0x76fc90
// > DeathTrackerPopup::parseGlobal @ 0x77194e
//
// 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:50:03 +0000
//
GameLevelManager *__fastcall GameLevelManager::getDeathDisplayData(GameLevelManager *this, int a2, unsigned int a3)
{
_DWORD *v4; // r2
unsigned int v6; // [sp+4h] [bp-4h] BYREF
v6 = a3;
v4 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_DWORD *)(a2 + 264),
&v6);
if ( v4 )
{
std::string::basic_string((int *)this, (int)(v4 + 3));
}
else
{
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::string::__init((int *)this, &unk_B6B226, 0);
}
return this;
}