{"type": "func", "start": 16810140, "end": 16810248, "name": "DSA_set0_key", "pseudocode": "// \n// DSA_set0_key from 0x100809c to 0x1008108 (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x41de8\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:15:57 +0000\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 0x100809c to 0x1008108 (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x41de8\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:15:57 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x100809c\nMOV             X29, SP                                                ; +0x4, 0x10080a0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x10080a4\nMOV             X19, X0                                                ; +0xc, 0x10080a8\nLDR             X0, [X0,#0x28]                                         ; +0x10, 0x10080ac\nMOV             X20, X2                                                ; +0x14, 0x10080b0\nCBZ             X0, loc_10080FC                                        ; +0x18, 0x10080b4\nCBZ             X1, loc_10080CC                                        ; +0x1c, 0x10080b8\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x20, 0x10080bc\nBL              BN_free                                                ; +0x24, 0x10080c0\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x28, 0x10080c4\nSTR             X1, [X19,#0x28]                                        ; +0x2c, 0x10080c8\nCBZ             X20, loc_10080EC                                       ; +0x30, 0x10080cc\nLDR             X0, [X19,#0x30]                                        ; +0x34, 0x10080d0\nBL              BN_free                                                ; +0x38, 0x10080d4\nSTR             X20, [X19,#0x30]                                       ; +0x3c, 0x10080d8\nMOV             W0, #1                                                 ; +0x40, 0x10080dc\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x44, 0x10080e0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x48, 0x10080e4\nRET                                                                    ; +0x4c, 0x10080e8\nMOV             W0, #1                                                 ; +0x50, 0x10080ec\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x54, 0x10080f0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x58, 0x10080f4\nRET                                                                    ; +0x5c, 0x10080f8\nCBNZ            X1, loc_10080BC                                        ; +0x60, 0x10080fc\nMOV             W0, W1                                                 ; +0x64, 0x1008100\nB               loc_10080E0                                            ; +0x68, 0x1008104", "xrefs": ["<???> @ 0x41de8"], "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"}