{"type": "func", "start": 6443248512, "end": 6443248594, "name": "cocos2d::CCDirector::setAccelerometer", "pseudocode": "// \n// cocos2d::CCDirector::setAccelerometer from 0x1800c2b80 to 0x1800c2bd2 (82 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18010daa0\n// > <???> @ 0x18010dbb0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3594\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:22:25 +0000\n// \n\nvoid __fastcall cocos2d::CCDirector::setAccelerometer(cocos2d::CCDirector *this, struct cocos2d::CCAccelerometer *a2)\n{\n  float v2; // xmm1_4\n  struct cocos2d::CCAccelerometer *v3; // rbx\n\n  v3 = *((struct cocos2d::CCAccelerometer **)this + 20);\n  if ( v3 != a2 )\n  {\n    if ( v3 )\n    {\n      cocos2d::CCNode::updateTweenActionInt(*((cocos2d::CCNode **)this + 20), v2);\n      j_j_free_0(v3);\n    }\n    *((_QWORD *)this + 20) = a2;\n  }\n}", "assembly": "; \n; cocos2d::CCDirector::setAccelerometer from 0x1800c2b80 to 0x1800c2bd2 (82 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18010daa0\n; > <???> @ 0x18010dbb0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3594\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:22:25 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c2b80\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800c2b85\npush    rdi                                                            ; +0xa, 0x1800c2b8a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c2b8b\nmov     rbx, [rcx+0A0h]                                                ; +0xf, 0x1800c2b8f\nmov     rdi, rdx                                                       ; +0x16, 0x1800c2b96\nmov     rsi, rcx                                                       ; +0x19, 0x1800c2b99\ncmp     rbx, rdx                                                       ; +0x1c, 0x1800c2b9c\njz      short loc_1800C2BC2                                            ; +0x1f, 0x1800c2b9f\ntest    rbx, rbx                                                       ; +0x21, 0x1800c2ba1\njz      short loc_1800C2BBB                                            ; +0x24, 0x1800c2ba4\nmov     rcx, rbx; this                                                 ; +0x26, 0x1800c2ba6\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x29, 0x1800c2ba9\nmov     edx, 28h ; '('                                                 ; +0x2e, 0x1800c2bae\nmov     rcx, rbx; Block                                                ; +0x33, 0x1800c2bb3\ncall    j_j_free_0                                                     ; +0x36, 0x1800c2bb6\nmov     [rsi+0A0h], rdi                                                ; +0x3b, 0x1800c2bbb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x42, 0x1800c2bc2\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x47, 0x1800c2bc7\nadd     rsp, 20h                                                       ; +0x4c, 0x1800c2bcc\npop     rdi                                                            ; +0x50, 0x1800c2bd0\nretn                                                                   ; +0x51, 0x1800c2bd1", "xrefs": ["<???> @ 0x18010daa0", "<???> @ 0x18010dbb0", "<???> @ 0x18014cf68", "<???> @ 0x1801c3594"], "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"}