{"type": "func", "start": 11047188, "end": 11047264, "name": "CMS_RecipientInfo_kari_get0_reks", "pseudocode": "// \n// CMS_RecipientInfo_kari_get0_reks from 0xa89114 to 0xa89160 (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x83dac\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:08:53 +0000\n// \n\nint __fastcall CMS_RecipientInfo_kari_get0_reks(_DWORD *a1)\n{\n  if ( *a1 == 1 )\n    return *(_DWORD *)(a1[1] + 16);\n  ERR_put_error(46, 172, 181, (int)\"crypto/cms/cms_kari.c\", 45);\n  return 0;\n}", "assembly": "; \n; CMS_RecipientInfo_kari_get0_reks from 0xa89114 to 0xa89160 (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x83dac\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:08:53 +0000\n; \nLDR             R3, [R0]                                               ; +0x0, 0xa89114\nCMP             R3, #1                                                 ; +0x4, 0xa89118\nBNE             loc_A8912C                                             ; +0x8, 0xa8911c\nLDR             R3, [R0,#4]                                            ; +0xc, 0xa89120\nLDR             R0, [R3,#0x10]                                         ; +0x10, 0xa89124\nBX              LR                                                     ; +0x14, 0xa89128\nPUSH            {LR}                                                   ; +0x18, 0xa8912c\nMOV             R3, #0x2D ; '-'                                        ; +0x1c, 0xa89130\nSUB             SP, SP, #0xC                                           ; +0x20, 0xa89134\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x24, 0xa89138\nLDR             R3, =(aCryptoCmsCmsKa - 0xA89154); \"crypto/cms/cms_kari.c\" ; +0x28, 0xa8913c\nMOV             R0, #0x2E ; '.'                                        ; +0x2c, 0xa89140\nMOV             R1, #0xAC                                              ; +0x30, 0xa89144\nMOV             R2, #0xB5                                              ; +0x34, 0xa89148\nADD             R3, PC, R3; \"crypto/cms/cms_kari.c\"                    ; +0x38, 0xa8914c\nBL              ERR_put_error                                          ; +0x3c, 0xa89150\nMOV             R0, #0                                                 ; +0x40, 0xa89154\nADD             SP, SP, #0xC                                           ; +0x44, 0xa89158\nPOP             {PC}                                                   ; +0x48, 0xa8915c", "xrefs": ["<???> @ 0x83dac"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}