// // GameLevelManager::userNameForUserID from 0x100093698 to 0x10009374c (180 bytes) // // 5 xrefs: // > GameLevelManager::tryGetUsername @ 0x1000937ac // > GJGameLevel::create @ 0x1000943d4 // > CommentCell::loadFromComment @ 0x100105d74 // > LevelBrowserLayer::getSearchTitle @ 0x100418740 // > LevelBrowserLayer::getSearchTitle @ 0x1004187d4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // _QWORD *__usercall GameLevelManager::userNameForUserID@(__int64 a1@, int a2@, _QWORD *a3@) { __int64 v4; // x20 cocos2d::CCString *v5; // x0 char *CString; // x0 __int64 v7; // x0 cocos2d::CCString *v8; // x20 char *v9; // x1 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v12; // [xsp+1Fh] [xbp-11h] if ( a2 <= 0 ) return sub_100009900(a3, "-"); v4 = *(_QWORD *)(a1 + 536); v5 = (cocos2d::CCString *)sub_100268F4C("%i", a2); CString = (char *)cocos2d::CCString::getCString(v5); sub_100009900(__p, CString); v7 = cocos2d::CCDictionary::objectForKey_1(v4, __p); v8 = (cocos2d::CCString *)v7; if ( v12 < 0 ) { operator delete(__p[0]); if ( v8 ) goto LABEL_4; LABEL_7: v9 = "-"; return sub_100009900(a3, v9); } if ( !v7 ) goto LABEL_7; LABEL_4: v9 = (char *)cocos2d::CCString::getCString(v8); return sub_100009900(a3, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source