// // GameLevelManager::updateDescription from 0x1402588d0 to 0x140258c44 (884 bytes) // // 3 xrefs: // > EditLevelLayer::FLAlert_Clicked @ 0x14017c67c // > CreatorSettingsPopup::setTextPopupClosed @ 0x140449120 // > @ 0x14091c688 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:28:45 +0000 // // Hidden C++ exception states: #wind=5 char __fastcall GameLevelManager::updateDescription(__int64 a1, int a2, const char *a3) { cocos2d::CCString *v6; // rax const char *CString; // rax const char *v8; // rsi size_t v9; // rdi size_t v10; // r8 __int64 v11; // rbx void *v12; // r8 size_t v14; // r8 __int64 v15; // rbx __int64 v16; // rax void *v17; // rcx __int64 v18; // rax __int64 v19; // rcx __int64 v20; // rcx const char *v21; // rbx cocos2d::CCString *v22; // rax const char *v23; // rax cocos2d::CCString *v24; // rax char *v25; // rax size_t v26; // r8 size_t v27; // r8 _QWORD *v28; // rdx __int128 v29; // [rsp+48h] [rbp-81h] BYREF __int64 v30; // [rsp+58h] [rbp-71h] __int64 v31; // [rsp+60h] [rbp-69h] __int128 v32; // [rsp+68h] [rbp-61h] BYREF __int64 v33; // [rsp+78h] [rbp-51h] __int64 v34; // [rsp+80h] [rbp-49h] __int128 *v35; // [rsp+88h] [rbp-41h] const char *v36; // [rsp+98h] [rbp-31h] void *Block[2]; // [rsp+A0h] [rbp-29h] BYREF __int128 v38; // [rsp+B0h] [rbp-19h] _QWORD Src[4]; // [rsp+C0h] [rbp-9h] BYREF v36 = a3; v6 = cocos2d::CCString::createWithFormat("desc_%i", a2); CString = cocos2d::CCString::getCString(v6); v8 = CString; *(_OWORD *)Block = 0; v38 = 0; v9 = -1; v10 = -1; do ++v10; while ( CString[v10] ); sub_14003D230(Block, CString, v10); v11 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1200), Block); if ( *((_QWORD *)&v38 + 1) > 0xFu ) { v12 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v38 + 1) + 1LL) >= 0x1000 ) { v12 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v12 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v12); } if ( v11 ) { sub_14003D310((__int64)a3); return 0; } else { *(_OWORD *)Block = 0; v38 = 0; v14 = -1; do ++v14; while ( v8[v14] ); sub_14003D230(Block, v8, v14); v15 = *(_QWORD *)(a1 + 1200); v16 = cocos2d::CCNode::create(); cocos2d::CCDictionary::setObject(v15, v16, Block); if ( *((_QWORD *)&v38 + 1) > 0xFu ) { v17 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v38 + 1) + 1LL) >= 0x1000 ) { v17 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v17 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v17); } v18 = sub_14003F4F0((__int64)&v29, (__int64)a3); GameLevelManager::removeDelimiterChars(v19, v18, 0); GameLevelManager::getBasePostString(v20, Src); v21 = a3; if ( *((_QWORD *)a3 + 3) > 0xFu ) v21 = *(const char **)a3; v22 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, (const char *)&word_14070D040); v23 = cocos2d::CCString::getCString(v22); v24 = cocos2d::CCString::createWithFormat("&levelID=%i&levelDesc=%s&secret=%s", a2, v21, v23); v25 = (char *)cocos2d::CCString::getCString(v24); v26 = -1; do ++v26; while ( v25[v26] ); sub_140044D80(Src, v25, v26); v35 = &v29; v32 = 0; v33 = 0; v34 = 0; v27 = -1; do ++v27; while ( v8[v27] ); sub_14003D230(&v32, v8, v27); v28 = Src; if ( Src[3] > 0xFu ) v28 = (_QWORD *)Src[0]; v29 = 0; v30 = 0; v31 = 0; do ++v9; while ( *((_BYTE *)v28 + v9) ); sub_14003D230(&v29, v28, v9); *(_OWORD *)Block = 0; v38 = 0u; Block[0] = sub_14003D460(0x40u); *(_QWORD *)&v38 = 53; *((_QWORD *)&v38 + 1) = 63; strcpy((char *)Block[0], "https://www.boomlings.com/database/updateGJDesc20.php"); GameLevelManager::ProcessHttpRequest( (cocos2d::CCActionManager **)a1, (__int64)Block, (const char *)&v29, (const char *)&v32, 0x1Bu); sub_14003D310((__int64)Src); sub_14003D310((__int64)a3); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source