{"type": "func", "start": 4295869888, "end": 4295869984, "name": "CreatorLayer::onBack", "pseudocode": "// \n// CreatorLayer::onBack from 0x1000dc5c0 to 0x1000dc620 (96 bytes)\n// \n// 3 xrefs:\n// > CreatorLayer::keyBackClicked @ 0x1000dc7c4\n// > sub_1000DC7C8 @ 0x1000dc7cc\n// > CreatorLayer::init @ 0x1000db58c\n// \n// This function is hookable on this platform (idp: arm, 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 10:58:59 +0000\n// \n\n__int64 __fastcall CreatorLayer::onBack(__int64 a1)\n{\n  int v2; // w20\n  __int64 v3; // x0\n  void *v4; // x0\n  __int64 result; // x0\n\n  v2 = cocos2d::CCDirector::sharedDirector(a1);\n  v3 = MenuLayer::scene(0);\n  v4 = (void *)cocos2d::CCTransitionFade::create_1(v3, 0.5);\n  result = cocos2d::CCDirector::replaceScene(v2, v4);\n  if ( (_DWORD)result )\n    return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n  return result;\n}", "assembly": "; \n; CreatorLayer::onBack from 0x1000dc5c0 to 0x1000dc620 (96 bytes)\n; \n; 3 xrefs:\n; > CreatorLayer::keyBackClicked @ 0x1000dc7c4\n; > sub_1000DC7C8 @ 0x1000dc7cc\n; > CreatorLayer::init @ 0x1000db58c\n; \n; This function is hookable on this platform (idp: arm, 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 10:58:59 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000dc5c0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000dc5c4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000dc5c8\nMOV             X19, X0                                                ; +0xc, 0x1000dc5cc\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1000dc5d0\nMOV             X20, X0                                                ; +0x14, 0x1000dc5d4\nMOV             W0, #0                                                 ; +0x18, 0x1000dc5d8\nBL              MenuLayer__scene                                       ; +0x1c, 0x1000dc5dc\nFMOV            S0, #0.5                                               ; +0x20, 0x1000dc5e0\nBL              cocos2d__CCTransitionFade__create_1                    ; +0x24, 0x1000dc5e4\nMOV             X1, X0; lpsrc                                          ; +0x28, 0x1000dc5e8\nMOV             X0, X20; int                                           ; +0x2c, 0x1000dc5ec\nBL              cocos2d__CCDirector__replaceScene                      ; +0x30, 0x1000dc5f0\nCBZ             W0, loc_1000DC614                                      ; +0x34, 0x1000dc5f4\nLDR             X8, [X19]                                              ; +0x38, 0x1000dc5f8\nLDR             X2, [X8,#0x430]                                        ; +0x3c, 0x1000dc5fc\nMOV             X0, X19                                                ; +0x40, 0x1000dc600\nMOV             W1, #0                                                 ; +0x44, 0x1000dc604\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x1000dc608\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x1000dc60c\nBR              X2                                                     ; +0x50, 0x1000dc610\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1000dc614\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1000dc618\nRET                                                                    ; +0x5c, 0x1000dc61c", "xrefs": ["CreatorLayer::keyBackClicked @ 0x1000dc7c4", "sub_1000DC7C8 @ 0x1000dc7cc", "CreatorLayer::init @ 0x1000db58c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}