{"type": "func", "start": 5371959856, "end": 5371959924, "name": "LevelSelectLayer::onBack", "pseudocode": "// \n// LevelSelectLayer::onBack from 0x140319a30 to 0x140319a74 (68 bytes)\n// \n// 2 xrefs:\n// > LevelSelectLayer::init @ 0x140318f7d\n// > <???> @ 0x1406d4a78\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 LevelSelectLayer::onBack(LevelSelectLayer *a1, cocos2d::CCObject *a2)\n{\n  struct cocos2d::CCScene *v2; // rax\n  struct cocos2d::CCTransitionFade *v3; // rbx\n  __int64 v4; // rcx\n  cocos2d::CCDirector *v5; // rax\n\n  a1->setKeypadEnabled(a1, 0);\n  v2 = MenuLayer::scene(0);\n  v3 = cocos2d::CCTransitionFade::create(0.5, v2);\n  v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);\n  cocos2d::CCDirector::replaceScene(v5, v3);\n}", "assembly": "; \n; LevelSelectLayer::onBack from 0x140319a30 to 0x140319a74 (68 bytes)\n; \n; 2 xrefs:\n; > LevelSelectLayer::init @ 0x140318f7d\n; > <???> @ 0x1406d4a78\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, 0x140319a30\nsub     rsp, 20h                                                       ; +0x2, 0x140319a32\nmov     rax, [rcx]                                                     ; +0x6, 0x140319a36\nxor     edx, edx                                                       ; +0x9, 0x140319a39\ncall    qword ptr [rax+3D0h]                                           ; +0xb, 0x140319a3b\nxor     ecx, ecx                                                       ; +0x11, 0x140319a41\ncall    MenuLayer__scene                                               ; +0x13, 0x140319a43\nmovss   xmm0, cs:dword_140622B08                                       ; +0x18, 0x140319a48\nmov     rdx, rax                                                       ; +0x20, 0x140319a50\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x23, 0x140319a53\nmov     rbx, rax                                                       ; +0x29, 0x140319a59\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x140319a5c\nmov     rcx, rax                                                       ; +0x32, 0x140319a62\nmov     rdx, rbx                                                       ; +0x35, 0x140319a65\nadd     rsp, 20h                                                       ; +0x38, 0x140319a68\npop     rbx                                                            ; +0x3c, 0x140319a6c\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x3d, 0x140319a6d", "xrefs": ["LevelSelectLayer::init @ 0x140318f7d", "<???> @ 0x1406d4a78"], "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"}