// // GameLevelManager::onUploadUserMessageCompleted from 0x14023b760 to 0x14023b991 (561 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x14021a335 // > @ 0x14091c0ac // // 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:34 +0000 // // Hidden C++ exception states: #wind=4 void __fastcall GameLevelManager::onUploadUserMessageCompleted(__int64 a1, const void **a2, void **a3) { _BYTE *v6; // rbx size_t v7; // r8 __int64 v8; // rcx void *v9; // rcx unsigned int SplitIntFromKey; // r13d const void *v11; // rcx unsigned __int64 v12; // r12 size_t v13; // r8 int v14; // ebp __int64 v15; // rcx cocos2d::CCString *v16; // rax char *CString; // rbx __int64 v18; // rcx void (__fastcall ***v19)(_QWORD, _QWORD); // rcx void *v20; // [rsp+30h] [rbp-78h] void *Block[2]; // [rsp+48h] [rbp-60h] BYREF __int64 v22; // [rsp+58h] [rbp-50h] unsigned __int64 v23; // [rsp+60h] [rbp-48h] v6 = a3; if ( (unsigned __int64)a3[3] > 0xF ) v6 = *a3; *(_OWORD *)Block = 0; v22 = 0; v23 = 0; v7 = -1; do ++v7; while ( v6[v7] ); sub_14003D230(Block, v6, v7); cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1200), Block); if ( v23 > 0xF ) { v9 = Block[0]; if ( v23 + 1 >= 0x1000 ) { v9 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v9 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v9); } SplitIntFromKey = GameLevelManager::getSplitIntFromKey(v8, v6, 1); *(_OWORD *)Block = 0; v22 = 2; v23 = 15; strcpy((char *)Block, "-1"); v11 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v11 = *a2; v12 = (unsigned __int64)a2[2]; v13 = v12; if ( v12 > 2 ) v13 = 2; v14 = memcmp(v11, Block, v13); if ( !v14 ) { if ( v12 >= 2 ) v14 = v12 > 2; else v14 = -1; } if ( v14 ) { v16 = cocos2d::CCString::createWithFormat("messages_%i_%i", 1, 0); CString = (char *)cocos2d::CCString::getCString(v16); v18 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v20 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v20); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v18 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v18, CString); v19 = *(void (__fastcall ****)(_QWORD, _QWORD))(a1 + 1528); if ( v19 ) (**v19)(v19, SplitIntFromKey); } else { v15 = *(_QWORD *)(a1 + 1528); if ( v15 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v15 + 8LL))(v15, SplitIntFromKey); GameLevelManager::resetTimerForKey(a1, v6); } sub_14003D310((__int64)a2); sub_14003D310((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source