// // GameLevelManager::getStoredLevelComments from 0x8031f4 to 0x80332c (312 bytes) // // 3 xrefs: // > InfoLayer::loadPage @ 0x90aaa0 // > InfoLayer::init @ 0x90c658 // > @ 0x102fd0 // // 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::getStoredLevelComments(GameLevelManager *this, const char *a2) { size_t v4; // x0 size_t v5; // x19 __int64 v6; // x24 unsigned __int64 v7; // x0 char *v8; // x3 __int64 v9; // x19 __int64 v11; // [xsp+40h] [xbp+40h] BYREF size_t v12; // [xsp+48h] [xbp+48h] void *v13; // [xsp+50h] [xbp+50h] if ( !GameLevelManager::isTimeValid(this, a2, 600.0) ) return 0; v11 = 0; v12 = 0; v13 = nullptr; v4 = strlen(a2); v5 = v4; v6 = *((_QWORD *)this + 130); if ( v4 > 0xFFFFFFFFFFFFFFEFLL ) sub_62C79C(); if ( v4 <= 0x16 ) { LOBYTE(v11) = 2 * v4; v8 = (char *)&v11 + 1; if ( !v4 ) goto LABEL_6; } else { v7 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL; v11 = v7 | 1; v8 = (char *)operator new(v7); v13 = v8; v12 = v5; } v8 = (char *)memcpy(v8, a2, v5); LABEL_6: v8[v5] = 0; v9 = cocos2d::CCDictionary::objectForKey(v6, &v11); if ( (v11 & 1) != 0 ) operator delete(v13); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source