; ; cocos2d::CCDirector::setNextScene from 0x1800c2f40 to 0x1800c3044 (260 bytes) ; ; 3 xrefs: ; > cocos2d::CCDirector::drawScene @ 0x1800c1c41 ; > @ 0x18014cf68 ; > @ 0x1801c35f4 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:22:26 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800c2f40 push rdi ; +0x5, 0x1800c2f45 sub rsp, 30h ; +0x6, 0x1800c2f46 mov rbx, rcx ; +0xa, 0x1800c2f4a mov [rsp+38h+var_18], 0 ; +0xd, 0x1800c2f4d mov rcx, [rcx+110h] ; +0x15, 0x1800c2f55 lea r9, ??_R0?AVCCTransitionScene@cocos2d@@@8; cocos2d::CCTransitionScene `RTTI Type Descriptor' ; +0x1c, 0x1800c2f5c lea r8, ??_R0?AVCCScene@cocos2d@@@8; cocos2d::CCScene `RTTI Type Descriptor' ; +0x23, 0x1800c2f63 xor edx, edx ; +0x2a, 0x1800c2f6a call __RTDynamicCast ; +0x2c, 0x1800c2f6c mov rcx, [rbx+118h] ; +0x31, 0x1800c2f71 lea r9, ??_R0?AVCCTransitionScene@cocos2d@@@8; cocos2d::CCTransitionScene `RTTI Type Descriptor' ; +0x38, 0x1800c2f78 lea r8, ??_R0?AVCCScene@cocos2d@@@8; cocos2d::CCScene `RTTI Type Descriptor' ; +0x3f, 0x1800c2f7f mov [rsp+38h+var_18], 0 ; +0x46, 0x1800c2f86 xor edx, edx ; +0x4e, 0x1800c2f8e mov rdi, rax ; +0x50, 0x1800c2f90 call __RTDynamicCast ; +0x53, 0x1800c2f93 test rax, rax ; +0x58, 0x1800c2f98 jnz short loc_1800C2FE0 ; +0x5b, 0x1800c2f9b mov rcx, [rbx+110h] ; +0x5d, 0x1800c2f9d test rcx, rcx ; +0x64, 0x1800c2fa4 jz short loc_1800C2FC2 ; +0x67, 0x1800c2fa7 mov rax, [rcx] ; +0x69, 0x1800c2fa9 call qword ptr [rax+2D0h] ; +0x6c, 0x1800c2fac mov rcx, [rbx+110h] ; +0x72, 0x1800c2fb2 mov rax, [rcx] ; +0x79, 0x1800c2fb9 call qword ptr [rax+2C8h] ; +0x7c, 0x1800c2fbc cmp byte ptr [rbx+120h], 0 ; +0x82, 0x1800c2fc2 jz short loc_1800C2FE0 ; +0x89, 0x1800c2fc9 mov rcx, [rbx+110h] ; +0x8b, 0x1800c2fcb test rcx, rcx ; +0x92, 0x1800c2fd2 jz short loc_1800C2FE0 ; +0x95, 0x1800c2fd5 mov rax, [rcx] ; +0x97, 0x1800c2fd7 call qword ptr [rax+2D8h] ; +0x9a, 0x1800c2fda mov rcx, [rbx+110h]; this ; +0xa0, 0x1800c2fe0 test rcx, rcx ; +0xa7, 0x1800c2fe7 jz short loc_1800C2FF1 ; +0xaa, 0x1800c2fea call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xac, 0x1800c2fec mov rcx, [rbx+118h]; this ; +0xb1, 0x1800c2ff1 mov [rbx+110h], rcx ; +0xb8, 0x1800c2ff8 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0xbf, 0x1800c2fff mov qword ptr [rbx+118h], 0 ; +0xc4, 0x1800c3004 test rdi, rdi ; +0xcf, 0x1800c300f jnz short loc_1800C3039 ; +0xd2, 0x1800c3012 mov rcx, [rbx+110h] ; +0xd4, 0x1800c3014 test rcx, rcx ; +0xdb, 0x1800c301b jz short loc_1800C3039 ; +0xde, 0x1800c301e mov rax, [rcx] ; +0xe0, 0x1800c3020 call qword ptr [rax+2B8h] ; +0xe3, 0x1800c3023 mov rcx, [rbx+110h] ; +0xe9, 0x1800c3029 mov rax, [rcx] ; +0xf0, 0x1800c3030 call qword ptr [rax+2C0h] ; +0xf3, 0x1800c3033 mov rbx, [rsp+38h+arg_0] ; +0xf9, 0x1800c3039 add rsp, 30h ; +0xfe, 0x1800c303e pop rdi ; +0x102, 0x1800c3042 retn ; +0x103, 0x1800c3043