// // SSL_get_sigalgs from 0x9c85c0 to 0x9c885c (668 bytes) // // 1 xrefs: // > @ 0x7741c // // 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 12:07:07 +0000 // int __fastcall SSL_get_sigalgs(int a1, int a2, int *a3, int *a4, _DWORD *a5, _BYTE *a6, _BYTE *a7) { int v7; // lr int v8; // r12 int v9; // lr bool v10; // zf char v11; // r4 int v12; // r4 int v13; // r7 int v14; // r4 int v15; // r1 int v16; // r1 int v17; // r12 int v18; // r3 int v19; // r3 bool v20; // zf int *v23; // r3 int *v24; // r1 v7 = *(_DWORD *)(a1 + 104); v8 = *(_DWORD *)(v7 + 616); if ( !v8 ) return 0; if ( a2 < 0 ) return *(_DWORD *)(v7 + 620) >> 1; if ( 2 * a2 < *(_DWORD *)(v7 + 620) ) { v9 = v8 + 2 * a2; if ( a7 ) *a7 = *(_BYTE *)(v8 + 2 * a2); if ( a6 ) *a6 = *(_BYTE *)(v9 + 1); v10 = a3 == nullptr; if ( !a3 ) v10 = a5 == nullptr; v11 = v10; if ( a4 ) v12 = 0; else v12 = v11 & 1; if ( v12 ) goto LABEL_57; v13 = (int)a4; if ( a4 ) v13 = 1; v14 = (int)a5; if ( a5 ) v14 = 1; if ( !(v13 | v14) ) { v15 = 0; goto LABEL_36; } v16 = *(unsigned __int8 *)(v8 + 2 * a2); switch ( v16 ) { case 1: v24 = dword_C51798; break; case 2: v24 = &dword_C517A0; break; case 3: v24 = &dword_C517A8; break; case 4: v24 = &dword_C517B0; break; case 5: v24 = &dword_C517B8; break; case 6: v24 = &dword_C517C0; break; case 237: v24 = &dword_C517C8; break; case 238: v24 = &dword_C517D0; break; case 239: v24 = &dword_C517D8; break; default: v15 = 0; goto LABEL_34; } v15 = *v24; LABEL_34: if ( v13 ) *a4 = v15; LABEL_36: v17 = (int)a3; if ( a3 ) v17 = 1; if ( v17 | v14 ) { v18 = *(unsigned __int8 *)(v9 + 1); switch ( v18 ) { case 1: v23 = &dword_C517E0; break; case 2: v23 = &dword_C517E8; break; case 3: v23 = &dword_C517F0; break; case 237: v23 = &dword_C517F8; break; case 238: v23 = &dword_C51800; break; case 239: v23 = &dword_C51808; break; default: v19 = 0; goto LABEL_47; } v19 = *v23; LABEL_47: if ( v17 ) *a3 = v19; if ( v14 ) { v20 = v15 == 0; if ( v15 ) v20 = v19 == 0; if ( v20 || OBJ_find_sigid_by_algs(a5, v15, v19) <= 0 ) { v7 = *(_DWORD *)(a1 + 104); *a5 = 0; } else { v7 = *(_DWORD *)(a1 + 104); } return *(_DWORD *)(v7 + 620) >> 1; } } LABEL_57: v7 = *(_DWORD *)(a1 + 104); return *(_DWORD *)(v7 + 620) >> 1; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source