{"type": "func", "start": 8870296, "end": 8870332, "name": "CMS_add1_cert", "pseudocode": "// \n// CMS_add1_cert from 0x875998 to 0x8759bc (36 bytes)\n// \n// 2 xrefs:\n// > CMS_add1_signer @ 0x8781d8\n// > <???> @ 0x6a4cc\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\nint __fastcall CMS_add1_cert(int *a1, int a2)\n{\n  int v3; // r4\n\n  v3 = CMS_add0_cert(a1, a2);\n  if ( v3 > 0 )\n    X509_up_ref(a2);\n  return v3;\n}", "assembly": "; \n; CMS_add1_cert from 0x875998 to 0x8759bc (36 bytes)\n; \n; 2 xrefs:\n; > CMS_add1_signer @ 0x8781d8\n; > <???> @ 0x6a4cc\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x875998\nMOV             R5, R1                                                 ; +0x4, 0x87599c\nBL              CMS_add0_cert                                          ; +0x8, 0x8759a0\nSUBS            R4, R0, #0                                             ; +0xc, 0x8759a4\nBLE             loc_8759B4                                             ; +0x10, 0x8759a8\nMOV             R0, R5                                                 ; +0x14, 0x8759ac\nBL              X509_up_ref                                            ; +0x18, 0x8759b0\nMOV             R0, R4                                                 ; +0x1c, 0x8759b4\nPOP             {R3-R5,PC}                                             ; +0x20, 0x8759b8", "xrefs": ["CMS_add1_signer @ 0x8781d8", "<???> @ 0x6a4cc"], "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"}