// // GameLevelManager::onFollowUserCompleted from 0x140250fb0 to 0x14025120a (602 bytes) // // 3 xrefs: // > GameLevelManager::handleIt @ 0x14021b3f3 // > GameLevelManager::handleIt @ 0x14021b431 // > @ 0x14091c490 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:28:42 +0000 // // Hidden C++ exception states: #wind=6 void __fastcall GameLevelManager::onFollowUserCompleted(_QWORD *a1, const char *a2, _QWORD *a3, unsigned __int8 a4) { _BYTE *v8; // rdx __int64 v9; // rdx __int64 v10; // rcx __int64 v11; // r8 __int64 v12; // r9 unsigned __int64 v13; // rax size_t v14; // rax size_t v15; // r8 _QWORD *v16; // rdx const char *v17; // rcx unsigned int v18; // ebp char *v19; // r8 const char *v20; // rcx __int64 v21; // rcx __int64 v22; // rcx char *v23; // rcx void (__fastcall ***v24)(_QWORD, _QWORD, _QWORD); // rcx char *String[2]; // [rsp+48h] [rbp-50h] BYREF __m128i si128; // [rsp+58h] [rbp-40h] v8 = a3; if ( a3[3] > 0xFu ) v8 = (_BYTE *)*a3; GameLevelManager::removeDLFromActive((__int64)a1, v8); *(_OWORD *)String = 0; si128 = 0; v13 = a3[2]; if ( v13 < 7 ) sub_14003F4D0(v10, v9, v11, v12); v14 = v13 - 7; v15 = -1; if ( v14 != -1 ) v15 = v14; v16 = a3; if ( a3[3] > 0xFu ) v16 = (_QWORD *)*a3; sub_14003D230(String, (char *)v16 + 7, v15); v17 = (const char *)String; if ( si128.m128i_i64[1] > 0xFuLL ) v17 = String[0]; v18 = atoi(v17); if ( si128.m128i_i64[1] > 0xFuLL ) { v19 = String[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v19 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v19 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v19); } v20 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v20 = *(const char **)a2; if ( atoi(v20) >= 0 ) { if ( a4 ) GameLevelManager::followUser((__int64)a1); else GameLevelManager::unfollowUser((__int64)a1); GameLevelManager::resetStoredUserList(a1, 3); v22 = a1[187]; if ( v22 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v22 + 24LL))(v22, 3); if ( !a4 ) { String[1] = (char *)100; si128 = _mm_load_si128((const __m128i *)&xmmword_1408365A0); String[0] = (char *)0x6574756D5F746567LL; cocos2d::CCDictionary::removeObjectForKey(a1[144], String); if ( si128.m128i_i64[1] > 0xFuLL ) { v23 = String[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v23 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v23 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v23); } } v24 = (void (__fastcall ***)(_QWORD, _QWORD, _QWORD))a1[67]; if ( v24 ) (**v24)(v24, v18, a4); } else { v21 = a1[67]; if ( v21 ) (*(void (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)v21 + 8LL))(v21, v18, a4); } sub_14003D310((__int64)a2); sub_14003D310((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source