{"type": "func", "start": 5373177376, "end": 5373177444, "name": "LevelSelectLayer::onBack", "pseudocode": "// \n// LevelSelectLayer::onBack from 0x140442e20 to 0x140442e64 (68 bytes)\n// \n// 2 xrefs:\n// > LevelSelectLayer::init @ 0x14044224d\n// > <???> @ 0x140927140\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:32:22 +0000\n// \n\nbool __fastcall LevelSelectLayer::onBack(__int64 a1)\n{\n  struct cocos2d::CCScene *v1; // rax\n  struct cocos2d::CCScene *v2; // rbx\n  __int64 v3; // rcx\n  cocos2d::CCDirector *v4; // rax\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);\n  v1 = (struct cocos2d::CCScene *)MenuLayer::scene(0);\n  v2 = cocos2d::CCTransitionFade::create(0.5, v1);\n  v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);\n  return cocos2d::CCDirector::replaceScene(v4, v2);\n}", "assembly": "; \n; LevelSelectLayer::onBack from 0x140442e20 to 0x140442e64 (68 bytes)\n; \n; 2 xrefs:\n; > LevelSelectLayer::init @ 0x14044224d\n; > <???> @ 0x140927140\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:32:22 +0000\n; \npush    rbx                                                            ; +0x0, 0x140442e20\nsub     rsp, 20h                                                       ; +0x2, 0x140442e22\nmov     rax, [rcx]                                                     ; +0x6, 0x140442e26\nxor     edx, edx                                                       ; +0x9, 0x140442e29\ncall    qword ptr [rax+3E0h]                                           ; +0xb, 0x140442e2b\nxor     ecx, ecx                                                       ; +0x11, 0x140442e31\ncall    MenuLayer__scene                                               ; +0x13, 0x140442e33\nmovss   xmm0, cs:dword_140834F20                                       ; +0x18, 0x140442e38\nmov     rdx, rax                                                       ; +0x20, 0x140442e40\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x23, 0x140442e43\nmov     rbx, rax                                                       ; +0x29, 0x140442e49\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x140442e4c\nmov     rcx, rax                                                       ; +0x32, 0x140442e52\nmov     rdx, rbx                                                       ; +0x35, 0x140442e55\nadd     rsp, 20h                                                       ; +0x38, 0x140442e58\npop     rbx                                                            ; +0x3c, 0x140442e5c\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x3d, 0x140442e5d", "xrefs": ["LevelSelectLayer::init @ 0x14044224d", "<???> @ 0x140927140"], "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"}