{"type": "func", "start": 5369993568, "end": 5369993659, "name": "CreatorLayer::keyBackClicked", "pseudocode": "// \n// CreatorLayer::keyBackClicked from 0x140139960 to 0x1401399bb (91 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140737890\n// > <???> @ 0x140917234\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:27:06 +0000\n// \n\nchar __fastcall CreatorLayer::keyBackClicked(__int64 a1)\n{\n  __int64 v1; // rdi\n  struct cocos2d::CCScene *v2; // rax\n  struct cocos2d::CCScene *v3; // rbx\n  __int64 v4; // rcx\n  cocos2d::CCDirector *v5; // rax\n  char result; // al\n\n  v1 = a1 - 336;\n  v2 = (struct cocos2d::CCScene *)MenuLayer::scene(0);\n  v3 = cocos2d::CCTransitionFade::create(0.5, v2);\n  v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);\n  result = cocos2d::CCDirector::replaceScene(v5, v3);\n  if ( result )\n    return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v1 + 992LL))(v1, 0);\n  return result;\n}", "assembly": "; \n; CreatorLayer::keyBackClicked from 0x140139960 to 0x1401399bb (91 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140737890\n; > <???> @ 0x140917234\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:27:06 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140139960\npush    rdi                                                            ; +0x5, 0x140139965\nsub     rsp, 20h                                                       ; +0x6, 0x140139966\nlea     rdi, [rcx-150h]                                                ; +0xa, 0x14013996a\nxor     ecx, ecx                                                       ; +0x11, 0x140139971\ncall    MenuLayer__scene                                               ; +0x13, 0x140139973\nmovss   xmm0, cs:dword_140834F20                                       ; +0x18, 0x140139978\nmov     rdx, rax                                                       ; +0x20, 0x140139980\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x23, 0x140139983\nmov     rbx, rax                                                       ; +0x29, 0x140139989\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x14013998c\nmov     rcx, rax                                                       ; +0x32, 0x140139992\nmov     rdx, rbx                                                       ; +0x35, 0x140139995\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x38, 0x140139998\ntest    al, al                                                         ; +0x3e, 0x14013999e\njz      short loc_1401399B0                                            ; +0x40, 0x1401399a0\nmov     rax, [rdi]                                                     ; +0x42, 0x1401399a2\nxor     edx, edx                                                       ; +0x45, 0x1401399a5\nmov     rcx, rdi                                                       ; +0x47, 0x1401399a7\ncall    qword ptr [rax+3E0h]                                           ; +0x4a, 0x1401399aa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x50, 0x1401399b0\nadd     rsp, 20h                                                       ; +0x55, 0x1401399b5\npop     rdi                                                            ; +0x59, 0x1401399b9\nretn                                                                   ; +0x5a, 0x1401399ba", "xrefs": ["<???> @ 0x140737890", "<???> @ 0x140917234"], "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"}