{"type": "func", "start": 5369362432, "end": 5369362519, "name": "CreatorLayer::onBack", "pseudocode": "// \n// CreatorLayer::onBack from 0x14009f800 to 0x14009f857 (87 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::init @ 0x14009d0df\n// > <???> @ 0x1406c765c\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 CreatorLayer::onBack(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  struct cocos2d::CCScene *v3; // rax\n  struct cocos2d::CCTransitionFade *v4; // rbx\n  __int64 v5; // rcx\n  cocos2d::CCDirector *v6; // rax\n\n  v3 = MenuLayer::scene(0);\n  v4 = cocos2d::CCTransitionFade::create(0.5, v3);\n  v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);\n  if ( cocos2d::CCDirector::replaceScene(v6, v4) )\n    a1->setKeypadEnabled(a1, 0);\n}", "assembly": "; \n; CreatorLayer::onBack from 0x14009f800 to 0x14009f857 (87 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::init @ 0x14009d0df\n; > <???> @ 0x1406c765c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14009f800\npush    rdi                                                            ; +0x5, 0x14009f805\nsub     rsp, 20h                                                       ; +0x6, 0x14009f806\nmov     rdi, rcx                                                       ; +0xa, 0x14009f80a\nxor     ecx, ecx                                                       ; +0xd, 0x14009f80d\ncall    MenuLayer__scene                                               ; +0xf, 0x14009f80f\nmovss   xmm0, cs:dword_140622B08                                       ; +0x14, 0x14009f814\nmov     rdx, rax                                                       ; +0x1c, 0x14009f81c\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x1f, 0x14009f81f\nmov     rbx, rax                                                       ; +0x25, 0x14009f825\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x28, 0x14009f828\nmov     rcx, rax                                                       ; +0x2e, 0x14009f82e\nmov     rdx, rbx                                                       ; +0x31, 0x14009f831\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x34, 0x14009f834\ntest    al, al                                                         ; +0x3a, 0x14009f83a\njz      short loc_14009F84C                                            ; +0x3c, 0x14009f83c\nmov     rax, [rdi]                                                     ; +0x3e, 0x14009f83e\nxor     edx, edx                                                       ; +0x41, 0x14009f841\nmov     rcx, rdi                                                       ; +0x43, 0x14009f843\ncall    qword ptr [rax+3D0h]                                           ; +0x46, 0x14009f846\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x14009f84c\nadd     rsp, 20h                                                       ; +0x51, 0x14009f851\npop     rdi                                                            ; +0x55, 0x14009f855\nretn                                                                   ; +0x56, 0x14009f856", "xrefs": ["CreatorLayer::init @ 0x14009d0df", "<???> @ 0x1406c765c"], "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"}