// // GameLevelManager::saveGauntlet from 0x801f44 to 0x802068 (292 bytes) // // 2 xrefs: // > GameLevelManager::onGetGauntletsCompleted @ 0x81b0f0 // > @ 0x57dd8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:44 +0000 // __int64 __fastcall GameLevelManager::saveGauntlet(GameLevelManager *this, GJMapPack *a2) { __int64 v3; // x24 const char *GauntletKey; // x0 const char *v5; // x25 size_t v6; // x0 size_t v7; // x19 unsigned __int64 v8; // x0 char *v9; // x3 __int64 v11; // [xsp+50h] [xbp+50h] BYREF size_t v12; // [xsp+58h] [xbp+58h] void *v13; // [xsp+60h] [xbp+60h] v3 = *((_QWORD *)this + 134); GauntletKey = (const char *)GameLevelManager::getGauntletKey(this, (const char *)*((unsigned int *)a2 + 82)); v11 = 0; v5 = GauntletKey; v12 = 0; v13 = nullptr; v6 = strlen(GauntletKey); v7 = v6; if ( v6 > 0xFFFFFFFFFFFFFFEFLL ) sub_62C79C(); if ( v6 > 0x16 ) { v8 = (v6 + 16) & 0xFFFFFFFFFFFFFFF0LL; v11 = v8 | 1; v9 = (char *)operator new(v8); v13 = v9; v12 = v7; LABEL_4: v9 = (char *)memcpy(v9, v5, v7); goto LABEL_5; } LOBYTE(v11) = 2 * v6; v9 = (char *)&v11 + 1; if ( v6 ) goto LABEL_4; LABEL_5: v9[v7] = 0; cocos2d::CCDictionary::setObject(v3, a2); if ( (v11 & 1) != 0 ) operator delete(v13); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source