{"type": "func", "start": 6442787664, "end": 6442787719, "name": "cocos2d::CCLayer::keyMenuClicked", "pseudocode": "// \n// cocos2d::CCLayer::keyMenuClicked from 0x180052350 to 0x180052387 (55 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800f34c8\n// > <???> @ 0x1800f39a8\n// > <???> @ 0x1800f3f18\n// > <???> @ 0x1800f4510\n// > <???> @ 0x1800f4a80\n// > <???> @ 0x1800fd5c8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc25c\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::keyMenuClicked(cocos2d::CCLayer *this)\n{\n  char *v1; // rbx\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n\n  v1 = (char *)this - 336;\n  if ( *((_QWORD *)this + 5) )\n  {\n    v2 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)v2 + 120LL))(*(_QWORD *)v2, v1, 2);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::keyMenuClicked from 0x180052350 to 0x180052387 (55 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800f34c8\n; > <???> @ 0x1800f39a8\n; > <???> @ 0x1800f3f18\n; > <???> @ 0x1800f4510\n; > <???> @ 0x1800f4a80\n; > <???> @ 0x1800fd5c8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc25c\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; \npush    rbx                                                            ; +0x0, 0x180052350\nsub     rsp, 20h                                                       ; +0x2, 0x180052352\ncmp     qword ptr [rcx+28h], 0                                         ; +0x6, 0x180052356\nlea     rbx, [rcx-150h]                                                ; +0xb, 0x18005235b\njz      short loc_180052381                                            ; +0x12, 0x180052362\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x14, 0x180052364\nmov     r8d, 2                                                         ; +0x19, 0x180052369\nmov     rdx, rbx                                                       ; +0x1f, 0x18005236f\nmov     rcx, [rax]                                                     ; +0x22, 0x180052372\nmov     rax, [rcx]                                                     ; +0x25, 0x180052375\nadd     rsp, 20h                                                       ; +0x28, 0x180052378\npop     rbx                                                            ; +0x2c, 0x18005237c\njmp     qword ptr [rax+78h]                                            ; +0x2d, 0x18005237d\nadd     rsp, 20h                                                       ; +0x31, 0x180052381\npop     rbx                                                            ; +0x35, 0x180052385\nretn                                                                   ; +0x36, 0x180052386", "xrefs": ["<???> @ 0x1800f34c8", "<???> @ 0x1800f39a8", "<???> @ 0x1800f3f18", "<???> @ 0x1800f4510", "<???> @ 0x1800f4a80", "<???> @ 0x1800fd5c8", "<???> @ 0x18014cf68", "<???> @ 0x1801bc25c"], "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"}