; ; FontPreviewCell::draw from 0x14058dd60 to 0x14058de50 (240 bytes) ; ; 2 xrefs: ; > @ 0x1407e3900 ; > @ 0x14092cc18 ; ; 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:34:30 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x14058dd60 push rdi ; +0x5, 0x14058dd65 sub rsp, 30h ; +0x6, 0x14058dd66 movss xmm2, dword ptr [rcx+214h] ; +0xa, 0x14058dd6a mov rdi, rcx ; +0x12, 0x14058dd72 movss xmm1, dword ptr [rcx+210h] ; +0x15, 0x14058dd75 lea rcx, [rsp+38h+arg_0] ; +0x1d, 0x14058dd7d call cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x22, 0x14058dd82 mov edx, [rdi+230h] ; +0x28, 0x14058dd88 lea rcx, [rsp+38h+arg_8] ; +0x2e, 0x14058dd8e movss xmm0, cs:dword_140835964 ; +0x33, 0x14058dd93 movzx eax, dl ; +0x3b, 0x14058dd9b movd xmm4, eax ; +0x3e, 0x14058dd9e mov eax, edx ; +0x42, 0x14058dda2 cvtdq2ps xmm4, xmm4 ; +0x44, 0x14058dda4 shr eax, 8 ; +0x47, 0x14058dda7 movzx eax, al ; +0x4a, 0x14058ddaa divss xmm4, xmm0 ; +0x4d, 0x14058ddad movd xmm1, eax ; +0x51, 0x14058ddb1 mov eax, edx ; +0x55, 0x14058ddb5 shufps xmm4, xmm4, 0E1h ; +0x57, 0x14058ddb7 cvtdq2ps xmm1, xmm1 ; +0x5b, 0x14058ddbb shr eax, 10h ; +0x5e, 0x14058ddbe movzx eax, al ; +0x61, 0x14058ddc1 shr edx, 18h ; +0x64, 0x14058ddc4 divss xmm1, xmm0 ; +0x67, 0x14058ddc7 movd xmm2, eax ; +0x6b, 0x14058ddcb movss xmm4, xmm1 ; +0x6f, 0x14058ddcf movd xmm3, edx ; +0x73, 0x14058ddd3 movss xmm1, [rsp+38h+arg_0] ; +0x77, 0x14058ddd7 shufps xmm4, xmm4, 0C6h ; +0x7d, 0x14058dddd cvtdq2ps xmm2, xmm2 ; +0x81, 0x14058dde1 cvtdq2ps xmm3, xmm3 ; +0x84, 0x14058dde4 divss xmm2, xmm0 ; +0x87, 0x14058dde7 divss xmm3, xmm0 ; +0x8b, 0x14058ddeb movss xmm4, xmm2 ; +0x8f, 0x14058ddef movss xmm2, [rsp+38h+arg_4] ; +0x93, 0x14058ddf3 shufps xmm4, xmm4, 27h ; ''' ; +0x99, 0x14058ddf9 movss xmm4, xmm3 ; +0x9d, 0x14058ddfd shufps xmm4, xmm4, 39h ; '9' ; +0xa1, 0x14058de01 movups [rsp+38h+var_18], xmm4 ; +0xa5, 0x14058de05 movdqa [rsp+38h+var_18], xmm4 ; +0xaa, 0x14058de0a call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb0, 0x14058de10 lea rdx, unk_14090B648 ; +0xb6, 0x14058de16 mov rbx, rax ; +0xbd, 0x14058de1d lea rcx, [rsp+38h+arg_10] ; +0xc0, 0x14058de20 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xc5, 0x14058de25 lea r8, [rsp+38h+var_18] ; +0xcb, 0x14058de2b mov rdx, rbx ; +0xd0, 0x14058de30 mov rcx, rax ; +0xd3, 0x14058de33 call cs:?ccDrawSolidRect@cocos2d@@YAXVCCPoint@1@0U_ccColor4F@1@@Z; cocos2d::ccDrawSolidRect(cocos2d::CCPoint,cocos2d::CCPoint,cocos2d::_ccColor4F) ; +0xd6, 0x14058de36 mov rcx, rdi ; +0xdc, 0x14058de3c call cs:__imp_?draw@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::draw(void) ; +0xdf, 0x14058de3f mov rbx, [rsp+38h+arg_18] ; +0xe5, 0x14058de45 add rsp, 30h ; +0xea, 0x14058de4a pop rdi ; +0xee, 0x14058de4e retn ; +0xef, 0x14058de4f