; ; cocos2d::extension::CCEditBoxImplWin::initWithSize from 0x1800117c0 to 0x180011955 (405 bytes) ; ; 4 xrefs: ; > @ 0x180028150 ; > @ 0x18002fdf8 ; > @ 0x18004a2a8 ; > @ 0x18004a2b4 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x1800117c0 mov [rsp+arg_10], rsi ; +0x5, 0x1800117c5 push rdi ; +0xa, 0x1800117ca sub rsp, 30h ; +0xb, 0x1800117cb movss xmm2, dword ptr [rdx+4] ; +0xf, 0x1800117cf mov rsi, rdx ; +0x14, 0x1800117d4 subss xmm2, cs:dword_180029590 ; +0x17, 0x1800117d7 mov rdi, rcx ; +0x1f, 0x1800117df movaps [rsp+38h+var_18], xmm8 ; +0x22, 0x1800117e2 lea rdx, byte_180023460 ; +0x28, 0x1800117e8 lea rcx, byte_180023460 ; +0x2f, 0x1800117ef call cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0x36, 0x1800117f6 movss xmm8, cs:dword_180029510 ; +0x3c, 0x1800117fc lea rcx, [rsp+38h+arg_0] ; +0x45, 0x180011805 mov [rdi+18h], rax ; +0x4a, 0x18001180a movaps xmm2, xmm8 ; +0x4e, 0x18001180e xorps xmm1, xmm1 ; +0x52, 0x180011812 mov rbx, [rax] ; +0x55, 0x180011815 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x58, 0x180011818 mov rcx, [rdi+18h] ; +0x5e, 0x18001181e mov rdx, rax ; +0x62, 0x180011822 call qword ptr [rbx+110h] ; +0x65, 0x180011825 movss xmm2, dword ptr [rsi+4] ; +0x6b, 0x18001182b lea rcx, [rsp+38h+arg_0] ; +0x70, 0x180011830 mov rax, [rdi+18h] ; +0x75, 0x180011835 movss xmm1, cs:dword_180029580 ; +0x79, 0x180011839 mulss xmm2, xmm8 ; +0x81, 0x180011841 mov rbx, [rax] ; +0x86, 0x180011846 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x89, 0x180011849 mov rcx, [rdi+18h] ; +0x8f, 0x18001184f mov rdx, rax ; +0x93, 0x180011853 call qword ptr [rbx+0B8h] ; +0x96, 0x180011856 mov rcx, [rdi+18h] ; +0x9c, 0x18001185c lea rdx, [rdi+78h] ; +0xa0, 0x180011860 add rcx, 140h ; +0xa4, 0x180011864 mov rax, [rcx] ; +0xab, 0x18001186b call qword ptr [rax] ; +0xae, 0x18001186e mov rcx, [rdi+10h] ; +0xb0, 0x180011870 mov rdx, [rdi+18h] ; +0xb4, 0x180011874 mov rax, [rcx] ; +0xb8, 0x180011878 call qword ptr [rax+1C0h] ; +0xbb, 0x18001187b movss xmm2, dword ptr [rsi+4] ; +0xc1, 0x180011881 lea rdx, byte_180023460 ; +0xc6, 0x180011886 subss xmm2, cs:dword_180029590 ; +0xcd, 0x18001188d lea rcx, byte_180023460 ; +0xd5, 0x180011895 call cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0xdc, 0x18001189c mov [rdi+20h], rax ; +0xe2, 0x1800118a2 movaps xmm2, xmm8 ; +0xe6, 0x1800118a6 xorps xmm1, xmm1 ; +0xea, 0x1800118aa lea rcx, [rsp+38h+arg_0] ; +0xed, 0x1800118ad mov rbx, [rax] ; +0xf2, 0x1800118b2 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xf5, 0x1800118b5 mov rcx, [rdi+20h] ; +0xfb, 0x1800118bb mov rdx, rax ; +0xff, 0x1800118bf call qword ptr [rbx+110h] ; +0x102, 0x1800118c2 movss xmm2, dword ptr [rsi+4] ; +0x108, 0x1800118c8 lea rcx, [rsp+38h+arg_0] ; +0x10d, 0x1800118cd mov rax, [rdi+20h] ; +0x112, 0x1800118d2 movss xmm1, cs:dword_180029580 ; +0x116, 0x1800118d6 mulss xmm2, xmm8 ; +0x11e, 0x1800118de mov rbx, [rax] ; +0x123, 0x1800118e3 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x126, 0x1800118e6 mov rcx, [rdi+20h] ; +0x12c, 0x1800118ec mov rdx, rax ; +0x130, 0x1800118f0 call qword ptr [rbx+0B8h] ; +0x133, 0x1800118f3 mov rcx, [rdi+20h] ; +0x139, 0x1800118f9 xor edx, edx ; +0x13d, 0x1800118fd mov rax, [rcx] ; +0x13f, 0x1800118ff call qword ptr [rax+140h] ; +0x142, 0x180011902 mov rcx, [rdi+20h] ; +0x148, 0x180011908 lea rdx, [rdi+7Bh] ; +0x14c, 0x18001190c add rcx, 140h ; +0x150, 0x180011910 mov rax, [rcx] ; +0x157, 0x180011917 call qword ptr [rax] ; +0x15a, 0x18001191a mov rcx, [rdi+10h] ; +0x15c, 0x18001191c mov rdx, [rdi+20h] ; +0x160, 0x180011920 mov rax, [rcx] ; +0x164, 0x180011924 call qword ptr [rax+1C0h] ; +0x167, 0x180011927 lea rcx, [rdi+84h] ; +0x16d, 0x18001192d mov rdx, rsi ; +0x174, 0x180011934 call cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x177, 0x180011937 mov rbx, [rsp+38h+arg_8] ; +0x17d, 0x18001193d mov al, 1 ; +0x182, 0x180011942 mov rsi, [rsp+38h+arg_10] ; +0x184, 0x180011944 movaps xmm8, [rsp+38h+var_18] ; +0x189, 0x180011949 add rsp, 30h ; +0x18f, 0x18001194f pop rdi ; +0x193, 0x180011953 retn ; +0x194, 0x180011954