//
// GameLevelManager::getStoredLevelComments from 0x4aeedc to 0x4aef40 (100 bytes)
//
// 2 xrefs:
// > InfoLayer::loadPage @ 0x53e91c
// > InfoLayer::init @ 0x540052
//
// 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:01 +0000
//
bool __fastcall GameLevelManager::getStoredLevelComments(GameLevelManager *this, const char *a2)
{
_BOOL4 result; // r0
size_t v5; // r0
int v6; // r7
int v7; // r4
int v8[3]; // [sp+0h] [bp-14h] BYREF
result = GameLevelManager::isTimeValid(this, a2, 600.0);
if ( result )
{
memset(v8, 0, sizeof(v8));
v5 = strlen(a2);
v6 = *((_DWORD *)this + 181);
std::string::__init(v8, a2, v5);
v7 = cocos2d::CCDictionary::objectForKey(v6, v8);
std::string::~string((int)v8);
return v7;
}
return result;
}