{"type": "func", "start": 4300171792, "end": 4300171916, "name": "MessageThreadsPage::isRecipientSelected", "pseudocode": "// \n// MessageThreadsPage::isRecipientSelected from 0x1004f6a10 to 0x1004f6a8c (124 bytes)\n// \n// 2 xrefs:\n// > sub_1004F6A8C @ 0x1004f6a90\n// > <???> @ 0x100994fc8\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:48 +0000\n// \n\nbool __fastcall MessageThreadsPage::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 + 880);\n  if ( !v3 || (int)sub_1002E757C(v3) < 1 )\n    return 0;\n  v5 = 0;\n  do\n  {\n    v6 = *(_DWORD *)(sub_1002E75A0(*(_QWORD *)(a1 + 880), v5) + 376);\n    v7 = v6 == a2;\n    if ( v6 == a2 )\n      break;\n    ++v5;\n  }\n  while ( v5 < (int)sub_1002E757C(*(_QWORD *)(a1 + 880)) );\n  return v7;\n}", "assembly": "; \n; MessageThreadsPage::isRecipientSelected from 0x1004f6a10 to 0x1004f6a8c (124 bytes)\n; \n; 2 xrefs:\n; > sub_1004F6A8C @ 0x1004f6a90\n; > <???> @ 0x100994fc8\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:48 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1004f6a10\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1004f6a14\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1004f6a18\nADD             X29, SP, #0x20                                         ; +0xc, 0x1004f6a1c\nMOV             X20, X0                                                ; +0x10, 0x1004f6a20\nLDR             X0, [X0,#0x370]                                        ; +0x14, 0x1004f6a24\nCBZ             X0, loc_1004F6A74                                      ; +0x18, 0x1004f6a28\nMOV             X19, X1                                                ; +0x1c, 0x1004f6a2c\nBL              sub_1002E757C                                          ; +0x20, 0x1004f6a30\nCMP             W0, #1                                                 ; +0x24, 0x1004f6a34\nB.LT            loc_1004F6A74                                          ; +0x28, 0x1004f6a38\nMOV             W21, #0                                                ; +0x2c, 0x1004f6a3c\nLDR             X0, [X20,#0x370]                                       ; +0x30, 0x1004f6a40\nMOV             X1, X21                                                ; +0x34, 0x1004f6a44\nBL              sub_1002E75A0                                          ; +0x38, 0x1004f6a48\nLDR             W8, [X0,#0x178]                                        ; +0x3c, 0x1004f6a4c\nCMP             W8, W19                                                ; +0x40, 0x1004f6a50\nCSET            W22, EQ                                                ; +0x44, 0x1004f6a54\nB.EQ            loc_1004F6A78                                          ; +0x48, 0x1004f6a58\nADD             W21, W21, #1                                           ; +0x4c, 0x1004f6a5c\nLDR             X0, [X20,#0x370]                                       ; +0x50, 0x1004f6a60\nBL              sub_1002E757C                                          ; +0x54, 0x1004f6a64\nCMP             W21, W0                                                ; +0x58, 0x1004f6a68\nB.LT            loc_1004F6A40                                          ; +0x5c, 0x1004f6a6c\nB               loc_1004F6A78                                          ; +0x60, 0x1004f6a70\nMOV             W22, #0                                                ; +0x64, 0x1004f6a74\nMOV             X0, X22                                                ; +0x68, 0x1004f6a78\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x6c, 0x1004f6a7c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x70, 0x1004f6a80\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x74, 0x1004f6a84\nRET                                                                    ; +0x78, 0x1004f6a88", "xrefs": ["sub_1004F6A8C @ 0x1004f6a90", "<???> @ 0x100994fc8"], "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"}