{"type": "func", "start": 10449044, "end": 10449140, "name": "DSA_set0_key", "pseudocode": "// \n// DSA_set0_key from 0x9f7094 to 0x9f70f4 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7a98c\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:07:33 +0000\n// \n\nint __fastcall DSA_set0_key(int a1, int a2, int a3)\n{\n  int v4; // r0\n\n  v4 = *(_DWORD *)(a1 + 20);\n  if ( !v4 )\n  {\n    if ( !a2 )\n      return 0;\n    goto LABEL_3;\n  }\n  if ( a2 )\n  {\nLABEL_3:\n    BN_free(v4);\n    *(_DWORD *)(a1 + 20) = a2;\n  }\n  if ( a3 )\n  {\n    BN_free(*(_DWORD *)(a1 + 24));\n    *(_DWORD *)(a1 + 24) = a3;\n  }\n  return 1;\n}", "assembly": "; \n; DSA_set0_key from 0x9f7094 to 0x9f70f4 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7a98c\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:07:33 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x9f7094\nMOV             R5, R0                                                 ; +0x4, 0x9f7098\nLDR             R0, [R0,#0x14]                                         ; +0x8, 0x9f709c\nMOV             R4, R1                                                 ; +0xc, 0x9f70a0\nCMP             R0, #0                                                 ; +0x10, 0x9f70a4\nMOV             R6, R2                                                 ; +0x14, 0x9f70a8\nBEQ             loc_9F70E4                                             ; +0x18, 0x9f70ac\nCMP             R1, #0                                                 ; +0x1c, 0x9f70b0\nBEQ             loc_9F70C0                                             ; +0x20, 0x9f70b4\nBL              BN_free                                                ; +0x24, 0x9f70b8\nSTR             R4, [R5,#0x14]                                         ; +0x28, 0x9f70bc\nCMP             R6, #0                                                 ; +0x2c, 0x9f70c0\nBEQ             loc_9F70DC                                             ; +0x30, 0x9f70c4\nLDR             R0, [R5,#0x18]                                         ; +0x34, 0x9f70c8\nBL              BN_free                                                ; +0x38, 0x9f70cc\nSTR             R6, [R5,#0x18]                                         ; +0x3c, 0x9f70d0\nMOV             R0, #1                                                 ; +0x40, 0x9f70d4\nPOP             {R4-R6,PC}                                             ; +0x44, 0x9f70d8\nMOV             R0, #1                                                 ; +0x48, 0x9f70dc\nPOP             {R4-R6,PC}                                             ; +0x4c, 0x9f70e0\nCMP             R1, #0                                                 ; +0x50, 0x9f70e4\nBNE             loc_9F70B8                                             ; +0x54, 0x9f70e8\nMOV             R0, R1                                                 ; +0x58, 0x9f70ec\nPOP             {R4-R6,PC}                                             ; +0x5c, 0x9f70f0", "xrefs": ["<???> @ 0x7a98c"], "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"}