// // GameLevelManager::removeDelimiterChars from 0x140261620 to 0x140261831 (529 bytes) // // 14 xrefs: // > GameLevelManager::uploadLevel @ 0x14022970f // > GameLevelManager::uploadLevel @ 0x14022972a // > GameLevelManager::uploadLevel @ 0x140229742 // > GameLevelManager::uploadLevelList @ 0x14022d1c2 // > GameLevelManager::uploadLevelList @ 0x14022d1e0 // > GameLevelManager::uploadLevelList @ 0x14022d1fb // > GameLevelManager::uploadEditorSoundConfig @ 0x14022e64c // > GameLevelManager::uploadEditorSoundConfig @ 0x14022e664 // > GameLevelManager::updateUserScore @ 0x140236742 // > GameLevelManager::uploadComment @ 0x14023e637 // > GameLevelManager::uploadComment @ 0x14023e651 // > GameLevelManager::updateDescription @ 0x140258a77 // > GJMultiplayerManager::uploadComment @ 0x1403913a7 // > @ 0x14091c808 // // 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:48 +0000 // void __fastcall GameLevelManager::removeDelimiterChars(__int64 a1, _QWORD *a2, char a3) { unsigned int v3; // r13d unsigned __int64 v5; // rdi __int64 v6; // rsi __int64 v7; // rdx _QWORD *v8; // rbp _QWORD *v9; // r12 char *v10; // r14 _QWORD *v11; // rcx unsigned __int8 v12; // r15 __int64 v13; // rax __int64 v14; // r8 __int64 v15; // rsi __int64 v16; // rdx char *v17; // r9 _QWORD *v18; // rcx __int64 v19; // rsi __int64 v20; // rdx _QWORD *v21; // rbp _QWORD *v22; // r12 char *v23; // r14 _QWORD *v24; // rcx unsigned __int8 v25; // r15 __int64 v26; // rax __int64 v27; // r8 __int64 v28; // rsi __int64 v29; // rdx char *v30; // r9 _QWORD *v31; // rcx _DWORD v32[14]; // [rsp+20h] [rbp-38h] v3 = 0; v5 = -1; if ( a3 ) { v32[0] = 2325630; do ++v5; while ( *((_BYTE *)v32 + v5) ); if ( v5 ) { v19 = a2[2]; v20 = 0; do { v21 = a2; if ( a2[3] <= 0xFu ) { v22 = a2; v23 = (char *)a2 + v19; v24 = a2; } else { v21 = (_QWORD *)*a2; v22 = (_QWORD *)*a2; v23 = (char *)(v19 + *a2); v24 = (_QWORD *)*a2; } v25 = *((_BYTE *)v32 + v20); v26 = sub_140677120(v24, v23, v25); if ( (char *)v26 != v23 ) v26 = sub_140677150(v26, v23, v25); v28 = v19 - v26; if ( a2[3] <= 0xFu ) { v29 = v26 - (_QWORD)a2; v30 = (char *)v21 + v28; v31 = a2; } else { v29 = v26 - *a2; v30 = (char *)v22 + v28; v31 = (_QWORD *)*a2; } v27 = a2[2]; if ( v27 - v29 < (unsigned __int64)v30 ) v30 = (char *)(a2[2] - v29); v19 = v27 - (_QWORD)v30; memmove((char *)v31 + v29, &v30[(_QWORD)v31 + v29], v27 - (_QWORD)v30 - v29 + 1); ++v3; a2[2] = v19; v20 = v3; } while ( v3 < v5 ); } } else { v32[0] = 2325562; do ++v5; while ( *((_BYTE *)v32 + v5) ); if ( v5 ) { v6 = a2[2]; v7 = 0; do { v8 = a2; if ( a2[3] <= 0xFu ) { v9 = a2; v10 = (char *)a2 + v6; v11 = a2; } else { v8 = (_QWORD *)*a2; v9 = (_QWORD *)*a2; v10 = (char *)(v6 + *a2); v11 = (_QWORD *)*a2; } v12 = *((_BYTE *)v32 + v7); v13 = sub_140677120(v11, v10, v12); if ( (char *)v13 != v10 ) v13 = sub_140677150(v13, v10, v12); v15 = v6 - v13; if ( a2[3] <= 0xFu ) { v16 = v13 - (_QWORD)a2; v17 = (char *)v8 + v15; v18 = a2; } else { v16 = v13 - *a2; v17 = (char *)v9 + v15; v18 = (_QWORD *)*a2; } v14 = a2[2]; if ( v14 - v16 < (unsigned __int64)v17 ) v17 = (char *)(a2[2] - v16); v6 = v14 - (_QWORD)v17; memmove((char *)v18 + v16, &v17[(_QWORD)v18 + v16], v14 - (_QWORD)v17 - v16 + 1); ++v3; a2[2] = v6; v7 = v3; } while ( v3 < v5 ); } } sub_14003D310((__int64)a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source