// // KeybindSet::bindChord from 0x1009253a0 to 0x1009254d5 (309 bytes) // // 1 xrefs: // > @ 0x100bc1660 // // 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 12:38:19 +0000 // void __fastcall KeybindSet::bindChord(__int64 a1, int a2, int a3) { __int64 v4; // rbx _QWORD *v5; // rax _QWORD *v6; // r13 _QWORD *v7; // r14 _QWORD *v8; // rbx __int64 v9; // rax __int64 *v10; // rax _QWORD *v11; // r13 _QWORD *v12; // r12 _DWORD *v13; // rax __int64 v14; // rcx v4 = a1; v5 = *(_QWORD **)(a1 + 16); if ( v5 ) { while ( 1 ) { while ( 1 ) { v7 = v5; if ( *((_DWORD *)v5 + 8) <= a3 ) break; v5 = (_QWORD *)*v5; v6 = v7; if ( !*v7 ) goto LABEL_8; } if ( *((_DWORD *)v5 + 8) >= a3 ) break; v5 = (_QWORD *)v5[1]; if ( !v5 ) { v6 = v7 + 1; goto LABEL_8; } } } else { v6 = (_QWORD *)(a1 + 16); v7 = (_QWORD *)(a1 + 16); LABEL_8: v8 = v7; v7 = operator new(0x40u); *((_DWORD *)v7 + 8) = a3; *((_OWORD *)v7 + 3) = 0; v7[5] = v7 + 6; *(_OWORD *)v7 = 0; v7[2] = v8; v4 = a1; *v6 = v7; v9 = **(_QWORD **)(a1 + 8); if ( v9 ) *(_QWORD *)(a1 + 8) = v9; sub_10001B680(*(__int64 **)(a1 + 16), v7); ++*(_QWORD *)(a1 + 24); } v10 = (__int64 *)v7[6]; if ( v10 ) { while ( 1 ) { while ( 1 ) { v12 = v10; if ( *((_DWORD *)v10 + 7) <= a2 ) break; v10 = (__int64 *)*v10; v11 = v12; if ( !*v12 ) goto LABEL_18; } if ( *((_DWORD *)v10 + 7) >= a2 ) break; v10 = (__int64 *)v10[1]; if ( !v10 ) { v11 = v12 + 1; goto LABEL_18; } } } else { v11 = v7 + 6; v12 = v7 + 6; LABEL_18: v13 = operator new(0x20u); v13[7] = a2; *(_OWORD *)v13 = 0; *((_QWORD *)v13 + 2) = v12; *v11 = v13; v14 = *(_QWORD *)v7[5]; if ( v14 ) v7[5] = v14; sub_10001B680((__int64 *)v7[6], (__int64 *)v13); ++v7[7]; } *(_BYTE *)(v4 + 32) = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source