// // GameLevelManager::deleteComment from 0x4b7d04 to 0x4b7fac (680 bytes) // // 5 xrefs: // > CommentCell::onDelete @ 0x433ee2 // > GameLevelManager::deleteLevelComment @ 0x4b7ffa // > GameLevelManager::deleteAccountComment @ 0x4b8004 // > AccountReviewPopup::deleteFilterEntry @ 0x732668 // > AccountReviewPopup::deleteEntry @ 0x732e46 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:50:11 +0000 // cocos2d::CCNode *__fastcall GameLevelManager::deleteComment( GameLevelManager *a1, const char *a2, const char *a3, const char *a4) { const char *v8; // r0 int v9; // r11 const char *v10; // r7 size_t v11; // r0 int v12; // r4 cocos2d::CCNode *result; // r0 cocos2d::CCObject *v14; // r0 cocos2d::CCObject *v15; // r11 size_t v16; // r0 cocos2d::CCString *v17; // r0 int CString; // r0 cocos2d::CCString *v19; // r0 char *v20; // r0 cocos2d::CCString *v21; // r0 char *v22; // r0 const char *v23; // r8 cocos2d::CCString *v24; // r0 char *v25; // r0 cocos2d::CCString *v26; // r0 char *v27; // r0 size_t v28; // r0 size_t v29; // r0 int *v30; // r0 size_t v31; // r0 size_t v32; // r0 int v33; // [sp+14h] [bp-60h] _DWORD v34[3]; // [sp+18h] [bp-5Ch] BYREF int v35[3]; // [sp+24h] [bp-50h] BYREF int v36[3]; // [sp+30h] [bp-44h] BYREF int v37[3]; // [sp+3Ch] [bp-38h] BYREF int v38[3]; // [sp+48h] [bp-2Ch] BYREF int v39[3]; // [sp+54h] [bp-20h] BYREF int v40; // [sp+60h] [bp-14h] BYREF int v41; // [sp+64h] [bp-10h] int v42; // [sp+68h] [bp-Ch] v8 = (const char *)GameLevelManager::getDeleteCommentKey(a1, a4, (int)a2, (int)a3); v40 = 0; v41 = 0; v42 = 0; v9 = *((_DWORD *)a1 + 187); v10 = v8; v11 = strlen(v8); std::string::__init(&v40, v10, v11); v12 = cocos2d::CCDictionary::objectForKey(v9, &v40); result = (cocos2d::CCNode *)std::string::~string((int)&v40); if ( v12 ) return result; v33 = *((_DWORD *)a1 + 187); v14 = (cocos2d::CCObject *)cocos2d::CCNode::create(result); v40 = 0; v41 = 0; v42 = 0; v15 = v14; v16 = strlen(v10); std::string::__init(&v40, v10, v16); cocos2d::CCDictionary::setObject(v33, v15); std::string::~string((int)&v40); GameLevelManager::getBasePostString((GameLevelManager *)v34); v17 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); CString = cocos2d::CCString::getCString(v17); v19 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&commentID=%i&secret=%s", a2, CString); v20 = (char *)cocos2d::CCString::getCString(v19); std::string::append(v34, v20); if ( a3 ) { if ( (unsigned int)(a3 - 6) <= 2 ) { std::string::append(v34, "&levelID="); v24 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a4); v25 = (char *)cocos2d::CCString::getCString(v24); std::string::append(v34, v25); std::string::append(v34, "&cType="); v21 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3); goto LABEL_5; } std::string::append(v34, "&cType="); v26 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3); v27 = (char *)cocos2d::CCString::getCString(v26); std::string::append(v34, v27); std::string::append(v34, "&targetAccountID="); } else { std::string::append(v34, "&levelID="); } v21 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a4); LABEL_5: v22 = (char *)cocos2d::CCString::getCString(v21); std::string::append(v34, v22); if ( (v34[0] & 1) != 0 ) v23 = (const char *)v34[2]; else v23 = (char *)v34 + 1; if ( a3 && (unsigned int)(a3 - 6) > 2 ) { memset(v38, 0, sizeof(v38)); std::string::__init(v38, "https://www.boomlings.com/database/deleteGJAccComment20.php", 0x3Bu); memset(v39, 0, sizeof(v39)); v31 = strlen(v23); std::string::__init(v39, v23, v31); v40 = 0; v41 = 0; v42 = 0; v32 = strlen(v10); std::string::__init(&v40, v10, v32); GameLevelManager::ProcessHttpRequest(a1, v38, (int)v39, (int)&v40, 14); std::string::~string((int)&v40); std::string::~string((int)v39); v30 = v38; } else { memset(v35, 0, sizeof(v35)); std::string::__init(v35, "https://www.boomlings.com/database/deleteGJComment20.php", 0x38u); memset(v36, 0, sizeof(v36)); v28 = strlen(v23); std::string::__init(v36, v23, v28); memset(v37, 0, sizeof(v37)); v29 = strlen(v10); std::string::__init(v37, v10, v29); GameLevelManager::ProcessHttpRequest(a1, v35, (int)v36, (int)v37, 14); std::string::~string((int)v37); std::string::~string((int)v36); v30 = v35; } std::string::~string((int)v30); return (cocos2d::CCNode *)std::string::~string((int)v34); }
GD Web Decomp Icon

GD Web Decomp

Raw Source