// // NumberInputLayer::deleteLast from 0x1000f94e8 to 0x1000f9568 (128 bytes) // // 1 xrefs: // > NumberInputLayer::onNumber @ 0x1000f941c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall NumberInputLayer::deleteLast(NumberInputLayer *a1) { std::size_t size; // x8 void **p_m_inputString; // x20 std::string v4; // [xsp+0h] [xbp-30h] BYREF std::allocator __a; // [xsp+1Fh] [xbp-11h] BYREF size = a1->m_inputString.m_data.m_short.shortStorage.__elems_[22]; if ( (size & 0x8000000000000000LL) != 0 ) { size = a1->m_inputString.m_data.m_long.size; if ( !size ) return; } else if ( !a1->m_inputString.m_data.m_short.shortStorage.__elems_[22] ) { return; } p_m_inputString = (void **)&a1->m_inputString; std::string::basic_string(&v4, (const std::string *)&a1->m_inputString, 0, size - 1, &__a); if ( a1->m_inputString.m_data.m_short.shortStorage.__elems_[22] < 0 ) operator delete(*p_m_inputString); *(_OWORD *)p_m_inputString = *(_OWORD *)&v4.__r_.__value_.__l.__data_; a1->m_inputString.m_data.m_long.longStorage = (char *)v4.__r_.__value_.__r.__words[2]; NumberInputLayer::updateNumberState(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source