// // MusicBrowser::textChanged from 0x10046a80c to 0x10046a8f4 (232 bytes) // // 2 xrefs: // > sub_10046A910 @ 0x10046a914 // > @ 0x10096b3e0 // // 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 11:05:34 +0000 // void __fastcall MusicBrowser::textChanged(__int64 a1, __int64 a2) { __int64 v3; // x0 __int64 v4; // x9 std::string *v5; // x20 char v6; // w21 size_t size; // x2 __int64 v8; // x10 __int64 v9; // x9 std::string *p_str; // x0 std::string *v11; // x1 unsigned int *v12; // x0 std::string __str; // [xsp+8h] [xbp-38h] BYREF if ( *(_BYTE *)(a1 + 800) == 1 ) { v3 = *(_QWORD *)(a1 + 776); if ( v3 == a2 ) { if ( *(_QWORD *)(a1 + 712) ) { CCTextInputNode::getString(v3, &__str); v4 = *(_QWORD *)(a1 + 712); v5 = (std::string *)(v4 + 104); v6 = HIBYTE(__str.__r_.__value_.__r.__words[2]); if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) size = HIBYTE(__str.__r_.__value_.__r.__words[2]); else size = __str.__r_.__value_.__l.__size_; v8 = *(unsigned __int8 *)(v4 + 127); v9 = *(_QWORD *)(v4 + 112); if ( (v8 & 0x80u) == 0LL ) v9 = v8; if ( size != v9 || ((__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ? (p_str = &__str) : (p_str = (std::string *)__str.__r_.__value_.__r.__words[0]), (v8 & 0x80u) == 0LL ? (v11 = v5) : (v11 = (std::string *)v5->__r_.__value_.__r.__words[0]), memcmp(p_str, v11, size)) ) { std::string::operator=(v5, &__str); v12 = *(unsigned int **)(a1 + 712); v12[24] = 0; sub_1001E45F4(v12); sub_100469F94(a1, *(_QWORD *)(a1 + 712)); v6 = HIBYTE(__str.__r_.__value_.__r.__words[2]); } if ( v6 < 0 ) operator delete(__str.__r_.__value_.__l.__data_); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source