; ; cocos2d::CCLayer::setAccelerometerInterval from 0x180050a10 to 0x180050a58 (72 bytes) ; ; 8 xrefs: ; > @ 0x1800ed2b0 ; > @ 0x1800ed770 ; > @ 0x1800edca8 ; > @ 0x1800ee210 ; > @ 0x1800ee7e8 ; > @ 0x1800f70b8 ; > @ 0x1801438a8 ; > @ 0x1801b204c ; ; 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 ; sub rsp, 38h ; +0x0, 0x180050a10 cmp byte ptr [rcx+169h], 0 ; +0x4, 0x180050a14 movaps [rsp+38h+var_18], xmm6 ; +0xb, 0x180050a1b movaps xmm6, xmm1 ; +0x10, 0x180050a20 jz short loc_180050A4E ; +0x13, 0x180050a23 cmp byte ptr [rcx+110h], 0 ; +0x15, 0x180050a25 jz short loc_180050A4E ; +0x1c, 0x180050a2c call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x180050a2e mov rcx, rax ; +0x23, 0x180050a33 cvtsd2ss xmm6, xmm6 ; +0x26, 0x180050a36 mov rdx, [rax] ; +0x2a, 0x180050a3a call qword ptr [rdx+0D0h] ; +0x2d, 0x180050a3d mov rcx, rax; this ; +0x33, 0x180050a43 movaps xmm1, xmm6; float ; +0x36, 0x180050a46 call ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x39, 0x180050a49 movaps xmm6, [rsp+38h+var_18] ; +0x3e, 0x180050a4e add rsp, 38h ; +0x43, 0x180050a53 retn ; +0x47, 0x180050a57