// // GameLevelManager::followUser from 0x10053a170 to 0x10053a274 (260 bytes) // // 1 xrefs: // > ProfilePage::onFollow @ 0x1007b95f5 // // 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::followUser(GameLevelManager *a1, int a2) { double v2; // xmm0_8 cocos2d::CCDictionary *m_followedCreators; // r14 char v4; // al cocos2d::CCString *v5; // rax const char *CString; // r15 size_t v7; // rax size_t v8; // r12 char *v9; // r13 size_t v10; // rbx cocos2d::CCObject *v11; // [rsp+0h] [rbp-60h] __int16 v12; // [rsp+8h] [rbp-58h] BYREF char v13; // [rsp+Ah] [rbp-56h] void *v14; // [rsp+18h] [rbp-48h] _QWORD __dst[2]; // [rsp+20h] [rbp-40h] BYREF void *__p; // [rsp+30h] [rbp-30h] m_followedCreators = a1->m_followedCreators; v12 = 12546; v13 = 0; v4 = sub_1007AB360(&v12); v5 = (cocos2d::CCString *)sub_1007AB580("%i", v4); CString = cocos2d::CCString::getCString(v5); v7 = strlen(CString); if ( v7 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(v2); v8 = v7; if ( v7 >= 0x17 ) { v10 = 26; if ( (v7 | 7) != 0x17 ) v10 = (v7 | 7) + 1; v9 = (char *)operator new(v10); __p = v9; __dst[0] = v10 | 1; __dst[1] = v8; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v7; v9 = (char *)__dst + 1; if ( v7 ) LABEL_8: memmove(v9, CString, v8); v9[v8] = 0; cocos2d::CCDictionary::setObject_1((__int64)m_followedCreators, v11, (char *)__dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); if ( (v12 & 1) != 0 ) operator delete(v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source