// // GameLevelManager::getUsers from 0x1000a42ac to 0x1000a445c (432 bytes) // // 1 xrefs: // > LevelBrowserLayer::loadPage @ 0x1004171a0 // // 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 GameLevelManager::getUsers(GameLevelManager *a1, GJSearchObject *a2) { char *Key; // x20 const char *p_dst; // x22 int m_total; // w23 int m_page; // w21 cocos2d::CCString *v8; // x0 const char *CString; // x0 cocos2d::CCString *v10; // x0 const char *v11; // x0 std::string *v12; // x1 void *__p[2]; // [xsp+38h] [xbp-A8h] BYREF char v14; // [xsp+4Fh] [xbp-91h] void *v15[2]; // [xsp+50h] [xbp-90h] BYREF char v16; // [xsp+67h] [xbp-79h] std::string v17; // [xsp+68h] [xbp-78h] BYREF __int128 __dst; // [xsp+80h] [xbp-60h] BYREF char *longStorage; // [xsp+90h] [xbp-50h] std::string v20; // [xsp+98h] [xbp-48h] BYREF Key = (char *)GJSearchObject::getKey(a2); if ( !GameLevelManager::isDLActive(a1, Key) ) { GameLevelManager::addDLToActive(a1, Key); GameLevelManager::getBasePostString(&v20); if ( a2->m_searchQuery.m_data.m_short.shortStorage.__elems_[22] < 0 ) { sub_1000097D0(&__dst, (void *)a2->m_searchQuery.m_data.m_long.capacitym1, a2->m_searchQuery.m_data.m_long.size); } else { __dst = *(_OWORD *)&a2->m_searchQuery.m_data.m_short.sizex2; longStorage = a2->m_searchQuery.m_data.m_long.longStorage; } if ( SHIBYTE(longStorage) >= 0 ) p_dst = (const char *)&__dst; else p_dst = (const char *)__dst; m_total = a2->m_total; m_page = a2->m_page; v8 = (cocos2d::CCString *)sub_100268F4C("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); CString = cocos2d::CCString::getCString(v8); v10 = (cocos2d::CCString *)sub_100268F4C("&str=%s&total=%i&page=%i&secret=%s", p_dst, m_total, m_page, CString); v11 = cocos2d::CCString::getCString(v10); std::string::append(&v20, v11); if ( SHIBYTE(longStorage) < 0 ) operator delete((void *)__dst); sub_100009900(&v17, "https://www.boomlings.com/database/getGJUsers20.php"); if ( (v20.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v12 = &v20; else v12 = (std::string *)v20.__r_.__value_.__r.__words[0]; sub_100009900(v15, (char *)v12); sub_100009900(__p, Key); GameLevelManager::ProcessHttpRequest(a1, &v17, (char *)v15, (const std::string::value_type *)__p, 41); if ( v14 < 0 ) operator delete(__p[0]); if ( v16 < 0 ) operator delete(v15[0]); if ( SHIBYTE(v17.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v17.__r_.__value_.__l.__data_); if ( SHIBYTE(v20.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v20.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source