{"type": "func", "start": 8259564, "end": 8259596, "name": "DH_size", "pseudocode": "// \n// DH_size from 0x7e07ec to 0x7e080c (32 bytes)\n// \n// 4 xrefs:\n// > sub_7DDFC0 @ 0x7ddfc4\n// > sub_87FAD8 @ 0x87fb6c\n// > sub_87FAD8 @ 0x87fc64\n// > <???> @ 0x6089c\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 DH_size(int a1)\n{\n  int v1; // r0\n  int v2; // r0\n\n  v1 = BN_num_bits(*(_DWORD **)(a1 + 8));\n  if ( v1 + 7 >= 0 )\n    v2 = v1 + 7;\n  else\n    v2 = v1 + 14;\n  return v2 >> 3;\n}", "assembly": "; \n; DH_size from 0x7e07ec to 0x7e080c (32 bytes)\n; \n; 4 xrefs:\n; > sub_7DDFC0 @ 0x7ddfc4\n; > sub_87FAD8 @ 0x87fb6c\n; > sub_87FAD8 @ 0x87fc64\n; > <???> @ 0x6089c\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,LR}                                                ; +0x0, 0x7e07ec\nLDR             R0, [R0,#8]                                            ; +0x4, 0x7e07f0\nBL              BN_num_bits                                            ; +0x8, 0x7e07f4\nADDS            R3, R0, #7                                             ; +0xc, 0x7e07f8\nADDMI           R0, R0, #0xE                                           ; +0x10, 0x7e07fc\nMOVPL           R0, R3                                                 ; +0x14, 0x7e0800\nMOV             R0, R0,ASR#3                                           ; +0x18, 0x7e0804\nPOP             {R3,PC}                                                ; +0x1c, 0x7e0808", "xrefs": ["sub_7DDFC0 @ 0x7ddfc4", "sub_87FAD8 @ 0x87fb6c", "sub_87FAD8 @ 0x87fc64", "<???> @ 0x6089c"], "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"}