; ; cocos2d::extension::CCEditBoxImplWin::initWithSize from 0x180011150 to 0x1800112f1 (417 bytes) ; ; 3 xrefs: ; > @ 0x18002a7c8 ; > @ 0x180032408 ; > @ 0x18004c194 ; ; 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 12:15:40 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x180011150 mov [rsp+arg_10], rbp ; +0x5, 0x180011155 mov [rsp+arg_18], rsi ; +0xa, 0x18001115a push rdi ; +0xf, 0x18001115f sub rsp, 30h ; +0x10, 0x180011160 movss xmm2, dword ptr [rdx+4] ; +0x14, 0x180011164 mov rbp, rdx ; +0x19, 0x180011169 subss xmm2, cs:dword_18002BC58 ; +0x1c, 0x18001116c mov rsi, rcx ; +0x24, 0x180011174 movaps [rsp+38h+var_18], xmm8 ; +0x27, 0x180011177 lea rdx, byte_180025968 ; +0x2d, 0x18001117d lea rcx, byte_180025968 ; +0x34, 0x180011184 call cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0x3b, 0x18001118b movss xmm8, cs:dword_18002BBD8 ; +0x41, 0x180011191 lea rcx, [rsp+38h+arg_0] ; +0x4a, 0x18001119a mov [rsi+18h], rax ; +0x4f, 0x18001119f movaps xmm2, xmm8 ; +0x53, 0x1800111a3 xorps xmm1, xmm1 ; +0x57, 0x1800111a7 mov rdi, rax ; +0x5a, 0x1800111aa mov rbx, [rax] ; +0x5d, 0x1800111ad call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x60, 0x1800111b0 mov rdx, rax ; +0x66, 0x1800111b6 mov rcx, rdi ; +0x69, 0x1800111b9 call qword ptr [rbx+120h] ; +0x6c, 0x1800111bc movss xmm2, dword ptr [rbp+4] ; +0x72, 0x1800111c2 lea rcx, [rsp+38h+arg_0] ; +0x77, 0x1800111c7 mov rdi, [rsi+18h] ; +0x7c, 0x1800111cc movss xmm1, cs:dword_18002BC48 ; +0x80, 0x1800111d0 mulss xmm2, xmm8 ; +0x88, 0x1800111d8 mov rbx, [rdi] ; +0x8d, 0x1800111dd call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x90, 0x1800111e0 mov rdx, rax ; +0x96, 0x1800111e6 mov rcx, rdi ; +0x99, 0x1800111e9 call qword ptr [rbx+0B8h] ; +0x9c, 0x1800111ec mov rcx, [rsi+18h] ; +0xa2, 0x1800111f2 lea rdx, [rsi+78h] ; +0xa6, 0x1800111f6 add rcx, 140h ; +0xaa, 0x1800111fa mov rax, [rcx] ; +0xb1, 0x180011201 call qword ptr [rax] ; +0xb4, 0x180011204 mov rcx, [rsi+10h] ; +0xb6, 0x180011206 mov rdx, [rsi+18h] ; +0xba, 0x18001120a mov rax, [rcx] ; +0xbe, 0x18001120e call qword ptr [rax+1D0h] ; +0xc1, 0x180011211 movss xmm2, dword ptr [rbp+4] ; +0xc7, 0x180011217 lea rdx, byte_180025968 ; +0xcc, 0x18001121c subss xmm2, cs:dword_18002BC58 ; +0xd3, 0x180011223 lea rcx, byte_180025968 ; +0xdb, 0x18001122b call cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0xe2, 0x180011232 mov [rsi+20h], rax ; +0xe8, 0x180011238 movaps xmm2, xmm8 ; +0xec, 0x18001123c xorps xmm1, xmm1 ; +0xf0, 0x180011240 lea rcx, [rsp+38h+arg_0] ; +0xf3, 0x180011243 mov rdi, rax ; +0xf8, 0x180011248 mov rbx, [rax] ; +0xfb, 0x18001124b call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xfe, 0x18001124e mov rdx, rax ; +0x104, 0x180011254 mov rcx, rdi ; +0x107, 0x180011257 call qword ptr [rbx+120h] ; +0x10a, 0x18001125a movss xmm2, dword ptr [rbp+4] ; +0x110, 0x180011260 lea rcx, [rsp+38h+arg_0] ; +0x115, 0x180011265 mov rdi, [rsi+20h] ; +0x11a, 0x18001126a movss xmm1, cs:dword_18002BC48 ; +0x11e, 0x18001126e mulss xmm2, xmm8 ; +0x126, 0x180011276 mov rbx, [rdi] ; +0x12b, 0x18001127b call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x12e, 0x18001127e mov rdx, rax ; +0x134, 0x180011284 mov rcx, rdi ; +0x137, 0x180011287 call qword ptr [rbx+0B8h] ; +0x13a, 0x18001128a mov rcx, [rsi+20h] ; +0x140, 0x180011290 xor edx, edx ; +0x144, 0x180011294 mov rax, [rcx] ; +0x146, 0x180011296 call qword ptr [rax+150h] ; +0x149, 0x180011299 mov rcx, [rsi+20h] ; +0x14f, 0x18001129f lea rdx, [rsi+7Bh] ; +0x153, 0x1800112a3 add rcx, 140h ; +0x157, 0x1800112a7 mov rax, [rcx] ; +0x15e, 0x1800112ae call qword ptr [rax] ; +0x161, 0x1800112b1 mov rcx, [rsi+10h] ; +0x163, 0x1800112b3 mov rdx, [rsi+20h] ; +0x167, 0x1800112b7 mov rax, [rcx] ; +0x16b, 0x1800112bb call qword ptr [rax+1D0h] ; +0x16e, 0x1800112be lea rcx, [rsi+84h] ; +0x174, 0x1800112c4 mov rdx, rbp ; +0x17b, 0x1800112cb call cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x17e, 0x1800112ce mov rbx, [rsp+38h+arg_8] ; +0x184, 0x1800112d4 mov al, 1 ; +0x189, 0x1800112d9 mov rbp, [rsp+38h+arg_10] ; +0x18b, 0x1800112db mov rsi, [rsp+38h+arg_18] ; +0x190, 0x1800112e0 movaps xmm8, [rsp+38h+var_18] ; +0x195, 0x1800112e5 add rsp, 30h ; +0x19b, 0x1800112eb pop rdi ; +0x19f, 0x1800112ef retn ; +0x1a0, 0x1800112f0