{"type": "func", "start": 5373044112, "end": 5373044283, "name": "LevelInfoLayer::playStep4", "pseudocode": "// \n// LevelInfoLayer::playStep4 from 0x140422590 to 0x14042263b (171 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::loadLevelStep @ 0x140422549\n// > <???> @ 0x140926870\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 11:32:09 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LevelInfoLayer::playStep4(__int64 a1)\n{\n  __int64 v2; // rax\n  struct cocos2d::CCScene *v3; // rbx\n  __int64 v4; // rcx\n  cocos2d::CCDirector *v5; // rax\n  void *v6; // [rsp+30h] [rbp+8h]\n\n  dword_1409097A0 = clock();\n  v2 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v6 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v2 = qword_14090BFD0;\n  }\n  *(_BYTE *)(v2 + 1160) = 0;\n  v3 = cocos2d::CCTransitionFade::create(0.5, *(struct cocos2d::CCScene **)(a1 + 712));\n  v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);\n  cocos2d::CCDirector::replaceScene(v5, v3);\n  cocos2d::CCObject::release(*(cocos2d::CCObject **)(a1 + 712));\n  *(_QWORD *)(a1 + 712) = 0;\n}", "assembly": "; \n; LevelInfoLayer::playStep4 from 0x140422590 to 0x14042263b (171 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::loadLevelStep @ 0x140422549\n; > <???> @ 0x140926870\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 11:32:09 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140422590\npush    rdi                                                            ; +0x5, 0x140422595\nsub     rsp, 20h                                                       ; +0x6, 0x140422596\nmov     rdi, rcx                                                       ; +0xa, 0x14042259a\ncall    cs:clock                                                       ; +0xd, 0x14042259d\nmov     cs:dword_1409097A0, eax                                        ; +0x13, 0x1404225a3\nmov     rax, cs:qword_14090BFD0                                        ; +0x19, 0x1404225a9\ntest    rax, rax                                                       ; +0x20, 0x1404225b0\njnz     short loc_1404225E7                                            ; +0x23, 0x1404225b3\nmov     ecx, 6E8h; Size                                                ; +0x25, 0x1404225b5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2a, 0x1404225ba\nmov     [rsp+28h+arg_0], rax                                           ; +0x2f, 0x1404225bf\nmov     rcx, rax                                                       ; +0x34, 0x1404225c4\ncall    GameManager__GameManager                                       ; +0x37, 0x1404225c7\nnop                                                                    ; +0x3c, 0x1404225cc\nmov     cs:qword_14090BFD0, rax                                        ; +0x3d, 0x1404225cd\nmov     rcx, [rax]                                                     ; +0x44, 0x1404225d4\nmov     rdx, [rcx+48h]                                                 ; +0x47, 0x1404225d7\nmov     rcx, rax                                                       ; +0x4b, 0x1404225db\ncall    rdx                                                            ; +0x4e, 0x1404225de\nmov     rax, cs:qword_14090BFD0                                        ; +0x50, 0x1404225e0\nmov     byte ptr [rax+488h], 0                                         ; +0x57, 0x1404225e7\nmov     rdx, [rdi+2C8h]                                                ; +0x5e, 0x1404225ee\nmovss   xmm0, cs:dword_140834F20                                       ; +0x65, 0x1404225f5\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x6d, 0x1404225fd\nmov     rbx, rax                                                       ; +0x73, 0x140422603\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x76, 0x140422606\nmov     rcx, rax                                                       ; +0x7c, 0x14042260c\nmov     rdx, rbx                                                       ; +0x7f, 0x14042260f\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x82, 0x140422612\nmov     rcx, [rdi+2C8h]                                                ; +0x88, 0x140422618\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x8f, 0x14042261f\nmov     qword ptr [rdi+2C8h], 0                                        ; +0x95, 0x140422625\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xa0, 0x140422630\nadd     rsp, 20h                                                       ; +0xa5, 0x140422635\npop     rdi                                                            ; +0xa9, 0x140422639\nretn                                                                   ; +0xaa, 0x14042263a", "xrefs": ["LevelInfoLayer::loadLevelStep @ 0x140422549", "<???> @ 0x140926870"], "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"}