; ; CCBlockLayer::init from 0x1400461a0 to 0x140046259 (185 bytes) ; ; 6 xrefs: ; > EditorPauseLayer::init @ 0x140180ec3 ; > PlayLayer::pauseGame @ 0x14051a6cf ; > @ 0x140707800 ; > @ 0x14074a7f8 ; > @ 0x1407d2370 ; > @ 0x14090f8f0 ; ; 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:25:31 +0000 ; push rbx ; +0x0, 0x1400461a0 sub rsp, 20h ; +0x2, 0x1400461a2 lea rdx, [rsp+28h+arg_8] ; +0x6, 0x1400461a6 mov [rsp+28h+arg_8], 7D000000h ; +0xb, 0x1400461ab mov rbx, rcx ; +0x13, 0x1400461b3 call cs:__imp_?initWithColor@CCLayerColor@cocos2d@@UEAA_NAEBU_ccColor4B@2@@Z; cocos2d::CCLayerColor::initWithColor(cocos2d::_ccColor4B const &) ; +0x16, 0x1400461b6 test al, al ; +0x1c, 0x1400461bc jnz short loc_1400461C6 ; +0x1e, 0x1400461be add rsp, 20h ; +0x20, 0x1400461c0 pop rbx ; +0x24, 0x1400461c4 retn ; +0x25, 0x1400461c5 cmp byte ptr [rbx+221h], 0 ; +0x26, 0x1400461c6 jnz short loc_140046200 ; +0x2d, 0x1400461cd mov byte ptr [rbx+221h], 1 ; +0x2f, 0x1400461cf call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x36, 0x1400461d6 mov rcx, [rax] ; +0x3c, 0x1400461dc mov rdx, [rcx+90h] ; +0x3f, 0x1400461df mov rcx, rax ; +0x46, 0x1400461e6 call rdx ; +0x49, 0x1400461e9 mov rcx, rax ; +0x4b, 0x1400461eb xor r9d, r9d ; +0x4e, 0x1400461ee mov r8d, 2 ; +0x51, 0x1400461f1 mov rdx, rbx ; +0x57, 0x1400461f7 call cs:?registerForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@HH@Z; cocos2d::CCTouchDispatcher::registerForcePrio(cocos2d::CCObject *,int,int) ; +0x5a, 0x1400461fa mov rax, [rbx] ; +0x60, 0x140046200 mov dl, 1 ; +0x63, 0x140046203 mov rcx, rbx ; +0x65, 0x140046205 call qword ptr [rax+398h] ; +0x68, 0x140046208 mov rax, [rbx] ; +0x6e, 0x14004620e mov dl, 1 ; +0x71, 0x140046211 mov rcx, rbx ; +0x73, 0x140046213 call qword ptr [rax+3E0h] ; +0x76, 0x140046216 mov rax, [rbx] ; +0x7c, 0x14004621c mov dl, 1 ; +0x7f, 0x14004621f mov rcx, rbx ; +0x81, 0x140046221 call qword ptr [rax+3F0h] ; +0x84, 0x140046224 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x8a, 0x14004622a mov rcx, rax ; +0x90, 0x140046230 lea rdx, [rsp+28h+arg_10] ; +0x93, 0x140046233 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x98, 0x140046238 mov rax, [rbx] ; +0x9e, 0x14004623e mov rcx, rbx ; +0xa1, 0x140046241 call qword ptr [rax+420h] ; +0xa4, 0x140046244 mov al, 1 ; +0xaa, 0x14004624a mov byte ptr [rbx+220h], 1 ; +0xac, 0x14004624c add rsp, 20h ; +0xb3, 0x140046253 pop rbx ; +0xb7, 0x140046257 retn ; +0xb8, 0x140046258