// // CMS_get0_content from 0xa89b40 to 0xa89c48 (264 bytes) // // 6 xrefs: // > CMS_stream @ 0xa88dec // > cms_content_bio @ 0xa89c54 // > CMS_dataFinal @ 0xa89dcc // > CMS_is_detached @ 0xa8a100 // > CMS_set_detached @ 0xa8a128 // > @ 0x83c6c // // 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:54 +0000 // 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; }