//
// LocalLevelManager::getMainLevelString from 0x544708 to 0x544754 (76 bytes)
//
// 4 xrefs:
// > LevelTools::getLevel @ 0x4212f6
// > LevelPage::playStep3 @ 0x514d72
// > GJWorldNode::playStep3 @ 0x62f882
// > LevelAreaInnerLayer::playStep1 @ 0x6a49ce
//
// 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:52:22 +0000
//
LocalLevelManager *__fastcall LocalLevelManager::getMainLevelString(
LocalLevelManager *this,
LocalLevelManager *a2,
char *a3)
{
_DWORD *v3; // r5
_DWORD *v5; // r0
char *v7; // [sp+4h] [bp-4h] BYREF
v3 = (_DWORD *)((char *)a2 + 292);
v7 = a3;
LocalLevelManager::tryLoadMainLevelString(a2, a3);
if ( std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
v3,
(unsigned int *)&v7) )
{
v5 = std::unordered_map::operator[]((int)v3, (unsigned int *)&v7);
std::string::basic_string((int *)this, (int)v5);
}
else
{
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::string::__init((int *)this, &unk_B6B226, 0);
}
return this;
}