{"type": "func", "start": 6442920544, "end": 6442920591, "name": "cocos2d::CCAccelerometer::update", "pseudocode": "// \n// cocos2d::CCAccelerometer::update from 0x180072a60 to 0x180072a8f (47 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCAccelerometer::update(\n        cocos2d::CCAccelerometer *this,\n        double a2,\n        double a3,\n        double a4,\n        double a5)\n{\n  cocos2d::CCAccelerometerDelegate *m_pAccelDelegate; // r8\n\n  m_pAccelDelegate = this->m_pAccelDelegate;\n  if ( m_pAccelDelegate )\n  {\n    this->m_obAccelerationValue.timestamp = a5;\n    this->m_obAccelerationValue.x = a2;\n    this->m_obAccelerationValue.y = a3;\n    this->m_obAccelerationValue.z = a4;\n    ((void (__fastcall *)(cocos2d::CCAccelerometerDelegate *, cocos2d::CCAccelerometer *))m_pAccelDelegate->didAccelerate)(\n      m_pAccelDelegate,\n      this);\n  }\n}", "assembly": "; \n; cocos2d::CCAccelerometer::update from 0x180072a60 to 0x180072a8f (47 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     r8, [rcx+20h]                                                  ; +0x0, 0x180072a60\ntest    r8, r8                                                         ; +0x4, 0x180072a64\njz      short locret_180072A8E                                         ; +0x7, 0x180072a67\nmovsd   xmm0, [rsp+arg_20]                                             ; +0x9, 0x180072a69\nmov     rdx, rcx                                                       ; +0xf, 0x180072a6f\nmovsd   qword ptr [rcx+18h], xmm0                                      ; +0x12, 0x180072a72\nmovsd   qword ptr [rcx], xmm1                                          ; +0x17, 0x180072a77\nmovsd   qword ptr [rcx+8], xmm2                                        ; +0x1b, 0x180072a7b\nmovsd   qword ptr [rcx+10h], xmm3                                      ; +0x20, 0x180072a80\nmov     rcx, r8                                                        ; +0x25, 0x180072a85\nmov     rax, [r8]                                                      ; +0x28, 0x180072a88\njmp     qword ptr [rax]                                                ; +0x2b, 0x180072a8b\nretn                                                                   ; +0x2e, 0x180072a8e", "xrefs": ["<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}