//
// GameLevelManager::storeUserName from 0x100093554 to 0x100093660 (268 bytes)
//
// 8 xrefs:
// > GameLevelManager::onGetUserListCompleted @ 0x10008d8ec
// > GameLevelManager::onGetFriendRequestsCompleted @ 0x10008dd60
// > GameLevelManager::onGetUserMessagesCompleted @ 0x10008e1c8
// > GameLevelManager::storeUserNames @ 0x100093288
// > GameLevelManager::createAndGetScores @ 0x1000960e8
// > GameLevelManager::updateUsernames @ 0x10009a374
// > GameLevelManager::createAndGetCommentsFull @ 0x1000a6750
// > ProfilePage::init @ 0x100196c6c
//
// 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
//
void __fastcall GameLevelManager::storeUserName(_QWORD *a1, int a2, int a3, char *__s)
{
__int64 v7; // x22
__int64 v8; // x23
cocos2d::CCString *v9; // x0
char *CString; // x0
cocos2d::CCDictionary *v11; // x22
cocos2d::CCObject *v12; // x0
cocos2d::CCDictionary *v13; // x21
cocos2d::CCObject *v14; // x0
void *__p[2]; // [xsp+10h] [xbp-60h] BYREF
char v16; // [xsp+27h] [xbp-49h]
void *v17[2]; // [xsp+28h] [xbp-48h] BYREF
char v18; // [xsp+3Fh] [xbp-31h]
if ( a2 >= 1 )
{
if ( __s[23] < 0 )
__s = *(char **)__s;
v7 = a1[67];
sub_100009900(v17, __s);
v8 = sub_100268E48(v17);
v9 = (cocos2d::CCString *)sub_100268F4C("%i", a2);
CString = (char *)cocos2d::CCString::getCString(v9);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject_1(v7, v8, __p);
if ( v16 < 0 )
operator delete(__p[0]);
if ( v18 < 0 )
operator delete(v17[0]);
if ( a3 >= 1 )
{
v11 = (cocos2d::CCDictionary *)a1[69];
v12 = (cocos2d::CCObject *)sub_100268F4C("%i", a3);
cocos2d::CCDictionary::setObject(v11, v12, (unsigned int)a2);
v13 = (cocos2d::CCDictionary *)a1[68];
v14 = (cocos2d::CCObject *)sub_100268F4C("%i", a2);
cocos2d::CCDictionary::setObject(v13, v14, (unsigned int)a3);
}
}
}