//
// GameLevelManager::saveGauntlet from 0x4ae9e0 to 0x4aea42 (98 bytes)
//
// 1 xrefs:
// > GameLevelManager::onGetGauntletsCompleted @ 0x4c475e
//
// 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::saveGauntlet(GameLevelManager *this, const char **a2, int a3, int a4)
{
int v5; // r7
const char *GauntletKey; // 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 + 185);
GauntletKey = (const char *)GameLevelManager::getGauntletKey(this, a2[67]);
v10 = nullptr;
v11 = nullptr;
v12 = 0;
v7 = GauntletKey;
v8 = strlen(GauntletKey);
std::string::__init((int *)&v10, v7, v8);
cocos2d::CCDictionary::setObject(v5, (cocos2d::CCObject *)a2);
return std::string::~string((int)&v10);
}