{"type": "func", "start": 6442779952, "end": 6442780007, "name": "cocos2d::CCLayer::keyMenuClicked", "pseudocode": "// \n// cocos2d::CCLayer::keyMenuClicked from 0x180050530 to 0x180050567 (55 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800ed368\n// > <???> @ 0x1800ed828\n// > <???> @ 0x1800edd78\n// > <???> @ 0x1800ee350\n// > <???> @ 0x1800ee8a0\n// > <???> @ 0x1800f7180\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1fc8\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::keyMenuClicked(cocos2d::CCLayer *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n\n  if ( *(_QWORD *)&this->m_unknown2 )\n  {\n    v2 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)v2 + 120LL))(*(_QWORD *)v2, (char *)this - 336, 2);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::keyMenuClicked from 0x180050530 to 0x180050567 (55 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800ed368\n; > <???> @ 0x1800ed828\n; > <???> @ 0x1800edd78\n; > <???> @ 0x1800ee350\n; > <???> @ 0x1800ee8a0\n; > <???> @ 0x1800f7180\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1fc8\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, 0x180050530\nsub     rsp, 20h                                                       ; +0x2, 0x180050532\ncmp     qword ptr [rcx+28h], 0                                         ; +0x6, 0x180050536\nmov     rbx, rcx                                                       ; +0xb, 0x18005053b\njz      short loc_180050561                                            ; +0xe, 0x18005053e\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x10, 0x180050540\nlea     rdx, [rbx-150h]                                                ; +0x15, 0x180050545\nmov     r8d, 2                                                         ; +0x1c, 0x18005054c\nmov     rcx, [rax]                                                     ; +0x22, 0x180050552\nmov     rax, [rcx]                                                     ; +0x25, 0x180050555\nadd     rsp, 20h                                                       ; +0x28, 0x180050558\npop     rbx                                                            ; +0x2c, 0x18005055c\njmp     qword ptr [rax+78h]                                            ; +0x2d, 0x18005055d\nadd     rsp, 20h                                                       ; +0x31, 0x180050561\npop     rbx                                                            ; +0x35, 0x180050565\nretn                                                                   ; +0x36, 0x180050566", "xrefs": ["<???> @ 0x1800ed368", "<???> @ 0x1800ed828", "<???> @ 0x1800edd78", "<???> @ 0x1800ee350", "<???> @ 0x1800ee8a0", "<???> @ 0x1800f7180", "<???> @ 0x1801438a8", "<???> @ 0x1801b1fc8"], "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"}