// // sub_D3BBD8 from 0xd3bbd8 to 0xd3bd08 (304 bytes) // // 2 xrefs: // > ssl_create_cipher_list @ 0xd3d2c0 // > ssl_create_cipher_list @ 0xd3d2d0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_D3BBD8(__int64 result, __int64 *a2, __int64 *a3) { __int64 v3; // x4 __int64 v4; // x8 __int64 v5; // x9 __int64 v6; // x3 __int64 v7; // x5 __int64 v8; // x7 __int64 v9; // x3 __int64 v10; // x5 __int64 v11; // x5 __int64 v12; // x6 __int64 v13; // x3 __int64 v14; // x7 v3 = *a3; v4 = *a2; v5 = *a3; if ( (_DWORD)result ) { v6 = *a2; v7 = 0; if ( v4 ) { do { if ( v3 == v7 ) break; v8 = *(_QWORD *)(v6 + 16); if ( (*(_DWORD *)(*(_QWORD *)v6 + 20LL) & 4) != 0 && ((unsigned int)result & *(_DWORD *)(*(_QWORD *)v6 + 24LL)) != 0 && !*(_DWORD *)(v6 + 8) ) { if ( v6 != v5 ) { v11 = *(_QWORD *)(v6 + 24); if ( v6 == v4 ) v4 = *(_QWORD *)(v6 + 16); if ( v11 ) *(_QWORD *)(v11 + 16) = v8; v12 = *(_QWORD *)(v6 + 16); if ( v12 ) *(_QWORD *)(v12 + 24) = v11; *(_QWORD *)(v5 + 16) = v6; *(_QWORD *)(v6 + 24) = v5; v5 = v6; *(_QWORD *)(v6 + 16) = 0; } *(_DWORD *)(v6 + 8) = 1; } v7 = v6; v6 = v8; } while ( v8 ); } } else { result = *a2; v9 = 0; while ( result && v3 != v9 ) { v10 = *(_QWORD *)(result + 16); if ( (*(_DWORD *)(*(_QWORD *)result + 20LL) & 4) != 0 && !*(_DWORD *)(result + 8) ) { if ( result != v5 ) { v13 = *(_QWORD *)(result + 24); if ( result == v4 ) v4 = *(_QWORD *)(result + 16); if ( v13 ) *(_QWORD *)(v13 + 16) = v10; v14 = *(_QWORD *)(result + 16); if ( v14 ) *(_QWORD *)(v14 + 24) = v13; *(_QWORD *)(v5 + 16) = result; *(_QWORD *)(result + 24) = v5; v5 = result; *(_QWORD *)(result + 16) = 0; } *(_DWORD *)(result + 8) = 1; } v9 = result; result = v10; } } *a2 = v4; *a3 = v5; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source