; ; cocos2d::CCSpriteBatchNode::swap from 0x18008f190 to 0x18008f299 (265 bytes) ; ; 7 xrefs: ; > cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas @ 0x18008ee9e ; > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0x18008f36a ; > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0x18008f3c9 ; > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0x18008f418 ; > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0x18008f447 ; > @ 0x1801438a8 ; > @ 0x1801b6138 ; ; 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, 0x18008f190 mov [rsp+arg_8], rsi ; +0x5, 0x18008f195 push rdi ; +0xa, 0x18008f19a sub rsp, 40h ; +0xb, 0x18008f19b mov rax, [rcx+158h] ; +0xf, 0x18008f19f mov rcx, [rcx+148h] ; +0x16, 0x18008f1a6 movaps [rsp+48h+var_18], xmm6 ; +0x1d, 0x18008f1ad movaps [rsp+48h+var_28], xmm7 ; +0x22, 0x18008f1b2 mov r9, [rax+38h] ; +0x27, 0x18008f1b7 mov rax, [rcx] ; +0x2b, 0x18008f1bb movsxd rsi, r8d ; +0x2e, 0x18008f1be movsxd rdi, edx ; +0x31, 0x18008f1c1 mov rbx, [r9+10h] ; +0x34, 0x18008f1c4 call qword ptr [rax+68h] ; +0x38, 0x18008f1c8 mov r8, [rbx+rdi*8] ; +0x3b, 0x18008f1cb lea r10, [rbx+rdi*8] ; +0x3f, 0x18008f1cf mov r9, rax ; +0x43, 0x18008f1d3 lea rdx, [rdi+rdi*2] ; +0x46, 0x18008f1d6 shl rdx, 5 ; +0x4a, 0x18008f1da add rdx, rax ; +0x4e, 0x18008f1de mov rax, [rbx+rsi*8] ; +0x51, 0x18008f1e1 movups xmm6, xmmword ptr [rdx+40h] ; +0x55, 0x18008f1e5 movups xmm7, xmmword ptr [rdx+50h] ; +0x59, 0x18008f1e9 movups xmm2, xmmword ptr [rdx] ; +0x5d, 0x18008f1ed movups xmm3, xmmword ptr [rdx+10h] ; +0x60, 0x18008f1f0 movups xmm4, xmmword ptr [rdx+20h] ; +0x64, 0x18008f1f4 movups xmm5, xmmword ptr [rdx+30h] ; +0x68, 0x18008f1f8 mov [rax+168h], edi ; +0x6c, 0x18008f1fc mov rax, [rbx+rsi*8] ; +0x72, 0x18008f202 mov [r10], rax ; +0x76, 0x18008f206 lea rax, [rsi+rsi*2] ; +0x79, 0x18008f209 shl rax, 5 ; +0x7d, 0x18008f20d movups xmm0, xmmword ptr [rax+r9] ; +0x81, 0x18008f211 movups xmmword ptr [rdx], xmm0 ; +0x86, 0x18008f216 movups xmm1, xmmword ptr [rax+r9+10h] ; +0x89, 0x18008f219 movups xmmword ptr [rdx+10h], xmm1 ; +0x8f, 0x18008f21f movups xmm0, xmmword ptr [rax+r9+20h] ; +0x93, 0x18008f223 movups xmmword ptr [rdx+20h], xmm0 ; +0x99, 0x18008f229 movups xmm1, xmmword ptr [rax+r9+30h] ; +0x9d, 0x18008f22d movups xmmword ptr [rdx+30h], xmm1 ; +0xa3, 0x18008f233 movups xmm0, xmmword ptr [rax+r9+40h] ; +0xa7, 0x18008f237 movups xmmword ptr [rdx+40h], xmm0 ; +0xad, 0x18008f23d movups xmm1, xmmword ptr [rax+r9+50h] ; +0xb1, 0x18008f241 movups xmmword ptr [rdx+50h], xmm1 ; +0xb7, 0x18008f247 mov [rbx+rsi*8], r8 ; +0xbb, 0x18008f24b movups xmmword ptr [rax+r9], xmm2 ; +0xbf, 0x18008f24f movups xmmword ptr [rax+r9+10h], xmm3 ; +0xc4, 0x18008f254 movups xmmword ptr [rax+r9+20h], xmm4 ; +0xca, 0x18008f25a movups xmmword ptr [rax+r9+30h], xmm5 ; +0xd0, 0x18008f260 movups xmmword ptr [rax+r9+40h], xmm6 ; +0xd6, 0x18008f266 movaps xmm6, [rsp+48h+var_18] ; +0xdc, 0x18008f26c movups xmmword ptr [rax+r9+50h], xmm7 ; +0xe1, 0x18008f271 mov rax, [r10] ; +0xe7, 0x18008f277 movaps xmm7, [rsp+48h+var_28] ; +0xea, 0x18008f27a mov [rax+28h], edi ; +0xef, 0x18008f27f mov rax, [rbx+rsi*8] ; +0xf2, 0x18008f282 mov rbx, [rsp+48h+arg_0] ; +0xf6, 0x18008f286 mov [rax+28h], esi ; +0xfb, 0x18008f28b mov rsi, [rsp+48h+arg_8] ; +0xfe, 0x18008f28e add rsp, 40h ; +0x103, 0x18008f293 pop rdi ; +0x107, 0x18008f297 retn ; +0x108, 0x18008f298