{"type": "func", "start": 16809360, "end": 16809448, "name": "DSA_security_bits", "pseudocode": "// \n// DSA_security_bits from 0x1007d90 to 0x1007de8 (88 bytes)\n// \n// 2 xrefs:\n// > sub_1006C18 @ 0x1006c1c\n// > <???> @ 0x101aa0\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_security_bits(__int64 a1)\n{\n  int v2; // w20\n  int v3; // w0\n\n  if ( !*(_QWORD *)(a1 + 16) || !*(_QWORD *)(a1 + 24) )\n    return 0xFFFFFFFFLL;\n  v2 = BN_num_bits(*(_QWORD *)(a1 + 16));\n  v3 = BN_num_bits(*(_QWORD *)(a1 + 24));\n  return BN_security_bits(v2, v3);\n}", "assembly": "; \n; DSA_security_bits from 0x1007d90 to 0x1007de8 (88 bytes)\n; \n; 2 xrefs:\n; > sub_1006C18 @ 0x1006c1c\n; > <???> @ 0x101aa0\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,#-0x20+var_s0]!                          ; +0x0, 0x1007d90\nMOV             X29, SP                                                ; +0x4, 0x1007d94\nLDR             X1, [X0,#0x10]                                         ; +0x8, 0x1007d98\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x1007d9c\nCBZ             X1, loc_1007DD8                                        ; +0x10, 0x1007da0\nLDR             X2, [X0,#0x18]                                         ; +0x14, 0x1007da4\nCBZ             X2, loc_1007DD8                                        ; +0x18, 0x1007da8\nMOV             X19, X0                                                ; +0x1c, 0x1007dac\nMOV             X0, X1                                                 ; +0x20, 0x1007db0\nBL              BN_num_bits                                            ; +0x24, 0x1007db4\nMOV             W20, W0                                                ; +0x28, 0x1007db8\nLDR             X0, [X19,#0x18]                                        ; +0x2c, 0x1007dbc\nBL              BN_num_bits                                            ; +0x30, 0x1007dc0\nMOV             W1, W0                                                 ; +0x34, 0x1007dc4\nMOV             W0, W20                                                ; +0x38, 0x1007dc8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x3c, 0x1007dcc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x40, 0x1007dd0\nB               BN_security_bits                                       ; +0x44, 0x1007dd4\nMOV             W0, #0xFFFFFFFF                                        ; +0x48, 0x1007dd8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x4c, 0x1007ddc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x50, 0x1007de0\nRET                                                                    ; +0x54, 0x1007de4", "xrefs": ["sub_1006C18 @ 0x1006c1c", "<???> @ 0x101aa0"], "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"}