{"type": "func", "start": 8266900, "end": 8266996, "name": "DSA_set0_key", "pseudocode": "// \n// DSA_set0_key from 0x7e2494 to 0x7e24f4 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x60f0c\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\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 0x7e2494 to 0x7e24f4 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x60f0c\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x7e2494\nMOV             R5, R0                                                 ; +0x4, 0x7e2498\nLDR             R0, [R0,#0x14]                                         ; +0x8, 0x7e249c\nMOV             R4, R1                                                 ; +0xc, 0x7e24a0\nCMP             R0, #0                                                 ; +0x10, 0x7e24a4\nMOV             R6, R2                                                 ; +0x14, 0x7e24a8\nBEQ             loc_7E24E4                                             ; +0x18, 0x7e24ac\nCMP             R1, #0                                                 ; +0x1c, 0x7e24b0\nBEQ             loc_7E24C0                                             ; +0x20, 0x7e24b4\nBL              BN_free                                                ; +0x24, 0x7e24b8\nSTR             R4, [R5,#0x14]                                         ; +0x28, 0x7e24bc\nCMP             R6, #0                                                 ; +0x2c, 0x7e24c0\nBEQ             loc_7E24DC                                             ; +0x30, 0x7e24c4\nLDR             R0, [R5,#0x18]                                         ; +0x34, 0x7e24c8\nBL              BN_free                                                ; +0x38, 0x7e24cc\nSTR             R6, [R5,#0x18]                                         ; +0x3c, 0x7e24d0\nMOV             R0, #1                                                 ; +0x40, 0x7e24d4\nPOP             {R4-R6,PC}                                             ; +0x44, 0x7e24d8\nMOV             R0, #1                                                 ; +0x48, 0x7e24dc\nPOP             {R4-R6,PC}                                             ; +0x4c, 0x7e24e0\nCMP             R1, #0                                                 ; +0x50, 0x7e24e4\nBNE             loc_7E24B8                                             ; +0x54, 0x7e24e8\nMOV             R0, R1                                                 ; +0x58, 0x7e24ec\nPOP             {R4-R6,PC}                                             ; +0x5c, 0x7e24f0", "xrefs": ["<???> @ 0x60f0c"], "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"}