// // GameLevelManager::getFriendRequests from 0x1000a82a0 to 0x1000a8428 (392 bytes) // // 1 xrefs: // > FRequestProfilePage::loadPage @ 0x1001b6f20 // // 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::getFriendRequests(GameLevelManager *a1, bool a2, int a3, int a4) { _BOOL4 v6; // w21 cocos2d::CCString *v8; // x0 char *CString; // x20 cocos2d::CCString *v10; // x0 const char *v11; // x0 cocos2d::CCString *v12; // x0 const char *v13; // x0 std::string *v14; // x1 void *__p[2]; // [xsp+30h] [xbp-90h] BYREF char v16; // [xsp+47h] [xbp-79h] void *v17[2]; // [xsp+48h] [xbp-78h] BYREF char v18; // [xsp+5Fh] [xbp-61h] std::string v19; // [xsp+60h] [xbp-60h] BYREF std::string v20; // [xsp+78h] [xbp-48h] BYREF v6 = a2; v8 = (cocos2d::CCString *)sub_100268F4C("fReq_%i_%i", a2, a3); CString = (char *)cocos2d::CCString::getCString(v8); if ( !GameLevelManager::isDLActive(a1, CString) ) { GameLevelManager::addDLToActive(a1, CString); GameLevelManager::getBasePostString(&v20); v10 = (cocos2d::CCString *)sub_100268F4C("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); v11 = cocos2d::CCString::getCString(v10); v12 = (cocos2d::CCString *)sub_100268F4C("&page=%i&total=%i&secret=%s", a3, a4, v11); v13 = cocos2d::CCString::getCString(v12); std::string::append(&v20, v13); if ( v6 ) std::string::append(&v20, "&getSent=1"); sub_100009900(&v19, "https://www.boomlings.com/database/getGJFriendRequests20.php"); if ( (v20.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v14 = &v20; else v14 = (std::string *)v20.__r_.__value_.__r.__words[0]; sub_100009900(v17, (char *)v14); sub_100009900(__p, CString); GameLevelManager::ProcessHttpRequest(a1, &v19, (char *)v17, (const std::string::value_type *)__p, 28); if ( v16 < 0 ) operator delete(__p[0]); if ( v18 < 0 ) operator delete(v17[0]); if ( SHIBYTE(v19.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v19.__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