// // SetupSmartTemplateLayer::textInputClosed from 0x100071104 to 0x1000711d0 (204 bytes) // // 2 xrefs: // > sub_10007121C @ 0x100071220 // > @ 0x100778c68 // // 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 SetupSmartTemplateLayer::textInputClosed(SetupSmartTemplateLayer *a1, CCTextInputNode *a2) { int v4; // w21 GJSmartTemplate *m_smartTemplate; // x19 std::string __p; // [xsp+0h] [xbp-70h] BYREF std::string v7; // [xsp+20h] [xbp-50h] BYREF void *v8; // [xsp+38h] [xbp-38h] BYREF char v9; // [xsp+4Fh] [xbp-21h] v4 = ((__int64 (__fastcall *)(CCTextInputNode *))a2->getTag)(a2); CCTextInputNode::getString(&v8, a2); if ( !v4 ) { CCTextInputNode::getString(&v7, a2); m_smartTemplate = a1->m_smartTemplate; if ( m_smartTemplate ) { if ( SHIBYTE(v7.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__p, v7.__r_.__value_.__l.__data_, v7.__r_.__value_.__l.__size_); else __p = v7; std::string::operator=((std::string *)&m_smartTemplate->m_templateName, &__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); } if ( SHIBYTE(v7.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v7.__r_.__value_.__l.__data_); } if ( v9 < 0 ) operator delete(v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source