//
// GameLevelManager::getDeathDisplayData from 0x81316c to 0x81320c (160 bytes)
//
// 4 xrefs:
// > PlayLayer::setupHasCompleted @ 0x707900
// > DeathStatsPopup::showResult @ 0xca8494
// > DeathTrackerPopup::parseGlobal @ 0xcab618
// > ??> @ 0xcd300
//
// 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:54:53 +0000
//
__int64 *__usercall GameLevelManager::getDeathDisplayData@(
__int64 *__return_ptr a1@,
GameLevelManager *this@,
int a3@)
{
__int64 *v4; // x0
__int64 v5; // x1
int v7; // [xsp+2Ch] [xbp+2Ch] BYREF
v7 = a3;
v4 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_QWORD *)this + 40,
&v7);
*a1 = 0;
if ( !v4 )
{
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, &byte_11B8890, 0);
return a1;
}
a1[1] = 0;
a1[2] = 0;
if ( (v4[3] & 1) == 0 )
{
v5 = v4[4];
*a1 = v4[3];
a1[1] = v5;
a1[2] = v4[5];
return a1;
}
std::string::__init(a1, (void *)v4[5], v4[4]);
return a1;
}