{"id":185,"date":"2020-05-30T09:16:20","date_gmt":"2020-05-30T00:16:20","guid":{"rendered":"http:\/\/drroot.page\/wp\/?p=185"},"modified":"2021-01-26T17:58:54","modified_gmt":"2021-01-26T08:58:54","slug":"%e3%82%b2%e3%83%bc%e3%83%a0%ef%bc%88undertale%ef%bc%89%e3%81%ae%e3%83%a1%e3%83%a2%e3%83%aa%e3%82%92%e8%a6%97%e3%81%84%e3%81%a6hp%e5%80%a4%e3%82%92%e7%9b%a3%e8%a6%96%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/drroot.page\/wp\/?p=185","title":{"rendered":"\u30b2\u30fc\u30e0\uff08Undertale\uff09\u306e\u30e1\u30e2\u30ea\u3092\u8997\u3044\u3066HP\u5024\u3092\u76e3\u8996\u3059\u308b"},"content":{"rendered":"<h1>\u3010\u8ffd\u8a18\u3011\u3053\u306e\u8a18\u4e8b\u306f\u30af\u30bd\u3060<\/h1>\n<p><a href=\"http:\/\/cheatwhatever.com\/blog-entry-20.html\">http:\/\/cheatwhatever.com\/blog-entry-20.html<\/a><br \/>\nCheat Engine\u306b\u306f\u3001\u4e0b\u8a18\u624b\u9806\u3092\u81ea\u52d5\u3067\u3084\u3063\u3066\u304f\u308c\u308b\u30dd\u30a4\u30f3\u30bf\u30b9\u30ad\u30e3\u30f3\u6a5f\u80fd\u304c\u3042\u308b\u3002<br \/>\n\u3042\u304f\u307e\u3067\u4ee5\u4e0b\u306e\u5185\u5bb9\u306f\u300c\u3053\u3046\u3044\u3046\u4e8b\u3092\u3084\u3063\u3066\u308b\u3093\u3060\u3001\u3078\u30fc\u300d\u7a0b\u5ea6\u306b\u3068\u3069\u3081\u3066\u307b\u3057\u3044\u3002<\/p>\n<h1>\u304c\u3044\u3088\u3046<\/h1>\n<p>\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3067\u52d5\u4f5c\u3059\u308b\u30b2\u30fc\u30e0\u3068\u9055\u3044\u3001PC\u30b2\u30fc\u30e0\u306e\u30c1\u30fc\u30c8\u306f\u8aad\u307f\u51fa\u3057\u305f\u3044\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u304c\u4e00\u610f\u3067\u3042\u308b\u4fdd\u8a3c\u306f\u7121\u3044\u3002<br \/>\n\u3053\u308c\u306f\u305f\u3060\u4e00\u5ea6\u3060\u3051\u6570\u5024\u3092\u66f8\u304d\u63db\u3048\u305f\u3044\u5834\u5408\u3068\u9055\u3044\u3001\u300c\u5e38\u306bHP\u306e\u5024\u3092\u76e3\u8996\u3057\u3066\u5909\u52d5\u304c\u3042\u3063\u305f\u304b\u5224\u5b9a\u3059\u308b\u300d\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3067\u554f\u984c\u306b\u306a\u308b\u3002<\/p>\n<p>\u4eca\u56de\u306fPC\u30b2\u30fc\u30e0\u300cUndertale\u300d\u3092\u4f8b\u306b\u3001\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u3002<br \/>\n\u5177\u4f53\u7684\u306b\u306f\u3001<\/p>\n<ol>\n<li>HP\u3092\u6307\u3059\u52d5\u7684\u306a\u30e1\u30e2\u30ea\u3092\u6307\u3059\u3001\u9759\u7684\u306a\u30e1\u30e2\u30ea\u3092\u898b\u3064\u3051\u308b<\/li>\n<li>\u5225Process\u306e\u30e1\u30e2\u30ea\u3092\u8aad\u307f\u51fa\u3059\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092C++\u3067\u66f8\u304f<\/li>\n<\/ol>\n<p>\u306e2\u30b9\u30c6\u30c3\u30d7\u3060\u3002<\/p>\n<p><!--more--><\/p>\n<h1>Cheat Engine\u3067\u30e1\u30e2\u30ea\u3092\u7279\u5b9a\u3059\u308b<\/h1>\n<h2>HP\u306e\u30e1\u30e2\u30ea\u3092\u63a2\u3059<\/h2>\n<p>\u514e\u306b\u3082\u89d2\u306b\u3082\u3001\u307e\u305a\u306fHP\u3092\u6307\u3059\u30e1\u30e2\u30ea\u3092\u63a2\u3057\u3066\u307f\u3088\u3046\u3002<br \/>\nUndertale\u3092\u6226\u95d8\u753b\u9762\u3067\u6b62\u3081\u3066\u304a\u304d\u3001Cheat Engine\u3067HP\u306e\u5024\u3092\u691c\u7d22\u3059\u308b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/drroot.page\/wp\/wp-content\/uploads\/2020\/05\/image-1590794503963.png\" alt=\"file\" \/><\/p>\n<p>\u3053\u306e\u6642Value Type\u3092All\u3001Fast Scan\u3092\u30aa\u30d5\u306b\u3057\u3066\u304a\u304f\u306e\u304c\u30b3\u30c4\u3060\u3002<br \/>\nHP\u306e\u5024\u304c\u4f55\u578b\u306a\u306e\u304b\u306f\u3053\u306e\u6bb5\u968e\u3067\u308f\u304b\u3063\u3066\u3044\u306a\u3044\u3057\u3001Fast Scan\u306f\u30ad\u30ea\u306e\u60aa\u3044\u30e1\u30e2\u30ea\u756a\u5730\u3092\u8aad\u307f\u98db\u3070\u3059\u6a5f\u80fd\u306a\u306e\u3067\u6700\u521d\u306f\u30aa\u30d5\u306b\u3057\u305f\u307b\u3046\u304c\u826f\u3044\u3002<\/p>\n<p>\u3053\u306e\u6bb5\u968e\u3067\u30c0\u30e1\u30fc\u30b8\u3092\u53d7\u3051\u3001Next Scan\u3092\u304b\u3051\u308b\u3068\u2026<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/drroot.page\/wp\/wp-content\/uploads\/2020\/05\/image-1590794662413.png\" alt=\"file\" \/><\/p>\n<p>\u3044\u3068\u3082\u7c21\u5358\u306b\u7279\u5b9a\u3067\u304d\u305f\u3002<br \/>\n\u5ff5\u306e\u70ba\u66f4\u306b\u30c0\u30e1\u30fc\u30b8\u3092\u53d7\u3051\u3066\u3001<strong>19AC4B40:d<\/strong> \u304cHP\u306e\u30a2\u30c9\u30ec\u30b9\u3067\u78ba\u5b9a\u3060\u3002<br \/>\n:d\u3068\u3044\u3046\u306e\u306f\u307e\u3041\u3042\u3093\u307e\u6c17\u306b\u3057\u306a\u304f\u3066\u3044\u3044\uff08\u3042\u3066\u306b\u306a\u3089\u306a\u3044\u306e\u3067\uff09\u3002<\/p>\n<h2>HP\u306e\u30e1\u30e2\u30ea\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u63a2\u3059<\/h2>\n<p>\u4eca\u3001\u4e01\u5ea6\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u304c\u7dd1\u5b57\u3068\u9ed2\u5b57\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u304c\u3001\u7dd1\u306e\u3082\u306e\u306fStatic Address\u3067\u3042\u308b\u3068\u3044\u3046\u610f\u5473\u3060\u3002<br \/>\n\u3064\u307e\u308a\u3001\u7dd1\u5b57\u306e\u5909\u6570\u306f\u8d77\u52d5\u3057\u76f4\u3057\u3066\u3082\u30a2\u30c9\u30ec\u30b9\u304c\u5909\u308f\u3089\u306a\u3044\u4e8b\u3092\u610f\u5473\u3059\u308b\u3002<\/p>\n<p>\u4e00\u65b9\u4eca\u898b\u3064\u3051\u51fa\u3057\u305fHP\u30e1\u30e2\u30ea\u306f\u9ed2\u5b57\u3067\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3001\u52d5\u7684\u30a2\u30c9\u30ec\u30b9\u3067\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u308b\u3002<br \/>\n\u30b2\u30fc\u30e0\u3092\u518d\u8d77\u52d5\u3001\u3069\u3053\u308d\u304b\u4f5c\u696d\u306b\u624b\u9593\u53d6\u308b\u3060\u3051\u3067\u30a2\u30c9\u30ec\u30b9\u306e\u756a\u5730\u304c\u5909\u66f4\u3055\u308c\u3046\u308b\u308f\u3051\u3060\u3002<\/p>\n<p>\u3058\u3083\u3042\u4f55\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u306fHP\u306e\u5024\u3092\u77e5\u3063\u3066\u308b\u306e\u304b\u3068\u8a00\u3046\u3068\u3001\u3053\u306e\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u3092\u4fdd\u5b58\u3057\u3066\u3044\u308b\u9759\u7684\u30a2\u30c9\u30ec\u30b9\u304c\u4f55\u51e6\u304b\u306b\u3044\u308b\u304b\u3089\u3060\u3002<br \/>\n\u305f\u3060\u3057\u300119AC4B40\u3068\u3044\u3046\u5024\u3092\u76f4\u63a5\u4fdd\u5b58\u3057\u3066\u3044\u308b\u30dd\u30a4\u30f3\u30bf\u304c\u5b58\u5728\u3059\u308b\u4fdd\u8a3c\u306f\u7121\u3044\u3002<\/p>\n<p>C\u306e\u914d\u5217\u3084\u69cb\u9020\u4f53\u306f\u3001\u30a2\u30e9\u30a4\u30f3\u30e1\u30f3\u30c8\u306e\u6982\u5ff5\u304c\u3042\u308b\u3082\u306e\u306e\u3001\u57fa\u672c\u7684\u306b\u9023\u7d9a\u306a\u9818\u57df\u306b\u5909\u6570\u304c\u78ba\u4fdd\u3055\u308c\u308b\u3002<\/p>\n<p>\u3064\u307e\u308a\u3042\u308b\u5909\u6570\u306b\u5bfe\u3057\u3001<strong>\u914d\u5217or\u69cb\u9020\u4f53\u306e\u5148\u982d\u30a2\u30c9\u30ec\u30b9+\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u305f\u30aa\u30d5\u30bb\u30c3\u30c8\u5024<\/strong> \u3067\u30a2\u30af\u30bb\u30b9\u3055\u308c\u3066\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u308f\u3051\u3060\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u3053\u308c\u304b\u3089\u300c19AC4B40\u3068\u3044\u3046\u5024\u3092\u4fdd\u6301\u3057\u3066\u3044\u308b\u30dd\u30a4\u30f3\u30bf\u300d\u3092\u63a2\u3057\u306b\u884c\u304f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/drroot.page\/wp\/wp-content\/uploads\/2020\/05\/image-1590795557247.png\" alt=\"file\" \/><\/p>\n<p>\u300cHEX\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u305f\u4e0a\u3067New Scan\u30025\u3064\u7a0b\u5019\u88dc\u304c\u51fa\u3066\u304d\u305f\u304c\u3001\u30b2\u30fc\u30e0\u753b\u9762\u3092\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3057\u305f\u77ac\u9593\u4e00\u3064\u3092\u9664\u3044\u30660\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>HP\u30e1\u30e2\u30ea\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u306f07C00EE8\u3067\u78ba\u5b9a\u2026\u3057\u304b\u3057\u3001\u3053\u308c\u3082\u52d5\u7684\u30a2\u30c9\u30ec\u30b9\u306e\u3088\u3046\u3060\u3002<br \/>\n\u3082\u3046\u4e00\u5ea6\u300107C00EE8\u3067New Scan\u3057\u3066\u307f\u308b\u3068\u2026\u8a72\u5f53\u7121\u3057\u3002<\/p>\n<p>\u3053\u308c\u304c\u4e0a\u8a18\u306e\u3001\u300c\u30a2\u30c9\u30ec\u30b9\uff0b\u30aa\u30d5\u30bb\u30c3\u30c8\u5024\u3067\u30a2\u30af\u30bb\u30b9\u3055\u308c\u3066\u3044\u308b\u30b1\u30fc\u30b9\u300d\u3060\u3002<\/p>\n<p>\u5b9f\u88c5\u3068\u3057\u3066\u306f\u300107C00EE8\u304c\u914d\u5217\u306e10\u756a\u76ee\u3068\u304b\u306b\u914d\u7f6e\u3055\u308c\u3066\u308b\u30b1\u30fc\u30b9\u3092\u60f3\u50cf\u3057\u3066\u307f\u3066\u6b32\u3057\u3044\u3002<br \/>\n\u305d\u306e\u6642arr[10]\u3068\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u6642\u306e\u6a5f\u68b0\u8a9e\u306f\u3001\u300carr\u306e\u5148\u982d\u756a\u5730\uff0b\u30dd\u30a4\u30f3\u30bf10\u500b\u5206\u300d\u306e\u756a\u5730\u306b\u98db\u3076\u306f\u305a\u3060\u3002<br \/>\n\u3053\u306e\u300carr\u306e\u5148\u982d\u756a\u5730\u300d\u300c\u30dd\u30a4\u30f3\u30bfn\u500b\u5206\u300d\u304c\u305d\u308c\u305e\u308c\u6b32\u3057\u3044\u308f\u3051\u3060\u3002<\/p>\n<h2>\u30a2\u30bb\u30f3\u30d6\u30e9\u5b8c\u5168\u306b\u7406\u89e3\u3057\u305f<\/h2>\n<p>\u30a2\u30c9\u30ec\u30b9\u4e00\u89a7\u304b\u308907C00EE8\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cFind out what accesses this address\u300d\u3092\u9078\u3093\u3067\u3001\u3053\u306e\u30a2\u30c9\u30ec\u30b9\u306b\u89e6\u308a\u306b\u884c\u3063\u305f\u30a2\u30bb\u30f3\u30d6\u30e9\u3092\u76e3\u8996\u3059\u308b\u30e2\u30fc\u30c9\u306b\u5165\u308b\u3002<\/p>\n<p>\u3059\u308b\u3068\u3059\u3050\u306b3\u3064\u306e\u5019\u88dc\u304c\u898b\u3064\u304b\u3063\u305f\u3002<br \/>\n\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3066\u5185\u8a33\u3092\u898b\u3066\u307f\u308b\u3068\u3001<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/drroot.page\/wp\/wp-content\/uploads\/2020\/05\/image-1590795997877.png\" alt=\"file\" \/><\/p>\n<p><em>the value of the pointer needed to find this address is probably 07C00590(\u3053\u306e\u30dd\u30a4\u30f3\u30bf\u306e\u5024\u3092\u7b97\u51fa\u3059\u308b\u306e\u306b\u300107C00590\u3092\u4f7f\u3063\u3066\u308b\u304b\u3082)<\/em> \u3068\u3044\u3046\u3042\u308a\u304c\u305f\u3044\u8868\u73fe\u304c\u898b\u3064\u304b\u308b\u3002<br \/>\n\u4ed6\u306e2\u3064\u306f\u300c255\u300d\u300c19AC\uff5e\u300d\u3067\u306a\u3093\u304b\u76f4\u611f\u7684\u306b\u9055\u3046\u6c17\u304c\u3059\u308b\uff08255\u3068\u3044\u3046\u306e\u306f\u30dd\u30a4\u30f3\u30bf\u3089\u3057\u304f\u306a\u3044\u6570\u5b57\u3060\u3057\u3001\u5f8c\u8005\u306fHP\u306e\u30e1\u30e2\u30ea\u306a\u306e\u3067\u65e2\u51fa\u306e\u60c5\u5831\u3060\uff09\u306e\u3067\u30d1\u30b9\u3002<\/p>\n<p>\u3053\u3053\u3067\u30a2\u30bb\u30f3\u30d6\u30e9\u3092\u5c11\u3057\u8aad\u3093\u3067\u898b\u308b\u3002<br \/>\nmov A [B]\u306f\u3001A\u306e\u5024\u3092B\u306e\u30a2\u30c9\u30ec\u30b9\u306b\u3076\u3063\u3053\u3080\u3068\u3044\u3046\u610f\u5473\u306a\u306e\u3067\u3001\u300cedi+ecx*4+08\u300d\u306f\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u66f4\u306b\u3001\u3053\u306e\u5024\u304c07C00EE8\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u8a08\u7b97\u3059\u308b\u3068<br \/>\n<strong>7c00EE8 &#8211; 7c00590 = 0x958<\/strong><br \/>\n\u304cHP\u3078\u306e\u53c2\u7167\u306e\u53c2\u7167\u3068\u3044\u3046\u4e8b\u306b\u306a\u308b\u3002<strong>\u3053\u306e0x958\u3092\u30e1\u30e2\u3057\u3066\u304a\u304f<\/strong>\u3002<br \/>\n\u3061\u306a\u307f\u306b\u4e0b\u306b\u30ec\u30b8\u30b9\u30bf\u306e\u5024\u304c\u51fa\u3066\u308b\u304c\u3001\u3053\u308c\u306f\u3072\u3068\u3057\u304d\u308a\u8a08\u7b97\u304c\u7d42\u308f\u3063\u305f\u5f8c\u306e\u5024\u306a\u306e\u3067\u8a71\u534a\u5206\u306b\u805e\u304f\u3079\u304d\u3067\u3042\u308b\u3002ecx*4+08\u3092\u771f\u9762\u76ee\u306b\u8a08\u7b97\u3057\u305f\u308a\u3057\u3066\u306f\u3044\u3051\u306a\u3044\uff08\u4e00\u6557\uff09\u3002<\/p>\n<p>\u540c\u3058\u624b\u9806\u3067\u30017c00EE8\u3078\u306e\u53c2\u7167\u3092\u63a2\u3057\u3066\u3044\u304f\u3002<br \/>\n\u3050\u3060\u3050\u3060\u3057\u3066\u3044\u308b\u3068\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u304c\u5909\u308f\u3063\u3061\u307e\u3046\u306e\u3067\u3001\u624b\u65e9\u304f\u4f5c\u696d\u3057\u3066\u3044\u3053\u3046\u3002<br \/>\n\u6700\u7d42\u7684\u306b\u3001\u4e0b\u8a18\u306e\u7d50\u679c\u304c\u5f97\u3089\u308c\u308b\u3002<\/p>\n<p>p0=\u9759\u7684\u30a2\u30c9\u30ec\u30b9:0x00808950\u306e\u5024<br \/>\n\u2193<br \/>\np1=p0 + 0x44<br \/>\n\u2193<br \/>\np2=p1 + 0x10<br \/>\n\u2193<br \/>\np3=p2 +0x958<br \/>\n\u2193<br \/>\np4=HP\u30e1\u30e2\u30ea\u3078\u306e\u30dd\u30a4\u30f3\u30bf<br \/>\n\u2193<br \/>\nHP\u30e1\u30e2\u30ea<\/p>\n<p>\u3053\u3053\u3067\u3001\u300c\u9759\u7684\u30a2\u30c9\u30ec\u30b9\u3068\u5404\u30aa\u30d5\u30bb\u30c3\u30c8\u306e\u5024\u300d\u306f\u5909\u308f\u3089\u306a\u3044\u306e\u3060\u3063\u305f\u3002<br \/>\n\u3088\u3063\u3066\u30010x00808950\u304b\u3089\u6bce\u56de\u30dd\u30a4\u30f3\u30bf\u3092\u8fbf\u308c\u3070\u3001\u518d\u8d77\u52d5\u3057\u3066\u3082HP\u30e1\u30e2\u30ea\u3078\u5e72\u6e09\u3067\u304d\u308b\u308f\u3051\u3060\u3002<\/p>\n<h1>\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u66f8\u304f<\/h1>\n<p>\u4ed6process\u3078\u306e\u5e72\u6e09\u306f\u305d\u3093\u306a\u306b\u96e3\u3057\u304f\u306a\u3044\u3002<br \/>\n\u4e0b\u8a18\u304c\u6700\u3082\u53c2\u8003\u306b\u306a\u308b\u3002<br \/>\n<a href=\"http:\/\/peryaudo.hatenablog.com\/entry\/20100516\/1273998518\">http:\/\/peryaudo.hatenablog.com\/entry\/20100516\/1273998518<\/a><\/p>\n<p>\u8a18\u4e8b\u306b\u3088\u3063\u3066\u306f\u3001\u300c\u30d7\u30ed\u30bb\u30b9\u306e\u30d9\u30fc\u30b9\u30a2\u30c9\u30ec\u30b9\u304c\u5fc5\u8981\u300d\u3068\u306e\u8a18\u8ff0\u3092\u898b\u304b\u3051\u308b\u304c\u3001\u305d\u3093\u306a\u4e8b\u306f\u306a\u3044\u3002<br \/>\n\u305d\u306e\u3042\u305f\u308a\u3092\u3088\u3057\u306a\u306b\u3084\u3063\u3066\u304f\u308c\u308b\u306e\u304cWinAPI\u3060\u304b\u3089\u3060\u3002<br \/>\n\u3088\u3063\u3066ReadProcessMemory\u95a2\u6570\u3092\u52d5\u304b\u305b\u308b\u6240\u307e\u3067\u306f\u7701\u7565\u3059\u308b\u3002<\/p>\n<h2>\u30dd\u30a4\u30f3\u30bf\u3092\u8fbf\u308b<\/h2>\n<p>\u3053\u306e\u624b\u306e\u4f4e\u7d1a\u306a\u30b3\u30fc\u30c9\u306fC++\u304c\u5f37\u3044\u3002<br \/>\n\u4ee5\u4e0b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067\u3001\u8aac\u660e\u306f\u30b3\u30e1\u30f3\u30c8\u306b\u8b72\u308b\u3002<\/p>\n<pre><code class=\"language-cpp\">\/\/ undertale\u304b\u3089HP\u3092\u5f15\u3063\u3053\u629c\u304f\nint getHp(HANDLE hProcess) {\n    BYTE buf[8];\n    unsigned __int64 offset[4] = { 0x00808950,0x44,0x10,0x958 };\n    \/\/ \u30dd\u30a4\u30f3\u30bf4\u679a\u5206\u8cab\u901a\u3057\u305f\u5148\u306b\u5b9f\u6570\u5024\u304c\u3042\u308b\n    \/\/ \u30dd\u30a4\u30f3\u30bf\u306f4\u30d0\u30a4\u30c8\u3001\u5b9f\u6570\u5024\u306f8\u30d0\u30a4\u30c8\u3067\u8aad\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\n    \/\/ \u307e\u305a\u30dd\u30a4\u30f3\u30bf\u3060\u3051\u3081\u304f\u3063\u3061\u3083\u3046   \n\n    \/\/ \u4eca\u73fe\u5728\u306e\u30dd\u30a4\u30f3\u30bf\n    unsigned __int64 temp = 0;\n    for (int i = 0; i &lt; 4; i++) {\n        if (ReadProcessMemory(hProcess, (LPCVOID)(temp + offset[i]), (LPVOID)buf, 4, NULL)) {\n            \/\/ \u5f15\u3063\u3053\u629c\u3044\u3066\u304d\u305f\u5024\u3092\u7d44\u307f\u7acb\u3066\u308b\n            \/\/ 1\u30d0\u30a4\u30c8\u305a\u3064\u9006\u306b\u5165\u3063\u3066\u308b\uff08\u6700\u4e0a\u4f4d1\u30d0\u30a4\u30c8\u304c[3]\u306b\u304a\u308b\uff09\u6545\n            temp = (buf[3] &lt;&lt; 24) | (buf[2] &lt;&lt; 16) | (buf[1] &lt;&lt; 8) | (buf[0] &lt;&lt; 0);\n            \/\/std::cout &lt;&lt; &quot;\u6b21\u2192&quot; &lt;&lt; std::hex &lt;&lt; temp &lt;&lt; &#039;\\n&#039;;\n        }\n    }\n\n    \/\/ \u6700\u5f8c\u306b8\u30d0\u30a4\u30c8\u629c\u3044\u3066Double\u30ad\u30e3\u30b9\u30c8\n    \/\/ \u30ad\u30e3\u30b9\u30c8\u3068\u8a00\u3044\u3064\u3064\u5b9f\u969b\u306funion\u4f7f\u3063\u3066\u3084\u308b\u3060\u3051\n    union { double val; unsigned __int64 bytes; } p;\n    p.bytes = 0;\n\n    if (ReadProcessMemory(hProcess, (LPCVOID)temp, (LPVOID)buf, 8, NULL)) {\n        for (int i = 0; i &lt; 8; i++) {\n            \/\/ \u6d41\u77f3\u306b8\u500b\u306e\u914d\u5217\u9006\u9806\u306b\u3059\u308b\u306e\u624b\u66f8\u304d\u306f\u3064\u3089\u3044\u3002\n            p.bytes |= (unsigned __int64)buf[i] &lt;&lt; (8 * i);\n        }\n        \/\/std::cout &lt;&lt; p.val &lt;&lt; &quot;\\n&quot;;\n    }\n    return (int)p.val;\n}<\/code><\/pre>\n<p>\u3068\u307e\u3041\u3053\u3093\u306a\u5177\u5408\u3002\u3053\u308c\u3067PC\u30b2\u30fc\u30e0\u306eHP\u3092\u76e3\u8996\u51fa\u6765\u308b\u305e\u3002<\/p>\n<p>PC\u30b2\u30fc\u30e0\u306eHP\u3092\u76e3\u8996\u3057\u3066\u3069\u3046\u3059\u308b\u304b\u306f\u8a00\u308f\u3093\u3002\u8a00\u308f\u3093\u304b\u3089\u306a\uff01\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u8ffd\u8a18\u3011\u3053\u306e\u8a18\u4e8b\u306f\u30af\u30bd\u3060 http:\/\/cheatwhatever.com\/bl &hellip; <a href=\"https:\/\/drroot.page\/wp\/?p=185\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-it"],"_links":{"self":[{"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=185"}],"version-history":[{"count":0,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/posts\/185\/revisions"}],"wp:attachment":[{"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}