{"type": "func", "start": 14196028, "end": 14196136, "name": "DSA_set0_key", "pseudocode": "// \n// DSA_set0_key from 0xd89d3c to 0xd89da8 (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x2b728\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 DSA_set0_key(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // x0\n\n  v4 = *(_QWORD *)(a1 + 40);\n  if ( v4 )\n  {\n    if ( !a2 )\n      goto LABEL_4;\n  }\n  else if ( !a2 )\n  {\n    return 0;\n  }\n  BN_free(v4);\n  *(_QWORD *)(a1 + 40) = a2;\nLABEL_4:\n  if ( !a3 )\n    return 1;\n  BN_free(*(_QWORD *)(a1 + 48));\n  *(_QWORD *)(a1 + 48) = a3;\n  return 1;\n}", "assembly": "; \n; DSA_set0_key from 0xd89d3c to 0xd89da8 (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x2b728\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xd89d3c\nMOV             X29, SP                                                ; +0x4, 0xd89d40\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xd89d44\nMOV             X19, X0                                                ; +0xc, 0xd89d48\nLDR             X0, [X0,#0x28]                                         ; +0x10, 0xd89d4c\nMOV             X20, X2                                                ; +0x14, 0xd89d50\nCBZ             X0, loc_D89D9C                                         ; +0x18, 0xd89d54\nCBZ             X1, loc_D89D6C                                         ; +0x1c, 0xd89d58\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x20, 0xd89d5c\nBL              BN_free                                                ; +0x24, 0xd89d60\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x28, 0xd89d64\nSTR             X1, [X19,#0x28]                                        ; +0x2c, 0xd89d68\nCBZ             X20, loc_D89D8C                                        ; +0x30, 0xd89d6c\nLDR             X0, [X19,#0x30]                                        ; +0x34, 0xd89d70\nBL              BN_free                                                ; +0x38, 0xd89d74\nSTR             X20, [X19,#0x30]                                       ; +0x3c, 0xd89d78\nMOV             W0, #1                                                 ; +0x40, 0xd89d7c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x44, 0xd89d80\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x48, 0xd89d84\nRET                                                                    ; +0x4c, 0xd89d88\nMOV             W0, #1                                                 ; +0x50, 0xd89d8c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x54, 0xd89d90\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x58, 0xd89d94\nRET                                                                    ; +0x5c, 0xd89d98\nCBNZ            X1, loc_D89D5C                                         ; +0x60, 0xd89d9c\nMOV             W0, W1                                                 ; +0x64, 0xd89da0\nB               loc_D89D80                                             ; +0x68, 0xd89da4", "xrefs": ["<???> @ 0x2b728"], "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"}