// // MusicBrowser::textChanged from 0x1006ea7e0 to 0x1006ea8e9 (265 bytes) // // 2 xrefs: // > sub_1006EA910 @ 0x1006ea91c // > @ 0x100b94580 // // 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:35:49 +0000 // void __fastcall MusicBrowser::textChanged(__int64 a1, __int64 a2) { __int64 v4; // rsi __int64 v5; // r14 char v6; // r15 size_t size; // rdx unsigned int v8; // eax std::string::pointer data; // rdi unsigned int *v10; // rdi std::string __str; // [rsp+0h] [rbp-30h] BYREF if ( *(_BYTE *)(a1 + 800) == 1 ) { v4 = *(_QWORD *)(a1 + 776); if ( v4 == a2 ) { if ( *(_QWORD *)(a1 + 712) ) { CCTextInputNode::getString(&__str, v4); v5 = *(_QWORD *)(a1 + 712); v6 = *(_BYTE *)&__str.__r_.__value_.__s.0 & 1; if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) { size = __str.__r_.__value_.__l.__size_; v8 = *(unsigned __int8 *)(v5 + 104); if ( (v8 & 1) == 0 ) goto LABEL_7; } else { size = *(_BYTE *)&__str.__r_.__value_.__l.0 >> 1; v8 = *(unsigned __int8 *)(v5 + 104); if ( (v8 & 1) == 0 ) { LABEL_7: if ( size != v8 >> 1 ) goto LABEL_17; goto LABEL_11; } } if ( size != *(_QWORD *)(v5 + 112) ) goto LABEL_17; LABEL_11: if ( v6 ) { data = __str.__r_.__value_.__l.__data_; if ( (v8 & 1) == 0 ) goto LABEL_13; } else { data = __str.__r_.__value_.__s.__data_; if ( (v8 & 1) == 0 ) { LABEL_13: if ( !memcmp(data, (const void *)(v5 + 105), size) ) { LABEL_18: if ( v6 ) operator delete(__str.__r_.__value_.__l.__data_); return; } LABEL_17: std::string::operator=((std::string *)(v5 + 104), &__str); v10 = *(unsigned int **)(a1 + 712); v10[24] = 0; MusicSearchResult::updateObjects(v10); MusicBrowser::setupList(a1, *(_QWORD *)(a1 + 712)); v6 = *(_BYTE *)&__str.__r_.__value_.__s.0 & 1; goto LABEL_18; } } if ( !memcmp(data, *(const void **)(v5 + 120), size) ) goto LABEL_18; goto LABEL_17; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source