// // sub_10057BF90 from 0x10057bf90 to 0x10057c091 (257 bytes) // // 3 xrefs: // > GameLevelManager::removeUserFromList @ 0x10057c5a8 // > FriendsProfilePage::init @ 0x100735a35 // > FriendPickerPopup::init @ 0x10093cdec // // 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 12:32:18 +0000 // __int64 __fastcall sub_10057BF90(__int64 a1, int a2) { __int64 result; // rax __int64 v3; // rdi __int64 v4; // rdi __int64 v5; // rdi __int64 v6; // rdi __int64 v7; // rbx char v8; // [rsp+0h] [rbp-20h] BYREF void *v9[3]; // [rsp+1h] [rbp-1Fh] BYREF result = 0; switch ( a2 ) { case 0: v3 = *(_QWORD *)(a1 + 1040); v8 = 22; strcpy((char *)v9, "get_friends"); result = cocos2d::CCDictionary::objectForKey(v3, &v8); goto LABEL_6; case 1: v5 = *(_QWORD *)(a1 + 1040); v8 = 22; strcpy((char *)v9, "get_blocked"); result = cocos2d::CCDictionary::objectForKey(v5, &v8); goto LABEL_6; case 3: v4 = *(_QWORD *)(a1 + 1040); v8 = 26; strcpy((char *)v9, "get_following"); result = cocos2d::CCDictionary::objectForKey(v4, &v8); goto LABEL_6; case 4: v6 = *(_QWORD *)(a1 + 1040); v8 = 18; strcpy((char *)v9, "get_muted"); result = cocos2d::CCDictionary::objectForKey(v6, &v8); LABEL_6: if ( (v8 & 1) != 0 ) { v7 = result; operator delete(*(void **)((char *)&v9[1] + 7)); result = v7; } break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source