// // GameLevelManager::getLevelSaveData from 0x14022bfa0 to 0x14022c290 (752 bytes) // // 2 xrefs: // > LoadingLayer::init @ 0x1404691c5 // > @ 0x14091bdf4 // // 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:28 +0000 // // Hidden C++ exception states: #wind=4 void __fastcall GameLevelManager::getLevelSaveData(__int64 a1) { __int64 v2; // rbx void *v3; // r8 __int64 v4; // rbx __int64 v5; // rax __int64 v6; // rcx void *v7; // rcx cocos2d::CCString *v8; // rax char *CString; // rax size_t v10; // rbx size_t v11; // r8 _QWORD *v12; // rdx int Reserved; // [rsp+20h] [rbp-69h] int v14; // [rsp+28h] [rbp-61h] __int128 v15; // [rsp+40h] [rbp-49h] BYREF __int64 v16; // [rsp+50h] [rbp-39h] __int64 v17; // [rsp+58h] [rbp-31h] __int128 v18; // [rsp+60h] [rbp-29h] BYREF __int64 v19; // [rsp+70h] [rbp-19h] __int64 v20; // [rsp+78h] [rbp-11h] __int128 *v21; // [rsp+80h] [rbp-9h] __int128 *v22; // [rsp+88h] [rbp-1h] void *Block[2]; // [rsp+98h] [rbp+Fh] BYREF __int128 v24; // [rsp+A8h] [rbp+1Fh] _QWORD Src[4]; // [rsp+B8h] [rbp+2Fh] BYREF *(_OWORD *)Block = 0; v24 = 0; sub_14003D230(Block, "lvl_data", 8u); v2 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1192), Block); if ( *((_QWORD *)&v24 + 1) > 0xFu ) { v3 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v24 + 1) + 1LL) >= 0x1000 ) { v3 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v3); } if ( !v2 ) { *(_OWORD *)Block = 0; v24 = 0; sub_14003D230(Block, "lvl_data", 8u); v4 = *(_QWORD *)(a1 + 1192); v5 = cocos2d::CCNode::create(); cocos2d::CCDictionary::setObject(v4, v5, Block); if ( *((_QWORD *)&v24 + 1) > 0xFu ) { v7 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v24 + 1) + 1LL) >= 0x1000 ) { v7 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v7); } GameLevelManager::getBasePostString(v6, Src); sub_140044D80(Src, "&secret=", 8u); v14 = 98; Reserved = 103; v8 = cocos2d::CCString::createWithFormat( "%c%s%s%c%c%s", 87, "mfd", "2893", Reserved, v14, (const char *)&word_14070D040); CString = (char *)cocos2d::CCString::getCString(v8); v10 = -1; v11 = -1; do ++v11; while ( CString[v11] ); sub_140044D80(Src, CString, v11); v21 = &v15; v22 = &v18; v15 = 0; v16 = 0; v17 = 0; sub_14003D230(&v15, "lvl_data", 8u); v12 = Src; if ( Src[3] > 0xFu ) v12 = (_QWORD *)Src[0]; v18 = 0; v19 = 0; v20 = 0; do ++v10; while ( *((_BYTE *)v12 + v10) ); sub_14003D230(&v18, v12, v10); *(_OWORD *)Block = 0; v24 = 0u; Block[0] = sub_14003D460(0x40u); *(_QWORD *)&v24 = 50; *((_QWORD *)&v24 + 1) = 63; strcpy((char *)Block[0], "https://www.boomlings.com/database/getSaveData.php"); GameLevelManager::ProcessHttpRequest( (cocos2d::CCActionManager **)a1, (__int64)Block, (const char *)&v18, (const char *)&v15, 0x32u); sub_14003D310((__int64)Src); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source