//
// GameLevelManager::setLenVal from 0x4af670 to 0x4af6e0 (112 bytes)
//
// 2 xrefs:
// > LevelSearchLayer::toggleTime @ 0x4965e8
// > LevelSearchLayer::toggleTimeNum @ 0x4966a2
//
// 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
//
int __fastcall GameLevelManager::setLenVal(GameLevelManager *this, const char *a2, const char *a3, int a4)
{
int v6; // r7
cocos2d::CCObject *v7; // r6
const char *LenKey; // r8
size_t v9; // r0
GameLevelManager *v11; // [sp+0h] [bp-10h] BYREF
const char *v12; // [sp+4h] [bp-Ch]
const char *v13; // [sp+8h] [bp-8h]
int v14; // [sp+Ch] [bp-4h]
v11 = this;
v12 = a2;
v13 = a3;
v14 = a4;
v6 = *((_DWORD *)this + 135);
v7 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3);
v11 = nullptr;
v12 = nullptr;
v13 = nullptr;
LenKey = (const char *)GameLevelManager::getLenKey(this, a2);
v9 = strlen(LenKey);
std::string::__init((int *)&v11, LenKey, v9);
cocos2d::CCDictionary::setObject(v6, v7);
return std::string::~string((int)&v11);
}