; ; CCBlockLayer::init from 0x100517e10 to 0x100517ecd (189 bytes) ; ; 7 xrefs: ; > EditorPauseLayer::init @ 0x1002911be ; > PauseLayer::create @ 0x1003d5cd3 ; > PauseLayer::init @ 0x1003d5d1c ; > CCBlockLayer::create @ 0x100517dd4 ; > @ 0x1008f70a8 ; > @ 0x10092fcd0 ; > @ 0x10095fd10 ; ; 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 rbp ; +0x0, 0x100517e10 mov rbp, rsp ; +0x1, 0x100517e11 push r14 ; +0x4, 0x100517e14 push rbx ; +0x6, 0x100517e16 sub rsp, 10h ; +0x7, 0x100517e17 mov rbx, rdi ; +0xb, 0x100517e1b mov [rbp+var_14], 7D000000h ; +0xe, 0x100517e1e lea rsi, [rbp+var_14] ; +0x15, 0x100517e25 call cocos2d__CCLayerColor__initWithColor ; +0x19, 0x100517e29 test al, al ; +0x1e, 0x100517e2e jz loc_100517EC4 ; +0x20, 0x100517e30 mov r14d, eax ; +0x26, 0x100517e36 cmp byte ptr [rbx+221h], 0 ; +0x29, 0x100517e39 jnz short loc_100517E6A ; +0x30, 0x100517e40 mov byte ptr [rbx+221h], 1 ; +0x32, 0x100517e42 call cocos2d__CCDirector__sharedDirector ; +0x39, 0x100517e49 mov rcx, [rax] ; +0x3e, 0x100517e4e mov rdi, rax ; +0x41, 0x100517e51 call qword ptr [rcx+0A0h] ; +0x44, 0x100517e54 mov rdi, rax ; +0x4a, 0x100517e5a mov rsi, rbx ; +0x4d, 0x100517e5d mov edx, 2 ; +0x50, 0x100517e60 call cocos2d__CCTouchDispatcher__registerForcePrio ; +0x55, 0x100517e65 mov rax, [rbx] ; +0x5a, 0x100517e6a mov rdi, rbx ; +0x5d, 0x100517e6d mov esi, 1 ; +0x60, 0x100517e70 call qword ptr [rax+3D8h] ; +0x65, 0x100517e75 mov rax, [rbx] ; +0x6b, 0x100517e7b mov rdi, rbx ; +0x6e, 0x100517e7e mov esi, 1 ; +0x71, 0x100517e81 call qword ptr [rax+420h] ; +0x76, 0x100517e86 mov rax, [rbx] ; +0x7c, 0x100517e8c mov rdi, rbx ; +0x7f, 0x100517e8f mov esi, 1 ; +0x82, 0x100517e92 call qword ptr [rax+430h] ; +0x87, 0x100517e97 call cocos2d__CCDirector__sharedDirector ; +0x8d, 0x100517e9d lea rdi, [rbp+var_1C] ; +0x92, 0x100517ea2 mov rsi, rax ; +0x96, 0x100517ea6 call cocos2d__CCDirector__getWinSize ; +0x99, 0x100517ea9 mov rax, [rbx] ; +0x9e, 0x100517eae mov rdi, rbx ; +0xa1, 0x100517eb1 call qword ptr [rax+508h] ; +0xa4, 0x100517eb4 mov byte ptr [rbx+220h], 1 ; +0xaa, 0x100517eba mov eax, r14d ; +0xb1, 0x100517ec1 add rsp, 10h ; +0xb4, 0x100517ec4 pop rbx ; +0xb8, 0x100517ec8 pop r14 ; +0xb9, 0x100517ec9 pop rbp ; +0xbb, 0x100517ecb retn ; +0xbc, 0x100517ecc