// // GameLevelManager::submitUserInfo from 0x140260b20 to 0x140260f6f (1103 bytes) // // 2 xrefs: // > GameLevelManager::onUpdateUserScoreCompleted @ 0x140237f7d // > @ 0x14091c7cc // // 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:47 +0000 // // Hidden C++ exception states: #wind=7 void __fastcall GameLevelManager::submitUserInfo(cocos2d::CCActionManager **a1) { cocos2d::CCActionManager **v1; // r12 unsigned __int64 v2; // r14 __int64 v3; // rcx cocos2d::CCArray *CompletedLevels; // r15 unsigned int v5; // edi size_t v6; // rsi struct cocos2d::CCObject *v7; // r14 __int128 *v8; // rcx __int64 v9; // rbx cocos2d::CCString *v10; // rax char *CString; // rax size_t v12; // r8 __int64 v13; // rdx __int64 v14; // rcx __int64 v15; // rax int v16; // edi const char *v17; // rbx cocos2d::CCString *v18; // rax const char *v19; // rax cocos2d::CCString *v20; // rax const char *v21; // rax size_t v22; // r8 __int128 *p_Src; // rdx size_t v24; // r8 __int128 *v25; // rdx __int64 v26; // [rsp+20h] [rbp-E0h] __int64 v27; // [rsp+28h] [rbp-D8h] void *v29; // [rsp+50h] [rbp-B0h] void *v30; // [rsp+58h] [rbp-A8h] __int128 v31; // [rsp+60h] [rbp-A0h] BYREF __int64 v32; // [rsp+70h] [rbp-90h] __int64 v33; // [rsp+78h] [rbp-88h] __int128 v34; // [rsp+80h] [rbp-80h] BYREF __int64 v35; // [rsp+90h] [rbp-70h] __int64 v36; // [rsp+98h] [rbp-68h] __int128 v37; // [rsp+A8h] [rbp-58h] BYREF __int64 v38; // [rsp+B8h] [rbp-48h] unsigned __int64 v39; // [rsp+C0h] [rbp-40h] __int128 v40; // [rsp+C8h] [rbp-38h] BYREF __int64 v41; // [rsp+D8h] [rbp-28h] unsigned __int64 v42; // [rsp+E0h] [rbp-20h] __int128 Src; // [rsp+E8h] [rbp-18h] BYREF __int64 v44; // [rsp+F8h] [rbp-8h] __int64 v45; // [rsp+100h] [rbp+0h] _QWORD v46[4]; // [rsp+108h] [rbp+8h] BYREF v1 = a1; Src = 0; v44 = 0; v2 = 15; v45 = 15; LOBYTE(Src) = 0; v3 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v30 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v30); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v3 = *(_QWORD *)&qword_14090BFB0; } CompletedLevels = GameLevelManager::getCompletedLevels(v3, 0); v5 = 0; v6 = -1; if ( cocos2d::CCArray::count(CompletedLevels) ) { do { v7 = cocos2d::CCArray::objectAtIndex(CompletedLevels, v5); if ( v5 ) sub_140044D80(&Src, &unk_140752308, 1u); sub_14003F4F0((__int64)&v37, (__int64)v7 + 408); v8 = &v37; if ( v39 > 0xF ) v8 = (__int128 *)v37; v9 = -1; do ++v9; while ( *((_BYTE *)v8 + v9) ); sub_14003D310((__int64)&v37); v10 = cocos2d::CCString::createWithFormat( "%s,%i,%s,%i,%s,%i,%s,%i", (const char *)&word_14070D060, *((_DWORD *)v7 + 82) - *((_DWORD *)v7 + 83), (const char *)&word_14070D058, *((_DWORD *)v7 + 217) - *((_DWORD *)v7 + 218), (const char *)&word_14070D054, *((_DWORD *)v7 + 220) - *((_DWORD *)v7 + 221), (const char *)&word_14070D04C, v9); CString = (char *)cocos2d::CCString::getCString(v10); v12 = -1; do ++v12; while ( CString[v12] ); sub_140044D80(&Src, CString, v12); ++v5; } while ( v5 < cocos2d::CCArray::count(CompletedLevels) ); v2 = v45; v1 = a1; } v13 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v29 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v29); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v13 = qword_14090BFD0; } sub_14003F4F0((__int64)v46, v13 + 624); v15 = GJAccountManager::sharedState(v14); v16 = *(_DWORD *)(v15 + 360) - *(_DWORD *)(v15 + 364); v17 = (const char *)v46; if ( v46[3] > 0xFu ) v17 = (const char *)v46[0]; LODWORD(v27) = 98; LODWORD(v26) = 103; v18 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", v26, v27, (const char *)&word_14070D040); v19 = cocos2d::CCString::getCString(v18); v20 = cocos2d::CCString::createWithFormat("udid=%s&accountID=%i&secret=%s", v17, v16, v19); v21 = cocos2d::CCString::getCString(v20); v40 = 0; v41 = 0; v42 = 0; v22 = -1; do ++v22; while ( v21[v22] ); sub_14003D230(&v40, v21, v22); sub_140044D80(&v40, "&levelsInfo=", 0xCu); p_Src = &Src; if ( v2 > 0xF ) p_Src = (__int128 *)Src; v24 = -1; do ++v24; while ( *((_BYTE *)p_Src + v24) ); sub_140044D80(&v40, p_Src, v24); v25 = &v40; if ( v42 > 0xF ) v25 = (__int128 *)v40; v34 = 0; v35 = 0; v36 = 15; LOBYTE(v34) = 0; v37 = 0; v38 = 0; v39 = 0; do ++v6; while ( *((_BYTE *)v25 + v6) ); sub_14003D230(&v37, v25, v6); v31 = 0; *(_QWORD *)&v31 = sub_14003D460(0x40u); v32 = 55; v33 = 63; strcpy((char *)v31, "https://www.boomlings.com/database/submitGJUserInfo.php"); GameLevelManager::ProcessHttpRequest(v1, (__int64)&v31, (const char *)&v37, (const char *)&v34, 0x12u); sub_14003D310((__int64)&v40); sub_14003D310((__int64)v46); sub_14003D310((__int64)&Src); }
GD Web Decomp Icon

GD Web Decomp

Raw Source