{"type": "func", "start": 6442785360, "end": 6442785420, "name": "cocos2d::CCLayer::didAccelerate", "pseudocode": "// \n// cocos2d::CCLayer::didAccelerate from 0x180051a50 to 0x180051a8c (60 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800f34b0\n// > <???> @ 0x1800f3990\n// > <???> @ 0x1800f3f00\n// > <???> @ 0x1800f44f8\n// > <???> @ 0x1800f4a68\n// > <???> @ 0x1800fd5b0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc124\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::didAccelerate(cocos2d::CCLayer *this, struct cocos2d::CCAcceleration *a2)\n{\n  char *v2; // rbx\n  struct cocos2d::CCScriptEngineManager *v4; // rax\n\n  v2 = (char *)this - 328;\n  if ( *((_DWORD *)this - 7) )\n  {\n    v4 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, char *, struct cocos2d::CCAcceleration *))(**(_QWORD **)v4 + 128LL))(\n      *(_QWORD *)v4,\n      v2,\n      a2);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::didAccelerate from 0x180051a50 to 0x180051a8c (60 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800f34b0\n; > <???> @ 0x1800f3990\n; > <???> @ 0x1800f3f00\n; > <???> @ 0x1800f44f8\n; > <???> @ 0x1800f4a68\n; > <???> @ 0x1800fd5b0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc124\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180051a50\npush    rdi                                                            ; +0x5, 0x180051a55\nsub     rsp, 20h                                                       ; +0x6, 0x180051a56\ncmp     dword ptr [rcx-1Ch], 0                                         ; +0xa, 0x180051a5a\nlea     rbx, [rcx-148h]                                                ; +0xe, 0x180051a5e\nmov     rdi, rdx                                                       ; +0x15, 0x180051a65\njz      short loc_180051A81                                            ; +0x18, 0x180051a68\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x1a, 0x180051a6a\nmov     r8, rdi                                                        ; +0x1f, 0x180051a6f\nmov     rdx, rbx                                                       ; +0x22, 0x180051a72\nmov     rcx, [rax]                                                     ; +0x25, 0x180051a75\nmov     rax, [rcx]                                                     ; +0x28, 0x180051a78\ncall    qword ptr [rax+80h]                                            ; +0x2b, 0x180051a7b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x31, 0x180051a81\nadd     rsp, 20h                                                       ; +0x36, 0x180051a86\npop     rdi                                                            ; +0x3a, 0x180051a8a\nretn                                                                   ; +0x3b, 0x180051a8b", "xrefs": ["<???> @ 0x1800f34b0", "<???> @ 0x1800f3990", "<???> @ 0x1800f3f00", "<???> @ 0x1800f44f8", "<???> @ 0x1800f4a68", "<???> @ 0x1800fd5b0", "<???> @ 0x18014cf68", "<???> @ 0x1801bc124"], "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"}