// // GameLevelManager::updateDescription from 0x1000a9c28 to 0x1000a9e50 (552 bytes) // // 1 xrefs: // > EditLevelLayer::FLAlert_Clicked @ 0x1000ec26c // // 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 // bool __fastcall GameLevelManager::updateDescription(__int64 a1, int a2, char *a3) { cocos2d::CCString *v6; // x0 char *CString; // x21 __int64 v8; // x19 __int64 v9; // x0 __int64 v10; // x19 __int64 v11; // x24 cocos2d::CCNode *v12; // x25 void *v13; // x0 cocos2d::CCString *v14; // x0 const char *v15; // x0 cocos2d::CCString *v16; // x0 const char *v17; // x0 std::string *v18; // x1 void *__p[2]; // [xsp+38h] [xbp-B8h] BYREF char v21; // [xsp+4Fh] [xbp-A1h] void *v22[2]; // [xsp+50h] [xbp-A0h] BYREF char v23; // [xsp+67h] [xbp-89h] std::string v24; // [xsp+68h] [xbp-88h] BYREF std::string __dst; // [xsp+80h] [xbp-70h] BYREF std::string v26; // [xsp+98h] [xbp-58h] BYREF v6 = (cocos2d::CCString *)sub_100268F4C("desc_%i", a2); CString = (char *)cocos2d::CCString::getCString(v6); v8 = *(_QWORD *)(a1 + 608); sub_100009900(&v26, CString); v9 = cocos2d::CCDictionary::objectForKey_1(v8, &v26); v10 = v9; if ( SHIBYTE(v26.__r_.__value_.__r.__words[2]) < 0 ) { operator delete(v26.__r_.__value_.__l.__data_); if ( v10 ) return v10 == 0; } else if ( v9 ) { return v10 == 0; } v11 = *(_QWORD *)(a1 + 608); v12 = cocos2d::CCNode::create(); sub_100009900(&v26, CString); v13 = (void *)cocos2d::CCDictionary::setObject_1(v11, v12, &v26); if ( SHIBYTE(v26.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v26.__r_.__value_.__l.__data_); if ( a3[23] < 0 ) v13 = sub_1000097D0(&__dst, *(void **)a3, *((_QWORD *)a3 + 1)); else __dst = *(std::string *)a3; GameLevelManager::removeDelimiterChars((__int64)v13, &__dst, 0); if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__dst.__r_.__value_.__l.__data_); GameLevelManager::getBasePostString(&v26); if ( a3[23] < 0 ) a3 = *(char **)a3; v14 = (cocos2d::CCString *)sub_100268F4C("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7"); v15 = cocos2d::CCString::getCString(v14); v16 = (cocos2d::CCString *)sub_100268F4C("&levelID=%i&levelDesc=%s&secret=%s", a2, a3, v15); v17 = cocos2d::CCString::getCString(v16); std::string::append(&v26, v17); sub_100009900(&v24, "https://www.boomlings.com/database/updateGJDesc20.php"); if ( (v26.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v18 = &v26; else v18 = (std::string *)v26.__r_.__value_.__r.__words[0]; sub_100009900(v22, (char *)v18); sub_100009900(__p, CString); GameLevelManager::ProcessHttpRequest( (cocos2d::CCObject *)a1, &v24, (char *)v22, (const std::string::value_type *)__p, 24); if ( v21 < 0 ) operator delete(__p[0]); if ( v23 < 0 ) operator delete(v22[0]); if ( SHIBYTE(v24.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v24.__r_.__value_.__l.__data_); if ( SHIBYTE(v26.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v26.__r_.__value_.__l.__data_); return v10 == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source