{"type": "func", "start": 4300244336, "end": 4300244460, "name": "MemberListPopup::isRecipientSelected", "pseudocode": "// \n// MemberListPopup::isRecipientSelected from 0x100508570 to 0x1005085ec (124 bytes)\n// \n// 2 xrefs:\n// > sub_1005085EC @ 0x1005085f0\n// > <???> @ 0x100998148\n// \n// This function is hookable on this platform (idp: arm, 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:06:57 +0000\n// \n\nbool __fastcall MemberListPopup::isRecipientSelected(__int64 a1, int a2)\n{\n  __int64 v3; // x0\n  signed int v5; // w21\n  int v6; // w8\n  _BOOL8 v7; // x22\n\n  v3 = *(_QWORD *)(a1 + 856);\n  if ( !v3 || (int)sub_1002E757C(v3) < 1 )\n    return 0;\n  v5 = 0;\n  do\n  {\n    v6 = *(_DWORD *)(sub_1002E75A0(*(_QWORD *)(a1 + 856), v5) + 376);\n    v7 = v6 == a2;\n    if ( v6 == a2 )\n      break;\n    ++v5;\n  }\n  while ( v5 < (int)sub_1002E757C(*(_QWORD *)(a1 + 856)) );\n  return v7;\n}", "assembly": "; \n; MemberListPopup::isRecipientSelected from 0x100508570 to 0x1005085ec (124 bytes)\n; \n; 2 xrefs:\n; > sub_1005085EC @ 0x1005085f0\n; > <???> @ 0x100998148\n; \n; This function is hookable on this platform (idp: arm, 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:06:57 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100508570\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100508574\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100508578\nADD             X29, SP, #0x20                                         ; +0xc, 0x10050857c\nMOV             X20, X0                                                ; +0x10, 0x100508580\nLDR             X0, [X0,#0x358]                                        ; +0x14, 0x100508584\nCBZ             X0, loc_1005085D4                                      ; +0x18, 0x100508588\nMOV             X19, X1                                                ; +0x1c, 0x10050858c\nBL              sub_1002E757C                                          ; +0x20, 0x100508590\nCMP             W0, #1                                                 ; +0x24, 0x100508594\nB.LT            loc_1005085D4                                          ; +0x28, 0x100508598\nMOV             W21, #0                                                ; +0x2c, 0x10050859c\nLDR             X0, [X20,#0x358]                                       ; +0x30, 0x1005085a0\nMOV             X1, X21                                                ; +0x34, 0x1005085a4\nBL              sub_1002E75A0                                          ; +0x38, 0x1005085a8\nLDR             W8, [X0,#0x178]                                        ; +0x3c, 0x1005085ac\nCMP             W8, W19                                                ; +0x40, 0x1005085b0\nCSET            W22, EQ                                                ; +0x44, 0x1005085b4\nB.EQ            loc_1005085D8                                          ; +0x48, 0x1005085b8\nADD             W21, W21, #1                                           ; +0x4c, 0x1005085bc\nLDR             X0, [X20,#0x358]                                       ; +0x50, 0x1005085c0\nBL              sub_1002E757C                                          ; +0x54, 0x1005085c4\nCMP             W21, W0                                                ; +0x58, 0x1005085c8\nB.LT            loc_1005085A0                                          ; +0x5c, 0x1005085cc\nB               loc_1005085D8                                          ; +0x60, 0x1005085d0\nMOV             W22, #0                                                ; +0x64, 0x1005085d4\nMOV             X0, X22                                                ; +0x68, 0x1005085d8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x6c, 0x1005085dc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x70, 0x1005085e0\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x74, 0x1005085e4\nRET                                                                    ; +0x78, 0x1005085e8", "xrefs": ["sub_1005085EC @ 0x1005085f0", "<???> @ 0x100998148"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}