// // GameLevelManager::followUser from 0x6f38b4 to 0x6f3a68 (436 bytes) // // 2 xrefs: // > ProfilePage::onFollow @ 0x8f8604 // > @ 0x7dd90 // // 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 GameLevelManager::followUser(GameLevelManager *a1, int a2) { cocos2d::CCDictionary *m_followedCreators; // x22 const std::string *v4; // x1 cocos2d::CCObject *v5; // x19 cocos2d::CCString *v6; // x0 char *CString; // x0 void *v8; // x0 void *v9; // x0 unsigned int *v10; // x1 int v11; // w2 unsigned int *v12; // x1 int v13; // w2 __int64 v14; // [xsp+48h] [xbp+48h] BYREF __int64 v15; // [xsp+50h] [xbp+50h] BYREF m_followedCreators = a1->m_followedCreators; sub_D153B8((int)&v14, "1"); v5 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v14, v4); v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)(unsigned int)a2); CString = (char *)cocos2d::CCString::getCString(v6); sub_D153B8((int)&v15, CString); cocos2d::CCDictionary::setObject((int)m_followedCreators, v5); v8 = (void *)(v15 - 24); if ( (__int64 *)(v15 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v10 = (unsigned int *)(v15 - 8); do v11 = __ldaxr(v10); while ( __stlxr(v11 - 1, v10) ); } else { v11 = *(_DWORD *)(v15 - 8); *(_DWORD *)(v15 - 8) = v11 - 1; } if ( v11 <= 0 ) operator delete(v8); } v9 = (void *)(v14 - 24); if ( (__int64 *)(v14 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v12 = (unsigned int *)(v14 - 8); do v13 = __ldaxr(v12); while ( __stlxr(v13 - 1, v12) ); } else { v13 = *(_DWORD *)(v14 - 8); *(_DWORD *)(v14 - 8) = v13 - 1; } if ( v13 <= 0 ) operator delete(v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source