+ *azimuth = -(double)r / 1024.0 * 2 * M_PI;
+}
+
+void mercenary_get_location(int32_t *east, int32_t *height, int32_t *north)
+{
+ *east = (int32_t)m68k_read_memory_32(0x7a92);
+ *height = (int32_t)m68k_read_memory_32(0x7a30);
+ *north = (int32_t)m68k_read_memory_32(0x7a9a);
+}
+
+void mercenary_get_object_info(int *id, int32_t *east, int32_t *height, int32_t *north)
+{
+ *id = REG_A[0];
+ *east = (int32_t)m68k_read_memory_32(REG_A[0] + 25512);
+ *height = (int32_t)m68k_read_memory_32(REG_A[0] + 26536);
+ *north = (int32_t)m68k_read_memory_32(REG_A[0] + 27560);