// // GameLevelManager::deleteComment from 0x1000a7ca4 to 0x1000a7f98 (756 bytes) // // 2 xrefs: // > GameLevelManager::deleteLevelComment @ 0x1000a7ca0 // > GameLevelManager::deleteAccountComment @ 0x1000a8058 // // 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::deleteComment(GameLevelManager *a1, int a2, CommentType a3, int a4) { cocos2d::CCString *v8; // x0 char *CString; // x20 cocos2d::CCDictionary *m_friendReqAndUserBlocks; // x24 __int64 v11; // x0 __int64 v12; // x24 cocos2d::CCDictionary *v13; // x24 cocos2d::CCNode *v14; // x25 cocos2d::CCString *v15; // x0 const char *v16; // x0 cocos2d::CCString *v17; // x0 const char *v18; // x0 cocos2d::CCString *v19; // x0 const char *v20; // x0 cocos2d::CCString *v21; // x0 const char *v22; // x0 int v23; // w22 std::string::size_type v24; // x21 std::string *v25; // x1 std::string *v26; // x8 cocos2d::CCString *v27; // x0 const char *v28; // x0 int v29; // w22 std::string::size_type v30; // x21 std::string *v31; // x1 void *__p[2]; // [xsp+38h] [xbp-E8h] BYREF char v33; // [xsp+4Fh] [xbp-D1h] void *v34[2]; // [xsp+50h] [xbp-D0h] BYREF char v35; // [xsp+67h] [xbp-B9h] std::string v36; // [xsp+68h] [xbp-B8h] BYREF void *v37[2]; // [xsp+80h] [xbp-A0h] BYREF char v38; // [xsp+97h] [xbp-89h] void *v39[2]; // [xsp+98h] [xbp-88h] BYREF char v40; // [xsp+AFh] [xbp-71h] std::string v41; // [xsp+B0h] [xbp-70h] BYREF std::string v42; // [xsp+C8h] [xbp-58h] BYREF v8 = (cocos2d::CCString *)sub_100268F4C("delcomment_%i_%i_%i", a4, a2, a3); CString = (char *)cocos2d::CCString::getCString(v8); m_friendReqAndUserBlocks = a1->m_friendReqAndUserBlocks; sub_100009900(&v42, CString); v11 = cocos2d::CCDictionary::objectForKey_1(m_friendReqAndUserBlocks, &v42); v12 = v11; if ( SHIBYTE(v42.__r_.__value_.__r.__words[2]) < 0 ) { operator delete(v42.__r_.__value_.__l.__data_); if ( v12 ) return; } else if ( v11 ) { return; } v13 = a1->m_friendReqAndUserBlocks; v14 = cocos2d::CCNode::create(); sub_100009900(&v42, CString); cocos2d::CCDictionary::setObject_1(v13, v14, &v42); if ( SHIBYTE(v42.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v42.__r_.__value_.__l.__data_); GameLevelManager::getBasePostString(&v42); v15 = (cocos2d::CCString *)sub_100268F4C("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); v16 = cocos2d::CCString::getCString(v15); v17 = (cocos2d::CCString *)sub_100268F4C("&commentID=%i&secret=%s", a2, v16); v18 = cocos2d::CCString::getCString(v17); std::string::append(&v42, v18); if ( a3 ) { std::string::append(&v42, "&cType="); v19 = (cocos2d::CCString *)sub_100268F4C("%i", a3); v20 = cocos2d::CCString::getCString(v19); std::string::append(&v42, v20); std::string::append(&v42, "&targetAccountID="); v21 = (cocos2d::CCString *)sub_100268F4C("%i", a4); v22 = cocos2d::CCString::getCString(v21); std::string::append(&v42, v22); v23 = SHIBYTE(v42.__r_.__value_.__r.__words[2]); v24 = v42.__r_.__value_.__r.__words[0]; sub_100009900(&v36, "https://www.boomlings.com/database/deleteGJAccComment20.php"); if ( v23 >= 0 ) v25 = &v42; else v25 = (std::string *)v24; sub_100009900(v34, (char *)v25); sub_100009900(__p, CString); GameLevelManager::ProcessHttpRequest(a1, &v36, (char *)v34, (const std::string::value_type *)__p, 14); if ( v33 < 0 ) operator delete(__p[0]); if ( v35 < 0 ) operator delete(v34[0]); if ( (SHIBYTE(v36.__r_.__value_.__r.__words[2]) & 0x80000000) == 0 ) goto LABEL_27; v26 = &v36; } else { std::string::append(&v42, "&levelID="); v27 = (cocos2d::CCString *)sub_100268F4C("%i", a4); v28 = cocos2d::CCString::getCString(v27); std::string::append(&v42, v28); v29 = SHIBYTE(v42.__r_.__value_.__r.__words[2]); v30 = v42.__r_.__value_.__r.__words[0]; sub_100009900(&v41, "https://www.boomlings.com/database/deleteGJComment20.php"); if ( v29 >= 0 ) v31 = &v42; else v31 = (std::string *)v30; sub_100009900(v39, (char *)v31); sub_100009900(v37, CString); GameLevelManager::ProcessHttpRequest(a1, &v41, (char *)v39, (const std::string::value_type *)v37, 14); if ( v38 < 0 ) operator delete(v37[0]); if ( v40 < 0 ) operator delete(v39[0]); if ( (SHIBYTE(v41.__r_.__value_.__r.__words[2]) & 0x80000000) == 0 ) goto LABEL_27; v26 = &v41; } operator delete(v26->__r_.__value_.__l.__data_); LABEL_27: if ( SHIBYTE(v42.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v42.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source