{"type": "func", "start": 14188576, "end": 14188616, "name": "DH_size", "pseudocode": "// \n// DH_size from 0xd88020 to 0xd88048 (40 bytes)\n// \n// 4 xrefs:\n// > sub_D859B0 @ 0xd859b4\n// > sub_E29D70 @ 0xe29e14\n// > sub_E29D70 @ 0xe29f20\n// > <???> @ 0x57900\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\n__int64 __fastcall DH_size(__int64 a1)\n{\n  int v1; // w0\n  int v2; // w1\n  int v3; // w0\n\n  v1 = BN_num_bits(*(_QWORD *)(a1 + 8));\n  v2 = v1 + 14;\n  v3 = v1 + 7;\n  if ( v3 < 0 )\n    v3 = v2;\n  return (unsigned int)(v3 >> 3);\n}", "assembly": "; \n; DH_size from 0xd88020 to 0xd88048 (40 bytes)\n; \n; 4 xrefs:\n; > sub_D859B0 @ 0xd859b4\n; > sub_E29D70 @ 0xe29e14\n; > sub_E29D70 @ 0xe29f20\n; > <???> @ 0x57900\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xd88020\nMOV             X29, SP                                                ; +0x4, 0xd88024\nLDR             X0, [X0,#8]                                            ; +0x8, 0xd88028\nBL              BN_num_bits                                            ; +0xc, 0xd8802c\nADD             W1, W0, #0xE                                           ; +0x10, 0xd88030\nADDS            W0, W0, #7                                             ; +0x14, 0xd88034\nCSEL            W0, W1, W0, MI                                         ; +0x18, 0xd88038\nASR             W0, W0, #3                                             ; +0x1c, 0xd8803c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x20, 0xd88040\nRET                                                                    ; +0x24, 0xd88044", "xrefs": ["sub_D859B0 @ 0xd859b4", "sub_E29D70 @ 0xe29e14", "sub_E29D70 @ 0xe29f20", "<???> @ 0x57900"], "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"}