// // GameLevelManager::storeUserName from 0x3bf22c to 0x3bf2ea (190 bytes) // // 8 xrefs: // > GameLevelManager::storeUserNames @ 0x3bf3c2 // > GameLevelManager::updateUsernames @ 0x3c019e // > GameLevelManager::createAndGetScores @ 0x3cb2f6 // > GameLevelManager::onGetUserListCompleted @ 0x3cb7e4 // > GameLevelManager::onGetFriendRequestsCompleted @ 0x3cbe56 // > GameLevelManager::onGetUserMessagesCompleted @ 0x3cc448 // > GameLevelManager::createAndGetCommentsFull @ 0x3cd556 // > ProfilePage::init @ 0x4c75a6 // // 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(_DWORD *a1, const char *a2, const char *a3, char **a4) { int v7; // r11 const std::string *v8; // r1 cocos2d::CCObject *v9; // r10 cocos2d::CCString *v10; // r0 char *CString; // r0 cocos2d::CCDictionary *v12; // r5 cocos2d::CCObject *v13; // r0 cocos2d::CCDictionary *v14; // r5 cocos2d::CCObject *v15; // r0 char v16; // [sp+Ch] [bp-10h] BYREF _BYTE v17[4]; // [sp+10h] [bp-Ch] BYREF if ( (int)a2 > 0 ) { v7 = a1[103]; sub_776584((int)&v16, *a4); v9 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v16, v8); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2); CString = (char *)cocos2d::CCString::getCString(v10); sub_776584((int)v17, CString); cocos2d::CCDictionary::setObject(v7, v9); sub_774008(v17); sub_774008(&v16); if ( (int)a3 > 0 ) { v12 = (cocos2d::CCDictionary *)a1[105]; v13 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3); cocos2d::CCDictionary::setObject(v12, v13, (intptr_t)a2); v14 = (cocos2d::CCDictionary *)a1[104]; v15 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2); cocos2d::CCDictionary::setObject(v14, v15, (intptr_t)a3); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source