; ; CCBlockLayer::init from 0x100518ee0 to 0x100518f9f (191 bytes) ; ; 7 xrefs: ; > EditorPauseLayer::init @ 0x10027caae ; > PauseLayer::create @ 0x1003bf77e ; > PauseLayer::init @ 0x1003bf7cc ; > CCBlockLayer::create @ 0x100518ea4 ; > @ 0x100afda38 ; > @ 0x100b38640 ; > @ 0x100b6c868 ; ; 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 12:31:40 +0000 ; push rbp ; +0x0, 0x100518ee0 mov rbp, rsp ; +0x1, 0x100518ee1 push r14 ; +0x4, 0x100518ee4 push rbx ; +0x6, 0x100518ee6 sub rsp, 10h ; +0x7, 0x100518ee7 mov rbx, rdi ; +0xb, 0x100518eeb mov [rbp+var_14], 7D000000h ; +0xe, 0x100518eee lea rsi, [rbp+var_14] ; +0x15, 0x100518ef5 call cocos2d__CCLayerColor__initWithColor ; +0x19, 0x100518ef9 test al, al ; +0x1e, 0x100518efe jz loc_100518F96 ; +0x20, 0x100518f00 mov r14d, eax ; +0x26, 0x100518f06 cmp byte ptr [rbx+221h], 0 ; +0x29, 0x100518f09 jnz short loc_100518F3C ; +0x30, 0x100518f10 mov byte ptr [rbx+221h], 1 ; +0x32, 0x100518f12 call cocos2d__CCDirector__sharedDirector ; +0x39, 0x100518f19 mov rcx, [rax] ; +0x3e, 0x100518f1e mov rdi, rax ; +0x41, 0x100518f21 call qword ptr [rcx+0A0h] ; +0x44, 0x100518f24 mov rdi, rax ; +0x4a, 0x100518f2a mov rsi, rbx ; +0x4d, 0x100518f2d mov edx, 2 ; +0x50, 0x100518f30 xor ecx, ecx ; +0x55, 0x100518f35 call cocos2d__CCTouchDispatcher__registerForcePrio ; +0x57, 0x100518f37 mov rax, [rbx] ; +0x5c, 0x100518f3c mov rdi, rbx ; +0x5f, 0x100518f3f mov esi, 1 ; +0x62, 0x100518f42 call qword ptr [rax+3E8h] ; +0x67, 0x100518f47 mov rax, [rbx] ; +0x6d, 0x100518f4d mov rdi, rbx ; +0x70, 0x100518f50 mov esi, 1 ; +0x73, 0x100518f53 call qword ptr [rax+430h] ; +0x78, 0x100518f58 mov rax, [rbx] ; +0x7e, 0x100518f5e mov rdi, rbx ; +0x81, 0x100518f61 mov esi, 1 ; +0x84, 0x100518f64 call qword ptr [rax+440h] ; +0x89, 0x100518f69 call cocos2d__CCDirector__sharedDirector ; +0x8f, 0x100518f6f lea rdi, [rbp+var_1C] ; +0x94, 0x100518f74 mov rsi, rax ; +0x98, 0x100518f78 call cocos2d__CCDirector__getWinSize ; +0x9b, 0x100518f7b mov rax, [rbx] ; +0xa0, 0x100518f80 mov rdi, rbx ; +0xa3, 0x100518f83 call qword ptr [rax+518h] ; +0xa6, 0x100518f86 mov byte ptr [rbx+220h], 1 ; +0xac, 0x100518f8c mov eax, r14d ; +0xb3, 0x100518f93 add rsp, 10h ; +0xb6, 0x100518f96 pop rbx ; +0xba, 0x100518f9a pop r14 ; +0xbb, 0x100518f9b pop rbp ; +0xbd, 0x100518f9d retn ; +0xbe, 0x100518f9e