//
// GameLevelManager::saveLevelList from 0x4ae8f0 to 0x4ae952 (98 bytes)
//
// 2 xrefs:
// > GameLevelManager::saveFetchedLevelLists @ 0x4ae978
// > LevelListLayer::onFavorite @ 0x6d4d5c
//
// 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::saveLevelList(GameLevelManager *this, const char **a2, int a3, int a4)
{
int v5; // r7
const char *LevelListKey; // r0
const char *v7; // r8
size_t v8; // r0
GameLevelManager *v10; // [sp+0h] [bp-10h] BYREF
const char **v11; // [sp+4h] [bp-Ch]
int v12; // [sp+8h] [bp-8h]
int v13; // [sp+Ch] [bp-4h]
v10 = this;
v11 = a2;
v12 = a3;
v13 = a4;
v5 = *((_DWORD *)this + 139);
LevelListKey = (const char *)GameLevelManager::getLevelListKey(this, a2[69]);
v10 = nullptr;
v11 = nullptr;
v12 = 0;
v7 = LevelListKey;
v8 = strlen(LevelListKey);
std::string::__init((int *)&v10, v7, v8);
cocos2d::CCDictionary::setObject(v5, (cocos2d::CCObject *)a2);
return std::string::~string((int)&v10);
}