// // CMS_get0_content from 0x874f40 to 0x875048 (264 bytes) // // 6 xrefs: // > CMS_stream @ 0x8741ec // > cms_content_bio @ 0x875054 // > CMS_dataFinal @ 0x8751cc // > CMS_is_detached @ 0x875500 // > CMS_set_detached @ 0x875528 // > @ 0x6a1ec // // 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 // int __fastcall CMS_get0_content(int *a1) { char *v2; // r0 _DWORD *v3; // r0 v2 = OBJ_obj2nid(*a1); if ( v2 == (_BYTE *)&dword_18 + 1 ) return *(_DWORD *)(a1[1] + 8) + 4; if ( (int)v2 <= 25 ) { if ( v2 != (_BYTE *)&dword_14 + 2 ) { if ( v2 == (_BYTE *)&dword_14 + 3 ) return *(_DWORD *)(a1[1] + 12) + 8; if ( v2 == (_BYTE *)&dword_14 + 1 ) return (int)(a1 + 1); goto LABEL_6; } return *(_DWORD *)(a1[1] + 8) + 4; } if ( v2 == (_BYTE *)&dword_CC + 1 ) return *(_DWORD *)(a1[1] + 20) + 4; if ( v2 == (_BYTE *)&stru_30C.st_value + 2 ) return *(_DWORD *)(a1[1] + 12) + 4; if ( v2 == (_BYTE *)&dword_18 + 2 ) return *(_DWORD *)(a1[1] + 4) + 8; LABEL_6: v3 = (_DWORD *)a1[1]; if ( *v3 == 4 ) return (int)(v3 + 1); ERR_put_error(46, 129, 152, (int)"crypto/cms/cms_lib.c", 184); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source