"""Raw-disassemble the AmmoBin cook-off cluster from BTL4OPT.EXE (#46). Ghidra's export dropped the float math around the FUN_004dcd94 (__ftol) calls -- the decomp shows `iVar2 = FUN_004dcd94();` with the random-delay expression missing entirely. Recover: @004bd394 AmmoBinSimulation (the arming expression: delay = f(?) ) @004bd5c4 AmmoBin ctor (who writes the Damage descriptor @+0x1F0/+0x1F4) @004bdb94 HandleMessage(1) (same delay expression, crit-induced fire) """ import struct from capstone import * PATH = r"C:\git\bt411\content\BTL4OPT.EXE" data = open(PATH, "rb").read() e_lfanew = struct.unpack_from("