// // GameLevelManager::removeDelimiterChars from 0x14016a960 to 0x14016ab8b (555 bytes) // // 12 xrefs: // > GameLevelManager::uploadLevel @ 0x14014ca67 // > GameLevelManager::uploadLevel @ 0x14014ca82 // > GameLevelManager::uploadLevel @ 0x14014ca9a // > GameLevelManager::uploadLevelList @ 0x14014ff16 // > GameLevelManager::uploadLevelList @ 0x14014ff2e // > GameLevelManager::uploadLevelList @ 0x14014ff46 // > GameLevelManager::updateUserScore @ 0x1401560da // > GameLevelManager::uploadComment @ 0x14015dd56 // > GameLevelManager::uploadComment @ 0x14015dd6e // > GameLevelManager::updateDescription @ 0x140163826 // > GJMultiplayerManager::uploadComment @ 0x140283725 // > @ 0x1406cad70 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GameLevelManager::removeDelimiterChars(__int64 a1, _QWORD *a2, char a3) { unsigned __int64 v4; // rbp unsigned int v5; // r15d unsigned __int64 v6; // rsi __int64 v7; // rdx char *v8; // rdi char *v9; // r14 _QWORD *v10; // rcx unsigned __int8 v11; // si __int64 v12; // rax char *v13; // rcx char *j; // rax unsigned __int64 v15; // r14 __int64 v16; // rax char *v17; // rdx unsigned __int64 v18; // rax _QWORD *v19; // rax unsigned __int64 v20; // rax unsigned int v21; // r15d unsigned __int64 v22; // rsi __int64 v23; // rdx char *v24; // rdi char *v25; // r14 _QWORD *v26; // rcx unsigned __int8 v27; // si __int64 v28; // rax char *v29; // rcx char *i; // rax unsigned __int64 v31; // r14 __int64 v32; // rax char *v33; // rdx unsigned __int64 v34; // rax _QWORD *v35; // rax unsigned __int64 v36; // rax _DWORD v37[10]; // [rsp+20h] [rbp-28h] v4 = -1; if ( a3 ) { v37[0] = 2325630; do ++v4; while ( *((_BYTE *)v37 + v4) ); v21 = 0; if ( v4 ) { v22 = a2[2]; v23 = 0; do { if ( a2[3] <= 0xFu ) { v25 = (char *)a2 + v22; v26 = a2; v24 = (char *)a2 + v22; } else { v24 = (char *)(v22 + *a2); v25 = v24; v26 = (_QWORD *)*a2; } v27 = *((_BYTE *)v37 + v23); v28 = unknown_libname_2(v26, v24, v27); v29 = (char *)v28; if ( (char *)v28 != v24 ) { for ( i = (char *)(v28 + 1); i != v24; ++i ) { if ( *i != v27 ) *v29++ = *i; } } v31 = v25 - v29; v32 = a2[2]; if ( a2[3] <= 0xFu ) { v33 = (char *)(v29 - (char *)a2); v36 = v32 - (v29 - (char *)a2); if ( v36 < v31 ) v31 = v36; v35 = a2; } else { v33 = &v29[-*a2]; v34 = v32 - (_QWORD)v33; if ( v34 < v31 ) v31 = v34; v35 = (_QWORD *)*a2; } v22 = a2[2] - v31; memmove(&v33[(_QWORD)v35], &v33[(_QWORD)v35 + v31], v22 - (_QWORD)v33 + 1); ++v21; a2[2] = v22; v23 = v21; } while ( v21 < v4 ); } } else { v37[0] = 2325562; do ++v4; while ( *((_BYTE *)v37 + v4) ); v5 = 0; if ( v4 ) { v6 = a2[2]; v7 = 0; do { if ( a2[3] <= 0xFu ) { v9 = (char *)a2 + v6; v10 = a2; v8 = (char *)a2 + v6; } else { v8 = (char *)(v6 + *a2); v9 = v8; v10 = (_QWORD *)*a2; } v11 = *((_BYTE *)v37 + v7); v12 = unknown_libname_2(v10, v8, v11); v13 = (char *)v12; if ( (char *)v12 != v8 ) { for ( j = (char *)(v12 + 1); j != v8; ++j ) { if ( *j != v11 ) *v13++ = *j; } } v15 = v9 - v13; v16 = a2[2]; if ( a2[3] <= 0xFu ) { v17 = (char *)(v13 - (char *)a2); v20 = v16 - (v13 - (char *)a2); if ( v20 < v15 ) v15 = v20; v19 = a2; } else { v17 = &v13[-*a2]; v18 = v16 - (_QWORD)v17; if ( v18 < v15 ) v15 = v18; v19 = (_QWORD *)*a2; } v6 = a2[2] - v15; memmove(&v17[(_QWORD)v19], &v17[(_QWORD)v19 + v15], v6 - (_QWORD)v17 + 1); ++v5; a2[2] = v6; v7 = v5; } while ( v5 < v4 ); } } sub_14003A830((__int64)a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source