// // MessageThreadsPage::updateFilterButtons from 0x10092b660 to 0x10092b73e (222 bytes) // // 4 xrefs: // > MessageThreadsPage::onSearch @ 0x100929983 // > MessageThreadsPage::onSelectFilter @ 0x100929b60 // > MessageThreadsPage::onRefresh @ 0x100929cda // > MessageThreadsPage::friendPickerClosed @ 0x10092bda0 // // 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 12:38:21 +0000 // __int64 __fastcall MessageThreadsPage::updateFilterButtons(__int64 a1) { std::string::size_type size; // rax __int64 v3; // rsi std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v4; // r14 unsigned __int8 v5; // cl char v6; // r14 size_t v7; // rdx unsigned int v8; // eax std::string::pointer data; // rdi std::string *v10; // rbx std::string __str; // [rsp+8h] [rbp-28h] BYREF v3 = *(_QWORD *)(a1 + 784); if ( v3 ) { CCTextInputNode::getString(&__str, v3); v4 = __str.__r_.__value_.__s.0; size = __str.__r_.__value_.__l.__size_; } else { *(_WORD *)&__str.__r_.__value_.__l.0 = 0; v4 = 0; } v5 = *(unsigned __int8 *)&v4 >> 1; v6 = *(_BYTE *)&v4 & 1; v7 = v5; if ( v6 ) v7 = size; v8 = *(unsigned __int8 *)(a1 + 808); if ( (v8 & 1) == 0 ) { if ( v7 != v8 >> 1 ) goto LABEL_13; LABEL_10: if ( v6 ) { data = __str.__r_.__value_.__l.__data_; if ( (v8 & 1) == 0 ) goto LABEL_12; } else { data = __str.__r_.__value_.__s.__data_; if ( (v8 & 1) == 0 ) { LABEL_12: if ( memcmp(data, (const void *)(a1 + 809), v7) ) goto LABEL_13; goto LABEL_18; } } if ( memcmp(data, *(const void **)(a1 + 824), v7) ) goto LABEL_13; LABEL_18: LODWORD(v10) = 0; if ( !v6 ) return (unsigned int)v10; goto LABEL_14; } if ( v7 == *(_QWORD *)(a1 + 816) ) goto LABEL_10; LABEL_13: v10 = (std::string *)(a1 + 808); std::string::operator=(v10, &__str); LOBYTE(v10) = 1; if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) LABEL_14: operator delete(__str.__r_.__value_.__l.__data_); return (unsigned int)v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source