// // GJKeybindManager::parseBindsBlob from 0x10018d5b4 to 0x10018d82c (632 bytes) // // 3 xrefs: // > GJKeybindManager::dataLoaded @ 0x10018dac8 // > GJKeybindManager::parseImportFile @ 0x10018e17c // > GJKeybindManager::applyImportBlob @ 0x10018e238 // // 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 10:59:53 +0000 // void __fastcall GJKeybindManager::parseBindsBlob(__int64 a1, std::string *this, int a3, _DWORD *a4, _DWORD *a5) { char v7; // w23 std::string::size_type size; // x8 std::string::size_type v11; // x25 char v12; // w28 std::string::size_type v13; // x24 std::string::size_type v14; // x0 std::string::size_type v15; // x26 int v16; // w25 const char *v17; // x0 _BOOL4 v18; // w23 void *v19; // x27 std::string::size_type v20; // x26 char v21; // w20 std::string::size_type v22; // x0 std::string::size_type v23; // x8 std::string::size_type v24; // x19 int v25; // w26 void *v26; // x27 int v27; // w1 _DWORD *v28; // x8 _BOOL4 v29; // w9 std::string::size_type v30; // x8 _DWORD *v31; // [xsp+0h] [xbp-80h] _DWORD *v32; // [xsp+8h] [xbp-78h] std::string v33; // [xsp+10h] [xbp-70h] BYREF std::allocator __a; // [xsp+2Fh] [xbp-51h] BYREF v7 = a3; if ( a3 ) { sub_10018E97C(a1 + 56); sub_10018E97C(a1 + 96); } if ( a4 ) *a4 = 0; v32 = a4; if ( a5 ) *a5 = 0; size = HIBYTE(this->__r_.__value_.__r.__words[2]); if ( (size & 0x80u) != 0LL ) size = this->__r_.__value_.__l.__size_; if ( size ) { v11 = 0; v12 = v7 ^ 1; v31 = a5; do { v13 = std::string::find(this, 124, v11); if ( v13 == -1 ) { v13 = SHIBYTE(this->__r_.__value_.__r.__words[2]); if ( (v13 & 0x8000000000000000LL) != 0 ) v13 = this->__r_.__value_.__l.__size_; } v14 = std::string::find(this, 58, v11); if ( v14 == -1 ) goto LABEL_46; v15 = v14; if ( v14 >= v13 ) goto LABEL_46; std::string::basic_string(&v33, this, v11, v14 - v11, &__a); if ( SHIBYTE(v33.__r_.__value_.__r.__words[2]) < 0 ) { v19 = (void *)v33.__r_.__value_.__r.__words[0]; v16 = atoi(v33.__r_.__value_.__l.__data_); operator delete(v19); if ( v16 ) { LABEL_18: v17 = GJKeybindManager::actionToString(v16); v18 = strcmp(v17, "Unknown") == 0; goto LABEL_21; } } else { v16 = atoi((const char *)&v33); if ( v16 ) goto LABEL_18; } v18 = 1; LABEL_21: v20 = v15 + 1; if ( v20 < v13 ) { v21 = 0; do { v22 = std::string::find(this, 44, v20); if ( v22 >= v13 ) v23 = v13; else v23 = v22; if ( v22 == -1 ) v24 = v13; else v24 = v23; std::string::basic_string(&v33, this, v20, v24 - v20, &__a); if ( SHIBYTE(v33.__r_.__value_.__r.__words[2]) < 0 ) { v26 = (void *)v33.__r_.__value_.__r.__words[0]; v25 = atoi(v33.__r_.__value_.__l.__data_); operator delete(v26); } else { v25 = atoi((const char *)&v33); } if ( (unsigned int)(unsigned __int16)v25 - 1001 >= 0x2C ) v27 = v25; else v27 = (unsigned __int16)v25; if ( (v27 == 0 || v18) | v12 & 1 ) { v21 |= v27 != 0 && !v18; } else { GJKeybindManager::bindChord(a1, v27, v16); v21 = 1; } v20 = v24 + 1; } while ( v24 + 1 < v13 ); a5 = v31; v28 = v32; if ( ((v32 != nullptr) & (unsigned __int8)v21) != 0 ) goto LABEL_45; } v29 = v16 && v18; if ( a5 ) { v28 = a5; if ( v29 ) LABEL_45: ++*v28; } LABEL_46: v11 = v13 + 1; v30 = HIBYTE(this->__r_.__value_.__r.__words[2]); if ( (v30 & 0x80u) != 0LL ) v30 = this->__r_.__value_.__l.__size_; } while ( v11 < v30 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source