// // ShareCommentLayer::textInputClosed from 0x1001d59e4 to 0x1001d5a70 (140 bytes) // // 2 xrefs: // > sub_1001D5AA4 @ 0x1001d5aa8 // > @ 0x1007be908 // // 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 ShareCommentLayer::textInputClosed(ShareCommentLayer *a1, CCTextInputNode *a2) { std::string *p_str; // x1 std::string __p; // [xsp+0h] [xbp-40h] BYREF std::string __str; // [xsp+18h] [xbp-28h] BYREF CCTextInputNode::getString((__int64)a2, &__str); std::string::operator=((std::string *)&a1->m_descText, &__str); if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) p_str = &__str; else p_str = (std::string *)__str.__r_.__value_.__r.__words[0]; sub_100009900(&__p, (char *)p_str); std::string::operator=((std::string *)&a1->m_descText, &__p); ShareCommentLayer::updateCharCountLabel(a1); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source