// // LevelSearchLayer::onPasteClipboard from 0x1000531a4 to 0x100053268 (196 bytes) // // 1 xrefs: // > LevelSearchLayer::init @ 0x10005195c // // 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 LevelSearchLayer::onPasteClipboard(LevelSearchLayer *a1, cocos2d::CCObject *a2) { const std::string::value_type *v3; // x1 std::string::size_type v4; // x2 CCTextInputNode *m_searchInput; // x19 std::string __p; // [xsp+0h] [xbp-60h] BYREF std::string v7; // [xsp+20h] [xbp-40h] BYREF void *v8[2]; // [xsp+38h] [xbp-28h] BYREF unsigned __int8 v9; // [xsp+4Fh] [xbp-11h] PlatformToolbox::getClipboardString(v8, a1, a2); CCTextInputNode::getString(&v7, a1->m_searchInput); if ( (v9 & 0x80u) == 0 ) v3 = (const std::string::value_type *)v8; else v3 = (const std::string::value_type *)v8[0]; if ( (v9 & 0x80u) == 0 ) v4 = v9; else v4 = (std::string::size_type)v8[1]; std::string::append(&v7, v3, v4); m_searchInput = a1->m_searchInput; 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; CCTextInputNode::setString(m_searchInput, &__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 ( (char)v9 < 0 ) operator delete(v8[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source