; ; CCTextInputNode::keyboardWillShow from 0x140056f10 to 0x14005702c (284 bytes) ; ; 4 xrefs: ; > @ 0x14070d650 ; > @ 0x140887278 ; > @ 0x140887288 ; > @ 0x1409103c4 ; ; 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:40 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140056f10 mov [rsp+arg_10], rsi ; +0x5, 0x140056f15 push rdi ; +0xa, 0x140056f1a sub rsp, 50h ; +0xb, 0x140056f1b lea rdi, [rdx+10h] ; +0xf, 0x140056f1f mov rbx, rcx ; +0x13, 0x140056f23 mov rcx, rdi ; +0x16, 0x140056f26 call cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x19, 0x140056f29 cmp byte ptr [rbx+0DAh], 0 ; +0x1f, 0x140056f2f movss cs:dword_140909780, xmm0 ; +0x26, 0x140056f36 jnz loc_14005701C ; +0x2e, 0x140056f3e mov rcx, [rbx+0B8h] ; +0x34, 0x140056f44 test rcx, rcx ; +0x3b, 0x140056f4b jz loc_14005701C ; +0x3e, 0x140056f4e cmp byte ptr [rbx+3Ch], 0 ; +0x44, 0x140056f54 jz loc_14005701C ; +0x48, 0x140056f58 mov rax, [rcx] ; +0x4e, 0x140056f5e movaps [rsp+58h+var_18], xmm6 ; +0x51, 0x140056f61 call qword ptr [rax+128h] ; +0x56, 0x140056f66 mov rdx, rax ; +0x5c, 0x140056f6c lea rcx, [rsp+58h+arg_0] ; +0x5f, 0x140056f6f call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x64, 0x140056f74 mov r8, rax ; +0x6a, 0x140056f7a lea rdx, [rbx-198h] ; +0x6d, 0x140056f7d lea rcx, [rsp+58h+var_38] ; +0x74, 0x140056f84 call sub_140054180 ; +0x79, 0x140056f89 movss xmm0, [rsp+58h+var_34] ; +0x7e, 0x140056f8e mov rcx, rdi ; +0x84, 0x140056f94 addss xmm0, cs:dword_140835D50 ; +0x87, 0x140056f97 movss [rsp+58h+var_34], xmm0 ; +0x8f, 0x140056f9f call cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x95, 0x140056fa5 lea rcx, [rsp+58h+var_38] ; +0x9b, 0x140056fab movaps xmm6, xmm0 ; +0xa0, 0x140056fb0 call cs:?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0xa3, 0x140056fb3 lea rdx, [rsp+58h+var_38] ; +0xa9, 0x140056fb9 lea rcx, [rsp+58h+var_28] ; +0xae, 0x140056fbe subss xmm6, xmm0 ; +0xb3, 0x140056fc3 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0xb7, 0x140056fc7 xorps xmm0, xmm0 ; +0xbd, 0x140056fcd comiss xmm0, xmm6 ; +0xc0, 0x140056fd0 jbe short loc_140056FE5 ; +0xc3, 0x140056fd3 movss xmm0, [rsp+58h+var_24] ; +0xc5, 0x140056fd5 addss xmm0, xmm6 ; +0xcb, 0x140056fdb movss [rsp+58h+var_24], xmm0 ; +0xcf, 0x140056fdf mov rdx, rdi ; +0xd5, 0x140056fe5 lea rcx, [rsp+58h+var_28] ; +0xd8, 0x140056fe8 call cs:?intersectsRect@CCRect@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCRect::intersectsRect(cocos2d::CCRect const &) ; +0xdd, 0x140056fed test al, al ; +0xe3, 0x140056ff3 jz short loc_140057017 ; +0xe5, 0x140056ff5 mov rcx, [rbx+0C0h] ; +0xe7, 0x140056ff7 mov byte ptr [rbx+3Dh], 1 ; +0xee, 0x140056ffe test rcx, rcx ; +0xf2, 0x140057002 jz short loc_140057017 ; +0xf5, 0x140057005 mov rax, [rcx] ; +0xf7, 0x140057007 lea rdx, [rbx-198h] ; +0xfa, 0x14005700a movaps xmm2, xmm6 ; +0x101, 0x140057011 call qword ptr [rax+18h] ; +0x104, 0x140057014 movaps xmm6, [rsp+58h+var_18] ; +0x107, 0x140057017 mov rbx, [rsp+58h+arg_8] ; +0x10c, 0x14005701c mov rsi, [rsp+58h+arg_10] ; +0x111, 0x140057021 add rsp, 50h ; +0x116, 0x140057026 pop rdi ; +0x11a, 0x14005702a retn ; +0x11b, 0x14005702b