# UN-2 verification: prove/disprove that retail CMotionInterp::get_max_speed # (VA 0x00527cb0) multiplies by the 4.0f constant at VA 0x007C8918 on its # return paths (the fmul the BN pseudo-C drops). Throwaway apparatus. import struct p = r"C:\Turbine\Asheron's Call\acclient.exe" data = open(p, 'rb').read() pe_off = struct.unpack_from(' file', hex(off), 'sec', sec) code = data[off:off + 0x50] print('bytes:', code.hex()) FMUL = bytes.fromhex('d80d18897c00') # fmul dword ptr [0x007C8918] print('fmul [0x7C8918] count in get_max_speed:', code.count(FMUL)) off2, sec2 = va2off(0x007C8918) print('dword @0x7C8918 sec', sec2, '=', struct.unpack_from('