{"type": "func", "start": 5369682800, "end": 5369682920, "name": "MemberListPopup::isRecipientSelected", "pseudocode": "// \n// MemberListPopup::isRecipientSelected from 0x1400edb70 to 0x1400edbe8 (120 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140729298\n// > <???> @ 0x140915008\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\nchar __fastcall MemberListPopup::isRecipientSelected(__int64 a1, int a2)\n{\n  cocos2d::CCArray *v4; // rcx\n  unsigned int v5; // ebx\n\n  v4 = *(cocos2d::CCArray **)(a1 + 72);\n  if ( !v4 )\n    return 0;\n  v5 = 0;\n  if ( (int)cocos2d::CCArray::count(v4) <= 0 )\n    return 0;\n  while ( *((_DWORD *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 72), v5) + 98) != a2 )\n  {\n    if ( (int)++v5 >= (int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 72)) )\n      return 0;\n  }\n  return 1;\n}", "assembly": "; \n; MemberListPopup::isRecipientSelected from 0x1400edb70 to 0x1400edbe8 (120 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140729298\n; > <???> @ 0x140915008\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400edb70\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1400edb75\npush    rdi                                                            ; +0xa, 0x1400edb7a\nsub     rsp, 20h                                                       ; +0xb, 0x1400edb7b\nmov     rdi, rcx                                                       ; +0xf, 0x1400edb7f\nmov     esi, edx                                                       ; +0x12, 0x1400edb82\nmov     rcx, [rcx+48h]                                                 ; +0x14, 0x1400edb84\ntest    rcx, rcx                                                       ; +0x18, 0x1400edb88\njz      short loc_1400EDBC4                                            ; +0x1b, 0x1400edb8b\nxor     ebx, ebx                                                       ; +0x1d, 0x1400edb8d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1f, 0x1400edb8f\ntest    eax, eax                                                       ; +0x25, 0x1400edb95\njle     short loc_1400EDBC4                                            ; +0x27, 0x1400edb97\nnop     dword ptr [rax+00000000h]                                      ; +0x29, 0x1400edb99\nmov     rcx, [rdi+48h]                                                 ; +0x30, 0x1400edba0\nmov     edx, ebx                                                       ; +0x34, 0x1400edba4\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x1400edba6\ncmp     [rax+188h], esi                                                ; +0x3c, 0x1400edbac\njz      short loc_1400EDBD6                                            ; +0x42, 0x1400edbb2\nmov     rcx, [rdi+48h]                                                 ; +0x44, 0x1400edbb4\ninc     ebx                                                            ; +0x48, 0x1400edbb8\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4a, 0x1400edbba\ncmp     ebx, eax                                                       ; +0x50, 0x1400edbc0\njl      short loc_1400EDBA0                                            ; +0x52, 0x1400edbc2\nxor     al, al                                                         ; +0x54, 0x1400edbc4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x56, 0x1400edbc6\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5b, 0x1400edbcb\nadd     rsp, 20h                                                       ; +0x60, 0x1400edbd0\npop     rdi                                                            ; +0x64, 0x1400edbd4\nretn                                                                   ; +0x65, 0x1400edbd5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x1400edbd6\nmov     al, 1                                                          ; +0x6b, 0x1400edbdb\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6d, 0x1400edbdd\nadd     rsp, 20h                                                       ; +0x72, 0x1400edbe2\npop     rdi                                                            ; +0x76, 0x1400edbe6\nretn                                                                   ; +0x77, 0x1400edbe7", "xrefs": ["<???> @ 0x140729298", "<???> @ 0x140915008"], "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"}