{"type": "func", "start": 14807140, "end": 14807188, "name": "CMS_RecipientEncryptedKey_cert_cmp", "pseudocode": "// \n// CMS_RecipientEncryptedKey_cert_cmp from 0xe1f064 to 0xe1f094 (48 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xaf758\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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 0xe1f064 to 0xe1f094 (48 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xaf758\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             X0, [X0]                                               ; +0x0, 0xe1f064\nLDR             W2, [X0]                                               ; +0x4, 0xe1f068\nCBZ             W2, loc_E1F084                                         ; +0x8, 0xe1f06c\nCMP             W2, #1                                                 ; +0xc, 0xe1f070\nB.NE            loc_E1F08C                                             ; +0x10, 0xe1f074\nLDR             X0, [X0,#8]                                            ; +0x14, 0xe1f078\nLDR             X0, [X0]                                               ; +0x18, 0xe1f07c\nB               cms_keyid_cert_cmp                                     ; +0x1c, 0xe1f080\nLDR             X0, [X0,#8]                                            ; +0x20, 0xe1f084\nB               cms_ias_cert_cmp                                       ; +0x24, 0xe1f088\nMOV             W0, #0xFFFFFFFF                                        ; +0x28, 0xe1f08c\nRET                                                                    ; +0x2c, 0xe1f090", "xrefs": ["<???> @ 0xaf758"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}