; ; cocos2d::CCLayer::onEnterTransitionDidFinish from 0x180050680 to 0x1800506d6 (86 bytes) ; ; 10 xrefs: ; > @ 0x1800ed1a0 ; > @ 0x1800ed660 ; > @ 0x1800edb98 ; > @ 0x1800ee100 ; > @ 0x1800ee6d8 ; > @ 0x1800f6fa8 ; > @ 0x180137ff8 ; > @ 0x180138008 ; > @ 0x1801438a8 ; > @ 0x1801b1fe0 ; ; 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 ; push rdi ; +0x0, 0x180050680 sub rsp, 20h ; +0x2, 0x180050682 cmp byte ptr [rcx+169h], 0 ; +0x6, 0x180050686 mov rdi, rcx ; +0xd, 0x18005068d jz short loc_1800506C9 ; +0x10, 0x180050690 mov [rsp+28h+arg_0], rbx ; +0x12, 0x180050692 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x17, 0x180050697 xor ecx, ecx ; +0x1c, 0x18005069c lea rbx, [rdi+148h] ; +0x1e, 0x18005069e test rdi, rdi ; +0x25, 0x1800506a5 mov r8, [rax] ; +0x28, 0x1800506a8 cmovz rbx, rcx ; +0x2b, 0x1800506ab mov rcx, rax ; +0x2f, 0x1800506af call qword ptr [r8+0D0h] ; +0x32, 0x1800506b2 mov rcx, rax; this ; +0x39, 0x1800506b9 mov rdx, rbx; struct cocos2d::CCAccelerometerDelegate * ; +0x3c, 0x1800506bc call ?setDelegate@CCAccelerometer@cocos2d@@QEAAXPEAVCCAccelerometerDelegate@2@@Z; cocos2d::CCAccelerometer::setDelegate(cocos2d::CCAccelerometerDelegate *) ; +0x3f, 0x1800506bf mov rbx, [rsp+28h+arg_0] ; +0x44, 0x1800506c4 mov rcx, rdi; this ; +0x49, 0x1800506c9 add rsp, 20h ; +0x4c, 0x1800506cc pop rdi ; +0x50, 0x1800506d0 jmp ?onEnterTransitionDidFinish@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::onEnterTransitionDidFinish(void) ; +0x51, 0x1800506d1