// // CMS_get0_eContentType from 0xa89f44 to 0xa89ffc (184 bytes) // // 2 xrefs: // > SMIME_write_CMS @ 0xa89048 // > @ 0x83d6c // // 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_eContentType(int *a1) { char *v2; // r0 int v4; // r3 v2 = OBJ_obj2nid(*a1); if ( v2 == (_BYTE *)&dword_18 + 1 ) goto LABEL_13; if ( (int)v2 <= 25 ) { if ( v2 != (_BYTE *)&dword_14 + 2 ) { if ( v2 != (_BYTE *)&dword_14 + 3 ) goto LABEL_6; goto LABEL_9; } LABEL_13: v4 = *(_DWORD *)(a1[1] + 8); goto LABEL_10; } if ( v2 == (_BYTE *)&dword_CC + 1 ) { v4 = *(_DWORD *)(a1[1] + 20); goto LABEL_10; } if ( v2 == (_BYTE *)&stru_30C.st_value + 2 ) { LABEL_9: v4 = *(_DWORD *)(a1[1] + 12); goto LABEL_10; } if ( v2 != (_BYTE *)&dword_18 + 2 ) { LABEL_6: ERR_put_error(46, 130, 152, (int)"crypto/cms/cms_lib.c", 218); return 0; } v4 = *(_DWORD *)(a1[1] + 4); LABEL_10: if ( v4 ) return *(_DWORD *)v4; else return 0; }