// Mission support unit (the nuclear carrier) after it is destroyed (native/wto-net/src/local_mp_support.c). // Without it: a second nuclear carrier spawns where the first died and nobody flies it. { "module": "local_mp_support", "features": [ "K-Nuclear bomb" ], "requires": [ "local_mp_core" ], "sites": { // setControlledUnit(mplayer, eid). // 2.61.0.37: 0x598a70 "set_controlled_unit": { "variants": [ { "written_for": "2.61.0.37", "locate": { "method": "signature", "pattern": "56 57 53 48 83 ec 40 89 d7 48 89 ce 89 d0 48 89 44 24 28 c7 44 24 20 03 00 00 00" } } ] }, // MPlayer per-frame update. // 2.61.0.37: 0x59d270 (push r15; push r14; push r13; ...) "mplayer_update": { "variants": [ { "written_for": "2.61.0.37", "locate": { "method": "signature", "pattern": "41 57 41 56 41 55 41 54 56 57 55 53 48 81 ec 98 00 00 00 0f 29 bc 24 80 00 00 00 0f 29 74 24 70 0f 28 f1" } } ] }, // MPlayer missionSupportUnitRef. // 2.61.0.37: 0x59da3c (mov dword ptr [rsi + 0xb58], eax; mov rcx, qword ptr [rsp + 0x38]; mov qword ptr [rsi + 0xb50], rcx) "mplayer_support_unit": { "variants": [ { "written_for": "2.61.0.37", "locate": { "method": "within", "in": "mplayer_update", "pattern": "89 86 ?? ?? ?? ?? 48 8b 4c 24 38 48 89 8e ?? ?? ?? ??", "captures": { "eid": { "offset": 2, "type": "u32" }, "unit": { "offset": 14, "type": "u32" } } } } ] } } }