// // GameLevelManager::getStoredUserList from 0x140257b80 to 0x140257e62 (738 bytes) // // 6 xrefs: // > FriendPickerPopup::init @ 0x1400e752c // > GJCompactUserCell::buildUserRow @ 0x14015832c // > FriendsProfilePage::init @ 0x1402144de // > GameLevelManager::onRemoveFriendCompleted @ 0x1402564bb // > GameLevelManager::removeUserFromList @ 0x1402571c0 // > @ 0x14091c64c // // 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 __int64 __fastcall GameLevelManager::getStoredUserList(__int64 a1, int a2) { int v2; // edx int v3; // edx __int64 v5; // rbx void *v6; // r8 void *Block[2]; // [rsp+30h] [rbp-30h] BYREF __m128i si128; // [rsp+40h] [rbp-20h] if ( a2 ) { v2 = a2 - 1; if ( v2 ) { v3 = v2 - 2; if ( v3 ) { if ( v3 != 1 ) return 0; Block[1] = (void *)100; si128 = _mm_load_si128((const __m128i *)&xmmword_1408365A0); Block[0] = (void *)0x6574756D5F746567LL; v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1152), Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v6 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } LABEL_22: j_j_free(v6); } } else { si128 = _mm_load_si128((const __m128i *)&xmmword_1408365E0); strcpy((char *)Block, "get_following"); HIWORD(Block[1]) = 0; v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1152), Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v6 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } goto LABEL_22; } } } else { 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]; v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1152), Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v6 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } goto LABEL_22; } } } else { 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]; v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1152), Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v6 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } goto LABEL_22; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source