// // KeybindingsLayer::textChanged from 0x1006e47f0 to 0x1006e48e7 (247 bytes) // // 3 xrefs: // > sub_1006E4910 @ 0x1006e491c // > @ 0x100b93af8 // > @ 0x100bc12c8 // // 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:46 +0000 // void __fastcall KeybindingsLayer::textChanged(__int64 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 = *(_QWORD *)(a1 + 1112); 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 __int8 *)(a1 + 1160); if ( (v7 & 1) == 0 ) goto LABEL_4; } else { size = *(_BYTE *)&__str.__r_.__value_.__l.0 >> 1; v7 = *(unsigned __int8 *)(a1 + 1160); if ( (v7 & 1) == 0 ) { LABEL_4: if ( size != v7 >> 1 ) goto LABEL_14; goto LABEL_8; } } if ( size != *(_QWORD *)(a1 + 1168) ) 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, (const void *)(a1 + 1161), size) ) { LABEL_17: if ( v5 ) operator delete(__str.__r_.__value_.__l.__data_); return; } LABEL_14: std::string::operator=((std::string *)(a1 + 1160), &__str); if ( *(_QWORD *)(a1 + 1136) ) ScrollableContentLayer::scrollTo(0.0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1504LL))(a1, *(unsigned int *)(a1 + 1184)); v5 = *(_BYTE *)&__str.__r_.__value_.__s.0 & 1; goto LABEL_17; } } if ( !memcmp(data, *(const void **)(a1 + 1176), size) ) goto LABEL_17; goto LABEL_14; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source