{"type": "func", "start": 6442813520, "end": 6442813624, "name": "cocos2d::CCTransitionScene::setNewScene", "pseudocode": "// \n// cocos2d::CCTransitionScene::setNewScene from 0x180058850 to 0x1800588b8 (104 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCTransitionScene::finish @ 0x1800563cb\n// > cocos2d::CCTransitionScene::setNewScene @ 0x18005885a\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcb08\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:21:48 +0000\n// \n\nvoid __fastcall cocos2d::CCTransitionScene::setNewScene(cocos2d::CCTransitionScene *this, float a2)\n{\n  struct cocos2d::CCDirector *v3; // rbx\n  __int64 v4; // rdx\n\n  cocos2d::CCNode::unschedule((__int64)this, (__int64)cocos2d::CCTransitionScene::setNewScene);\n  v3 = cocos2d::CCDirector::sharedDirector();\n  *((_BYTE *)this + 349) = *((_BYTE *)v3 + 288);\n  *((_BYTE *)v3 + 404) = 1;\n  cocos2d::CCDirector::replaceScene(v3, *((struct cocos2d::CCScene **)this + 41));\n  *((_BYTE *)v3 + 404) = 0;\n  LOBYTE(v4) = 1;\n  (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 42) + 336LL))(*((_QWORD *)this + 42), v4);\n}", "assembly": "; \n; cocos2d::CCTransitionScene::setNewScene from 0x180058850 to 0x1800588b8 (104 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCTransitionScene::finish @ 0x1800563cb\n; > cocos2d::CCTransitionScene::setNewScene @ 0x18005885a\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcb08\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:21:48 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180058850\npush    rdi                                                            ; +0x5, 0x180058855\nsub     rsp, 20h                                                       ; +0x6, 0x180058856\nlea     rdx, ?setNewScene@CCTransitionScene@cocos2d@@AEAAXM@Z; cocos2d::CCTransitionScene::setNewScene(float) ; +0xa, 0x18005885a\nmov     rdi, rcx                                                       ; +0x11, 0x180058861\ncall    ?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x14, 0x180058864\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x19, 0x180058869\nmov     rcx, rax; this                                                 ; +0x1e, 0x18005886e\nmov     rbx, rax                                                       ; +0x21, 0x180058871\nmovzx   edx, byte ptr [rax+120h]                                       ; +0x24, 0x180058874\nmov     [rdi+15Dh], dl                                                 ; +0x2b, 0x18005887b\nmov     byte ptr [rax+194h], 1                                         ; +0x31, 0x180058881\nmov     rdx, [rdi+148h]; struct cocos2d::CCScene *                     ; +0x38, 0x180058888\ncall    ?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x3f, 0x18005888f\nmov     byte ptr [rbx+194h], 0                                         ; +0x44, 0x180058894\nmov     dl, 1                                                          ; +0x4b, 0x18005889b\nmov     rcx, [rdi+150h]                                                ; +0x4d, 0x18005889d\nmov     rax, [rcx]                                                     ; +0x54, 0x1800588a4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x57, 0x1800588a7\nadd     rsp, 20h                                                       ; +0x5c, 0x1800588ac\npop     rdi                                                            ; +0x60, 0x1800588b0\njmp     qword ptr [rax+150h]                                           ; +0x61, 0x1800588b1", "xrefs": ["cocos2d::CCTransitionScene::finish @ 0x1800563cb", "cocos2d::CCTransitionScene::setNewScene @ 0x18005885a", "<???> @ 0x18014cf68", "<???> @ 0x1801bcb08"], "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"}