{"type": "func", "start": 6442742144, "end": 6442742208, "name": "cocos2d::CCKeyboardDispatcher::updateModifierKeys", "pseudocode": "// \n// cocos2d::CCKeyboardDispatcher::updateModifierKeys from 0x180047180 to 0x1800471c0 (64 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCEGLView::clearQueuedInput @ 0x1800791f1\n// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b19a\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb974\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:41 +0000\n// \n\nvoid __fastcall cocos2d::CCKeyboardDispatcher::updateModifierKeys(\n        cocos2d::CCKeyboardDispatcher *this,\n        char a2,\n        char a3,\n        char a4,\n        bool a5)\n{\n  *((_BYTE *)this + 152) = a2;\n  if ( a3 || a5 )\n  {\n    *((_BYTE *)this + 154) = a4;\n    *((_BYTE *)this + 153) = 1;\n    *((_BYTE *)this + 155) = a5;\n  }\n  else\n  {\n    *((_BYTE *)this + 154) = a4;\n    *((_BYTE *)this + 153) = 0;\n    *((_BYTE *)this + 155) = 0;\n  }\n}", "assembly": "; \n; cocos2d::CCKeyboardDispatcher::updateModifierKeys from 0x180047180 to 0x1800471c0 (64 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCEGLView::clearQueuedInput @ 0x1800791f1\n; > cocos2d::CCEGLView::pumpRawInput @ 0x18007b19a\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb974\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:41 +0000\n; \nmov     [rcx+98h], dl                                                  ; +0x0, 0x180047180\nmovzx   edx, [rsp+arg_20]                                              ; +0x6, 0x180047186\ntest    r8b, r8b                                                       ; +0xb, 0x18004718b\njnz     short loc_1800471AA                                            ; +0xe, 0x18004718e\ntest    dl, dl                                                         ; +0x10, 0x180047190\njnz     short loc_1800471AA                                            ; +0x12, 0x180047192\nxor     al, al                                                         ; +0x14, 0x180047194\nmov     [rcx+9Ah], r9b                                                 ; +0x16, 0x180047196\nmov     [rcx+99h], al                                                  ; +0x1d, 0x18004719d\nmov     [rcx+9Bh], dl                                                  ; +0x23, 0x1800471a3\nretn                                                                   ; +0x29, 0x1800471a9\nmov     al, 1                                                          ; +0x2a, 0x1800471aa\nmov     [rcx+9Ah], r9b                                                 ; +0x2c, 0x1800471ac\nmov     [rcx+99h], al                                                  ; +0x33, 0x1800471b3\nmov     [rcx+9Bh], dl                                                  ; +0x39, 0x1800471b9\nretn                                                                   ; +0x3f, 0x1800471bf", "xrefs": ["cocos2d::CCEGLView::clearQueuedInput @ 0x1800791f1", "cocos2d::CCEGLView::pumpRawInput @ 0x18007b19a", "<???> @ 0x18014cf68", "<???> @ 0x1801bb974"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}