; ; cocos2d::extension::CCScale9Sprite::updateCapInset from 0x18000fe10 to 0x18000ff0a (250 bytes) ; ; 6 xrefs: ; > cocos2d::extension::CCScale9Sprite::setInsetLeft @ 0x180010128 ; > cocos2d::extension::CCScale9Sprite::setInsetTop @ 0x180010138 ; > cocos2d::extension::CCScale9Sprite::setInsetRight @ 0x180010148 ; > cocos2d::extension::CCScale9Sprite::setInsetBottom @ 0x180010158 ; > @ 0x18002fdf8 ; > @ 0x18004a008 ; ; 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, 0x18000fe10 push rdi ; +0x5, 0x18000fe15 sub rsp, 50h ; +0x6, 0x18000fe16 mov rdi, rcx ; +0xa, 0x18000fe1a lea rcx, [rsp+58h+var_28] ; +0xd, 0x18000fe1d call cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void) ; +0x12, 0x18000fe22 movss xmm4, dword ptr [rdi+178h] ; +0x18, 0x18000fe28 xorps xmm1, xmm1 ; +0x20, 0x18000fe30 ucomiss xmm4, xmm1 ; +0x23, 0x18000fe33 jp short loc_18000FE70 ; +0x26, 0x18000fe36 jnz short loc_18000FE70 ; +0x28, 0x18000fe38 movss xmm0, dword ptr [rdi+17Ch] ; +0x2a, 0x18000fe3a ucomiss xmm0, xmm1 ; +0x32, 0x18000fe42 jp short loc_18000FE70 ; +0x35, 0x18000fe45 jnz short loc_18000FE70 ; +0x37, 0x18000fe47 movss xmm0, dword ptr [rdi+180h] ; +0x39, 0x18000fe49 ucomiss xmm0, xmm1 ; +0x41, 0x18000fe51 jp short loc_18000FE70 ; +0x44, 0x18000fe54 jnz short loc_18000FE70 ; +0x46, 0x18000fe56 movss xmm0, dword ptr [rdi+184h] ; +0x48, 0x18000fe58 ucomiss xmm0, xmm1 ; +0x50, 0x18000fe60 jp short loc_18000FE70 ; +0x53, 0x18000fe63 jnz short loc_18000FE70 ; +0x55, 0x18000fe65 lea rdx, unk_180048610 ; +0x57, 0x18000fe67 jmp short loc_18000FED5 ; +0x5e, 0x18000fe6e cmp byte ptr [rdi+19Ch], 0 ; +0x60, 0x18000fe70 lea rcx, [rsp+58h+var_18] ; +0x67, 0x18000fe77 movss xmm0, dword ptr [rdi+198h] ; +0x6c, 0x18000fe7c movss xmm2, dword ptr [rdi+17Ch] ; +0x74, 0x18000fe84 movss xmm1, dword ptr [rdi+184h] ; +0x7c, 0x18000fe8c subss xmm0, xmm2 ; +0x84, 0x18000fe94 movss xmm3, dword ptr [rdi+194h] ; +0x88, 0x18000fe98 movss xmm5, dword ptr [rdi+180h] ; +0x90, 0x18000fea0 subss xmm0, xmm1 ; +0x98, 0x18000fea8 movss [rsp+58h+var_38], xmm0 ; +0x9c, 0x18000feac jz short loc_18000FEC1 ; +0xa2, 0x18000feb2 subss xmm3, xmm5 ; +0xa4, 0x18000feb4 movaps xmm2, xmm4 ; +0xa8, 0x18000feb8 subss xmm3, xmm4 ; +0xab, 0x18000febb jmp short loc_18000FECC ; +0xaf, 0x18000febf subss xmm3, xmm4 ; +0xb1, 0x18000fec1 movaps xmm1, xmm4 ; +0xb5, 0x18000fec5 subss xmm3, xmm5 ; +0xb8, 0x18000fec8 call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xbc, 0x18000fecc mov rdx, rax ; +0xc2, 0x18000fed2 lea rcx, [rsp+58h+var_28] ; +0xc5, 0x18000fed5 call cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0xca, 0x18000feda mov rbx, [rdi] ; +0xd0, 0x18000fee0 lea rdx, [rsp+58h+var_28] ; +0xd3, 0x18000fee3 lea rcx, [rsp+58h+var_18] ; +0xd8, 0x18000fee8 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0xdd, 0x18000feed mov rdx, rax ; +0xe3, 0x18000fef3 mov rcx, rdi ; +0xe6, 0x18000fef6 call qword ptr [rbx+380h] ; +0xe9, 0x18000fef9 mov rbx, [rsp+58h+arg_0] ; +0xef, 0x18000feff add rsp, 50h ; +0xf4, 0x18000ff04 pop rdi ; +0xf8, 0x18000ff08 retn ; +0xf9, 0x18000ff09