{"type": "func", "start": 6442805616, "end": 6442805720, "name": "cocos2d::CCTransitionScene::setNewScene", "pseudocode": "// \n// cocos2d::CCTransitionScene::setNewScene from 0x180056970 to 0x1800569d8 (104 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCTransitionScene::finish @ 0x18005461e\n// > cocos2d::CCTransitionScene::setNewScene @ 0x18005697a\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2874\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 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) = v3->m_bSendCleanupToScene;\n  v3->m_bDontCallWillSwitch = 1;\n  cocos2d::CCDirector::replaceScene(v3, *((struct cocos2d::CCScene **)this + 41));\n  v3->m_bDontCallWillSwitch = 0;\n  LOBYTE(v4) = 1;\n  (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 42) + 320LL))(*((_QWORD *)this + 42), v4);\n}", "assembly": "; \n; cocos2d::CCTransitionScene::setNewScene from 0x180056970 to 0x1800569d8 (104 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCTransitionScene::finish @ 0x18005461e\n; > cocos2d::CCTransitionScene::setNewScene @ 0x18005697a\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2874\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180056970\npush    rdi                                                            ; +0x5, 0x180056975\nsub     rsp, 20h                                                       ; +0x6, 0x180056976\nlea     rdx, ?setNewScene@CCTransitionScene@cocos2d@@AEAAXM@Z; cocos2d::CCTransitionScene::setNewScene(float) ; +0xa, 0x18005697a\nmov     rdi, rcx                                                       ; +0x11, 0x180056981\ncall    ?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x14, 0x180056984\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x19, 0x180056989\nmov     rcx, rax; this                                                 ; +0x1e, 0x18005698e\nmov     rbx, rax                                                       ; +0x21, 0x180056991\nmovzx   edx, byte ptr [rax+118h]                                       ; +0x24, 0x180056994\nmov     [rdi+15Dh], dl                                                 ; +0x2b, 0x18005699b\nmov     byte ptr [rax+18Ch], 1                                         ; +0x31, 0x1800569a1\nmov     rdx, [rdi+148h]; struct cocos2d::CCScene *                     ; +0x38, 0x1800569a8\ncall    ?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x3f, 0x1800569af\nmov     byte ptr [rbx+18Ch], 0                                         ; +0x44, 0x1800569b4\nmov     dl, 1                                                          ; +0x4b, 0x1800569bb\nmov     rcx, [rdi+150h]                                                ; +0x4d, 0x1800569bd\nmov     rax, [rcx]                                                     ; +0x54, 0x1800569c4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x57, 0x1800569c7\nadd     rsp, 20h                                                       ; +0x5c, 0x1800569cc\npop     rdi                                                            ; +0x60, 0x1800569d0\njmp     qword ptr [rax+140h]                                           ; +0x61, 0x1800569d1", "xrefs": ["cocos2d::CCTransitionScene::finish @ 0x18005461e", "cocos2d::CCTransitionScene::setNewScene @ 0x18005697a", "<???> @ 0x1801438a8", "<???> @ 0x1801b2874"], "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"}