// // KeybindingsLayer::actionsToShow from 0x5899b0 to 0x589b00 (336 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:00 +0000 // KeybindingsLayer *__fastcall KeybindingsLayer::actionsToShow(KeybindingsLayer *this, int a2, int a3) { int v5; // r1 char *i; // r5 int v7; // r3 int v8; // r3 const char *v9; // r7 size_t v10; // r0 int v11; // r7 _DWORD *v12; // r3 unsigned int v13; // r8 _BOOL4 v15; // [sp+4h] [bp-40h] int v17[3]; // [sp+18h] [bp-2Ch] BYREF char *v18[3]; // [sp+24h] [bp-20h] BYREF unsigned __int8 v19[12]; // [sp+30h] [bp-14h] BYREF *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; v5 = a3 - *(_DWORD *)(a2 + 800); v15 = v5 == 0; if ( v5 || ((v7 = *(unsigned __int8 *)(a2 + 788), (v7 & 1) != 0) ? (v8 = *(_DWORD *)(a2 + 792)) : (v8 = v7 >> 1), v8) ) { for ( i = (char *)&unk_BED950; i != "ybindingsLayer"; i += 8 ) { if ( v15 ) { v9 = (const char *)GJKeybindManager::actionToString(*((GJKeybindManager **)i - 1), v5); memset(v17, 0, sizeof(v17)); v10 = strlen(v9); std::string::__init(v17, v9, v10); v11 = sub_588EF6((unsigned __int8 *)v17, (unsigned __int8 *)(a2 + 788)); std::string::~string((int)v17); if ( v11 ) goto LABEL_12; (*(void (__fastcall **)(char **))(**(_DWORD **)(a2 + 756) + 8))(v18); v13 = 0; while ( v13 < (v18[1] - v18[0]) >> 2 && !v11 ) { GJKeybindManager::chordToString((GJKeybindManager *)v19, *(_DWORD *)&v18[0][4 * v13++]); v11 = sub_588EF6(v19, (unsigned __int8 *)(a2 + 788)); std::string::~string((int)v19); } std::__vector_base::~__vector_base(v18); if ( v11 ) { LABEL_12: v12 = *((_DWORD **)this + 1); if ( v12 == *((_DWORD **)this + 2) ) { std::vector::__push_back_slow_path((int)this, (_DWORD *)i - 1); } else { if ( v12 ) *v12 = *((_DWORD *)i - 1); *((_DWORD *)this + 1) += 4; } } } else if ( *(_DWORD *)i == a3 ) { goto LABEL_12; } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source