{"type": "func", "start": 4297693632, "end": 4297693714, "name": "CreatorLayer::keyBackClicked", "pseudocode": "// \n// CreatorLayer::keyBackClicked from 0x1002999c0 to 0x100299a12 (82 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008f7ce8\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::keyBackClicked(CreatorLayer *a1)\n{\n  cocos2d::CCDirector *v1; // r14\n  cocos2d::CCScene *v2; // rax\n  cocos2d::CCTransitionFade *v3; // rax\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  v2 = MenuLayer::scene(0);\n  v3 = cocos2d::CCTransitionFade::create_1(0.5, v2);\n  if ( cocos2d::CCDirector::replaceScene(v1, v3) )\n    ((void (__fastcall *)(CreatorLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n}", "assembly": "; \n; CreatorLayer::keyBackClicked from 0x1002999c0 to 0x100299a12 (82 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008f7ce8\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, 0x1002999c0\nmov     rbp, rsp                                                       ; +0x1, 0x1002999c1\npush    r14                                                            ; +0x4, 0x1002999c4\npush    rbx                                                            ; +0x6, 0x1002999c6\nmov     rbx, rdi                                                       ; +0x7, 0x1002999c7\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xa, 0x1002999ca\nmov     r14, rax                                                       ; +0xf, 0x1002999cf\nxor     edi, edi                                                       ; +0x12, 0x1002999d2\ncall    MenuLayer__scene                                               ; +0x14, 0x1002999d4\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x19, 0x1002999d9\nmov     rdi, rax                                                       ; +0x21, 0x1002999e1\ncall    cocos2d__CCTransitionFade__create_1                            ; +0x24, 0x1002999e4\nmov     rdi, r14                                                       ; +0x29, 0x1002999e9\nmov     rsi, rax                                                       ; +0x2c, 0x1002999ec\ncall    cocos2d__CCDirector__replaceScene                              ; +0x2f, 0x1002999ef\ntest    al, al                                                         ; +0x34, 0x1002999f4\njz      short loc_100299A0D                                            ; +0x36, 0x1002999f6\nmov     rax, [rbx]                                                     ; +0x38, 0x1002999f8\nmov     rax, [rax+420h]                                                ; +0x3b, 0x1002999fb\nmov     rdi, rbx                                                       ; +0x42, 0x100299a02\nxor     esi, esi                                                       ; +0x45, 0x100299a05\npop     rbx                                                            ; +0x47, 0x100299a07\npop     r14                                                            ; +0x48, 0x100299a08\npop     rbp                                                            ; +0x4a, 0x100299a0a\njmp     rax                                                            ; +0x4b, 0x100299a0b\npop     rbx                                                            ; +0x4d, 0x100299a0d\npop     r14                                                            ; +0x4e, 0x100299a0e\npop     rbp                                                            ; +0x50, 0x100299a10\nretn                                                                   ; +0x51, 0x100299a11", "xrefs": ["<???> @ 0x1008f7ce8"], "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"}