// // sub_1009241C0 from 0x1009241c0 to 0x1009244c7 (775 bytes) // // 5 xrefs: // > sub_10091EE00 @ 0x10091ee33 // > sub_10091F100 @ 0x10091f147 // > sub_10091FBD0 @ 0x10091fd35 // > sub_100924610 @ 0x100924b77 // > sub_100924610 @ 0x100924b84 // // 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:18 +0000 // void __fastcall sub_1009241C0(__int64 a1, char a2) { __int64 v2; // rax unsigned int *v3; // r15 unsigned int *v4; // r13 __int64 v5; // rax unsigned int *v6; // r15 unsigned int *v7; // r13 __int64 v8; // rax unsigned int *v9; // r15 unsigned int *v10; // r13 __int64 v11; // rax unsigned int *v12; // r15 unsigned int *v13; // r13 __int64 v14; // rax unsigned int *v15; // r15 unsigned int *v16; // r13 __int64 v17; // rax unsigned int *v18; // r15 unsigned int *v19; // r13 unsigned int v20; // r12d unsigned int v21; // r12d unsigned int v22; // r12d unsigned int v23; // r12d unsigned int v24; // r12d unsigned int v25; // r12d void *__p; // [rsp+0h] [rbp-40h] BYREF unsigned int *v27; // [rsp+8h] [rbp-38h] v2 = GJKeybindManager::sharedState(); sub_1006172E0(&__p, v2, 10001); v3 = (unsigned int *)__p; v4 = v27; if ( __p == v27 ) { if ( !__p ) goto LABEL_4; goto LABEL_3; } do { v20 = *v3; if ( GJKeybindManager::isControllerChord(*v3) == a2 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 32LL))(a1, v20, 10001); ++v3; } while ( v3 != v4 ); v3 = (unsigned int *)__p; if ( __p ) { LABEL_3: v27 = v3; operator delete(v3); } LABEL_4: v5 = GJKeybindManager::sharedState(); sub_1006172E0(&__p, v5, 10002); v6 = (unsigned int *)__p; v7 = v27; if ( __p == v27 ) { if ( !__p ) goto LABEL_7; goto LABEL_6; } do { v21 = *v6; if ( GJKeybindManager::isControllerChord(*v6) == a2 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 32LL))(a1, v21, 10002); ++v6; } while ( v6 != v7 ); v6 = (unsigned int *)__p; if ( __p ) { LABEL_6: v27 = v6; operator delete(v6); } LABEL_7: v8 = GJKeybindManager::sharedState(); sub_1006172E0(&__p, v8, 10003); v9 = (unsigned int *)__p; v10 = v27; if ( __p == v27 ) { if ( !__p ) goto LABEL_10; goto LABEL_9; } do { v22 = *v9; if ( GJKeybindManager::isControllerChord(*v9) == a2 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 32LL))(a1, v22, 10003); ++v9; } while ( v9 != v10 ); v9 = (unsigned int *)__p; if ( __p ) { LABEL_9: v27 = v9; operator delete(v9); } LABEL_10: v11 = GJKeybindManager::sharedState(); sub_1006172E0(&__p, v11, 10004); v12 = (unsigned int *)__p; v13 = v27; if ( __p == v27 ) { if ( !__p ) goto LABEL_13; goto LABEL_12; } do { v23 = *v12; if ( GJKeybindManager::isControllerChord(*v12) == a2 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 32LL))(a1, v23, 10004); ++v12; } while ( v12 != v13 ); v12 = (unsigned int *)__p; if ( __p ) { LABEL_12: v27 = v12; operator delete(v12); } LABEL_13: v14 = GJKeybindManager::sharedState(); sub_1006172E0(&__p, v14, 10005); v15 = (unsigned int *)__p; v16 = v27; if ( __p == v27 ) { if ( !__p ) goto LABEL_16; goto LABEL_15; } do { v24 = *v15; if ( GJKeybindManager::isControllerChord(*v15) == a2 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 32LL))(a1, v24, 10005); ++v15; } while ( v15 != v16 ); v15 = (unsigned int *)__p; if ( __p ) { LABEL_15: v27 = v15; operator delete(v15); } LABEL_16: v17 = GJKeybindManager::sharedState(); sub_1006172E0(&__p, v17, 10006); v18 = (unsigned int *)__p; v19 = v27; if ( __p == v27 ) { if ( !__p ) return; goto LABEL_18; } do { v25 = *v18; if ( GJKeybindManager::isControllerChord(*v18) == a2 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 32LL))(a1, v25, 10006); ++v18; } while ( v18 != v19 ); v18 = (unsigned int *)__p; if ( __p ) { LABEL_18: v27 = v18; operator delete(v18); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source