; ; cocos2d::extension::CCEditBoxImplWin::setFont from 0x180011960 to 0x1800119c8 (104 bytes) ; ; 3 xrefs: ; > @ 0x180028158 ; > @ 0x18002fdf8 ; > @ 0x18004a2c0 ; ; 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_0], rbx ; +0x0, 0x180011960 push rdi ; +0x5, 0x180011965 sub rsp, 30h ; +0x6, 0x180011966 movaps [rsp+38h+var_18], xmm6 ; +0xa, 0x18001196a mov rbx, rcx ; +0xf, 0x18001196f mov rcx, [rcx+18h] ; +0x12, 0x180011972 mov rdi, rdx ; +0x16, 0x180011976 movd xmm6, r8d ; +0x19, 0x180011979 cvtdq2ps xmm6, xmm6 ; +0x1e, 0x18001197e test rcx, rcx ; +0x21, 0x180011981 jz short loc_180011999 ; +0x24, 0x180011984 call cs:?setFontName@CCLabelTTF@cocos2d@@QEAAXPEBD@Z; cocos2d::CCLabelTTF::setFontName(char const *) ; +0x26, 0x180011986 mov rcx, [rbx+18h] ; +0x2c, 0x18001198c movaps xmm1, xmm6 ; +0x30, 0x180011990 call cs:?setFontSize@CCLabelTTF@cocos2d@@QEAAXM@Z; cocos2d::CCLabelTTF::setFontSize(float) ; +0x33, 0x180011993 mov rcx, [rbx+20h] ; +0x39, 0x180011999 test rcx, rcx ; +0x3d, 0x18001199d jz short loc_1800119B8 ; +0x40, 0x1800119a0 mov rdx, rdi ; +0x42, 0x1800119a2 call cs:?setFontName@CCLabelTTF@cocos2d@@QEAAXPEBD@Z; cocos2d::CCLabelTTF::setFontName(char const *) ; +0x45, 0x1800119a5 mov rcx, [rbx+20h] ; +0x4b, 0x1800119ab movaps xmm1, xmm6 ; +0x4f, 0x1800119af call cs:?setFontSize@CCLabelTTF@cocos2d@@QEAAXM@Z; cocos2d::CCLabelTTF::setFontSize(float) ; +0x52, 0x1800119b2 mov rbx, [rsp+38h+arg_0] ; +0x58, 0x1800119b8 movaps xmm6, [rsp+38h+var_18] ; +0x5d, 0x1800119bd add rsp, 30h ; +0x62, 0x1800119c2 pop rdi ; +0x66, 0x1800119c6 retn ; +0x67, 0x1800119c7