; ; cocos2d::CCLayer::init from 0x18004fe50 to 0x18004fea0 (80 bytes) ; ; 7 xrefs: ; > cocos2d::CCMenu::initWithArray @ 0x18005946d ; > @ 0x1800ecf38 ; > @ 0x1800ee470 ; > @ 0x180137fa4 ; > @ 0x180137fb4 ; > @ 0x1801438a8 ; > @ 0x1801b1ec0 ; ; 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, 0x18004fe50 sub rsp, 20h ; +0x2, 0x18004fe52 mov rdi, rcx ; +0x6, 0x18004fe56 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x18004fe59 test rax, rax ; +0xe, 0x18004fe5e jz short loc_18004FE9A ; +0x11, 0x18004fe61 mov [rsp+28h+arg_0], rbx ; +0x13, 0x18004fe63 lea rdx, [rsp+28h+arg_8] ; +0x18, 0x18004fe68 mov rbx, [rdi] ; +0x1d, 0x18004fe6d mov rcx, rax ; +0x20, 0x18004fe70 call ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x23, 0x18004fe73 mov rdx, rax ; +0x28, 0x18004fe78 mov rcx, rdi ; +0x2b, 0x18004fe7b call qword ptr [rbx+128h] ; +0x2e, 0x18004fe7e mov rbx, [rsp+28h+arg_0] ; +0x34, 0x18004fe84 mov al, 1 ; +0x39, 0x18004fe89 mov word ptr [rdi+168h], 0 ; +0x3b, 0x18004fe8b add rsp, 20h ; +0x44, 0x18004fe94 pop rdi ; +0x48, 0x18004fe98 retn ; +0x49, 0x18004fe99 add rsp, 20h ; +0x4a, 0x18004fe9a pop rdi ; +0x4e, 0x18004fe9e retn ; +0x4f, 0x18004fe9f