// // CMS_RecipientInfo_kari_get0_orig_id from 0xe1ee5c to 0xe1ef50 (244 bytes) // // 5 xrefs: // > sub_D869F4 @ 0xd86aa8 // > sub_D869F4 @ 0xd86e1c // > sub_D8B4C0 @ 0xd8b630 // > sub_D8B4C0 @ 0xd8b8d4 // > @ 0x5c088 // // 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 CMS_RecipientInfo_kari_get0_orig_id( unsigned int *a1, _QWORD *a2, _QWORD *a3, _QWORD *a4, _QWORD *a5, _QWORD *a6) { __int64 result; // x0 int *v8; // x6 int v9; // w7 result = *a1; if ( (_DWORD)result == 1 ) { v8 = *(int **)(*((_QWORD *)a1 + 1) + 8LL); if ( a5 ) *a5 = 0; if ( a6 ) *a6 = 0; if ( a4 ) *a4 = 0; if ( a2 ) *a2 = 0; if ( a3 ) *a3 = 0; v9 = *v8; if ( *v8 ) { if ( v9 == 1 ) { if ( a4 ) { *a4 = *((_QWORD *)v8 + 1); return 1; } } else if ( v9 == 2 ) { if ( a2 ) *a2 = **((_QWORD **)v8 + 1); if ( a3 ) *a3 = *(_QWORD *)(*((_QWORD *)v8 + 1) + 8LL); } else { return 0; } } else { if ( a5 ) *a5 = **((_QWORD **)v8 + 1); if ( a6 ) *a6 = *(_QWORD *)(*((_QWORD *)v8 + 1) + 8LL); } } else { ERR_put_error(46, 173, 181, (__int64)"crypto/cms/cms_kari.c", 61); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source