{"type": "func", "start": 17421156, "end": 17421204, "name": "CMS_RecipientEncryptedKey_cert_cmp", "pseudocode": "// \n// CMS_RecipientEncryptedKey_cert_cmp from 0x109d364 to 0x109d394 (48 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xe5a20\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:17:29 +0000\n// \n\n__int64 __fastcall CMS_RecipientEncryptedKey_cert_cmp(__int64 *a1)\n{\n  __int64 v1; // x0\n\n  v1 = *a1;\n  if ( !*(_DWORD *)v1 )\n    return cms_ias_cert_cmp(*(_QWORD *)(v1 + 8));\n  if ( *(_DWORD *)v1 == 1 )\n    return cms_keyid_cert_cmp(**(_QWORD **)(v1 + 8));\n  return 0xFFFFFFFFLL;\n}", "assembly": "; \n; CMS_RecipientEncryptedKey_cert_cmp from 0x109d364 to 0x109d394 (48 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xe5a20\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:17:29 +0000\n; \nLDR             X0, [X0]                                               ; +0x0, 0x109d364\nLDR             W2, [X0]                                               ; +0x4, 0x109d368\nCBZ             W2, loc_109D384                                        ; +0x8, 0x109d36c\nCMP             W2, #1                                                 ; +0xc, 0x109d370\nB.NE            loc_109D38C                                            ; +0x10, 0x109d374\nLDR             X0, [X0,#8]                                            ; +0x14, 0x109d378\nLDR             X0, [X0]                                               ; +0x18, 0x109d37c\nB               cms_keyid_cert_cmp                                     ; +0x1c, 0x109d380\nLDR             X0, [X0,#8]                                            ; +0x20, 0x109d384\nB               cms_ias_cert_cmp                                       ; +0x24, 0x109d388\nMOV             W0, #0xFFFFFFFF                                        ; +0x28, 0x109d38c\nRET                                                                    ; +0x2c, 0x109d390", "xrefs": ["<???> @ 0xe5a20"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}