{"type": "func", "start": 5369657728, "end": 5369657811, "name": "FriendPickerPopup::onToggleSelectedView", "pseudocode": "// \n// FriendPickerPopup::onToggleSelectedView from 0x1400e7980 to 0x1400e79d3 (83 bytes)\n// \n// 2 xrefs:\n// > FriendPickerPopup::init @ 0x1400e744a\n// > <???> @ 0x140914d38\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:33 +0000\n// \n\n__int64 __fastcall FriendPickerPopup::onToggleSelectedView(__int64 a1)\n{\n  char v1; // r8\n  __int64 v3; // rcx\n  __int64 v4; // rcx\n  __int64 v5; // rdx\n\n  v1 = *(_BYTE *)(a1 + 864);\n  *(_BYTE *)(a1 + 864) = v1 == 0;\n  v3 = *(_QWORD *)(a1 + 888);\n  if ( v3 )\n  {\n    v4 = v3 + 320;\n    v5 = 140;\n    if ( !v1 )\n      v5 = 255;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 40LL))(v4, v5);\n  }\n  return FriendPickerPopup::buildRows(a1);\n}", "assembly": "; \n; FriendPickerPopup::onToggleSelectedView from 0x1400e7980 to 0x1400e79d3 (83 bytes)\n; \n; 2 xrefs:\n; > FriendPickerPopup::init @ 0x1400e744a\n; > <???> @ 0x140914d38\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:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400e7980\nsub     rsp, 20h                                                       ; +0x2, 0x1400e7982\nmovzx   r8d, byte ptr [rcx+360h]                                       ; +0x6, 0x1400e7986\nmov     rbx, rcx                                                       ; +0xe, 0x1400e798e\ntest    r8b, r8b                                                       ; +0x11, 0x1400e7991\nsetz    al                                                             ; +0x14, 0x1400e7994\nmov     [rcx+360h], al                                                 ; +0x17, 0x1400e7997\nmov     rcx, [rcx+378h]                                                ; +0x1d, 0x1400e799d\ntest    rcx, rcx                                                       ; +0x24, 0x1400e79a4\njz      short loc_1400E79C6                                            ; +0x27, 0x1400e79a7\nadd     rcx, 140h                                                      ; +0x29, 0x1400e79a9\nmov     edx, 8Ch                                                       ; +0x30, 0x1400e79b0\ntest    r8b, r8b                                                       ; +0x35, 0x1400e79b5\nmov     eax, 0FFh                                                      ; +0x38, 0x1400e79b8\ncmovz   edx, eax                                                       ; +0x3d, 0x1400e79bd\nmov     rax, [rcx]                                                     ; +0x40, 0x1400e79c0\ncall    qword ptr [rax+28h]                                            ; +0x43, 0x1400e79c3\nmov     rcx, rbx                                                       ; +0x46, 0x1400e79c6\nadd     rsp, 20h                                                       ; +0x49, 0x1400e79c9\npop     rbx                                                            ; +0x4d, 0x1400e79cd\njmp     FriendPickerPopup__buildRows                                   ; +0x4e, 0x1400e79ce", "xrefs": ["FriendPickerPopup::init @ 0x1400e744a", "<???> @ 0x140914d38"], "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"}