{"type": "func", "start": 8266152, "end": 8266228, "name": "DSA_security_bits", "pseudocode": "// \n// DSA_security_bits from 0x7e21a8 to 0x7e21f4 (76 bytes)\n// \n// 2 xrefs:\n// > sub_7E1014 @ 0x7e1018\n// > <???> @ 0x60d1c\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_security_bits(int a1)\n{\n  int v2; // r5\n  int v3; // r1\n\n  if ( !*(_DWORD *)(a1 + 8) || !*(_DWORD *)(a1 + 12) )\n    return -1;\n  v2 = BN_num_bits(*(_DWORD **)(a1 + 8));\n  v3 = BN_num_bits(*(_DWORD **)(a1 + 12));\n  return BN_security_bits(v2, v3);\n}", "assembly": "; \n; DSA_security_bits from 0x7e21a8 to 0x7e21f4 (76 bytes)\n; \n; 2 xrefs:\n; > sub_7E1014 @ 0x7e1018\n; > <???> @ 0x60d1c\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            {R3-R5,LR}                                             ; +0x0, 0x7e21a8\nLDR             R3, [R0,#8]                                            ; +0x4, 0x7e21ac\nCMP             R3, #0                                                 ; +0x8, 0x7e21b0\nBEQ             loc_7E21EC                                             ; +0xc, 0x7e21b4\nLDR             R2, [R0,#0xC]                                          ; +0x10, 0x7e21b8\nCMP             R2, #0                                                 ; +0x14, 0x7e21bc\nBEQ             loc_7E21EC                                             ; +0x18, 0x7e21c0\nMOV             R4, R0                                                 ; +0x1c, 0x7e21c4\nMOV             R0, R3                                                 ; +0x20, 0x7e21c8\nBL              BN_num_bits                                            ; +0x24, 0x7e21cc\nMOV             R5, R0                                                 ; +0x28, 0x7e21d0\nLDR             R0, [R4,#0xC]                                          ; +0x2c, 0x7e21d4\nBL              BN_num_bits                                            ; +0x30, 0x7e21d8\nMOV             R1, R0                                                 ; +0x34, 0x7e21dc\nMOV             R0, R5                                                 ; +0x38, 0x7e21e0\nPOP             {R3-R5,LR}                                             ; +0x3c, 0x7e21e4\nB               BN_security_bits                                       ; +0x40, 0x7e21e8\nMOV             R0, #0xFFFFFFFF                                        ; +0x44, 0x7e21ec\nPOP             {R3-R5,PC}                                             ; +0x48, 0x7e21f0", "xrefs": ["sub_7E1014 @ 0x7e1018", "<???> @ 0x60d1c"], "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"}