// // GameLevelManager::resetStoredUserList from 0x140257e70 to 0x140258138 (712 bytes) // // 14 xrefs: // > FriendsProfilePage::onUpdate @ 0x140216f7b // > GameLevelManager::onMuteUserCompleted @ 0x14024fa9f // > GameLevelManager::onFollowUserCompleted @ 0x140251104 // > GameLevelManager::onAcceptFriendRequestCompleted @ 0x140255c30 // > GameLevelManager::onBlockUserCompleted @ 0x140256b0e // > ProfilePage::init @ 0x140550bd9 // > ProfilePage::init @ 0x140550c20 // > ProfilePage::init @ 0x140550c67 // > ProfilePage::init @ 0x140550cae // > ProfilePage::onUpdate @ 0x1405520af // > ProfilePage::onUpdate @ 0x1405520f6 // > ProfilePage::onUpdate @ 0x14055213d // > ProfilePage::onUpdate @ 0x140552184 // > @ 0x14091c658 // // 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:44 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall GameLevelManager::resetStoredUserList(__int64 a1, int a2) { int v2; // edx int v3; // edx void *v4; // rcx void *Block[2]; // [rsp+30h] [rbp-30h] BYREF __m128i si128; // [rsp+40h] [rbp-20h] if ( !a2 ) { HIWORD(Block[1]) = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_1408365C0); qmemcpy(Block, "get_friend", 10); *(_DWORD *)((char *)&Block[1] + 2) = (unsigned __int8)aGetFriends[10]; cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), Block); if ( si128.m128i_i64[1] <= 0xFuLL ) return; v4 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v4 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } goto LABEL_21; } v2 = a2 - 1; if ( !v2 ) { HIWORD(Block[1]) = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_1408365C0); qmemcpy(Block, "get_blocke", 10); *(_DWORD *)((char *)&Block[1] + 2) = (unsigned __int8)aGetBlocked[10]; cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), Block); if ( si128.m128i_i64[1] <= 0xFuLL ) return; v4 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v4 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } goto LABEL_21; } v3 = v2 - 2; if ( !v3 ) { si128 = _mm_load_si128((const __m128i *)&xmmword_1408365E0); strcpy((char *)Block, "get_following"); HIWORD(Block[1]) = 0; cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), Block); if ( si128.m128i_i64[1] <= 0xFuLL ) return; v4 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v4 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } goto LABEL_21; } if ( v3 == 1 ) { Block[1] = (void *)100; si128 = _mm_load_si128((const __m128i *)&xmmword_1408365A0); Block[0] = (void *)0x6574756D5F746567LL; cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v4 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v4 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } LABEL_21: j_j_free(v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source