; ; cocos2d::CCDirector::setNextScene from 0x1800bf710 to 0x1800bf814 (260 bytes) ; ; 3 xrefs: ; > cocos2d::CCDirector::drawScene @ 0x1800be421 ; > @ 0x1801438a8 ; > @ 0x1801b9330 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x1800bf710 push rdi ; +0x5, 0x1800bf715 sub rsp, 30h ; +0x6, 0x1800bf716 mov rbx, rcx ; +0xa, 0x1800bf71a mov [rsp+38h+var_18], 0 ; +0xd, 0x1800bf71d mov rcx, [rcx+108h] ; +0x15, 0x1800bf725 lea r9, ??_R0?AVCCTransitionScene@cocos2d@@@8; cocos2d::CCTransitionScene `RTTI Type Descriptor' ; +0x1c, 0x1800bf72c lea r8, ??_R0?AVCCScene@cocos2d@@@8; cocos2d::CCScene `RTTI Type Descriptor' ; +0x23, 0x1800bf733 xor edx, edx ; +0x2a, 0x1800bf73a call __RTDynamicCast ; +0x2c, 0x1800bf73c mov rcx, [rbx+110h] ; +0x31, 0x1800bf741 lea r9, ??_R0?AVCCTransitionScene@cocos2d@@@8; cocos2d::CCTransitionScene `RTTI Type Descriptor' ; +0x38, 0x1800bf748 lea r8, ??_R0?AVCCScene@cocos2d@@@8; cocos2d::CCScene `RTTI Type Descriptor' ; +0x3f, 0x1800bf74f mov [rsp+38h+var_18], 0 ; +0x46, 0x1800bf756 xor edx, edx ; +0x4e, 0x1800bf75e mov rdi, rax ; +0x50, 0x1800bf760 call __RTDynamicCast ; +0x53, 0x1800bf763 test rax, rax ; +0x58, 0x1800bf768 jnz short loc_1800BF7B0 ; +0x5b, 0x1800bf76b mov rcx, [rbx+108h] ; +0x5d, 0x1800bf76d test rcx, rcx ; +0x64, 0x1800bf774 jz short loc_1800BF792 ; +0x67, 0x1800bf777 mov rax, [rcx] ; +0x69, 0x1800bf779 call qword ptr [rax+2C0h] ; +0x6c, 0x1800bf77c mov rcx, [rbx+108h] ; +0x72, 0x1800bf782 mov rax, [rcx] ; +0x79, 0x1800bf789 call qword ptr [rax+2B8h] ; +0x7c, 0x1800bf78c cmp byte ptr [rbx+118h], 0 ; +0x82, 0x1800bf792 jz short loc_1800BF7B0 ; +0x89, 0x1800bf799 mov rcx, [rbx+108h] ; +0x8b, 0x1800bf79b test rcx, rcx ; +0x92, 0x1800bf7a2 jz short loc_1800BF7B0 ; +0x95, 0x1800bf7a5 mov rax, [rcx] ; +0x97, 0x1800bf7a7 call qword ptr [rax+2C8h] ; +0x9a, 0x1800bf7aa mov rcx, [rbx+108h]; this ; +0xa0, 0x1800bf7b0 test rcx, rcx ; +0xa7, 0x1800bf7b7 jz short loc_1800BF7C1 ; +0xaa, 0x1800bf7ba call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xac, 0x1800bf7bc mov rcx, [rbx+110h]; this ; +0xb1, 0x1800bf7c1 mov [rbx+108h], rcx ; +0xb8, 0x1800bf7c8 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0xbf, 0x1800bf7cf mov qword ptr [rbx+110h], 0 ; +0xc4, 0x1800bf7d4 test rdi, rdi ; +0xcf, 0x1800bf7df jnz short loc_1800BF809 ; +0xd2, 0x1800bf7e2 mov rcx, [rbx+108h] ; +0xd4, 0x1800bf7e4 test rcx, rcx ; +0xdb, 0x1800bf7eb jz short loc_1800BF809 ; +0xde, 0x1800bf7ee mov rax, [rcx] ; +0xe0, 0x1800bf7f0 call qword ptr [rax+2A8h] ; +0xe3, 0x1800bf7f3 mov rcx, [rbx+108h] ; +0xe9, 0x1800bf7f9 mov rax, [rcx] ; +0xf0, 0x1800bf800 call qword ptr [rax+2B0h] ; +0xf3, 0x1800bf803 mov rbx, [rsp+38h+arg_0] ; +0xf9, 0x1800bf809 add rsp, 30h ; +0xfe, 0x1800bf80e pop rdi ; +0x102, 0x1800bf812 retn ; +0x103, 0x1800bf813