{"type": "func", "start": 5369682192, "end": 5369682362, "name": "MemberListPopup::onAddMember", "pseudocode": "// \n// MemberListPopup::onAddMember from 0x1400ed910 to 0x1400ed9ba (170 bytes)\n// \n// 2 xrefs:\n// > MemberListPopup::init @ 0x1400ebdea\n// > <???> @ 0x140914ff0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:26:35 +0000\n// \n\nvoid __fastcall MemberListPopup::onAddMember(__int64 a1)\n{\n  cocos2d::CCObject *v2; // rax\n  int v3; // ecx\n  _QWORD *v4; // rax\n\n  if ( !*(_BYTE *)(a1 + 864)\n    && *(int *)(a1 + 868) <= 0\n    && *(int *)(a1 + 872) <= 0\n    && *(int *)(a1 + 876) <= 0\n    && !*(_BYTE *)(a1 + 848) )\n  {\n    if ( !*(_QWORD *)(a1 + 856) )\n    {\n      v2 = (cocos2d::CCObject *)cocos2d::CCArray::create(a1);\n      *(_QWORD *)(a1 + 856) = v2;\n      cocos2d::CCObject::retain(v2);\n    }\n    cocos2d::CCArray::removeAllObjects(*(cocos2d::CCArray **)(a1 + 856));\n    v3 = a1 + 784;\n    if ( !a1 )\n      v3 = 0;\n    v4 = FriendPickerPopup::create(v3, 1u, 1u, 0, 1);\n    (*(void (__fastcall **)(_QWORD *))(*v4 + 1064LL))(v4);\n  }\n}", "assembly": "; \n; MemberListPopup::onAddMember from 0x1400ed910 to 0x1400ed9ba (170 bytes)\n; \n; 2 xrefs:\n; > MemberListPopup::init @ 0x1400ebdea\n; > <???> @ 0x140914ff0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:26:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400ed910\nsub     rsp, 30h                                                       ; +0x2, 0x1400ed912\ncmp     byte ptr [rcx+360h], 0                                         ; +0x6, 0x1400ed916\nmov     rbx, rcx                                                       ; +0xd, 0x1400ed91d\njnz     loc_1400ED9B4                                                  ; +0x10, 0x1400ed920\ncmp     dword ptr [rcx+364h], 0                                        ; +0x16, 0x1400ed926\njg      loc_1400ED9B4                                                  ; +0x1d, 0x1400ed92d\ncmp     dword ptr [rcx+368h], 0                                        ; +0x23, 0x1400ed933\njg      short loc_1400ED9B4                                            ; +0x2a, 0x1400ed93a\ncmp     dword ptr [rcx+36Ch], 0                                        ; +0x2c, 0x1400ed93c\njg      short loc_1400ED9B4                                            ; +0x33, 0x1400ed943\ncmp     byte ptr [rcx+350h], 0                                         ; +0x35, 0x1400ed945\njnz     short loc_1400ED9B4                                            ; +0x3c, 0x1400ed94c\ncmp     qword ptr [rcx+358h], 0                                        ; +0x3e, 0x1400ed94e\njnz     short loc_1400ED96E                                            ; +0x46, 0x1400ed956\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x48, 0x1400ed958\nmov     rcx, rax                                                       ; +0x4e, 0x1400ed95e\nmov     [rbx+358h], rax                                                ; +0x51, 0x1400ed961\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x58, 0x1400ed968\nmov     rcx, [rbx+358h]                                                ; +0x5e, 0x1400ed96e\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x65, 0x1400ed975\nxor     eax, eax                                                       ; +0x6b, 0x1400ed97b\nmov     [rsp+38h+var_18], 1                                            ; +0x6d, 0x1400ed97d\nmov     r8b, 1                                                         ; +0x72, 0x1400ed982\nlea     rcx, [rbx+310h]                                                ; +0x75, 0x1400ed985\ntest    rbx, rbx                                                       ; +0x7c, 0x1400ed98c\nmovzx   edx, r8b                                                       ; +0x7f, 0x1400ed98f\ncmovz   rcx, rax                                                       ; +0x83, 0x1400ed993\nxor     r9d, r9d                                                       ; +0x87, 0x1400ed997\ncall    FriendPickerPopup__create                                      ; +0x8a, 0x1400ed99a\nmov     rcx, [rax]                                                     ; +0x8f, 0x1400ed99f\nmov     rdx, [rcx+428h]                                                ; +0x92, 0x1400ed9a2\nmov     rcx, rax                                                       ; +0x99, 0x1400ed9a9\nadd     rsp, 30h                                                       ; +0x9c, 0x1400ed9ac\npop     rbx                                                            ; +0xa0, 0x1400ed9b0\njmp     rdx                                                            ; +0xa1, 0x1400ed9b1\nadd     rsp, 30h                                                       ; +0xa4, 0x1400ed9b4\npop     rbx                                                            ; +0xa8, 0x1400ed9b8\nretn                                                                   ; +0xa9, 0x1400ed9b9", "xrefs": ["MemberListPopup::init @ 0x1400ebdea", "<???> @ 0x140914ff0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}