{"type": "func", "start": 6442741744, "end": 6442742091, "name": "cocos2d::CCKeyboardDispatcher::releaseAllKeys", "pseudocode": "// \n// cocos2d::CCKeyboardDispatcher::releaseAllKeys from 0x180046ff0 to 0x18004714b (347 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEGLView::clearQueuedInput @ 0x1800791dc\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb968\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\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::CCKeyboardDispatcher::releaseAllKeys(cocos2d::CCKeyboardDispatcher *this, double a2)\n{\n  int *v3; // rdx\n  int v4; // xmm1_4\n  __int64 *v5; // rax\n  __int64 *v6; // rsi\n  __int64 v7; // rcx\n  __int64 v8; // rcx\n  __int64 v9; // rcx\n  __int64 v10; // rcx\n  __int64 v11; // rcx\n  __int64 v12; // rcx\n  __int64 *i; // rbx\n  int v14; // [rsp+30h] [rbp-58h] BYREF\n  __int64 *v15; // [rsp+38h] [rbp-50h] BYREF\n  __int64 v16; // [rsp+40h] [rbp-48h]\n  __int64 v17; // [rsp+48h] [rbp-40h] BYREF\n  __int64 v18; // [rsp+50h] [rbp-38h]\n  __int64 v19; // [rsp+58h] [rbp-30h]\n  __int64 v20; // [rsp+60h] [rbp-28h]\n  __int64 v21; // [rsp+68h] [rbp-20h]\n\n  if ( *((_QWORD *)this + 13) )\n  {\n    sub_1800452C0((__int64)&v14);\n    v3 = (int *)((char *)this + 88);\n    if ( &v14 == (int *)((char *)this + 88) )\n    {\n      v6 = v15;\n    }\n    else\n    {\n      v4 = v14;\n      v14 = *v3;\n      *v3 = v4;\n      v5 = v15;\n      v6 = *((__int64 **)this + 12);\n      v15 = v6;\n      *((_QWORD *)this + 12) = v5;\n      v7 = v16;\n      v16 = *((_QWORD *)this + 13);\n      *((_QWORD *)this + 13) = v7;\n      v8 = v17;\n      v17 = *((_QWORD *)this + 14);\n      *((_QWORD *)this + 14) = v8;\n      v9 = v18;\n      v18 = *((_QWORD *)this + 15);\n      *((_QWORD *)this + 15) = v9;\n      v10 = v19;\n      v19 = *((_QWORD *)this + 16);\n      *((_QWORD *)this + 16) = v10;\n      v11 = v20;\n      v20 = *((_QWORD *)this + 17);\n      *((_QWORD *)this + 17) = v11;\n      v12 = v21;\n      v21 = *((_QWORD *)this + 18);\n      *((_QWORD *)this + 18) = v12;\n    }\n    *((_BYTE *)this + 157) = 0;\n    *((_BYTE *)this + 64) = 1;\n    for ( i = (__int64 *)*v6; i != v6; i = (__int64 *)*i )\n      cocos2d::CCKeyboardDispatcher::dispatchToTopDelegate((__int64)this, *((_DWORD *)i + 4), 0, i + 3);\n    *((_BYTE *)this + 64) = 0;\n    cocos2d::CCKeyboardDispatcher::flushPendingDelegates(this);\n    sub_1800175F0((__int64)&v17);\n    sub_1800454B0((void **)&v15);\n  }\n}", "assembly": "; \n; cocos2d::CCKeyboardDispatcher::releaseAllKeys from 0x180046ff0 to 0x18004714b (347 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEGLView::clearQueuedInput @ 0x1800791dc\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb968\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     [rsp+arg_0], rbx                                               ; +0x0, 0x180046ff0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180046ff5\npush    rdi                                                            ; +0xa, 0x180046ffa\nsub     rsp, 80h                                                       ; +0xb, 0x180046ffb\nmovaps  [rsp+88h+var_18], xmm6                                         ; +0x12, 0x180047002\nmovaps  xmm6, xmm1                                                     ; +0x17, 0x180047007\nmov     rdi, rcx                                                       ; +0x1a, 0x18004700a\ncmp     qword ptr [rcx+68h], 0                                         ; +0x1d, 0x18004700d\njz      loc_180047131                                                  ; +0x22, 0x180047012\nlea     rcx, [rsp+88h+var_58]                                          ; +0x28, 0x180047018\ncall    sub_1800452C0                                                  ; +0x2d, 0x18004701d\nnop                                                                    ; +0x32, 0x180047022\nlea     rdx, [rdi+58h]                                                 ; +0x33, 0x180047023\nlea     rax, [rsp+88h+var_58]                                          ; +0x37, 0x180047027\ncmp     rax, rdx                                                       ; +0x3c, 0x18004702c\njz      loc_1800470C9                                                  ; +0x3f, 0x18004702f\nmovss   xmm1, [rsp+88h+var_58]                                         ; +0x45, 0x180047035\nmovss   xmm0, dword ptr [rdx]                                          ; +0x4b, 0x18004703b\nmovss   [rsp+88h+var_58], xmm0                                         ; +0x4f, 0x18004703f\nmovss   dword ptr [rdx], xmm1                                          ; +0x55, 0x180047045\nmov     rax, [rsp+88h+var_50]                                          ; +0x59, 0x180047049\nmov     rsi, [rdx+8]                                                   ; +0x5e, 0x18004704e\nmov     [rsp+88h+var_50], rsi                                          ; +0x62, 0x180047052\nmov     [rdx+8], rax                                                   ; +0x67, 0x180047057\nmov     rcx, [rsp+88h+var_48]                                          ; +0x6b, 0x18004705b\nmov     rax, [rdx+10h]                                                 ; +0x70, 0x180047060\nmov     [rsp+88h+var_48], rax                                          ; +0x74, 0x180047064\nmov     [rdx+10h], rcx                                                 ; +0x79, 0x180047069\nmov     rcx, [rsp+88h+var_40]                                          ; +0x7d, 0x18004706d\nmov     rax, [rdx+18h]                                                 ; +0x82, 0x180047072\nmov     [rsp+88h+var_40], rax                                          ; +0x86, 0x180047076\nmov     [rdx+18h], rcx                                                 ; +0x8b, 0x18004707b\nmov     rcx, [rsp+88h+var_38]                                          ; +0x8f, 0x18004707f\nmov     rax, [rdx+20h]                                                 ; +0x94, 0x180047084\nmov     [rsp+88h+var_38], rax                                          ; +0x98, 0x180047088\nmov     [rdx+20h], rcx                                                 ; +0x9d, 0x18004708d\nmov     rcx, [rsp+88h+var_30]                                          ; +0xa1, 0x180047091\nmov     rax, [rdx+28h]                                                 ; +0xa6, 0x180047096\nmov     [rsp+88h+var_30], rax                                          ; +0xaa, 0x18004709a\nmov     [rdx+28h], rcx                                                 ; +0xaf, 0x18004709f\nmov     rcx, [rsp+88h+var_28]                                          ; +0xb3, 0x1800470a3\nmov     rax, [rdx+30h]                                                 ; +0xb8, 0x1800470a8\nmov     [rsp+88h+var_28], rax                                          ; +0xbc, 0x1800470ac\nmov     [rdx+30h], rcx                                                 ; +0xc1, 0x1800470b1\nmov     rcx, [rsp+88h+var_20]                                          ; +0xc5, 0x1800470b5\nmov     rax, [rdx+38h]                                                 ; +0xca, 0x1800470ba\nmov     [rsp+88h+var_20], rax                                          ; +0xce, 0x1800470be\nmov     [rdx+38h], rcx                                                 ; +0xd3, 0x1800470c3\njmp     short loc_1800470CE                                            ; +0xd7, 0x1800470c7\nmov     rsi, [rsp+88h+var_50]                                          ; +0xd9, 0x1800470c9\nmov     byte ptr [rdi+9Dh], 0                                          ; +0xde, 0x1800470ce\nmov     byte ptr [rdi+40h], 1                                          ; +0xe5, 0x1800470d5\nmov     rbx, [rsi]                                                     ; +0xe9, 0x1800470d9\ncmp     rbx, rsi                                                       ; +0xec, 0x1800470dc\njz      short loc_180047110                                            ; +0xef, 0x1800470df\nnop     dword ptr [rax+00h]                                            ; +0xf1, 0x1800470e1\nnop     word ptr [rax+rax+00000000h]                                   ; +0xf5, 0x1800470e5\nlea     r9, [rbx+18h]                                                  ; +0x100, 0x1800470f0\nmovsd   [rsp+88h+var_68], xmm6                                         ; +0x104, 0x1800470f4\nxor     r8d, r8d                                                       ; +0x10a, 0x1800470fa\nmov     edx, [rbx+10h]                                                 ; +0x10d, 0x1800470fd\nmov     rcx, rdi                                                       ; +0x110, 0x180047100\ncall    ?dispatchToTopDelegate@CCKeyboardDispatcher@cocos2d@@IEAAXW4enumKeyCodes@2@_NAEBV?$vector@HV?$allocator@H@std@@@std@@N@Z; cocos2d::CCKeyboardDispatcher::dispatchToTopDelegate(cocos2d::enumKeyCodes,bool,std::vector<int> const &,double) ; +0x113, 0x180047103\nmov     rbx, [rbx]                                                     ; +0x118, 0x180047108\ncmp     rbx, rsi                                                       ; +0x11b, 0x18004710b\njnz     short loc_1800470F0                                            ; +0x11e, 0x18004710e\nmov     byte ptr [rdi+40h], 0                                          ; +0x120, 0x180047110\nmov     rcx, rdi; this                                                 ; +0x124, 0x180047114\ncall    ?flushPendingDelegates@CCKeyboardDispatcher@cocos2d@@QEAAXXZ; cocos2d::CCKeyboardDispatcher::flushPendingDelegates(void) ; +0x127, 0x180047117\nnop                                                                    ; +0x12c, 0x18004711c\nlea     rcx, [rsp+88h+var_40]                                          ; +0x12d, 0x18004711d\ncall    sub_1800175F0                                                  ; +0x132, 0x180047122\nlea     rcx, [rsp+88h+var_50]                                          ; +0x137, 0x180047127\ncall    sub_1800454B0                                                  ; +0x13c, 0x18004712c\nlea     r11, [rsp+88h+var_8]                                           ; +0x141, 0x180047131\nmov     rbx, [r11+10h]                                                 ; +0x149, 0x180047139\nmov     rsi, [r11+18h]                                                 ; +0x14d, 0x18004713d\nmovaps  xmm6, [rsp+88h+var_18]                                         ; +0x151, 0x180047141\nmov     rsp, r11                                                       ; +0x156, 0x180047146\npop     rdi                                                            ; +0x159, 0x180047149\nretn                                                                   ; +0x15a, 0x18004714a", "xrefs": ["cocos2d::CCEGLView::clearQueuedInput @ 0x1800791dc", "<???> @ 0x18014cf68", "<???> @ 0x1801bb968"], "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"}