; ; cocos2d::CCScene::init from 0x180051c10 to 0x180051c57 (71 bytes) ; ; 42 xrefs: ; > cocos2d::CCTransitionScene::initWithDuration @ 0x180054a6a ; > @ 0x1800ee930 ; > @ 0x1800eecb8 ; > @ 0x1800ef038 ; > @ 0x1800ef3c0 ; > @ 0x1800ef740 ; > @ 0x1800efac0 ; > @ 0x1800efe60 ; > @ 0x1800f0200 ; > @ 0x1800f05a0 ; > @ 0x1800f0940 ; > @ 0x1800f0ce0 ; > @ 0x1800f1080 ; > @ 0x1800f1420 ; > @ 0x1800f17c0 ; > @ 0x1800f1b50 ; > @ 0x1800f1ed8 ; > @ 0x1800f2260 ; > @ 0x1800f25e8 ; > @ 0x1800f2970 ; > @ 0x1800f2cf8 ; > @ 0x1800f3080 ; > @ 0x1800f3408 ; > @ 0x1800f3788 ; > @ 0x1800f3b18 ; > @ 0x1800f3eb0 ; > @ 0x1800f4248 ; > @ 0x1800f45e0 ; > @ 0x1800f4978 ; > @ 0x1800f4d10 ; > @ 0x1800f50c0 ; > @ 0x1800f5448 ; > @ 0x1800f57d8 ; > @ 0x1800f5b68 ; > @ 0x1800f5ef8 ; > @ 0x1800f6288 ; > @ 0x1800f6618 ; > @ 0x1800f69a8 ; > @ 0x1801384ec ; > @ 0x1801384fc ; > @ 0x1801438a8 ; > @ 0x1801b22d4 ; ; 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, 0x180051c10 sub rsp, 20h ; +0x2, 0x180051c12 mov rdi, rcx ; +0x6, 0x180051c16 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x180051c19 test rax, rax ; +0xe, 0x180051c1e jz short loc_180051C51 ; +0x11, 0x180051c21 mov [rsp+28h+arg_0], rbx ; +0x13, 0x180051c23 lea rdx, [rsp+28h+arg_8] ; +0x18, 0x180051c28 mov rbx, [rdi] ; +0x1d, 0x180051c2d mov rcx, rax ; +0x20, 0x180051c30 call ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x23, 0x180051c33 mov rdx, rax ; +0x28, 0x180051c38 mov rcx, rdi ; +0x2b, 0x180051c3b call qword ptr [rbx+128h] ; +0x2e, 0x180051c3e mov rbx, [rsp+28h+arg_0] ; +0x34, 0x180051c44 mov al, 1 ; +0x39, 0x180051c49 add rsp, 20h ; +0x3b, 0x180051c4b pop rdi ; +0x3f, 0x180051c4f retn ; +0x40, 0x180051c50 add rsp, 20h ; +0x41, 0x180051c51 pop rdi ; +0x45, 0x180051c55 retn ; +0x46, 0x180051c56