// // BN_num_bits_word from 0xd79d28 to 0xd79e18 (240 bytes) // // 9 xrefs: // > sub_D709B8 @ 0xd709e0 // > BN_num_bits @ 0xd7a724 // > BN_mul @ 0xd7d518 // > BN_mul @ 0xd7d6a8 // > BN_sqr @ 0xd7f350 // > BN_div_word @ 0xd7f44c // > bn_div_words @ 0xe13538 // > BN_GF2m_mod_inv @ 0xe765a0 // > @ 0x88338 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall BN_num_bits_word(__int64 a1) { if ( (a1 & 0xFFFFFFFF00000000LL) != 0 ) { if ( (a1 & 0xFFFF000000000000LL) != 0 ) { if ( (a1 & 0xFF00000000000000LL) != 0 ) return (unsigned int)byte_F68D00[HIBYTE(a1)] + 56; else return (unsigned int)byte_F68D00[HIWORD(a1)] + 48; } else if ( (a1 & 0xFF0000000000LL) != 0 ) { return (unsigned int)byte_F68D00[(unsigned __int64)a1 >> 40] + 40; } else { return (unsigned int)byte_F68D00[a1 >> 32] + 32; } } else if ( (a1 & 0xFFFF0000) != 0 ) { if ( (a1 & 0xFF000000) != 0 ) return (unsigned int)byte_F68D00[(int)(a1 >> 24)] + 24; else return (unsigned int)byte_F68D00[(int)(a1 >> 16)] + 16; } else if ( (a1 & 0xFF00) != 0 ) { return (unsigned int)byte_F68D00[(int)(a1 >> 8)] + 8; } else { return byte_F68D00[(int)a1]; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source