//
// MessageThreadsPage::friendPickerClosed from 0x1400d7b20 to 0x1400d7bf8 (216 bytes)
//
// 2 xrefs:
// > ??> @ 0x14072da28
// > ??> @ 0x1409146f0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:26:27 +0000
//
void __fastcall MessageThreadsPage::friendPickerClosed(_QWORD *a1)
{
_QWORD *v1; // rdi
char v3; // si
__int64 v4; // rax
const void *v5; // rdx
const void *v6; // rcx
size_t v7; // r8
char v8; // bl
_BYTE v9[32]; // [rsp+28h] [rbp-30h] BYREF
v1 = a1 - 85;
v3 = 0;
MessageThreadsPage::refreshUserFilterBtn(a1 - 85);
if ( (unsigned __int8)MessageThreadsPage::syncSearchFromBox(v1) )
goto LABEL_10;
v4 = MessageThreadsPage::userFilterCSV(v1, v9);
v5 = a1 + 27;
v3 = 1;
if ( a1[30] > 0xFu )
v5 = (const void *)a1[27];
v6 = (const void *)v4;
if ( *(_QWORD *)(v4 + 24) > 0xFu )
v6 = *(const void **)v4;
v7 = *(_QWORD *)(v4 + 16);
if ( v7 != a1[29] || v7 && memcmp(v6, v5, v7) )
LABEL_10:
v8 = 1;
else
v8 = 0;
if ( (v3 & 1) != 0 )
sub_14003D310((__int64)v9);
if ( v8 )
MessageThreadsPage::loadPage((__int64)v1, 0, 0);
}