; ; cocos2d::CCKeyboardDispatcher::flushPendingDelegates from 0x1800464a0 to 0x180046548 (168 bytes) ; ; 6 xrefs: ; > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0x1800462ef ; > cocos2d::CCKeyboardDispatcher::releaseAllKeys @ 0x180047117 ; > @ 0x18014029c ; > @ 0x1801402ac ; > @ 0x18014cf68 ; > @ 0x1801bb8fc ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:41 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1800464a0 push rdi ; +0x5, 0x1800464a5 sub rsp, 20h ; +0x6, 0x1800464a6 xor edi, edi ; +0xa, 0x1800464aa mov rbx, rcx ; +0xc, 0x1800464ac cmp [rcx+42h], dil ; +0xf, 0x1800464af jz short loc_1800464F6 ; +0x13, 0x1800464b3 mov [rcx+42h], dil ; +0x15, 0x1800464b5 mov rcx, [rcx+50h] ; +0x19, 0x1800464b9 mov [rsp+28h+arg_0], rsi ; +0x1d, 0x1800464bd mov esi, edi ; +0x22, 0x1800464c2 cmp [rcx], edi ; +0x24, 0x1800464c4 jbe short loc_1800464EC ; +0x26, 0x1800464c6 nop dword ptr [rax+rax+00000000h] ; +0x28, 0x1800464c8 mov rdx, [rcx+10h] ; +0x30, 0x1800464d0 mov rcx, rbx; this ; +0x34, 0x1800464d4 mov eax, esi ; +0x37, 0x1800464d7 mov rdx, [rdx+rax*8]; struct cocos2d::CCMouseDelegate * ; +0x39, 0x1800464d9 call ?forceRemoveDelegate@CCMouseDispatcher@cocos2d@@QEAAXPEAVCCMouseDelegate@2@@Z; cocos2d::CCMouseDispatcher::forceRemoveDelegate(cocos2d::CCMouseDelegate *) ; +0x3d, 0x1800464dd mov rcx, [rbx+50h]; this ; +0x42, 0x1800464e2 inc esi ; +0x46, 0x1800464e6 cmp esi, [rcx] ; +0x48, 0x1800464e8 jb short loc_1800464D0 ; +0x4a, 0x1800464ea call ?_Release@_NonReentrantLock@details@Concurrency@@QEAAXXZ; Concurrency::details::_NonReentrantLock::_Release(void) ; +0x4c, 0x1800464ec mov rsi, [rsp+28h+arg_0] ; +0x51, 0x1800464f1 cmp [rbx+41h], dil ; +0x56, 0x1800464f6 jz short loc_18004653D ; +0x5a, 0x1800464fa mov rcx, [rbx+48h] ; +0x5c, 0x1800464fc mov [rbx+41h], dil ; +0x60, 0x180046500 cmp [rcx], edi ; +0x64, 0x180046504 jbe short loc_180046538 ; +0x66, 0x180046506 nop dword ptr [rax+rax+00000000h] ; +0x68, 0x180046508 mov rcx, [rcx+10h] ; +0x70, 0x180046510 mov rcx, [rcx+rdi*8]; struct cocos2d::CCKeyboardDelegate * ; +0x74, 0x180046514 call ?handlerWithDelegate@CCKeyboardHandler@cocos2d@@SAPEAV12@PEAVCCKeyboardDelegate@2@@Z; cocos2d::CCKeyboardHandler::handlerWithDelegate(cocos2d::CCKeyboardDelegate *) ; +0x78, 0x180046518 test rax, rax ; +0x7d, 0x18004651d jz short loc_18004652E ; +0x80, 0x180046520 mov rcx, [rbx+38h]; this ; +0x82, 0x180046522 mov rdx, rax; struct cocos2d::CCObject * ; +0x86, 0x180046526 call ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x89, 0x180046529 mov rcx, [rbx+48h]; this ; +0x8e, 0x18004652e inc edi ; +0x92, 0x180046532 cmp edi, [rcx] ; +0x94, 0x180046534 jb short loc_180046510 ; +0x96, 0x180046536 call ?_Release@_NonReentrantLock@details@Concurrency@@QEAAXXZ; Concurrency::details::_NonReentrantLock::_Release(void) ; +0x98, 0x180046538 mov rbx, [rsp+28h+arg_8] ; +0x9d, 0x18004653d add rsp, 20h ; +0xa2, 0x180046542 pop rdi ; +0xa6, 0x180046546 retn ; +0xa7, 0x180046547