// // GJLevelList::showListInfo from 0x1000b1adc to 0x1000b1d90 (692 bytes) // // 3 xrefs: // > LevelListCell::onListInfo @ 0x100112f50 // > LevelListLayer::onListInfo @ 0x1002451c4 // > InfoLayer::onLevelInfo @ 0x100352400 // // 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 GJLevelList::showListInfo(GJLevelList *a1) { std::string::size_type size; // x8 std::string *v3; // x1 std::string::size_type v4; // x2 const std::string::value_type *p_p; // x1 std::string::size_type v6; // x2 const std::string::value_type *v7; // x1 std::string::size_type v8; // x2 int m_updateDate; // w8 const std::string::value_type *v10; // x1 std::string::size_type v11; // x2 std::string *v12; // x1 __int64 v13; // x19 void *v14[2]; // [xsp+8h] [xbp-88h] BYREF char v15; // [xsp+1Fh] [xbp-71h] void *__p; // [xsp+20h] [xbp-70h] BYREF std::string::size_type v17; // [xsp+28h] [xbp-68h] unsigned __int8 v18; // [xsp+37h] [xbp-59h] std::string __str; // [xsp+38h] [xbp-58h] BYREF std::string v20; // [xsp+50h] [xbp-40h] BYREF std::string v21; // [xsp+68h] [xbp-28h] BYREF sub_100009900(&v21, ""); sub_100009900(&v20, "(No description provided)"); GJLevelList::getUnpackedDescription((__int64)a1, &__str); size = HIBYTE(__str.__r_.__value_.__r.__words[2]); if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) size = __str.__r_.__value_.__l.__size_; if ( size ) std::string::operator=(&v20, &__str); if ( (v20.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v3 = &v20; else v3 = (std::string *)v20.__r_.__value_.__r.__words[0]; if ( (v20.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v4 = HIBYTE(v20.__r_.__value_.__r.__words[2]); else v4 = v20.__r_.__value_.__l.__size_; std::string::append(&v21, (const std::string::value_type *)v3, v4); if ( a1->m_listType != Editor ) { if ( a1->m_listID > 0 || a1->m_uploadDate >= 1 ) { std::string::append(&v21, "\n\n"); if ( a1->m_listID >= 1 ) { std::string::append(&v21, "List ID: "); GameToolbox::intToString((unsigned int)a1->m_listID, &__p); if ( (v18 & 0x80u) == 0 ) p_p = (const std::string::value_type *)&__p; else p_p = (const std::string::value_type *)__p; if ( (v18 & 0x80u) == 0 ) v6 = v18; else v6 = v17; std::string::append(&v21, p_p, v6); if ( (char)v18 < 0 ) operator delete(__p); std::string::append(&v21, "\n"); } } if ( a1->m_uploadDate >= 1 ) { std::string::append(&v21, "Uploaded: "); GameToolbox::timestampToHumanReadable(a1->m_uploadDate, &__p); if ( (v18 & 0x80u) == 0 ) v7 = (const std::string::value_type *)&__p; else v7 = (const std::string::value_type *)__p; if ( (v18 & 0x80u) == 0 ) v8 = v18; else v8 = v17; std::string::append(&v21, v7, v8); if ( (char)v18 < 0 ) operator delete(__p); std::string::append(&v21, ""); m_updateDate = a1->m_updateDate; if ( m_updateDate >= 1 && a1->m_uploadDate != m_updateDate ) { std::string::append(&v21, "\nUpdated: "); GameToolbox::timestampToHumanReadable(a1->m_updateDate, &__p); if ( (v18 & 0x80u) == 0 ) v10 = (const std::string::value_type *)&__p; else v10 = (const std::string::value_type *)__p; if ( (v18 & 0x80u) == 0 ) v11 = v18; else v11 = v17; std::string::append(&v21, v10, v11); if ( (char)v18 < 0 ) operator delete(__p); std::string::append(&v21, ""); } } } if ( (v21.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v12 = &v21; else v12 = (std::string *)v21.__r_.__value_.__r.__words[0]; sub_100009900(v14, (char *)v12); v13 = FLAlertLayer::create_1(0, "List Info", v14, "OK", 0, 380.0); if ( v15 < 0 ) operator delete(v14[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v13 + 1288LL))(v13); if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); if ( SHIBYTE(v20.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v20.__r_.__value_.__l.__data_); if ( SHIBYTE(v21.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v21.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source