// // asn1_do_adb from 0x9df268 to 0x9df3a4 (316 bytes) // // 19 xrefs: // > sub_9D9D48 @ 0x9da1d0 // > sub_9D9D48 @ 0x9da288 // > sub_9D9D48 @ 0x9da6a8 // > sub_9DAE6C @ 0x9db0cc // > sub_9DAE6C @ 0x9db3d4 // > sub_9DAE6C @ 0x9db578 // > ASN1_item_ex_d2i @ 0x9dba9c // > ASN1_item_ex_d2i @ 0x9dbde8 // > ASN1_item_ex_d2i @ 0x9dbf64 // > ASN1_item_ex_i2d @ 0x9dc99c // > ASN1_item_ex_i2d @ 0x9dcab0 // > asn1_template_free @ 0x9dd55c // > asn1_template_free @ 0x9dd8c0 // > ASN1_item_free @ 0x9ddbbc // > ASN1_item_ex_free @ 0x9ddf00 // > sub_A7C880 @ 0xa7cc48 // > sub_A7C880 @ 0xa7d220 // > ASN1_item_print @ 0xa7dca0 // > @ 0x784cc // // 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:19 +0000 // _DWORD *__fastcall asn1_do_adb(_DWORD *a1, _DWORD *a2, int a3) { _DWORD *v3; // r6 int v5; // r0 int (__fastcall *v6)(int *); // r3 int v7; // r2 _DWORD *v8; // r1 int v9; // r3 _DWORD *result; // r0 int v11; // [sp+Ch] [bp-14h] BYREF if ( (*a2 & 0x300) == 0 ) return a2; v3 = (_DWORD *)a2[4]; v5 = *(_DWORD *)(*a1 + v3[1]); if ( !v5 ) { result = (_DWORD *)v3[6]; if ( result ) return result; goto LABEL_19; } if ( (*a2 & 0x100) != 0 ) v11 = OBJ_obj2nid(v5); else v11 = ASN1_INTEGER_get(); v6 = (int (__fastcall *)(int *))v3[2]; if ( v6 && !v6(&v11) ) { ERR_put_error(13, 110, 164, "crypto/asn1/tasn_utl.c", 213); return nullptr; } v7 = v3[4]; v8 = (_DWORD *)v3[3]; if ( v7 > 0 ) { if ( *v8 == v11 ) return v8 + 1; v9 = 0; while ( 1 ) { ++v9; v8 += 6; if ( v9 == v7 ) break; if ( *v8 == v11 ) return v8 + 1; } } result = (_DWORD *)v3[5]; if ( !result ) { LABEL_19: if ( a3 ) ERR_put_error(13, 110, 164, "crypto/asn1/tasn_utl.c", 238); return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source