{"type": "func", "start": 4297693040, "end": 4297693122, "name": "CreatorLayer::onBack", "pseudocode": "// \n// CreatorLayer::onBack from 0x100299770 to 0x1002997c2 (82 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::init @ 0x100298284\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 __fastcall CreatorLayer::onBack(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v2; // r14\n  cocos2d::CCScene *v3; // rax\n  cocos2d::CCTransitionFade *v4; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = MenuLayer::scene(0);\n  v4 = cocos2d::CCTransitionFade::create_1(0.5, v3);\n  if ( cocos2d::CCDirector::replaceScene(v2, v4) )\n    ((void (__fastcall *)(CreatorLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n}", "assembly": "; \n; CreatorLayer::onBack from 0x100299770 to 0x1002997c2 (82 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::init @ 0x100298284\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    rbp                                                            ; +0x0, 0x100299770\nmov     rbp, rsp                                                       ; +0x1, 0x100299771\npush    r14                                                            ; +0x4, 0x100299774\npush    rbx                                                            ; +0x6, 0x100299776\nmov     rbx, rdi                                                       ; +0x7, 0x100299777\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xa, 0x10029977a\nmov     r14, rax                                                       ; +0xf, 0x10029977f\nxor     edi, edi                                                       ; +0x12, 0x100299782\ncall    MenuLayer__scene                                               ; +0x14, 0x100299784\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x19, 0x100299789\nmov     rdi, rax                                                       ; +0x21, 0x100299791\ncall    cocos2d__CCTransitionFade__create_1                            ; +0x24, 0x100299794\nmov     rdi, r14                                                       ; +0x29, 0x100299799\nmov     rsi, rax                                                       ; +0x2c, 0x10029979c\ncall    cocos2d__CCDirector__replaceScene                              ; +0x2f, 0x10029979f\ntest    al, al                                                         ; +0x34, 0x1002997a4\njz      short loc_1002997BD                                            ; +0x36, 0x1002997a6\nmov     rax, [rbx]                                                     ; +0x38, 0x1002997a8\nmov     rax, [rax+420h]                                                ; +0x3b, 0x1002997ab\nmov     rdi, rbx                                                       ; +0x42, 0x1002997b2\nxor     esi, esi                                                       ; +0x45, 0x1002997b5\npop     rbx                                                            ; +0x47, 0x1002997b7\npop     r14                                                            ; +0x48, 0x1002997b8\npop     rbp                                                            ; +0x4a, 0x1002997ba\njmp     rax                                                            ; +0x4b, 0x1002997bb\npop     rbx                                                            ; +0x4d, 0x1002997bd\npop     r14                                                            ; +0x4e, 0x1002997be\npop     rbp                                                            ; +0x50, 0x1002997c0\nretn                                                                   ; +0x51, 0x1002997c1", "xrefs": ["CreatorLayer::init @ 0x100298284"], "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"}