// // DIST_POINT_set_dpname from 0xa6b790 to 0xa6b854 (196 bytes) // // 3 xrefs: // > sub_A5D954 @ 0xa5dad0 // > sub_A6F754 @ 0xa6fb74 // > @ 0x81c2c // // 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:08:39 +0000 // int __fastcall DIST_POINT_set_dpname(int a1, int a2) { int v3; // r6 _DWORD *v5; // r7 int v6; // r0 signed int v7; // r4 int v8; // r0 _BOOL4 v9; // r3 if ( !a1 || *(_DWORD *)a1 != 1 ) return 1; v5 = *(_DWORD **)(a1 + 4); v6 = X509_NAME_dup(a2); *(_DWORD *)(a1 + 8) = v6; if ( !v6 ) return 0; v7 = 0; while ( v7 < OPENSSL_sk_num((int)v5) ) { v8 = OPENSSL_sk_value(v5, v7); v9 = v7++ == 0; v3 = X509_NAME_add_entry(*(int **)(a1 + 8), v8, -1, v9); if ( !v3 ) { X509_NAME_free(*(_DWORD **)(a1 + 8)); *(_DWORD *)(a1 + 8) = 0; return v3; } } if ( i2d_X509_NAME(*(size_t **)(a1 + 8), nullptr) >= 0 ) return 1; v3 = 0; X509_NAME_free(*(_DWORD **)(a1 + 8)); *(_DWORD *)(a1 + 8) = 0; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source