; ; cocos2d::CCLabelBMFont::limitLabelWidth from 0x180048e60 to 0x180048f16 (182 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b1974 ; ; 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 ; push rbx ; +0x0, 0x180048e60 sub rsp, 60h ; +0x2, 0x180048e62 mov rax, [rcx] ; +0x6, 0x180048e66 mov rbx, rcx ; +0x9, 0x180048e69 movaps [rsp+68h+var_18], xmm6 ; +0xc, 0x180048e6c movaps xmm6, xmm3 ; +0x11, 0x180048e71 movaps [rsp+68h+var_28], xmm7 ; +0x14, 0x180048e74 movaps xmm7, xmm2 ; +0x19, 0x180048e79 movaps [rsp+68h+var_38], xmm8 ; +0x1c, 0x180048e7c movaps xmm8, xmm1 ; +0x22, 0x180048e82 movss xmm1, cs:flt_1800E61A8 ; +0x26, 0x180048e86 movaps [rsp+68h+var_48], xmm9 ; +0x2e, 0x180048e8e call qword ptr [rax+0A0h] ; +0x34, 0x180048e94 mov rax, [rbx] ; +0x3a, 0x180048e9a mov rcx, rbx ; +0x3d, 0x180048e9d call qword ptr [rax+130h] ; +0x40, 0x180048ea0 mov rcx, rbx ; +0x46, 0x180048ea6 movss xmm9, dword ptr [rax] ; +0x49, 0x180048ea9 mov rax, [rbx] ; +0x4e, 0x180048eae call qword ptr [rax+0A8h] ; +0x51, 0x180048eb1 comiss xmm9, xmm8 ; +0x57, 0x180048eb7 xorps xmm1, xmm1 ; +0x5b, 0x180048ebb jbe short loc_180048ECF ; +0x5e, 0x180048ebe comiss xmm8, xmm1 ; +0x60, 0x180048ec0 jbe short loc_180048ECF ; +0x64, 0x180048ec4 movaps xmm0, xmm8 ; +0x66, 0x180048ec6 divss xmm0, xmm9 ; +0x6a, 0x180048eca ucomiss xmm7, xmm1 ; +0x6f, 0x180048ecf jp short loc_180048ED6 ; +0x72, 0x180048ed2 jz short loc_180048EDD ; +0x74, 0x180048ed4 minss xmm7, xmm0 ; +0x76, 0x180048ed6 movaps xmm0, xmm7 ; +0x7a, 0x180048eda ucomiss xmm6, xmm1 ; +0x7d, 0x180048edd jp short loc_180048EE4 ; +0x80, 0x180048ee0 jz short loc_180048EEB ; +0x82, 0x180048ee2 maxss xmm6, xmm0 ; +0x84, 0x180048ee4 movaps xmm0, xmm6 ; +0x88, 0x180048ee8 mov rax, [rbx] ; +0x8b, 0x180048eeb movaps xmm1, xmm0 ; +0x8e, 0x180048eee mov rcx, rbx ; +0x91, 0x180048ef1 movaps xmm6, [rsp+68h+var_18] ; +0x94, 0x180048ef4 movaps xmm7, [rsp+68h+var_28] ; +0x99, 0x180048ef9 movaps xmm8, [rsp+68h+var_38] ; +0x9e, 0x180048efe movaps xmm9, [rsp+68h+var_48] ; +0xa4, 0x180048f04 add rsp, 60h ; +0xaa, 0x180048f0a pop rbx ; +0xae, 0x180048f0e jmp qword ptr [rax+0A0h] ; +0xaf, 0x180048f0f