{"type": "func", "start": 6442779824, "end": 6442779885, "name": "cocos2d::CCLayer::keyBackClicked", "pseudocode": "// \n// cocos2d::CCLayer::keyBackClicked from 0x1800504b0 to 0x1800504ed (61 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800ed360\n// > <???> @ 0x1800ed820\n// > <???> @ 0x1800edd70\n// > <???> @ 0x1800ee348\n// > <???> @ 0x1800ee898\n// > <???> @ 0x1800f7178\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1fb0\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::keyBackClicked(cocos2d::CCLayer *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n\n  if ( *(_QWORD *)&this->m_unknown2 || *((_DWORD *)this - 9) == 2 )\n  {\n    v2 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)v2 + 120LL))(*(_QWORD *)v2, (char *)this - 336, 1);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::keyBackClicked from 0x1800504b0 to 0x1800504ed (61 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800ed360\n; > <???> @ 0x1800ed820\n; > <???> @ 0x1800edd70\n; > <???> @ 0x1800ee348\n; > <???> @ 0x1800ee898\n; > <???> @ 0x1800f7178\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1fb0\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\npush    rbx                                                            ; +0x0, 0x1800504b0\nsub     rsp, 20h                                                       ; +0x2, 0x1800504b2\ncmp     qword ptr [rcx+28h], 0                                         ; +0x6, 0x1800504b6\nmov     rbx, rcx                                                       ; +0xb, 0x1800504bb\njnz     short loc_1800504C6                                            ; +0xe, 0x1800504be\ncmp     dword ptr [rcx-24h], 2                                         ; +0x10, 0x1800504c0\njnz     short loc_1800504E7                                            ; +0x14, 0x1800504c4\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x16, 0x1800504c6\nlea     rdx, [rbx-150h]                                                ; +0x1b, 0x1800504cb\nmov     r8d, 1                                                         ; +0x22, 0x1800504d2\nmov     rcx, [rax]                                                     ; +0x28, 0x1800504d8\nmov     rax, [rcx]                                                     ; +0x2b, 0x1800504db\nadd     rsp, 20h                                                       ; +0x2e, 0x1800504de\npop     rbx                                                            ; +0x32, 0x1800504e2\njmp     qword ptr [rax+78h]                                            ; +0x33, 0x1800504e3\nadd     rsp, 20h                                                       ; +0x37, 0x1800504e7\npop     rbx                                                            ; +0x3b, 0x1800504eb\nretn                                                                   ; +0x3c, 0x1800504ec", "xrefs": ["<???> @ 0x1800ed360", "<???> @ 0x1800ed820", "<???> @ 0x1800edd70", "<???> @ 0x1800ee348", "<???> @ 0x1800ee898", "<???> @ 0x1800f7178", "<???> @ 0x1801438a8", "<???> @ 0x1801b1fb0"], "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"}