// // sub_588EF6 from 0x588ef6 to 0x588fa0 (170 bytes) // // 2 xrefs: // > KeybindingsLayer::actionsToShow @ 0x589a54 // > KeybindingsLayer::actionsToShow @ 0x589ac4 // // 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 // int __fastcall sub_588EF6(unsigned __int8 *a1, unsigned __int8 *a2) { int v3; // r4 int v5; // r5 int v6; // r11 unsigned int v7; // r2 int v8; // r9 unsigned int v9; // r3 int v10; // r5 int v11; // r4 unsigned int i; // r10 int v13; // r3 int v14; // r2 unsigned int j; // r8 unsigned int v16; // r3 unsigned __int8 *v17; // r3 int v18; // r2 unsigned __int8 *v19; // r3 v3 = *a2; v5 = *a1; v6 = v3 & 1; if ( (v3 & 1) != 0 ) v7 = *((_DWORD *)a2 + 1); else v7 = v3 >> 1; v8 = v5 & 1; if ( (v5 & 1) != 0 ) v9 = *((_DWORD *)a1 + 1); else v9 = v5 >> 1; if ( v7 <= v9 ) { v10 = v5 >> 1; v11 = v3 >> 1; for ( i = 0; ; ++i ) { v13 = v8 ? *((_DWORD *)a1 + 1) : v10; v14 = v6 ? *((_DWORD *)a2 + 1) : v11; if ( i > v13 - v14 ) break; for ( j = 0; ; ++j ) { if ( v6 ) v16 = *((_DWORD *)a2 + 1); else v16 = v11; if ( j >= v16 ) return 1; v17 = v8 ? *((unsigned __int8 **)a1 + 2) : a1 + 1; v18 = tolower(v17[j + i]); v19 = v6 ? *((unsigned __int8 **)a2 + 2) : a2 + 1; if ( v18 != tolower(v19[j]) ) break; } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source