{"type": "func", "start": 10447376, "end": 10447456, "name": "DSA_set_method", "pseudocode": "// \n// DSA_set_method from 0x9f6a10 to 0x9f6a60 (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7a8ec\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:32 +0000\n// \n\nint __fastcall DSA_set_method(int a1, int a2)\n{\n  void (*v3)(void); // r3\n  void (__fastcall *v5)(int); // r3\n\n  v3 = *(void (**)(void))(*(_DWORD *)(a1 + 44) + 28);\n  if ( v3 )\n    v3();\n  ENGINE_finish(*(_DWORD *)(a1 + 48));\n  v5 = *(void (__fastcall **)(int))(a2 + 24);\n  *(_DWORD *)(a1 + 44) = a2;\n  *(_DWORD *)(a1 + 48) = 0;\n  if ( v5 )\n    v5(a1);\n  return 1;\n}", "assembly": "; \n; DSA_set_method from 0x9f6a10 to 0x9f6a60 (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7a8ec\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:32 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x9f6a10\nLDR             R3, [R0,#0x2C]                                         ; +0x4, 0x9f6a14\nMOV             R4, R0                                                 ; +0x8, 0x9f6a18\nLDR             R3, [R3,#0x1C]                                         ; +0xc, 0x9f6a1c\nMOV             R5, R1                                                 ; +0x10, 0x9f6a20\nCMP             R3, #0                                                 ; +0x14, 0x9f6a24\nBEQ             loc_9F6A30                                             ; +0x18, 0x9f6a28\nBLX             R3                                                     ; +0x1c, 0x9f6a2c\nLDR             R0, [R4,#0x30]                                         ; +0x20, 0x9f6a30\nBL              ENGINE_finish                                          ; +0x24, 0x9f6a34\nLDR             R3, [R5,#0x18]                                         ; +0x28, 0x9f6a38\nMOV             R2, #0                                                 ; +0x2c, 0x9f6a3c\nCMP             R3, R2                                                 ; +0x30, 0x9f6a40\nSTR             R5, [R4,#0x2C]                                         ; +0x34, 0x9f6a44\nSTR             R2, [R4,#0x30]                                         ; +0x38, 0x9f6a48\nBEQ             loc_9F6A58                                             ; +0x3c, 0x9f6a4c\nMOV             R0, R4                                                 ; +0x40, 0x9f6a50\nBLX             R3                                                     ; +0x44, 0x9f6a54\nMOV             R0, #1                                                 ; +0x48, 0x9f6a58\nPOP             {R3-R5,PC}                                             ; +0x4c, 0x9f6a5c", "xrefs": ["<???> @ 0x7a8ec"], "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"}