// // GJKeybindManager::buildBindsBlob from 0xc0decc to 0xc0e204 (824 bytes) // // 3 xrefs: // > GJKeybindManager::encodeDataTo @ 0xc0e254 // > GJKeybindManager::exportBindingsToFile @ 0xc0e334 // > @ 0x6d960 // // This function is hookable on this platform (idp: arm, 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 13:03:56 +0000 // __int64 *__usercall GJKeybindManager::buildBindsBlob@(GJKeybindManager *this@, __int64 *a2@) { int *v4; // x19 __int64 *v5; // x1 int *i; // x19 int *v7; // x0 int *v8; // x26 int *j; // x27 int *k; // x19 __int64 **v11; // x0 _DWORD *v12; // x23 int v13; // w1 _QWORD *v14; // x0 char *v15; // x1 size_t v16; // x2 _QWORD *v17; // x20 _QWORD *v18; // x22 int v19; // w2 char *v20; // x1 size_t v21; // x2 int v22; // w26 void *v23; // x0 int v25; // [xsp+6Ch] [xbp+6Ch] BYREF void *v26[2]; // [xsp+70h] [xbp+70h] BYREF void *v27; // [xsp+80h] [xbp+80h] void *v28[2]; // [xsp+88h] [xbp+88h] BYREF void *v29; // [xsp+98h] [xbp+98h] void *v30[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v31; // [xsp+B0h] [xbp+B0h] std::unordered_map>::unordered_map((unsigned __int64)v30, (__int64)this + 96); if ( *((_BYTE *)this + 184) ) { v4 = (int *)&unk_119B410; do { v25 = *v4; v5 = std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::find( v30, &v25); if ( v5 ) std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::erase( (__int64 *)v30, v5); ++v4; } while ( v4 != (int *)&unk_119B428 ); for ( i = *((int **)this + 17); (int *)((char *)this + 144) != i; i = (int *)std::__tree_next *>(i) ) { if ( *((_QWORD *)i + 7) ) { v7 = (int *)std::unordered_map>::operator[]((unsigned __int64)v30, i + 8); if ( i + 10 != v7 ) std::__tree::__assign_multi *,long>>( (_QWORD **)v7, *((_QWORD **)i + 5), (_QWORD *)i + 6); } } v8 = *((int **)this + 20); for ( j = (int *)((char *)this + 168); j != v8; v8 = (int *)std::__tree_next *>(v8) ) { for ( k = *((int **)v8 + 5); v8 + 12 != k; k = (int *)std::__tree_next *>(k) ) { v25 = k[7]; v11 = (__int64 **)std::unordered_map>::operator[]((unsigned __int64)v30, &v25); std::__tree::__emplace_unique_key_args(v11, v8 + 8, v8 + 8); } } } v12 = v31; v13 = 1; *a2 = 0; v14 = nullptr; a2[1] = 0; a2[2] = 0; if ( v12 ) { do { if ( *((_QWORD *)v12 + 5) ) { if ( !v13 ) std::string::push_back(a2, 124); std::to_string(v26, v12[4]); if ( ((__int64)v26[0] & 1) != 0 ) { v15 = (char *)v27; v16 = (size_t)v26[1]; } else { v16 = LOBYTE(v26[0]) >> 1; v15 = (char *)v26 + 1; } std::string::append((__int64)a2, v15, v16); if ( ((__int64)v26[0] & 1) != 0 ) operator delete(v27); std::string::push_back(a2, 58); v17 = *((_QWORD **)v12 + 3); v18 = v12 + 8; v19 = 1; if ( v17 != (_QWORD *)(v12 + 8) ) { do { while ( 1 ) { v22 = *((_DWORD *)v17 + 7); if ( !v19 ) std::string::push_back(a2, 44); std::to_string(v28, v22); if ( ((__int64)v28[0] & 1) != 0 ) { v20 = (char *)v29; v21 = (size_t)v28[1]; } else { v21 = LOBYTE(v28[0]) >> 1; v20 = (char *)v28 + 1; } std::string::append((__int64)a2, v20, v21); if ( ((__int64)v28[0] & 1) != 0 ) break; v17 = std::__tree_next *>(v17); v19 = 0; if ( v18 == v17 ) goto LABEL_33; } operator delete(v29); v17 = std::__tree_next *>(v17); v19 = 0; } while ( v18 != v17 ); } LABEL_33: v13 = 0; } v12 = *(_DWORD **)v12; } while ( v12 ); v14 = v31; } sub_C0A648(v14); v23 = v30[0]; v30[0] = nullptr; if ( v23 ) operator delete(v23); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source