//
// GameLevelManager::getPageInfo from 0x140149970 to 0x140149a58 (232 bytes)
//
// 8 xrefs:
// > FRequestProfilePage::loadPage @ 0x14013f529
// > InfoLayer::loadPage @ 0x1402be661
// > LevelBrowserLayer::loadPage @ 0x1402caafe
// > MessagesProfilePage::loadPage @ 0x140337ee7
// > ProfilePage::loadPage @ 0x1403c63b3
// > TopArtistsLayer::init @ 0x1404cb240
// > TopArtistsLayer::loadPage @ 0x1404cb9c5
// > ??> @ 0x1406ca6bc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
const char *GameLevelManager::getPageInfo(GameLevelManager *a1, const char *a2)
{
size_t v3; // r8
cocos2d::CCString *v4; // rbx
void *v5; // rcx
void *Block[2]; // [rsp+20h] [rbp-38h] BYREF
__m128i si128; // [rsp+30h] [rbp-28h]
*(_OWORD *)Block = 0;
si128 = 0;
v3 = -1;
do
++v3;
while ( a2[v3] );
sub_14003A930(Block, a2, v3);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(a1->m_pageInfo, Block);
if ( si128.m128i_i64[1] > 0xFuLL )
{
v5 = Block[0];
if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )
{
v5 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v5);
}
si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30);
LOBYTE(Block[0]) = 0;
if ( v4 )
return cocos2d::CCString::getCString(v4);
else
return byte_140518980;
}