// // OptionsScrollLayer::textChanged from 0x1006ebd30 to 0x1006ebe10 (224 bytes) // // 2 xrefs: // > sub_1006EBE30 @ 0x1006ebe3c // > @ 0x100b94df8 // // 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 OptionsScrollLayer::textChanged(std::string *a1, __int64 a2) { __int64 v3; // rsi char v5; // r14 size_t size; // rdx unsigned int v7; // eax std::string::pointer data; // rdi std::string __str; // [rsp+8h] [rbp-28h] BYREF v3 = a1[29].__r_.__value_.__r.__words[0]; if ( v3 == a2 ) { CCTextInputNode::getString(&__str, v3); v5 = *(_BYTE *)&__str.__r_.__value_.__s.0 & 1; if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) { size = __str.__r_.__value_.__l.__size_; v7 = (unsigned int)a1[30].__r_.__value_.__l.0; if ( (v7 & 1) == 0 ) goto LABEL_4; } else { size = *(_BYTE *)&__str.__r_.__value_.__l.0 >> 1; v7 = (unsigned int)a1[30].__r_.__value_.__l.0; if ( (v7 & 1) == 0 ) { LABEL_4: if ( size != v7 >> 1 ) goto LABEL_14; goto LABEL_8; } } if ( size != a1[30].__r_.__value_.__l.__size_ ) goto LABEL_14; LABEL_8: if ( v5 ) { data = __str.__r_.__value_.__l.__data_; if ( (v7 & 1) == 0 ) goto LABEL_10; } else { data = __str.__r_.__value_.__s.__data_; if ( (v7 & 1) == 0 ) { LABEL_10: if ( !memcmp(data, (char *)&a1[30].__r_.__value_.__l.0 + 1, size) ) { LABEL_15: if ( v5 ) operator delete(__str.__r_.__value_.__l.__data_); return; } LABEL_14: std::string::operator=(a1 + 30, &__str); OptionsScrollLayer::setupList((__int64)a1, a1[28].__r_.__value_.__r.__words[0]); v5 = *(_BYTE *)&__str.__r_.__value_.__s.0 & 1; goto LABEL_15; } } if ( !memcmp(data, a1[30].__r_.__value_.__l.__data_, size) ) goto LABEL_15; goto LABEL_14; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source