; ; cocos2d::CCDirector::pushScene from 0x1800bef90 to 0x1800bf04e (190 bytes) ; ; 3 xrefs: ; > cocos2d::CCDirector::runWithScene @ 0x1800bf309 ; > @ 0x1801438a8 ; > @ 0x1801b9270 ; ; 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_8], rbx ; +0x0, 0x1800bef90 push rdi ; +0x5, 0x1800bef95 sub rsp, 30h ; +0x6, 0x1800bef96 cmp byte ptr [rcx+0A8h], 0 ; +0xa, 0x1800bef9a mov rdi, rdx ; +0x11, 0x1800befa1 mov rbx, rcx ; +0x14, 0x1800befa4 jz short loc_1800BEFB6 ; +0x17, 0x1800befa7 xor al, al ; +0x19, 0x1800befa9 mov rbx, [rsp+38h+arg_8] ; +0x1b, 0x1800befab add rsp, 30h ; +0x20, 0x1800befb0 pop rdi ; +0x24, 0x1800befb4 retn ; +0x25, 0x1800befb5 mov byte ptr [rcx+118h], 0 ; +0x26, 0x1800befb6 mov rcx, [rcx+120h]; this ; +0x2d, 0x1800befbd mov [rsp+38h+arg_0], rsi ; +0x34, 0x1800befc4 call ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x39, 0x1800befc9 lea r9, ??_R0?AVCCTransitionScene@cocos2d@@@8; cocos2d::CCTransitionScene `RTTI Type Descriptor' ; +0x3e, 0x1800befce mov [rbx+110h], rdi ; +0x45, 0x1800befd5 lea r8, ??_R0?AVCCScene@cocos2d@@@8; cocos2d::CCScene `RTTI Type Descriptor' ; +0x4c, 0x1800befdc mov [rsp+38h+var_18], 0 ; +0x53, 0x1800befe3 xor edx, edx ; +0x5b, 0x1800befeb mov rcx, rdi ; +0x5d, 0x1800befed call __RTDynamicCast ; +0x60, 0x1800beff0 test rax, rax ; +0x65, 0x1800beff5 setnz sil ; +0x68, 0x1800beff8 test rax, rax ; +0x6c, 0x1800beffc jnz short loc_1800BF035 ; +0x6f, 0x1800befff mov rdi, [rbx+110h] ; +0x71, 0x1800bf001 cmp [rbx+18Ch], al ; +0x78, 0x1800bf008 jnz short loc_1800BF035 ; +0x7e, 0x1800bf00e mov rcx, [rbx+160h] ; +0x80, 0x1800bf010 test rcx, rcx ; +0x87, 0x1800bf017 jz short loc_1800BF024 ; +0x8a, 0x1800bf01a mov rax, [rcx] ; +0x8c, 0x1800bf01c mov rdx, rdi ; +0x8f, 0x1800bf01f call qword ptr [rax] ; +0x92, 0x1800bf022 mov rcx, [rdi+140h] ; +0x94, 0x1800bf024 test rcx, rcx ; +0x9b, 0x1800bf02b jz short loc_1800BF035 ; +0x9e, 0x1800bf02e mov rax, [rcx] ; +0xa0, 0x1800bf030 call qword ptr [rax] ; +0xa3, 0x1800bf033 mov [rbx+0A8h], sil ; +0xa5, 0x1800bf035 mov al, 1 ; +0xac, 0x1800bf03c mov rsi, [rsp+38h+arg_0] ; +0xae, 0x1800bf03e mov rbx, [rsp+38h+arg_8] ; +0xb3, 0x1800bf043 add rsp, 30h ; +0xb8, 0x1800bf048 pop rdi ; +0xbc, 0x1800bf04c retn ; +0xbd, 0x1800bf04d