// // MessageThreadsPage::syncSearchFromBox from 0xc78598 to 0xc78740 (424 bytes) // // 5 xrefs: // > MessageThreadsPage::onSearch @ 0xc7876c // > MessageThreadsPage::friendPickerClosed @ 0xc787b4 // > MessageThreadsPage::onSelectFilter @ 0xc78910 // > MessageThreadsPage::onRefresh @ 0xc78a4c // > @ 0xe3968 // // This function is hookable on this platform (idp: arm, 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 13:05:34 +0000 // __int64 __fastcall MessageThreadsPage::syncSearchFromBox(MessageThreadsPage *this) { CCTextInputNode *v2; // x0 int v3; // w4 size_t v4; // x2 unsigned __int8 v5; // w0 __int64 *v6; // x22 int v7; // w5 __int64 v8; // x1 char *v9; // x1 size_t v10; // x2 unsigned int v11; // w19 unsigned __int8 *v13; // x0 unsigned __int8 *v14; // x1 unsigned __int8 *v15; // x4 unsigned __int8 *v16; // x2 int v17; // t1 __int64 v18; // [xsp+30h] [xbp+30h] BYREF size_t v19; // [xsp+38h] [xbp+38h] void *v20; // [xsp+40h] [xbp+40h] v2 = *((CCTextInputNode **)this + 98); if ( v2 ) { CCTextInputNode::getString(v2, &v18); } else { v18 = 0; v19 = 0; v20 = nullptr; std::string::__init(&v18, &byte_11B8890, 0); } v3 = v18 & 1; v4 = (unsigned __int8)v18 >> 1; if ( v3 ) v4 = v19; v5 = *((_BYTE *)this + 808); v6 = (__int64 *)((char *)this + 808); v7 = v5 & 1; v8 = v5 >> 1; if ( (v5 & 1) != 0 ) v8 = *((_QWORD *)this + 102); if ( v4 != v8 ) { if ( v6 == &v18 ) goto LABEL_12; if ( v3 ) goto LABEL_10; LABEL_23: v10 = (unsigned __int8)v18 >> 1; v9 = (char *)&v18 + 1; goto LABEL_11; } v13 = (unsigned __int8 *)&v18 + 1; if ( v3 ) v13 = (unsigned __int8 *)v20; v14 = (unsigned __int8 *)this + 809; if ( v7 ) v14 = *((unsigned __int8 **)this + 103); if ( !v3 ) { if ( v4 ) { if ( *v13 != *v14 ) { LABEL_22: v11 = 1; if ( v6 == &v18 ) return v11; goto LABEL_23; } v15 = v13 + 1; v16 = &v13[v4]; while ( 1 ) { ++v14; if ( v15 == v16 ) break; v17 = *v15++; if ( *v14 != v17 ) goto LABEL_22; } } return 0; } v11 = 0; if ( !v4 ) goto LABEL_21; if ( !memcmp(v13, v14, v4) ) goto LABEL_21; v11 = 1; if ( v6 == &v18 ) goto LABEL_21; LABEL_10: v9 = (char *)v20; v10 = v19; LABEL_11: std::string::assign(v6, v9, v10); v3 = v18 & 1; LABEL_12: v11 = 1; if ( v3 ) LABEL_21: operator delete(v20); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source