{"status":"cancel/menu window consumer static review","summary":{"inputPackerVaHex":"0x0042f6d2","inputPollDriverVaHex":"0x00422d74","currentActionMaskVaHex":"0x0059e310","edgeActionMaskVaHex":"0x0059e312","cancelAction":{"index":9,"bitHex":"0x0200","keys":["ESCAPE","NUMPAD_INSERT","X","state+0x115"]},"cancelConsumerOpcode":"0x9f","cancelConsumerHandlerVaHex":"0x0040c6cc","regionDrawOpcode":"0x45","regionDrawHandlerVaHex":"0x00406528","normalHudRegionIndexes":[1,2],"topMenuRegionCandidateIndexes":[3,4,6],"promotion":"grounded stack path; direct normal-field menu-open script still pending"},"inputTables":{"action9":{"index":9,"bit":512,"bitHex":"0x0200","hint":null,"keys":[{"offset":1,"hex":"0x0001","kind":"dik","name":"ESCAPE"},{"offset":82,"hex":"0x0052","kind":"dik","name":"NUMPAD_INSERT"},{"offset":45,"hex":"0x002d","kind":"dik","name":"X"},{"offset":277,"hex":"0x0115","kind":"buffer-offset","name":"state+0x115"}]},"notes":["0x00422d74 calls the action packer, stores current mask at 0x0059e310, and stores edge/new-press mask at 0x0059e312.","Movement/controller code uses current direction bits; menu cancel/back checks the edge mask so holding the key does not repeatedly trigger the same menu transition."]},"opcodeHandlers":[{"opcode":64,"opcodeHex":"0x40","handlerVa":4219900,"handlerVaHex":"0x004063fc","role":"bind current action mask as VM input source","handlerBytes":"55 8b ec 53 56 57 8b 45 08 c7 80 a8 00 00 00 10 e3 59 00 8b 45 08 83 40"},{"opcode":68,"opcodeHex":"0x44","handlerVa":4220148,"handlerVaHex":"0x004064f4","role":"conditional draw region 0","handlerBytes":"55 8b ec 53 56 57 e8 0a b0 01 00 8b 45 08 8b 40 40 33 c9 8a 48 01 85 c9"},{"opcode":69,"opcodeHex":"0x45","handlerVa":4220200,"handlerVaHex":"0x00406528","role":"draw region id from command byte","handlerBytes":"55 8b ec 53 56 57 8b 45 08 8b 40 40 66 0f b6 40 01 50 e8 3a 50 01 00 83"},{"opcode":128,"opcodeHex":"0x80","handlerVa":4238686,"handlerVaHex":"0x0040ad5e","role":"bind menu stack slot to entry table row","handlerBytes":"55 8b ec 53 56 57 8b 45 08 8b 40 40 33 c9 8a 48 02 8d 04 49 c1 e0 03 8d"},{"opcode":136,"opcodeHex":"0x88","handlerVa":4239675,"handlerVaHex":"0x0040b13b","role":"direction/list selector movement","handlerBytes":"55 8b ec 83 ec 08 53 56 57 8b 45 08 8b 40 40 8b 40 04 89 45 fc 8b 45 08"},{"opcode":153,"opcodeHex":"0x99","handlerVa":4244220,"handlerVaHex":"0x0040c2fc","role":"rebuild menu stack from active ids","handlerBytes":"55 8b ec 83 ec 04 53 56 57 c7 45 fc 00 00 00 00 e9 03 00 00 00 ff 45 fc"},{"opcode":159,"opcodeHex":"0x9f","handlerVa":4245196,"handlerVaHex":"0x0040c6cc","role":"cancel/back menu stack controller","handlerBytes":"55 8b ec 83 ec 10 53 56 57 8b 45 08 8b 40 40 33 c9 8a 48 01 89 4d fc e9"}],"regionBindings":[{"index":1,"rectVaHex":"0x004548c0","resourceVaHex":"0x00454b64","x":0,"y":352,"w":416,"h":128,"x1":416,"y1":480,"resourceIdHex":"0x00090001","resourceGroupHex":"0x0009","templateIndex":1,"role":"normal HUD left panel","status":"grounded"},{"index":2,"rectVaHex":"0x004548d0","resourceVaHex":"0x00454b68","x":416,"y":352,"w":224,"h":128,"x1":640,"y1":480,"resourceIdHex":"0x00090004","resourceGroupHex":"0x0009","templateIndex":4,"role":"normal HUD right panel","status":"grounded"},{"index":3,"rectVaHex":"0x004548e0","resourceVaHex":"0x00454b6c","x":416,"y":0,"w":224,"h":96,"x1":640,"y1":96,"resourceIdHex":"0x00090002","resourceGroupHex":"0x0009","templateIndex":2,"role":"top menu upper-right window candidate","status":"grounded-region / consumer pending"},{"index":4,"rectVaHex":"0x004548f0","resourceVaHex":"0x00454b70","x":416,"y":96,"w":224,"h":256,"x1":640,"y1":352,"resourceIdHex":"0x00090003","resourceGroupHex":"0x0009","templateIndex":3,"role":"top menu lower-right window candidate","status":"grounded-region / consumer pending"},{"index":6,"rectVaHex":"0x00454910","resourceVaHex":"0x00454b78","x":0,"y":0,"w":416,"h":352,"x1":416,"y1":352,"resourceIdHex":"0x00090000","resourceGroupHex":"0x0009","templateIndex":0,"role":"top menu large left window candidate","status":"grounded-region / consumer pending"},{"index":8,"rectVaHex":"0x00454930","resourceVaHex":"0x00454b80","x":324,"y":128,"w":80,"h":112,"x1":404,"y1":240,"resourceIdHex":"0x0009000d","resourceGroupHex":"0x0009","templateIndex":13,"role":"window.cns template #13","status":"window-region"},{"index":9,"rectVaHex":"0x00454940","resourceVaHex":"0x00454b84","x":0,"y":0,"w":352,"h":96,"x1":352,"y1":96,"resourceIdHex":"0x00090006","resourceGroupHex":"0x0009","templateIndex":6,"role":"window.cns template #6","status":"window-region"},{"index":10,"rectVaHex":"0x00454950","resourceVaHex":"0x00454b88","x":0,"y":0,"w":352,"h":112,"x1":352,"y1":112,"resourceIdHex":"0x00090007","resourceGroupHex":"0x0009","templateIndex":7,"role":"window.cns template #7","status":"window-region"},{"index":11,"rectVaHex":"0x00454960","resourceVaHex":"0x00454b8c","x":0,"y":0,"w":352,"h":128,"x1":352,"y1":128,"resourceIdHex":"0x00090008","resourceGroupHex":"0x0009","templateIndex":8,"role":"window.cns template #8","status":"window-region"},{"index":12,"rectVaHex":"0x00454970","resourceVaHex":"0x00454b90","x":0,"y":0,"w":352,"h":144,"x1":352,"y1":144,"resourceIdHex":"0x00090009","resourceGroupHex":"0x0009","templateIndex":9,"role":"window.cns template #9","status":"window-region"},{"index":13,"rectVaHex":"0x00454980","resourceVaHex":"0x00454b94","x":0,"y":0,"w":352,"h":160,"x1":352,"y1":160,"resourceIdHex":"0x0009000a","resourceGroupHex":"0x0009","templateIndex":10,"role":"window.cns template #10","status":"window-region"},{"index":14,"rectVaHex":"0x00454990","resourceVaHex":"0x00454b98","x":0,"y":80,"w":304,"h":240,"x1":304,"y1":320,"resourceIdHex":"0x0009000b","resourceGroupHex":"0x0009","templateIndex":11,"role":"window.cns template #11","status":"window-region"},{"index":15,"rectVaHex":"0x004549a0","resourceVaHex":"0x00454b9c","x":304,"y":80,"w":128,"h":80,"x1":432,"y1":160,"resourceIdHex":"0x0009000c","resourceGroupHex":"0x0009","templateIndex":12,"role":"window.cns template #12","status":"window-region"},{"index":16,"rectVaHex":"0x004549b0","resourceVaHex":"0x00454ba0","x":304,"y":160,"w":128,"h":80,"x1":432,"y1":240,"resourceIdHex":"0x0009000c","resourceGroupHex":"0x0009","templateIndex":12,"role":"window.cns template #12","status":"window-region"},{"index":17,"rectVaHex":"0x004549c0","resourceVaHex":"0x00454ba4","x":304,"y":240,"w":128,"h":80,"x1":432,"y1":320,"resourceIdHex":"0x0009000c","resourceGroupHex":"0x0009","templateIndex":12,"role":"window.cns template #12","status":"window-region"},{"index":39,"rectVaHex":"0x00454b20","resourceVaHex":"0x00454bfc","x":0,"y":64,"w":224,"h":48,"x1":224,"y1":112,"resourceIdHex":"0x0009000e","resourceGroupHex":"0x0009","templateIndex":14,"role":"window.cns template #14","status":"window-region"},{"index":40,"rectVaHex":"0x00454b30","resourceVaHex":"0x00454c00","x":0,"y":112,"w":224,"h":48,"x1":224,"y1":160,"resourceIdHex":"0x0009000f","resourceGroupHex":"0x0009","templateIndex":15,"role":"window.cns template #15","status":"window-region"},{"index":42,"rectVaHex":"0x00454b50","resourceVaHex":"0x00454c08","x":0,"y":0,"w":176,"h":64,"x1":176,"y1":64,"resourceIdHex":"0x00090010","resourceGroupHex":"0x0009","templateIndex":16,"role":"window.cns template #16","status":"window-region"}],"callSites":[{"label":"input action packer","targetVaHex":"0x0042f6d2","callCount":1,"callSites":[{"callVaHex":"0x00422d91","function":"input-poll-driver"}]},{"label":"region draw function","targetVaHex":"0x0041b579","callCount":5,"callSites":[{"callVaHex":"0x00406514","function":"opcode-0x44-region0"},{"callVaHex":"0x0040653a","function":"opcode-0x45-region-id"},{"callVaHex":"0x00414fc9","function":"near menu/list-template-blitter"},{"callVaHex":"0x004150d2","function":"near menu/list-template-blitter"},{"callVaHex":"0x0041bb59","function":"region-object-draw-bridge"}]},{"label":"template blit function","targetVaHex":"0x004175d3","callCount":35,"callSites":[{"callVaHex":"0x0040f822","function":"menu/list-template-blitter"},{"callVaHex":"0x0040f873","function":"menu/list-template-blitter"},{"callVaHex":"0x0040f8e7","function":"menu/list-template-blitter"},{"callVaHex":"0x0040f923","function":"menu/list-template-blitter"},{"callVaHex":"0x0040f9e4","function":"menu/list-template-blitter"},{"callVaHex":"0x0040fa23","function":"menu/list-template-blitter"},{"callVaHex":"0x00411a0f","function":"near menu/list-template-blitter"},{"callVaHex":"0x0041b5ff","function":"region-draw-function"},{"callVaHex":"0x0041dbf3","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041dd01","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041df9b","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e004","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e127","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e2b9","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e2f8","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e3c5","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e472","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e4a7","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e56e","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041e6a8","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041f52d","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041f8f7","function":"near choice/list-cancel-handler"},{"callVaHex":"0x0041fa74","function":"near choice/list-cancel-handler"},{"callVaHex":"0x004203c3","function":"near choice/list-cancel-handler"}]}],"globalRefs":[{"label":"current action mask","vaHex":"0x0059e310","textRefCount":31,"sampleRefs":[{"refVaHex":"0x0040640b","function":"near vm-dispatch-loop"},{"refVaHex":"0x004106a8","function":"near menu/list-template-blitter"},{"refVaHex":"0x0041d8c5","function":"near choice/list-cancel-handler"},{"refVaHex":"0x00422d9b","function":"input-poll-driver"},{"refVaHex":"0x00422da1","function":"input-poll-driver"},{"refVaHex":"0x004232a5","function":"near input-poll-driver"},{"refVaHex":"0x004232dc","function":"near input-poll-driver"},{"refVaHex":"0x0043038e","function":"near field-controller-direction"},{"refVaHex":"0x0043039e","function":"near field-controller-direction"},{"refVaHex":"0x004303ae","function":"near field-controller-direction"},{"refVaHex":"0x004303b7","function":"near field-controller-direction"},{"refVaHex":"0x004303bf","function":"near field-controller-direction"},{"refVaHex":"0x004303c8","function":"near field-controller-direction"},{"refVaHex":"0x004303d0","function":"near field-controller-direction"},{"refVaHex":"0x004303e0","function":"near field-controller-direction"},{"refVaHex":"0x004303f0","function":"near field-controller-direction"},{"refVaHex":"0x004303f9","function":"near field-controller-direction"},{"refVaHex":"0x00430401","function":"near field-controller-direction"},{"refVaHex":"0x0043040a","function":"near field-controller-direction"},{"refVaHex":"0x00430412","function":"near field-controller-direction"},{"refVaHex":"0x00430429","function":"near field-controller-direction"},{"refVaHex":"0x00430440","function":"near field-controller-direction"},{"refVaHex":"0x00430457","function":"near field-controller-direction"},{"refVaHex":"0x004304df","function":"near field-controller-direction"}]},{"label":"edge/new-press action mask","vaHex":"0x0059e312","textRefCount":33,"sampleRefs":[{"refVaHex":"0x004042dd","function":"near vm-dispatch-loop"},{"refVaHex":"0x00404340","function":"near vm-dispatch-loop"},{"refVaHex":"0x0040b167","function":"opcode-0x88-list-direction"},{"refVaHex":"0x0040b189","function":"opcode-0x88-list-direction"},{"refVaHex":"0x0040b1b3","function":"opcode-0x88-list-direction"},{"refVaHex":"0x0040b1d5","function":"opcode-0x88-list-direction"},{"refVaHex":"0x0040b1ff","function":"opcode-0x88-list-direction"},{"refVaHex":"0x0040b221","function":"opcode-0x88-list-direction"},{"refVaHex":"0x0040b246","function":"opcode-0x88-list-direction"},{"refVaHex":"0x0040b26b","function":"opcode-0x88-list-direction"},{"refVaHex":"0x0040c746","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c757","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c762","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0041b84c","function":"near region-draw-function"},{"refVaHex":"0x0041b907","function":"near region-draw-function"},{"refVaHex":"0x0041b924","function":"near region-draw-function"},{"refVaHex":"0x0041d6ff","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041d70a","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041d712","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041d71b","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041d723","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041d797","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041d7b2","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041d807","function":"near choice/list-cancel-handler"}]},{"label":"previous action latch","vaHex":"0x0055b2ac","textRefCount":3,"sampleRefs":[{"refVaHex":"0x00422d83","function":"input-poll-driver"},{"refVaHex":"0x00422da7","function":"input-poll-driver"},{"refVaHex":"0x00422db8","function":"input-poll-driver"}]},{"label":"menu stack cursor","vaHex":"0x0059e33e","textRefCount":62,"sampleRefs":[{"refVaHex":"0x0040b6a2","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040b780","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040b7a1","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040b7e0","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040b802","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040c53b","function":"near opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040c599","function":"near opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040c6eb","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c778","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c78c","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c79a","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c7a1","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c7c7","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c7e4","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c81c","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c839","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c875","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c883","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c89d","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c8a9","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c8b0","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c8c7","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c8e4","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040f588","function":"near opcode-0x9f-cancel-stack"}]},{"label":"menu stack pointer array","vaHex":"0x0059db30","textRefCount":260,"sampleRefs":[{"refVaHex":"0x00406479","function":"near vm-dispatch-loop"},{"refVaHex":"0x00406499","function":"near vm-dispatch-loop"},{"refVaHex":"0x0040ad8b","function":"opcode-0x80-stack-bind"},{"refVaHex":"0x0040c04b","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040c362","function":"opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040c3df","function":"opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040c542","function":"near opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040c6f2","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c7a8","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c7ce","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c7eb","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c823","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c840","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c8ce","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040c8eb","function":"opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040ca0c","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040cac3","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040cad3","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040cb17","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040cb31","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040cbb6","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040cc1e","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040cc3b","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040cc4b","function":"near opcode-0x9f-cancel-stack"}]},{"label":"active menu entry count","vaHex":"0x004576e8","textRefCount":86,"sampleRefs":[{"refVaHex":"0x00406b91","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00406cce","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00407d24","function":"near opcode-0x45-region-id"},{"refVaHex":"0x004081de","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00408372","function":"near opcode-0x45-region-id"},{"refVaHex":"0x0040849d","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00408782","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00408a1d","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00408a3b","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00408c30","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00408d2b","function":"near opcode-0x45-region-id"},{"refVaHex":"0x00408ec7","function":"near opcode-0x45-region-id"},{"refVaHex":"0x0040a3b9","function":"near opcode-0x45-region-id"},{"refVaHex":"0x0040a5ae","function":"near opcode-0x45-region-id"},{"refVaHex":"0x0040a798","function":"near opcode-0x45-region-id"},{"refVaHex":"0x0040a98e","function":"near opcode-0x45-region-id"},{"refVaHex":"0x0040ab84","function":"near opcode-0x45-region-id"},{"refVaHex":"0x0040acf2","function":"near opcode-0x45-region-id"},{"refVaHex":"0x0040bce8","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040bcf7","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040bd37","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040bd6b","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040be53","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040c2e2","function":"near opcode-0x88-list-direction"}]},{"label":"active menu entry ids","vaHex":"0x004576e9","textRefCount":30,"sampleRefs":[{"refVaHex":"0x0040b6aa","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040b788","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040b7a9","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040b7e8","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040b80a","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040bd4b","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040be7e","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040bfa7","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040c3c7","function":"opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040deb8","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x00410e71","function":"near menu/list-template-blitter"},{"refVaHex":"0x00410ff5","function":"near menu/list-template-blitter"},{"refVaHex":"0x0041d974","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041dc47","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041dc81","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041e34b","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041e750","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041e7ad","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041e982","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041f88f","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041fcad","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041fce8","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041fd23","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0041fd99","function":"near choice/list-cancel-handler"}]},{"label":"menu entry table","vaHex":"0x00457750","textRefCount":39,"sampleRefs":[{"refVaHex":"0x00406436","function":"near vm-dispatch-loop"},{"refVaHex":"0x0040ad79","function":"opcode-0x80-stack-bind"},{"refVaHex":"0x0040b6b8","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040be8c","function":"near opcode-0x88-list-direction"},{"refVaHex":"0x0040c3d5","function":"opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040c43b","function":"near opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040c499","function":"near opcode-0x99-stack-rebuild"},{"refVaHex":"0x0040dec6","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040f25a","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040f373","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040f48c","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040f730","function":"near opcode-0x9f-cancel-stack"},{"refVaHex":"0x0040fac6","function":"near menu/list-template-blitter"},{"refVaHex":"0x0040ff57","function":"near menu/list-template-blitter"},{"refVaHex":"0x0041015b","function":"near menu/list-template-blitter"},{"refVaHex":"0x00410162","function":"near menu/list-template-blitter"},{"refVaHex":"0x004101a6","function":"near menu/list-template-blitter"},{"refVaHex":"0x004101ad","function":"near menu/list-template-blitter"},{"refVaHex":"0x004103e7","function":"near menu/list-template-blitter"},{"refVaHex":"0x0041d8f8","function":"near choice/list-cancel-handler"},{"refVaHex":"0x0042007d","function":"near choice/list-cancel-handler"},{"refVaHex":"0x004217ae","function":"near choice/list-cancel-handler"},{"refVaHex":"0x00422562","function":"near choice/list-cancel-handler"},{"refVaHex":"0x00422a5c","function":"near choice/list-cancel-handler"}]}],"cancelBitTests":[{"testVaHex":"0x0040c74a","function":"opcode-0x9f-cancel-stack","functionStartHex":"0x0040c6cc","meaning":"tests AH bit 0x02, i.e. action bit 0x0200 when AX is the 16-bit input mask","bytes":"66 a1 12 e3 59 00 f6 c4 02 0f 84 c6 00 00 00 33"},{"testVaHex":"0x0041d7b6","function":"near choice/list-cancel-handler","functionStartHex":"0x0041d61b","meaning":"tests AH bit 0x02, i.e. action bit 0x0200 when AX is the 16-bit input mask","bytes":"66 a1 12 e3 59 00 f6 c4 02 0f 84 6b 00 00 00 8b"}],"stackMutations":[{"mutation":"inc byte ptr [0x0059e33e]","hitCount":2,"hits":[{"vaHex":"0x0040c881","function":"opcode-0x9f-cancel-stack"},{"vaHex":"0x0040c8a7","function":"opcode-0x9f-cancel-stack"}]},{"mutation":"dec byte ptr [0x0059e33e]","hitCount":1,"hits":[{"vaHex":"0x0040c798","function":"opcode-0x9f-cancel-stack"}]},{"mutation":"mov byte ptr [0x0059e33e], 0","hitCount":1,"hits":[{"vaHex":"0x0040c89b","function":"opcode-0x9f-cancel-stack"}]}],"streamProbePatterns":[{"label":"script-data opcode draw top-left candidate 45 06","pattern":"45 06","hits":0,"sampleHitsHex":[]},{"label":"script-data opcode draw right-top candidate 45 03","pattern":"45 03","hits":0,"sampleHitsHex":[]},{"label":"script-data opcode draw right-bottom candidate 45 04","pattern":"45 04","hits":0,"sampleHitsHex":[]}],"findings":[{"item":"cancel/back action","status":"grounded","evidence":"primary action 9 maps ESCAPE, NUMPAD_INSERT, X and state offsets to bit 0x0200."},{"item":"cancel/back consumer","status":"grounded","evidence":"opcode 0x9f handler 0x0040c6cc tests AH bit 0x02 from edge mask 0x0059e312 and mutates menu stack cursor 0x0059e33e."},{"item":"menu stack globals","status":"grounded","evidence":"0x4576e8/0x4576e9 hold active menu entry ids; 0x59db30 holds entry pointers; 0x59e33e is the current cursor. Add/remove helpers at 0x00431fe8/0x00432541 update them."},{"item":"top menu window regions","status":"grounded-region / consumer pending","evidence":"region #6, #3, #4 form the 640x352 top menu candidate layout from window.cns templates, but the exact opener stream was not isolated."},{"item":"raw region command sequence","status":"blocked","evidence":"direct script-data byte sequences 45 06 / 45 03 / 45 04 were not found; the top menu layout is likely selected through descriptor/object state rather than a simple contiguous region-opener stream."}],"nextTargets":["Decode menu entry table rows at 0x00457750 so stack id -> text/window/content can be named.","Trace opcode 0x80/0x99/0x9f roots together with region opcode 0x45 to find the normal-field status-menu opener.","Use the known UI text strings around 0x004e8128..0x004e8872 as labels once the stack entry content table is isolated."]}