; ; cocos2d::extension::CCScale9Sprite::updatePositions from 0x18000e970 to 0x18000eeb1 (1345 bytes) ; ; 5 xrefs: ; > cocos2d::extension::CCScale9Sprite::visit @ 0x18000fc82 ; > @ 0x1800307ac ; > @ 0x1800307bc ; > @ 0x180032408 ; > @ 0x18004bda4 ; ; 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 rax, rsp ; +0x0, 0x18000e970 push rsi ; +0x3, 0x18000e973 sub rsp, 90h ; +0x4, 0x18000e974 cmp qword ptr [rcx+1C0h], 0 ; +0xb, 0x18000e97b mov rsi, rcx ; +0x13, 0x18000e983 jz loc_18000EEA8 ; +0x16, 0x18000e986 cmp qword ptr [rcx+1D0h], 0 ; +0x1c, 0x18000e98c jz loc_18000EEA8 ; +0x24, 0x18000e994 cmp qword ptr [rcx+200h], 0 ; +0x2a, 0x18000e99a jz loc_18000EEA8 ; +0x32, 0x18000e9a2 cmp qword ptr [rcx+1F0h], 0 ; +0x38, 0x18000e9a8 jz loc_18000EEA8 ; +0x40, 0x18000e9b0 cmp qword ptr [rcx+1E0h], 0 ; +0x46, 0x18000e9b6 jz loc_18000EEA8 ; +0x4e, 0x18000e9be mov [rax+18h], rbx ; +0x54, 0x18000e9c4 lea rdx, [rcx+6Ch] ; +0x58, 0x18000e9c8 mov [rax+20h], rdi ; +0x5c, 0x18000e9cc lea rcx, [rax+8] ; +0x60, 0x18000e9d0 movaps xmmword ptr [rax-18h], xmm6 ; +0x64, 0x18000e9d4 movaps xmmword ptr [rax-28h], xmm7 ; +0x68, 0x18000e9d8 movaps xmmword ptr [rax-38h], xmm8 ; +0x6c, 0x18000e9dc movaps xmmword ptr [rax-48h], xmm9 ; +0x71, 0x18000e9e1 movaps xmmword ptr [rax-58h], xmm10 ; +0x76, 0x18000e9e6 movaps xmmword ptr [rax-68h], xmm11 ; +0x7b, 0x18000e9eb movaps xmmword ptr [rax-78h], xmm12 ; +0x80, 0x18000e9f0 call cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0x85, 0x18000e9f5 mov rcx, [rsi+1D0h] ; +0x8b, 0x18000e9fb mov rax, [rcx] ; +0x92, 0x18000ea02 call qword ptr [rax+140h] ; +0x95, 0x18000ea05 mov rcx, [rsi+1C0h] ; +0x9b, 0x18000ea0b mov rbx, rax ; +0xa2, 0x18000ea12 mov rdx, [rcx] ; +0xa5, 0x18000ea15 call qword ptr [rdx+140h] ; +0xa8, 0x18000ea18 movss xmm12, [rsp+98h+arg_0] ; +0xae, 0x18000ea1e mov rcx, [rsi+1C0h] ; +0xb8, 0x18000ea28 subss xmm12, dword ptr [rax] ; +0xbf, 0x18000ea2f mov rax, [rcx] ; +0xc4, 0x18000ea34 subss xmm12, dword ptr [rbx] ; +0xc7, 0x18000ea37 mov rbx, [rsi+200h] ; +0xcc, 0x18000ea3c call qword ptr [rax+140h] ; +0xd3, 0x18000ea43 movss xmm11, [rsp+98h+arg_4] ; +0xd9, 0x18000ea49 mov rcx, rbx ; +0xe3, 0x18000ea53 subss xmm11, dword ptr [rax+4] ; +0xe6, 0x18000ea56 mov rax, [rbx] ; +0xec, 0x18000ea5c call qword ptr [rax+140h] ; +0xef, 0x18000ea5f mov rcx, [rsi+1E0h] ; +0xf5, 0x18000ea65 subss xmm11, dword ptr [rax+4] ; +0xfc, 0x18000ea6c mov rax, [rcx] ; +0x102, 0x18000ea72 call qword ptr [rax+140h] ; +0x105, 0x18000ea75 mov rcx, [rsi+1E0h] ; +0x10b, 0x18000ea7b divss xmm12, dword ptr [rax] ; +0x112, 0x18000ea82 mov rax, [rcx] ; +0x117, 0x18000ea87 call qword ptr [rax+140h] ; +0x11a, 0x18000ea8a mov rcx, [rsi+1E0h] ; +0x120, 0x18000ea90 movaps xmm1, xmm12 ; +0x127, 0x18000ea97 divss xmm11, dword ptr [rax+4] ; +0x12b, 0x18000ea9b mov rax, [rcx] ; +0x131, 0x18000eaa1 call qword ptr [rax+78h] ; +0x134, 0x18000eaa4 mov rcx, [rsi+1E0h] ; +0x137, 0x18000eaa7 movaps xmm1, xmm11 ; +0x13e, 0x18000eaae mov rax, [rcx] ; +0x142, 0x18000eab2 call qword ptr [rax+88h] ; +0x145, 0x18000eab5 mov rcx, [rsi+1E0h] ; +0x14b, 0x18000eabb mov rax, [rcx] ; +0x152, 0x18000eac2 call qword ptr [rax+140h] ; +0x155, 0x18000eac5 mov rcx, [rsi+1E0h] ; +0x15b, 0x18000eacb movaps xmm7, xmm12 ; +0x162, 0x18000ead2 mulss xmm7, dword ptr [rax] ; +0x166, 0x18000ead6 mov rax, [rcx] ; +0x16a, 0x18000eada call qword ptr [rax+140h] ; +0x16d, 0x18000eadd mov rcx, [rsi+1F0h] ; +0x173, 0x18000eae3 movaps xmm8, xmm11 ; +0x17a, 0x18000eaea mulss xmm8, dword ptr [rax+4] ; +0x17e, 0x18000eaee mov rax, [rcx] ; +0x184, 0x18000eaf4 call qword ptr [rax+140h] ; +0x187, 0x18000eaf7 mov rcx, [rsi+1F0h] ; +0x18d, 0x18000eafd movss xmm10, dword ptr [rax] ; +0x194, 0x18000eb04 mov rax, [rcx] ; +0x199, 0x18000eb09 call qword ptr [rax+140h] ; +0x19c, 0x18000eb0c mov rdi, [rsi+1F0h] ; +0x1a2, 0x18000eb12 lea rcx, [rsp+98h+arg_8] ; +0x1a9, 0x18000eb19 xorps xmm2, xmm2 ; +0x1b1, 0x18000eb21 xorps xmm1, xmm1 ; +0x1b4, 0x18000eb24 movss xmm9, dword ptr [rax+4] ; +0x1b7, 0x18000eb27 mov rbx, [rdi] ; +0x1bd, 0x18000eb2d call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1c0, 0x18000eb30 mov rdx, rax ; +0x1c6, 0x18000eb36 mov rcx, rdi ; +0x1c9, 0x18000eb39 call qword ptr [rbx+120h] ; +0x1cc, 0x18000eb3c mov rdi, [rsi+200h] ; +0x1d2, 0x18000eb42 lea rcx, [rsp+98h+arg_8] ; +0x1d9, 0x18000eb49 xorps xmm2, xmm2 ; +0x1e1, 0x18000eb51 xorps xmm1, xmm1 ; +0x1e4, 0x18000eb54 mov rbx, [rdi] ; +0x1e7, 0x18000eb57 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1ea, 0x18000eb5a mov rdx, rax ; +0x1f0, 0x18000eb60 mov rcx, rdi ; +0x1f3, 0x18000eb63 call qword ptr [rbx+120h] ; +0x1f6, 0x18000eb66 mov rdi, [rsi+1C0h] ; +0x1fc, 0x18000eb6c lea rcx, [rsp+98h+arg_8] ; +0x203, 0x18000eb73 xorps xmm2, xmm2 ; +0x20b, 0x18000eb7b xorps xmm1, xmm1 ; +0x20e, 0x18000eb7e mov rbx, [rdi] ; +0x211, 0x18000eb81 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x214, 0x18000eb84 mov rdx, rax ; +0x21a, 0x18000eb8a mov rcx, rdi ; +0x21d, 0x18000eb8d call qword ptr [rbx+120h] ; +0x220, 0x18000eb90 mov rdi, [rsi+1D0h] ; +0x226, 0x18000eb96 lea rcx, [rsp+98h+arg_8] ; +0x22d, 0x18000eb9d xorps xmm2, xmm2 ; +0x235, 0x18000eba5 xorps xmm1, xmm1 ; +0x238, 0x18000eba8 mov rbx, [rdi] ; +0x23b, 0x18000ebab call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x23e, 0x18000ebae mov rdx, rax ; +0x244, 0x18000ebb4 mov rcx, rdi ; +0x247, 0x18000ebb7 call qword ptr [rbx+120h] ; +0x24a, 0x18000ebba mov rdi, [rsi+1D8h] ; +0x250, 0x18000ebc0 lea rcx, [rsp+98h+arg_8] ; +0x257, 0x18000ebc7 xorps xmm2, xmm2 ; +0x25f, 0x18000ebcf xorps xmm1, xmm1 ; +0x262, 0x18000ebd2 mov rbx, [rdi] ; +0x265, 0x18000ebd5 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x268, 0x18000ebd8 mov rdx, rax ; +0x26e, 0x18000ebde mov rcx, rdi ; +0x271, 0x18000ebe1 call qword ptr [rbx+120h] ; +0x274, 0x18000ebe4 mov rdi, [rsi+1E8h] ; +0x27a, 0x18000ebea lea rcx, [rsp+98h+arg_8] ; +0x281, 0x18000ebf1 xorps xmm2, xmm2 ; +0x289, 0x18000ebf9 xorps xmm1, xmm1 ; +0x28c, 0x18000ebfc mov rbx, [rdi] ; +0x28f, 0x18000ebff call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x292, 0x18000ec02 mov rdx, rax ; +0x298, 0x18000ec08 mov rcx, rdi ; +0x29b, 0x18000ec0b call qword ptr [rbx+120h] ; +0x29e, 0x18000ec0e mov rdi, [rsi+1C8h] ; +0x2a4, 0x18000ec14 lea rcx, [rsp+98h+arg_8] ; +0x2ab, 0x18000ec1b xorps xmm2, xmm2 ; +0x2b3, 0x18000ec23 xorps xmm1, xmm1 ; +0x2b6, 0x18000ec26 mov rbx, [rdi] ; +0x2b9, 0x18000ec29 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2bc, 0x18000ec2c mov rdx, rax ; +0x2c2, 0x18000ec32 mov rcx, rdi ; +0x2c5, 0x18000ec35 call qword ptr [rbx+120h] ; +0x2c8, 0x18000ec38 mov rdi, [rsi+1F8h] ; +0x2ce, 0x18000ec3e lea rcx, [rsp+98h+arg_8] ; +0x2d5, 0x18000ec45 xorps xmm2, xmm2 ; +0x2dd, 0x18000ec4d xorps xmm1, xmm1 ; +0x2e0, 0x18000ec50 mov rbx, [rdi] ; +0x2e3, 0x18000ec53 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2e6, 0x18000ec56 mov rdx, rax ; +0x2ec, 0x18000ec5c mov rcx, rdi ; +0x2ef, 0x18000ec5f call qword ptr [rbx+120h] ; +0x2f2, 0x18000ec62 mov rdi, [rsi+1E0h] ; +0x2f8, 0x18000ec68 lea rcx, [rsp+98h+arg_8] ; +0x2ff, 0x18000ec6f xorps xmm2, xmm2 ; +0x307, 0x18000ec77 xorps xmm1, xmm1 ; +0x30a, 0x18000ec7a mov rbx, [rdi] ; +0x30d, 0x18000ec7d call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x310, 0x18000ec80 mov rdx, rax ; +0x316, 0x18000ec86 mov rcx, rdi ; +0x319, 0x18000ec89 call qword ptr [rbx+120h] ; +0x31c, 0x18000ec8c mov rdi, [rsi+1F0h] ; +0x322, 0x18000ec92 lea rcx, [rsp+98h+arg_8] ; +0x329, 0x18000ec99 xorps xmm2, xmm2 ; +0x331, 0x18000eca1 xorps xmm1, xmm1 ; +0x334, 0x18000eca4 mov rbx, [rdi] ; +0x337, 0x18000eca7 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x33a, 0x18000ecaa mov rdx, rax ; +0x340, 0x18000ecb0 mov rcx, rdi ; +0x343, 0x18000ecb3 call qword ptr [rbx+0B8h] ; +0x346, 0x18000ecb6 mov rdi, [rsi+200h] ; +0x34c, 0x18000ecbc movaps xmm6, xmm10 ; +0x353, 0x18000ecc3 addss xmm6, xmm7 ; +0x357, 0x18000ecc7 xorps xmm2, xmm2 ; +0x35b, 0x18000eccb mov rbx, [rdi] ; +0x35e, 0x18000ecce movaps xmm1, xmm6 ; +0x361, 0x18000ecd1 lea rcx, [rsp+98h+arg_8] ; +0x364, 0x18000ecd4 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x36c, 0x18000ecdc mov rdx, rax ; +0x372, 0x18000ece2 mov rcx, rdi ; +0x375, 0x18000ece5 call qword ptr [rbx+0B8h] ; +0x378, 0x18000ece8 mov rdi, [rsi+1C0h] ; +0x37e, 0x18000ecee lea rcx, [rsp+98h+arg_8] ; +0x385, 0x18000ecf5 movaps xmm7, xmm9 ; +0x38d, 0x18000ecfd xorps xmm1, xmm1 ; +0x391, 0x18000ed01 addss xmm7, xmm8 ; +0x394, 0x18000ed04 mov rbx, [rdi] ; +0x399, 0x18000ed09 movaps xmm2, xmm7 ; +0x39c, 0x18000ed0c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x39f, 0x18000ed0f mov rdx, rax ; +0x3a5, 0x18000ed15 mov rcx, rdi ; +0x3a8, 0x18000ed18 call qword ptr [rbx+0B8h] ; +0x3ab, 0x18000ed1b mov rdi, [rsi+1D0h] ; +0x3b1, 0x18000ed21 lea rcx, [rsp+98h+arg_8] ; +0x3b8, 0x18000ed28 movaps xmm2, xmm7 ; +0x3c0, 0x18000ed30 movaps xmm1, xmm6 ; +0x3c3, 0x18000ed33 mov rbx, [rdi] ; +0x3c6, 0x18000ed36 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3c9, 0x18000ed39 mov rdx, rax ; +0x3cf, 0x18000ed3f mov rcx, rdi ; +0x3d2, 0x18000ed42 call qword ptr [rbx+0B8h] ; +0x3d5, 0x18000ed45 mov rdi, [rsi+1D8h] ; +0x3db, 0x18000ed4b lea rcx, [rsp+98h+arg_8] ; +0x3e2, 0x18000ed52 movaps xmm2, xmm9 ; +0x3ea, 0x18000ed5a xorps xmm1, xmm1 ; +0x3ee, 0x18000ed5e mov rbx, [rdi] ; +0x3f1, 0x18000ed61 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3f4, 0x18000ed64 mov rdx, rax ; +0x3fa, 0x18000ed6a mov rcx, rdi ; +0x3fd, 0x18000ed6d call qword ptr [rbx+0B8h] ; +0x400, 0x18000ed70 mov rcx, [rsi+1D8h] ; +0x406, 0x18000ed76 movaps xmm1, xmm11 ; +0x40d, 0x18000ed7d mov rax, [rcx] ; +0x411, 0x18000ed81 call qword ptr [rax+88h] ; +0x414, 0x18000ed84 mov rdi, [rsi+1E8h] ; +0x41a, 0x18000ed8a lea rcx, [rsp+98h+arg_8] ; +0x421, 0x18000ed91 movaps xmm2, xmm9 ; +0x429, 0x18000ed99 movaps xmm1, xmm6 ; +0x42d, 0x18000ed9d mov rbx, [rdi] ; +0x430, 0x18000eda0 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x433, 0x18000eda3 mov rdx, rax ; +0x439, 0x18000eda9 mov rcx, rdi ; +0x43c, 0x18000edac call qword ptr [rbx+0B8h] ; +0x43f, 0x18000edaf mov rcx, [rsi+1E8h] ; +0x445, 0x18000edb5 movaps xmm1, xmm11 ; +0x44c, 0x18000edbc mov rax, [rcx] ; +0x450, 0x18000edc0 call qword ptr [rax+88h] ; +0x453, 0x18000edc3 mov rdi, [rsi+1F8h] ; +0x459, 0x18000edc9 lea rcx, [rsp+98h+arg_8] ; +0x460, 0x18000edd0 xorps xmm2, xmm2 ; +0x468, 0x18000edd8 movaps xmm1, xmm10 ; +0x46b, 0x18000eddb mov rbx, [rdi] ; +0x46f, 0x18000eddf call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x472, 0x18000ede2 mov rdx, rax ; +0x478, 0x18000ede8 mov rcx, rdi ; +0x47b, 0x18000edeb call qword ptr [rbx+0B8h] ; +0x47e, 0x18000edee mov rcx, [rsi+1F8h] ; +0x484, 0x18000edf4 movaps xmm1, xmm12 ; +0x48b, 0x18000edfb mov rax, [rcx] ; +0x48f, 0x18000edff call qword ptr [rax+78h] ; +0x492, 0x18000ee02 mov rdi, [rsi+1C8h] ; +0x495, 0x18000ee05 lea rcx, [rsp+98h+arg_8] ; +0x49c, 0x18000ee0c movaps xmm2, xmm7 ; +0x4a4, 0x18000ee14 movaps xmm1, xmm10 ; +0x4a7, 0x18000ee17 mov rbx, [rdi] ; +0x4ab, 0x18000ee1b call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4ae, 0x18000ee1e mov rdx, rax ; +0x4b4, 0x18000ee24 mov rcx, rdi ; +0x4b7, 0x18000ee27 call qword ptr [rbx+0B8h] ; +0x4ba, 0x18000ee2a mov rcx, [rsi+1C8h] ; +0x4c0, 0x18000ee30 movaps xmm1, xmm12 ; +0x4c7, 0x18000ee37 mov rax, [rcx] ; +0x4cb, 0x18000ee3b call qword ptr [rax+78h] ; +0x4ce, 0x18000ee3e mov rdi, [rsi+1E0h] ; +0x4d1, 0x18000ee41 movaps xmm2, xmm9 ; +0x4d8, 0x18000ee48 movaps xmm1, xmm10 ; +0x4dc, 0x18000ee4c mov rbx, [rdi] ; +0x4e0, 0x18000ee50 lea rcx, [rsp+98h+arg_8] ; +0x4e3, 0x18000ee53 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4eb, 0x18000ee5b mov rdx, rax ; +0x4f1, 0x18000ee61 mov rcx, rdi ; +0x4f4, 0x18000ee64 call qword ptr [rbx+0B8h] ; +0x4f7, 0x18000ee67 movaps xmm12, [rsp+98h+var_78] ; +0x4fd, 0x18000ee6d movaps xmm11, [rsp+98h+var_68] ; +0x503, 0x18000ee73 movaps xmm10, [rsp+98h+var_58] ; +0x509, 0x18000ee79 movaps xmm9, [rsp+98h+var_48] ; +0x50f, 0x18000ee7f movaps xmm8, [rsp+98h+var_38] ; +0x515, 0x18000ee85 movaps xmm7, [rsp+98h+var_28] ; +0x51b, 0x18000ee8b movaps xmm6, [rsp+98h+var_18] ; +0x520, 0x18000ee90 mov rdi, [rsp+98h+arg_18] ; +0x528, 0x18000ee98 mov rbx, [rsp+98h+arg_10] ; +0x530, 0x18000eea0 add rsp, 90h ; +0x538, 0x18000eea8 pop rsi ; +0x53f, 0x18000eeaf retn ; +0x540, 0x18000eeb0