// // CMS_get0_content from 0xe1f820 to 0xe1f938 (280 bytes) // // 6 xrefs: // > CMS_stream @ 0xe1eb58 // > cms_content_bio @ 0xe1f940 // > CMS_dataFinal @ 0xe1fac8 // > CMS_is_detached @ 0xe1fe18 // > CMS_set_detached @ 0xe1fe4c // > @ 0x86b50 // // 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_get0_content(__int64 *a1) { int v2; // w0 _DWORD *v3; // x0 __int64 result; // x0 bool v5; // zf v2 = OBJ_obj2nid(*a1); if ( v2 == 25 ) return *(_QWORD *)(a1[1] + 16) + 8LL; if ( v2 > 25 ) { switch ( v2 ) { case 205: return *(_QWORD *)(a1[1] + 40) + 8LL; case 786: return *(_QWORD *)(a1[1] + 24) + 8LL; case 26: return *(_QWORD *)(a1[1] + 8) + 16LL; } goto LABEL_6; } if ( v2 == 22 ) return *(_QWORD *)(a1[1] + 16) + 8LL; if ( v2 == 23 ) return *(_QWORD *)(a1[1] + 24) + 16LL; v5 = v2 == 21; result = (__int64)(a1 + 1); if ( !v5 ) { LABEL_6: v3 = (_DWORD *)a1[1]; if ( *v3 == 4 ) { return (__int64)(v3 + 2); } else { ERR_put_error(46, 129, 152, (__int64)"crypto/cms/cms_lib.c", 184); return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source