; ; cocos2d::CCApplication::updateMouseControl from 0x180074870 to 0x18007493e (206 bytes) ; ; 4 xrefs: ; > @ 0x18013b1c8 ; > @ 0x18013b1fc ; > @ 0x1801438a8 ; > @ 0x1801b4560 ; ; 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 ; push rbx ; +0x0, 0x180074870 sub rsp, 40h ; +0x2, 0x180074872 mov rbx, rcx ; +0x6, 0x180074876 call ?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x9, 0x180074879 cmp byte ptr [rax+0EBh], 0 ; +0xe, 0x18007487e jnz loc_180074938 ; +0x15, 0x180074885 call ?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x1b, 0x18007488b cmp byte ptr [rax+0ECh], 0 ; +0x20, 0x180074890 jnz loc_180074938 ; +0x27, 0x180074897 movss xmm0, dword ptr [rbx+0B0h] ; +0x2d, 0x18007489d movaps [rsp+48h+var_28], xmm7 ; +0x35, 0x1800748a5 xorps xmm7, xmm7 ; +0x3a, 0x1800748aa ucomiss xmm0, xmm7 ; +0x3d, 0x1800748ad jp short loc_1800748C3 ; +0x40, 0x1800748b0 jnz short loc_1800748C3 ; +0x42, 0x1800748b2 movss xmm0, dword ptr [rbx+0B4h] ; +0x44, 0x1800748b4 ucomiss xmm0, xmm7 ; +0x4c, 0x1800748bc jp short loc_1800748C3 ; +0x4f, 0x1800748bf jz short loc_180074900 ; +0x51, 0x1800748c1 movaps [rsp+48h+var_18], xmm6 ; +0x53, 0x1800748c3 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x58, 0x1800748c8 movss xmm6, dword ptr [rbx+0B0h] ; +0x5d, 0x1800748cd mov rcx, rax ; +0x65, 0x1800748d5 xorps xmm6, cs:xmmword_1800E61C0 ; +0x68, 0x1800748d8 mov rdx, [rax] ; +0x6f, 0x1800748df call qword ptr [rdx+0C0h] ; +0x72, 0x1800748e2 movss xmm1, dword ptr [rbx+0B4h]; float ; +0x78, 0x1800748e8 movaps xmm2, xmm6; float ; +0x80, 0x1800748f0 mov rcx, rax; this ; +0x83, 0x1800748f3 call ?dispatchScrollMSG@CCMouseDispatcher@cocos2d@@QEAA_NMM@Z; cocos2d::CCMouseDispatcher::dispatchScrollMSG(float,float) ; +0x86, 0x1800748f6 movaps xmm6, [rsp+48h+var_18] ; +0x8b, 0x1800748fb movss xmm1, dword ptr [rbx+0A8h] ; +0x90, 0x180074900 ucomiss xmm1, xmm7 ; +0x98, 0x180074908 jp short loc_18007491E ; +0x9b, 0x18007490b jnz short loc_18007491E ; +0x9d, 0x18007490d movss xmm0, dword ptr [rbx+0ACh] ; +0x9f, 0x18007490f ucomiss xmm0, xmm7 ; +0xa7, 0x180074917 jp short loc_18007491E ; +0xaa, 0x18007491a jz short loc_180074933 ; +0xac, 0x18007491c cvttss2si r8d, dword ptr [rbx+0ACh]; int ; +0xae, 0x18007491e mov rcx, rbx; this ; +0xb7, 0x180074927 cvttss2si edx, xmm1; int ; +0xba, 0x18007492a call ?moveMouse@CCApplication@cocos2d@@QEAAXHH@Z; cocos2d::CCApplication::moveMouse(int,int) ; +0xbe, 0x18007492e movaps xmm7, [rsp+48h+var_28] ; +0xc3, 0x180074933 add rsp, 40h ; +0xc8, 0x180074938 pop rbx ; +0xcc, 0x18007493c retn ; +0xcd, 0x18007493d