// // MemberListPopup::friendPicked from 0x1400ed9c0 to 0x1400edb62 (418 bytes) // // 2 xrefs: // > @ 0x140729290 // > @ 0x140914ffc // // 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:26:35 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall MemberListPopup::friendPicked(__int64 a1, struct cocos2d::CCObject *a2) { cocos2d::CCArray *v4; // rcx unsigned int v5; // ebx struct cocos2d::CCObject *v6; // rax cocos2d::CCArray *v7; // rcx int v8; // ebx __int64 v9; // rcx __int64 *v10; // rdi __int64 v11; // rbx __int64 v12; // rdx __int64 v13; // r8 __int64 v14; // rax __int128 v15; // [rsp+30h] [rbp-48h] BYREF __int64 v16; // [rsp+40h] [rbp-38h] __int64 v17; // [rsp+48h] [rbp-30h] __int128 v18; // [rsp+50h] [rbp-28h] BYREF __int64 v19; // [rsp+60h] [rbp-18h] __int64 v20; // [rsp+68h] [rbp-10h] if ( a2 ) { v4 = *(cocos2d::CCArray **)(a1 + 72); if ( v4 ) { v5 = 0; if ( (int)cocos2d::CCArray::count(v4) <= 0 ) { LABEL_6: v8 = *(_DWORD *)(*(_QWORD *)(a1 + 16) + 200LL); if ( (int)(v8 + cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 72))) < 10 ) { cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 72), a2); } else { v10 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v9) + 272); v18 = 0; v19 = 0; v20 = 15; LOBYTE(v18) = 0; v15 = 0; *(_QWORD *)&v15 = sub_14003D460(0x20u); v16 = 20; v17 = 31; strcpy((char *)v15, "Member limit reached"); v11 = *v10; v14 = TextAlertPopup::create(&v15, v12, v13, 150, &v18); (*(void (__fastcall **)(__int64 *, __int64, __int64))(v11 + 456))(v10, v14, 1000); } } else { while ( 1 ) { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 72), v5); v7 = *(cocos2d::CCArray **)(a1 + 72); if ( *((_DWORD *)v6 + 98) == *((_DWORD *)a2 + 98) ) break; if ( (int)++v5 >= (int)cocos2d::CCArray::count(v7) ) goto LABEL_6; } cocos2d::CCArray::removeObjectAtIndex(v7, v5, 1); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source