; ; cocos2d::extension::CCScale9Sprite::updateCapInset from 0x18000f910 to 0x18000fa1a (266 bytes) ; ; 6 xrefs: ; > cocos2d::extension::CCScale9Sprite::setInsetLeft @ 0x18000fc38 ; > cocos2d::extension::CCScale9Sprite::setInsetTop @ 0x18000fc48 ; > cocos2d::extension::CCScale9Sprite::setInsetRight @ 0x18000fc58 ; > cocos2d::extension::CCScale9Sprite::setInsetBottom @ 0x18000fc68 ; > @ 0x180032408 ; > @ 0x18004bee8 ; ; 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:39 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18000f910 push rdi ; +0x5, 0x18000f915 sub rsp, 50h ; +0x6, 0x18000f916 mov rdi, rcx ; +0xa, 0x18000f91a lea rcx, [rsp+58h+var_28] ; +0xd, 0x18000f91d call cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void) ; +0x12, 0x18000f922 movss xmm4, dword ptr [rdi+178h] ; +0x18, 0x18000f928 xorps xmm1, xmm1 ; +0x20, 0x18000f930 ucomiss xmm4, xmm1 ; +0x23, 0x18000f933 jp short loc_18000F970 ; +0x26, 0x18000f936 jnz short loc_18000F970 ; +0x28, 0x18000f938 movss xmm0, dword ptr [rdi+17Ch] ; +0x2a, 0x18000f93a ucomiss xmm0, xmm1 ; +0x32, 0x18000f942 jp short loc_18000F970 ; +0x35, 0x18000f945 jnz short loc_18000F970 ; +0x37, 0x18000f947 movss xmm0, dword ptr [rdi+180h] ; +0x39, 0x18000f949 ucomiss xmm0, xmm1 ; +0x41, 0x18000f951 jp short loc_18000F970 ; +0x44, 0x18000f954 jnz short loc_18000F970 ; +0x46, 0x18000f956 movss xmm0, dword ptr [rdi+184h] ; +0x48, 0x18000f958 ucomiss xmm0, xmm1 ; +0x50, 0x18000f960 jp short loc_18000F970 ; +0x53, 0x18000f963 jnz short loc_18000F970 ; +0x55, 0x18000f965 lea rdx, unk_18004A600 ; +0x57, 0x18000f967 jmp short loc_18000F9E5 ; +0x5e, 0x18000f96e cmp byte ptr [rdi+19Ch], 0 ; +0x60, 0x18000f970 lea rcx, [rsp+58h+var_18] ; +0x67, 0x18000f977 movss xmm0, dword ptr [rdi+198h] ; +0x6c, 0x18000f97c movss xmm3, dword ptr [rdi+194h] ; +0x74, 0x18000f984 jz short loc_18000F9B3 ; +0x7c, 0x18000f98c subss xmm0, dword ptr [rdi+17Ch] ; +0x7e, 0x18000f98e subss xmm3, dword ptr [rdi+180h] ; +0x86, 0x18000f996 movss xmm1, dword ptr [rdi+184h] ; +0x8e, 0x18000f99e movaps xmm2, xmm4 ; +0x96, 0x18000f9a6 subss xmm0, xmm1 ; +0x99, 0x18000f9a9 subss xmm3, xmm4 ; +0x9d, 0x18000f9ad jmp short loc_18000F9D6 ; +0xa1, 0x18000f9b1 movss xmm2, dword ptr [rdi+17Ch] ; +0xa3, 0x18000f9b3 subss xmm3, xmm4 ; +0xab, 0x18000f9bb subss xmm0, xmm2 ; +0xaf, 0x18000f9bf movaps xmm1, xmm4 ; +0xb3, 0x18000f9c3 subss xmm3, dword ptr [rdi+180h] ; +0xb6, 0x18000f9c6 subss xmm0, dword ptr [rdi+184h] ; +0xbe, 0x18000f9ce movss [rsp+58h+var_38], xmm0 ; +0xc6, 0x18000f9d6 call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xcc, 0x18000f9dc mov rdx, rax ; +0xd2, 0x18000f9e2 lea rcx, [rsp+58h+var_28] ; +0xd5, 0x18000f9e5 call cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0xda, 0x18000f9ea mov rbx, [rdi] ; +0xe0, 0x18000f9f0 lea rdx, [rsp+58h+var_28] ; +0xe3, 0x18000f9f3 lea rcx, [rsp+58h+var_18] ; +0xe8, 0x18000f9f8 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0xed, 0x18000f9fd mov rdx, rax ; +0xf3, 0x18000fa03 mov rcx, rdi ; +0xf6, 0x18000fa06 call qword ptr [rbx+390h] ; +0xf9, 0x18000fa09 mov rbx, [rsp+58h+arg_0] ; +0xff, 0x18000fa0f add rsp, 50h ; +0x104, 0x18000fa14 pop rdi ; +0x108, 0x18000fa18 retn ; +0x109, 0x18000fa19