{"type": "func", "start": 6442788912, "end": 6442788987, "name": "cocos2d::CCLayer::setAccelerometerInterval", "pseudocode": "// \n// cocos2d::CCLayer::setAccelerometerInterval from 0x180052830 to 0x18005287b (75 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800f3410\n// > <???> @ 0x1800f38f0\n// > <???> @ 0x1800f3e48\n// > <???> @ 0x1800f43d0\n// > <???> @ 0x1800f49c8\n// > <???> @ 0x1800fd500\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc2e0\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:21:45 +0000\n// \n\nvoid __fastcall cocos2d::CCLayer::setAccelerometerInterval(cocos2d::CCLayer *this, double a2)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  float v3; // xmm6_4\n  cocos2d::CCNode *v4; // rax\n\n  if ( *((_BYTE *)this + 361) )\n  {\n    if ( *((_BYTE *)this + 272) )\n    {\n      v2 = cocos2d::CCDirector::sharedDirector();\n      v3 = a2;\n      v4 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 208LL))(v2);\n      cocos2d::CCNode::updateTweenActionInt(v4, v3);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::setAccelerometerInterval from 0x180052830 to 0x18005287b (75 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800f3410\n; > <???> @ 0x1800f38f0\n; > <???> @ 0x1800f3e48\n; > <???> @ 0x1800f43d0\n; > <???> @ 0x1800f49c8\n; > <???> @ 0x1800fd500\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc2e0\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:21:45 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x180052830\ncmp     byte ptr [rcx+169h], 0                                         ; +0x4, 0x180052834\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xb, 0x18005283b\nmovaps  xmm6, xmm1                                                     ; +0x10, 0x180052840\njz      short loc_180052871                                            ; +0x13, 0x180052843\ncmp     byte ptr [rcx+110h], 0                                         ; +0x15, 0x180052845\njz      short loc_180052871                                            ; +0x1c, 0x18005284c\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x18005284e\ncvtsd2ss xmm6, xmm6                                                    ; +0x23, 0x180052853\nmov     rcx, [rax]                                                     ; +0x27, 0x180052857\nmov     rdx, [rcx+0D0h]                                                ; +0x2a, 0x18005285a\nmov     rcx, rax                                                       ; +0x31, 0x180052861\ncall    rdx                                                            ; +0x34, 0x180052864\nmov     rcx, rax; this                                                 ; +0x36, 0x180052866\nmovaps  xmm1, xmm6; float                                              ; +0x39, 0x180052869\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x3c, 0x18005286c\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x41, 0x180052871\nadd     rsp, 38h                                                       ; +0x46, 0x180052876\nretn                                                                   ; +0x4a, 0x18005287a", "xrefs": ["<???> @ 0x1800f3410", "<???> @ 0x1800f38f0", "<???> @ 0x1800f3e48", "<???> @ 0x1800f43d0", "<???> @ 0x1800f49c8", "<???> @ 0x1800fd500", "<???> @ 0x18014cf68", "<???> @ 0x1801bc2e0"], "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"}