{"type": "func", "start": 6442777648, "end": 6442777708, "name": "cocos2d::CCLayer::didAccelerate", "pseudocode": "// \n// cocos2d::CCLayer::didAccelerate from 0x18004fc30 to 0x18004fc6c (60 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800ed350\n// > <???> @ 0x1800ed810\n// > <???> @ 0x1800edd60\n// > <???> @ 0x1800ee338\n// > <???> @ 0x1800ee888\n// > <???> @ 0x1800f7168\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1e90\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::CCLayer::didAccelerate(cocos2d::CCLayer *this, struct cocos2d::CCAcceleration *a2)\n{\n  struct cocos2d::CCScriptEngineManager *v4; // rax\n\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      (char *)this - 328,\n      a2);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::didAccelerate from 0x18004fc30 to 0x18004fc6c (60 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800ed350\n; > <???> @ 0x1800ed810\n; > <???> @ 0x1800edd60\n; > <???> @ 0x1800ee338\n; > <???> @ 0x1800ee888\n; > <???> @ 0x1800f7168\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1e90\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     [rsp+arg_0], rbx                                               ; +0x0, 0x18004fc30\npush    rdi                                                            ; +0x5, 0x18004fc35\nsub     rsp, 20h                                                       ; +0x6, 0x18004fc36\ncmp     dword ptr [rcx-1Ch], 0                                         ; +0xa, 0x18004fc3a\nmov     rdi, rdx                                                       ; +0xe, 0x18004fc3e\nmov     rbx, rcx                                                       ; +0x11, 0x18004fc41\njz      short loc_18004FC61                                            ; +0x14, 0x18004fc44\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x16, 0x18004fc46\nlea     rdx, [rbx-148h]                                                ; +0x1b, 0x18004fc4b\nmov     r8, rdi                                                        ; +0x22, 0x18004fc52\nmov     rcx, [rax]                                                     ; +0x25, 0x18004fc55\nmov     rax, [rcx]                                                     ; +0x28, 0x18004fc58\ncall    qword ptr [rax+80h]                                            ; +0x2b, 0x18004fc5b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x31, 0x18004fc61\nadd     rsp, 20h                                                       ; +0x36, 0x18004fc66\npop     rdi                                                            ; +0x3a, 0x18004fc6a\nretn                                                                   ; +0x3b, 0x18004fc6b", "xrefs": ["<???> @ 0x1800ed350", "<???> @ 0x1800ed810", "<???> @ 0x1800edd60", "<???> @ 0x1800ee338", "<???> @ 0x1800ee888", "<???> @ 0x1800f7168", "<???> @ 0x1801438a8", "<???> @ 0x1801b1e90"], "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"}