; ; EditorWindowPopup::layoutWindow from 0x14017e520 to 0x14017e6c5 (421 bytes) ; ; 7 xrefs: ; > EmotePickerPopup::init @ 0x140123c02 ; > EditorWindowPopup::initWindow @ 0x14017e3c2 ; > EditorWindowPopup::applyWindowSize @ 0x14017e7bf ; > EditorWindowPopup::ccTouchMoved @ 0x14017f721 ; > EditorWindowPopup::ccTouchEnded @ 0x14017f8d5 ; > EditorWindowPopup::ccTouchCancelled @ 0x14017fa36 ; > @ 0x1409189ec ; ; 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:27:36 +0000 ; mov [rsp+arg_18], rsi ; +0x0, 0x14017e520 push rdi ; +0x5, 0x14017e525 sub rsp, 30h ; +0x6, 0x14017e526 movaps [rsp+38h+var_18], xmm6 ; +0xa, 0x14017e52a mov rdi, rcx ; +0xf, 0x14017e52f call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x14017e532 mov rcx, rax ; +0x18, 0x14017e538 lea rdx, [rsp+38h+arg_8] ; +0x1b, 0x14017e53b call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x20, 0x14017e540 movss xmm2, [rsp+38h+arg_C] ; +0x26, 0x14017e546 lea rcx, [rsp+38h+arg_0] ; +0x2c, 0x14017e54c movss xmm1, [rsp+38h+arg_8] ; +0x31, 0x14017e551 movss xmm6, cs:dword_140834F20 ; +0x37, 0x14017e557 mulss xmm2, xmm6 ; +0x3f, 0x14017e55f mulss xmm1, xmm6 ; +0x43, 0x14017e563 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x47, 0x14017e567 mov rcx, [rdi+248h] ; +0x4d, 0x14017e56d test rcx, rcx ; +0x54, 0x14017e574 jz short loc_14017E584 ; +0x57, 0x14017e577 mov edx, 6B62h ; +0x59, 0x14017e579 call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x5e, 0x14017e57e lea rcx, [rdi+41Ch] ; +0x64, 0x14017e584 mov word ptr [rdi+256h], 0 ; +0x6b, 0x14017e58b lea r8, [rsp+38h+arg_0] ; +0x74, 0x14017e594 lea rdx, [rsp+38h+arg_8] ; +0x79, 0x14017e599 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x7e, 0x14017e59e mov rcx, [rdi+248h] ; +0x84, 0x14017e5a4 lea rdx, [rsp+38h+arg_8] ; +0x8b, 0x14017e5ab mov rax, [rcx] ; +0x90, 0x14017e5b0 call qword ptr [rax+0B8h] ; +0x93, 0x14017e5b3 mov rcx, [rdi+248h] ; +0x99, 0x14017e5b9 movss xmm1, dword ptr [rdi+418h] ; +0xa0, 0x14017e5c0 mov rax, [rcx] ; +0xa8, 0x14017e5c8 call qword ptr [rax+0A0h] ; +0xab, 0x14017e5cb mov rcx, [rdi+3F0h] ; +0xb1, 0x14017e5d1 test rcx, rcx ; +0xb8, 0x14017e5d8 jz short loc_14017E5EB ; +0xbb, 0x14017e5db mov rax, [rcx] ; +0xbd, 0x14017e5dd lea rdx, [rsp+38h+arg_0] ; +0xc0, 0x14017e5e0 call qword ptr [rax+0B8h] ; +0xc5, 0x14017e5e5 mov rsi, [rdi+400h] ; +0xcb, 0x14017e5eb mov [rsp+38h+arg_10], rbx ; +0xd2, 0x14017e5f2 test rsi, rsi ; +0xd7, 0x14017e5f7 jz short loc_14017E64A ; +0xda, 0x14017e5fa movss xmm0, dword ptr [rdi+414h] ; +0xdc, 0x14017e5fc lea rcx, [rsp+38h+arg_8] ; +0xe4, 0x14017e604 movss xmm2, [rsp+38h+arg_4] ; +0xe9, 0x14017e609 movss xmm1, [rsp+38h+arg_0] ; +0xef, 0x14017e60f mov rbx, [rsi] ; +0xf5, 0x14017e615 mulss xmm0, xmm6 ; +0xf8, 0x14017e618 subss xmm2, xmm0 ; +0xfc, 0x14017e61c movss xmm0, dword ptr [rdi+410h] ; +0x100, 0x14017e620 mulss xmm0, xmm6 ; +0x108, 0x14017e628 addss xmm2, cs:width ; +0x10c, 0x14017e62c subss xmm1, xmm0 ; +0x114, 0x14017e634 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x118, 0x14017e638 mov rdx, rax ; +0x11e, 0x14017e63e mov rcx, rsi ; +0x121, 0x14017e641 call qword ptr [rbx+0B8h] ; +0x124, 0x14017e644 mov rsi, [rdi+3F8h] ; +0x12a, 0x14017e64a test rsi, rsi ; +0x131, 0x14017e651 jz short loc_14017E6A8 ; +0x134, 0x14017e654 movss xmm2, dword ptr [rdi+414h] ; +0x136, 0x14017e656 lea rcx, [rsp+38h+arg_8] ; +0x13e, 0x14017e65e movss xmm0, dword ptr [rdi+410h] ; +0x143, 0x14017e663 movss xmm1, [rsp+38h+arg_0] ; +0x14b, 0x14017e66b mov rbx, [rsi] ; +0x151, 0x14017e671 mulss xmm2, xmm6 ; +0x154, 0x14017e674 mulss xmm0, xmm6 ; +0x158, 0x14017e678 addss xmm2, [rsp+38h+arg_4] ; +0x15c, 0x14017e67c subss xmm1, xmm0 ; +0x162, 0x14017e682 subss xmm2, cs:dword_140835450 ; +0x166, 0x14017e686 addss xmm1, cs:dword_140835450 ; +0x16e, 0x14017e68e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x176, 0x14017e696 mov rdx, rax ; +0x17c, 0x14017e69c mov rcx, rsi ; +0x17f, 0x14017e69f call qword ptr [rbx+0B8h] ; +0x182, 0x14017e6a2 mov rcx, rdi ; +0x188, 0x14017e6a8 call EditorWindowPopup__dismissDropdowns ; +0x18b, 0x14017e6ab mov rbx, [rsp+38h+arg_10] ; +0x190, 0x14017e6b0 mov rsi, [rsp+38h+arg_18] ; +0x195, 0x14017e6b5 movaps xmm6, [rsp+38h+var_18] ; +0x19a, 0x14017e6ba add rsp, 30h ; +0x19f, 0x14017e6bf pop rdi ; +0x1a3, 0x14017e6c3 retn ; +0x1a4, 0x14017e6c4