{"type": "func", "start": 16807780, "end": 16807880, "name": "DSA_SIG_set0", "pseudocode": "// \n// DSA_SIG_set0 from 0x1007764 to 0x10077c8 (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xe6500\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_SIG_set0(_BYTE **a1, _BYTE *a2, _BYTE *a3)\n{\n  if ( !a2 || !a3 )\n    return 0;\n  BN_clear_free(*a1);\n  BN_clear_free(a1[1]);\n  a1[1] = a3;\n  *a1 = a2;\n  return 1;\n}", "assembly": "; \n; DSA_SIG_set0 from 0x1007764 to 0x10077c8 (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xe6500\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, 0x1007764\nMOV             X29, SP                                                ; +0x4, 0x1007768\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x100776c\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x1007770\nCBZ             X1, loc_10077B4                                        ; +0x10, 0x1007774\nCBZ             X2, loc_10077B4                                        ; +0x14, 0x1007778\nMOV             X19, X0                                                ; +0x18, 0x100777c\nLDR             X0, [X0]                                               ; +0x1c, 0x1007780\nMOV             X21, X2                                                ; +0x20, 0x1007784\nMOV             X20, X1                                                ; +0x24, 0x1007788\nBL              BN_clear_free                                          ; +0x28, 0x100778c\nLDR             X0, [X19,#8]                                           ; +0x2c, 0x1007790\nBL              BN_clear_free                                          ; +0x30, 0x1007794\nSTR             X21, [X19,#8]                                          ; +0x34, 0x1007798\nSTR             X20, [X19]                                             ; +0x38, 0x100779c\nMOV             W0, #1                                                 ; +0x3c, 0x10077a0\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x40, 0x10077a4\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x44, 0x10077a8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x48, 0x10077ac\nRET                                                                    ; +0x4c, 0x10077b0\nMOV             W0, #0                                                 ; +0x50, 0x10077b4\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x54, 0x10077b8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x58, 0x10077bc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x5c, 0x10077c0\nRET                                                                    ; +0x60, 0x10077c4", "xrefs": ["<???> @ 0xe6500"], "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"}