; ; cocos2d::CCLayer::onEnterTransitionDidFinish from 0x1800524a0 to 0x1800524f6 (86 bytes) ; ; 10 xrefs: ; > @ 0x1800f3300 ; > @ 0x1800f37e0 ; > @ 0x1800f3d38 ; > @ 0x1800f42c0 ; > @ 0x1800f48b8 ; > @ 0x1800fd3f0 ; > @ 0x180141220 ; > @ 0x180141230 ; > @ 0x18014cf68 ; > @ 0x1801bc274 ; ; 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:21:45 +0000 ; push rdi ; +0x0, 0x1800524a0 sub rsp, 20h ; +0x2, 0x1800524a2 cmp byte ptr [rcx+169h], 0 ; +0x6, 0x1800524a6 mov rdi, rcx ; +0xd, 0x1800524ad jz short loc_1800524E9 ; +0x10, 0x1800524b0 mov [rsp+28h+arg_0], rbx ; +0x12, 0x1800524b2 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x17, 0x1800524b7 xor ecx, ecx ; +0x1c, 0x1800524bc lea rbx, [rdi+148h] ; +0x1e, 0x1800524be test rdi, rdi ; +0x25, 0x1800524c5 mov r8, [rax] ; +0x28, 0x1800524c8 cmovz rbx, rcx ; +0x2b, 0x1800524cb mov rcx, rax ; +0x2f, 0x1800524cf call qword ptr [r8+0D0h] ; +0x32, 0x1800524d2 mov rcx, rax; this ; +0x39, 0x1800524d9 mov rdx, rbx; struct cocos2d::CCAccelerometerDelegate * ; +0x3c, 0x1800524dc call ?setDelegate@CCAccelerometer@cocos2d@@QEAAXPEAVCCAccelerometerDelegate@2@@Z; cocos2d::CCAccelerometer::setDelegate(cocos2d::CCAccelerometerDelegate *) ; +0x3f, 0x1800524df mov rbx, [rsp+28h+arg_0] ; +0x44, 0x1800524e4 mov rcx, rdi; this ; +0x49, 0x1800524e9 add rsp, 20h ; +0x4c, 0x1800524ec pop rdi ; +0x50, 0x1800524f0 jmp ?onEnterTransitionDidFinish@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::onEnterTransitionDidFinish(void) ; +0x51, 0x1800524f1