{"type": "func", "start": 4296935184, "end": 4296935323, "name": "EditLevelLayer::playStep3", "pseudocode": "// \n// EditLevelLayer::playStep3 from 0x1001e0710 to 0x1001e079b (139 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::playStep2 @ 0x1001e06bb\n// \n// This function is hookable on this platform (idp: pc, 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 12:26:28 +0000\n// \n\n__int64 __fastcall EditLevelLayer::playStep3(__int64 a1, __int64 a2, __int64 a3)\n{\n  double v4; // xmm0_8\n  __int64 v5; // rax\n  __int64 v6; // rdi\n  __int64 v7; // rsi\n  _DWORD *v8; // r14\n  __int64 v9; // rax\n  __int64 v10; // rax\n  __int64 v11; // rbx\n  char *v12; // rax\n\n  *(_QWORD *)&v4 = GameManager::sharedState(a1, a2, a3).u64[0];\n  *(_DWORD *)(v5 + 708) = 3;\n  v6 = *(_QWORD *)(a1 + 472);\n  v7 = 0;\n  v8 = PlayLayer::scene(v6, 0);\n  if ( *(_BYTE *)(a1 + 536) == 1 )\n  {\n    v9 = (*(__int64 (__fastcall **)(_DWORD *, double))(*(_QWORD *)v8 + 488LL))(v8, v4);\n    v10 = sub_1007FEFE0(v9, 0);\n    v7 = *(_QWORD *)(a1 + 472) + 1472LL;\n    v6 = v10;\n    PlayLayer::loadPersistentCheckpoint(v10);\n    *(_BYTE *)(a1 + 536) = 0;\n  }\n  v11 = cocos2d::CCDirector::sharedDirector(v6, v7);\n  v12 = cocos2d::CCTransitionFade::create_1((__int64)v8, 0.5);\n  return cocos2d::CCDirector::replaceScene(v11, v12);\n}", "assembly": "; \n; EditLevelLayer::playStep3 from 0x1001e0710 to 0x1001e079b (139 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::playStep2 @ 0x1001e06bb\n; \n; This function is hookable on this platform (idp: pc, 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 12:26:28 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001e0710\nmov     rbp, rsp                                                       ; +0x1, 0x1001e0711\npush    r14                                                            ; +0x4, 0x1001e0714\npush    rbx                                                            ; +0x6, 0x1001e0716\nmov     rbx, rdi                                                       ; +0x7, 0x1001e0717\ncall    GameManager__sharedState                                       ; +0xa, 0x1001e071a\nmov     dword ptr [rax+2C4h], 3                                        ; +0xf, 0x1001e071f\nmov     rdi, [rbx+1D8h]                                                ; +0x19, 0x1001e0729\nxor     esi, esi                                                       ; +0x20, 0x1001e0730\ncall    PlayLayer__scene                                               ; +0x22, 0x1001e0732\nmov     r14, rax                                                       ; +0x27, 0x1001e0737\ncmp     byte ptr [rbx+218h], 1                                         ; +0x2a, 0x1001e073a\njnz     short loc_1001E0774                                            ; +0x31, 0x1001e0741\nmov     rax, [r14]                                                     ; +0x33, 0x1001e0743\nmov     rdi, r14                                                       ; +0x36, 0x1001e0746\ncall    qword ptr [rax+1E8h]                                           ; +0x39, 0x1001e0749\nmov     rdi, rax                                                       ; +0x3f, 0x1001e074f\nxor     esi, esi                                                       ; +0x42, 0x1001e0752\ncall    sub_1007FEFE0                                                  ; +0x44, 0x1001e0754\nmov     esi, 5C0h                                                      ; +0x49, 0x1001e0759\nadd     rsi, [rbx+1D8h]                                                ; +0x4e, 0x1001e075e\nmov     rdi, rax                                                       ; +0x55, 0x1001e0765\ncall    PlayLayer__loadPersistentCheckpoint                            ; +0x58, 0x1001e0768\nmov     byte ptr [rbx+218h], 0                                         ; +0x5d, 0x1001e076d\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x64, 0x1001e0774\nmov     rbx, rax                                                       ; +0x69, 0x1001e0779\nmovss   xmm0, cs:dword_100A03578                                       ; +0x6c, 0x1001e077c\nmov     rdi, r14                                                       ; +0x74, 0x1001e0784\ncall    cocos2d__CCTransitionFade__create_1                            ; +0x77, 0x1001e0787\nmov     rdi, rbx                                                       ; +0x7c, 0x1001e078c\nmov     rsi, rax                                                       ; +0x7f, 0x1001e078f\npop     rbx                                                            ; +0x82, 0x1001e0792\npop     r14                                                            ; +0x83, 0x1001e0793\npop     rbp                                                            ; +0x85, 0x1001e0795\njmp     cocos2d__CCDirector__replaceScene                              ; +0x86, 0x1001e0796", "xrefs": ["EditLevelLayer::playStep2 @ 0x1001e06bb"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}