; ; cocos2d::CCMouseDispatcher::removeDelegate from 0x180045a30 to 0x180045a60 (48 bytes) ; ; 8 xrefs: ; > cocos2d::CCLayer::onExit @ 0x180050778 ; > cocos2d::CCLayer::onExit @ 0x1800507a6 ; > cocos2d::CCLayer::onExit @ 0x1800507d4 ; > cocos2d::CCLayer::setKeyboardEnabled @ 0x180050c52 ; > cocos2d::CCLayer::setKeypadEnabled @ 0x180050cfd ; > cocos2d::CCLayer::setMouseEnabled @ 0x180050da2 ; > @ 0x1801438a8 ; > @ 0x1801b1704 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; test rdx, rdx ; +0x0, 0x180045a30 jz short locret_180045A5F ; +0x3, 0x180045a33 push rbx ; +0x5, 0x180045a35 sub rsp, 20h ; +0x6, 0x180045a36 cmp byte ptr [rcx+40h], 0 ; +0xa, 0x180045a3a mov rbx, rcx ; +0xe, 0x180045a3e jnz short loc_180045A4D ; +0x11, 0x180045a41 add rsp, 20h ; +0x13, 0x180045a43 pop rbx ; +0x17, 0x180045a47 jmp ?forceRemoveDelegate@CCMouseDispatcher@cocos2d@@QEAAXPEAVCCMouseDelegate@2@@Z; cocos2d::CCMouseDispatcher::forceRemoveDelegate(cocos2d::CCMouseDelegate *) ; +0x18, 0x180045a48 mov rcx, [rcx+50h] ; +0x1d, 0x180045a4d call sub_18009E170 ; +0x21, 0x180045a51 mov byte ptr [rbx+42h], 1 ; +0x26, 0x180045a56 add rsp, 20h ; +0x2a, 0x180045a5a pop rbx ; +0x2e, 0x180045a5e retn ; +0x2f, 0x180045a5f