; ; cocos2d::CCComponentContainer::remove from 0x18009a400 to 0x18009a746 (838 bytes) ; ; 6 xrefs: ; > @ 0x18010ac30 ; > @ 0x1801479ac ; > @ 0x1801479c4 ; > @ 0x1801479d4 ; > @ 0x18014cf68 ; > @ 0x1801c0bb8 ; ; 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 11:22:11 +0000 ; push rdi ; +0x0, 0x18009a400 sub rsp, 30h ; +0x2, 0x18009a402 mov rax, [rcx+8] ; +0x6, 0x18009a406 mov r9, rdx ; +0xa, 0x18009a40a mov rdi, rcx ; +0xd, 0x18009a40d test rax, rax ; +0x10, 0x18009a410 jz loc_18009A740 ; +0x13, 0x18009a413 mov r11, [rax+38h] ; +0x19, 0x18009a419 xor r10d, r10d ; +0x1d, 0x18009a41d mov [rsp+38h+arg_0], rbx ; +0x20, 0x18009a420 xor ebx, ebx ; +0x25, 0x18009a425 mov [rsp+38h+arg_8], rsi ; +0x27, 0x18009a427 test r11, r11 ; +0x2c, 0x18009a42c jz loc_18009A55D ; +0x2f, 0x18009a42f movzx eax, byte ptr [rdx+6] ; +0x35, 0x18009a435 movzx r8d, byte ptr [rdx+4] ; +0x39, 0x18009a439 movzx ecx, byte ptr [rdx+7] ; +0x3e, 0x18009a43e add r8d, 9E3779B9h ; +0x42, 0x18009a442 shl ecx, 8 ; +0x49, 0x18009a449 add ecx, eax ; +0x4c, 0x18009a44c movzx eax, byte ptr [rdx+5] ; +0x4e, 0x18009a44e shl ecx, 8 ; +0x52, 0x18009a452 add ecx, eax ; +0x55, 0x18009a455 movzx eax, byte ptr [rdx+2] ; +0x57, 0x18009a457 shl ecx, 8 ; +0x5b, 0x18009a45b add r8d, ecx ; +0x5e, 0x18009a45e movzx ecx, byte ptr [rdx+3] ; +0x61, 0x18009a461 shl ecx, 8 ; +0x65, 0x18009a465 add ecx, eax ; +0x68, 0x18009a468 movzx eax, byte ptr [rdx+1] ; +0x6a, 0x18009a46a movzx edx, byte ptr [rdx] ; +0x6e, 0x18009a46e shl ecx, 8 ; +0x71, 0x18009a471 add edx, 9F49BAC2h ; +0x74, 0x18009a474 add ecx, eax ; +0x7a, 0x18009a47a shl ecx, 8 ; +0x7c, 0x18009a47c sub ecx, r8d ; +0x7f, 0x18009a47f add edx, ecx ; +0x82, 0x18009a482 mov ecx, 0FEEDBEF7h ; +0x84, 0x18009a484 xor edx, 7F76Dh ; +0x89, 0x18009a489 sub r8d, edx ; +0x8f, 0x18009a48f mov eax, edx ; +0x92, 0x18009a492 shl eax, 8 ; +0x94, 0x18009a494 add r8d, 1124109h ; +0x97, 0x18009a497 xor r8d, eax ; +0x9e, 0x18009a49e sub ecx, r8d ; +0xa1, 0x18009a4a1 mov eax, r8d ; +0xa4, 0x18009a4a4 sub ecx, edx ; +0xa7, 0x18009a4a7 shr eax, 0Dh ; +0xa9, 0x18009a4a9 xor ecx, eax ; +0xac, 0x18009a4ac sub edx, ecx ; +0xae, 0x18009a4ae mov eax, ecx ; +0xb0, 0x18009a4b0 sub edx, r8d ; +0xb2, 0x18009a4b2 shr eax, 0Ch ; +0xb5, 0x18009a4b5 xor edx, eax ; +0xb8, 0x18009a4b8 sub r8d, ecx ; +0xba, 0x18009a4ba sub r8d, edx ; +0xbd, 0x18009a4bd mov eax, edx ; +0xc0, 0x18009a4c0 shl eax, 10h ; +0xc2, 0x18009a4c2 xor r8d, eax ; +0xc5, 0x18009a4c5 sub ecx, r8d ; +0xc8, 0x18009a4c8 mov eax, r8d ; +0xcb, 0x18009a4cb sub ecx, edx ; +0xce, 0x18009a4ce shr eax, 5 ; +0xd0, 0x18009a4d0 xor ecx, eax ; +0xd3, 0x18009a4d3 sub edx, ecx ; +0xd5, 0x18009a4d5 mov eax, ecx ; +0xd7, 0x18009a4d7 sub edx, r8d ; +0xd9, 0x18009a4d9 shr eax, 3 ; +0xdc, 0x18009a4dc xor edx, eax ; +0xdf, 0x18009a4df sub r8d, edx ; +0xe1, 0x18009a4e1 mov eax, edx ; +0xe4, 0x18009a4e4 sub r8d, ecx ; +0xe6, 0x18009a4e6 shl eax, 0Ah ; +0xe9, 0x18009a4e9 xor eax, r8d ; +0xec, 0x18009a4ec mov r8, [r11+110h] ; +0xef, 0x18009a4ef sub ecx, eax ; +0xf6, 0x18009a4f6 shr rax, 0Fh ; +0xf8, 0x18009a4f8 sub ecx, edx ; +0xfc, 0x18009a4fc mov edx, ecx ; +0xfe, 0x18009a4fe mov ecx, [r8+8] ; +0x100, 0x18009a500 xor rdx, rax ; +0x104, 0x18009a504 mov rbx, [r8] ; +0x107, 0x18009a507 dec ecx ; +0x10a, 0x18009a50a and rdx, rcx ; +0x10c, 0x18009a50c add rdx, rdx ; +0x10f, 0x18009a50f mov rbx, [rbx+rdx*8] ; +0x112, 0x18009a512 test rbx, rbx ; +0x116, 0x18009a516 jz short loc_18009A55B ; +0x119, 0x18009a519 mov rcx, [r8+20h] ; +0x11b, 0x18009a51b sub rbx, rcx ; +0x11f, 0x18009a51f jz short loc_18009A55D ; +0x122, 0x18009a522 cmp dword ptr [rbx+140h], 8 ; +0x124, 0x18009a524 jnz short loc_18009A53C ; +0x12b, 0x18009a52b mov rax, [rbx+138h] ; +0x12d, 0x18009a52d mov rax, [rax] ; +0x134, 0x18009a534 cmp rax, [r9] ; +0x137, 0x18009a537 jz short loc_18009A552 ; +0x13a, 0x18009a53a mov rax, [rbx+130h] ; +0x13c, 0x18009a53c mov rbx, rax ; +0x143, 0x18009a543 test rax, rax ; +0x146, 0x18009a546 jz short loc_18009A55B ; +0x149, 0x18009a549 sub rbx, rcx ; +0x14b, 0x18009a54b jnz short loc_18009A524 ; +0x14e, 0x18009a54e jmp short loc_18009A55D ; +0x150, 0x18009a550 mov r10, [rbx+108h] ; +0x152, 0x18009a552 jmp short loc_18009A55D ; +0x159, 0x18009a559 xor ebx, ebx ; +0x15b, 0x18009a55b lea r9, ??_R0?AVCCComponent@cocos2d@@@8; cocos2d::CCComponent `RTTI Type Descriptor' ; +0x15d, 0x18009a55d mov [rsp+38h+var_18], 0 ; +0x164, 0x18009a564 lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x16c, 0x18009a56c xor edx, edx ; +0x173, 0x18009a573 mov rcx, r10 ; +0x175, 0x18009a575 call __RTDynamicCast ; +0x178, 0x18009a578 mov rsi, rax ; +0x17d, 0x18009a57d test rax, rax ; +0x180, 0x18009a580 jz loc_18009A730 ; +0x183, 0x18009a583 mov rax, [rax] ; +0x189, 0x18009a589 mov rcx, rsi ; +0x18c, 0x18009a58c call qword ptr [rax+58h] ; +0x18f, 0x18009a58f xor edx, edx; struct cocos2d::CCNode * ; +0x192, 0x18009a592 mov rcx, rsi; this ; +0x194, 0x18009a594 call ?setOwner@CCComponent@cocos2d@@QEAAXPEAVCCNode@2@@Z; cocos2d::CCComponent::setOwner(cocos2d::CCNode *) ; +0x197, 0x18009a597 mov r10, [rbx+118h] ; +0x19c, 0x18009a59c test r10, r10 ; +0x1a3, 0x18009a5a3 jnz short loc_18009A5EF ; +0x1a6, 0x18009a5a6 cmp [rbx+120h], r10 ; +0x1a8, 0x18009a5a8 jnz short loc_18009A5EF ; +0x1af, 0x18009a5af mov rax, [rdi+8] ; +0x1b1, 0x18009a5b1 mov rcx, [rax+38h] ; +0x1b5, 0x18009a5b5 mov rcx, [rcx+110h] ; +0x1b9, 0x18009a5b9 mov rcx, [rcx]; Block ; +0x1c0, 0x18009a5c0 call cs:__imp_free ; +0x1c3, 0x18009a5c3 mov rax, [rdi+8] ; +0x1c9, 0x18009a5c9 mov rcx, [rax+38h] ; +0x1cd, 0x18009a5cd mov rcx, [rcx+110h]; Block ; +0x1d1, 0x18009a5d1 call cs:__imp_free ; +0x1d8, 0x18009a5d8 mov rax, [rdi+8] ; +0x1de, 0x18009a5de mov qword ptr [rax+38h], 0 ; +0x1e2, 0x18009a5e2 jmp loc_18009A6FD ; +0x1ea, 0x18009a5ea mov rax, [rdi+8] ; +0x1ef, 0x18009a5ef lea r9, [rbx+110h] ; +0x1f3, 0x18009a5f3 mov rcx, [rax+38h] ; +0x1fa, 0x18009a5fa mov rdx, [rcx+110h] ; +0x1fe, 0x18009a5fe mov rcx, [rdx+20h] ; +0x205, 0x18009a605 mov rax, [rdx+18h] ; +0x209, 0x18009a609 sub rax, rcx ; +0x20d, 0x18009a60d cmp rbx, rax ; +0x210, 0x18009a610 jnz short loc_18009A61D ; +0x213, 0x18009a613 lea rax, [r10+rcx] ; +0x215, 0x18009a615 mov [rdx+18h], rax ; +0x219, 0x18009a619 mov r10, [rbx+118h] ; +0x21d, 0x18009a61d mov rcx, [rdi+8] ; +0x224, 0x18009a624 test r10, r10 ; +0x228, 0x18009a628 jz short loc_18009A64A ; +0x22b, 0x18009a62b mov rax, [rcx+38h] ; +0x22d, 0x18009a62d mov rcx, [rax+110h] ; +0x231, 0x18009a631 mov rax, [rbx+120h] ; +0x238, 0x18009a638 mov rdx, [rcx+20h] ; +0x23f, 0x18009a63f mov [rdx+r10+10h], rax ; +0x243, 0x18009a643 jmp short loc_18009A655 ; +0x248, 0x18009a648 mov rax, [rbx+120h] ; +0x24a, 0x18009a64a mov [rcx+38h], rax ; +0x251, 0x18009a651 mov rdx, [r9+10h] ; +0x255, 0x18009a655 test rdx, rdx ; +0x259, 0x18009a659 jz short loc_18009A67A ; +0x25c, 0x18009a65c mov rax, [rdi+8] ; +0x25e, 0x18009a65e mov rcx, [rax+38h] ; +0x262, 0x18009a662 mov rax, [rcx+110h] ; +0x266, 0x18009a666 mov rcx, [rax+20h] ; +0x26d, 0x18009a66d mov rax, [r9+8] ; +0x271, 0x18009a671 mov [rcx+rdx+8], rax ; +0x275, 0x18009a675 mov rax, [rdi+8] ; +0x27a, 0x18009a67a mov rcx, [rax+38h] ; +0x27e, 0x18009a67e mov eax, [r9+34h] ; +0x282, 0x18009a682 mov rdx, [rcx+110h] ; +0x286, 0x18009a686 mov r10d, [rdx+8] ; +0x28d, 0x18009a68d dec r10d ; +0x291, 0x18009a691 and r10, rax ; +0x294, 0x18009a694 mov rax, [rdx] ; +0x297, 0x18009a697 mov r8, r10 ; +0x29a, 0x18009a69a shl r8, 4 ; +0x29d, 0x18009a69d dec dword ptr [r8+rax+8] ; +0x2a1, 0x18009a6a1 mov rax, [rdi+8] ; +0x2a6, 0x18009a6a6 mov rcx, [rax+38h] ; +0x2aa, 0x18009a6aa mov rax, [rcx+110h] ; +0x2ae, 0x18009a6ae mov rcx, [rax] ; +0x2b5, 0x18009a6b5 cmp [r8+rcx], r9 ; +0x2b8, 0x18009a6b8 jnz short loc_18009A6C9 ; +0x2bc, 0x18009a6bc mov rax, [r9+20h] ; +0x2be, 0x18009a6be add r10, r10 ; +0x2c2, 0x18009a6c2 mov [rcx+r10*8], rax ; +0x2c5, 0x18009a6c5 mov rcx, [r9+18h] ; +0x2c9, 0x18009a6c9 test rcx, rcx ; +0x2cd, 0x18009a6cd jz short loc_18009A6DA ; +0x2d0, 0x18009a6d0 mov rax, [r9+20h] ; +0x2d2, 0x18009a6d2 mov [rcx+20h], rax ; +0x2d6, 0x18009a6d6 mov rcx, [r9+20h] ; +0x2da, 0x18009a6da test rcx, rcx ; +0x2de, 0x18009a6de jz short loc_18009A6EB ; +0x2e1, 0x18009a6e1 mov rax, [r9+18h] ; +0x2e3, 0x18009a6e3 mov [rcx+18h], rax ; +0x2e7, 0x18009a6e7 mov rax, [rdi+8] ; +0x2eb, 0x18009a6eb mov rcx, [rax+38h] ; +0x2ef, 0x18009a6ef mov rax, [rcx+110h] ; +0x2f3, 0x18009a6f3 dec dword ptr [rax+10h] ; +0x2fa, 0x18009a6fa mov rcx, [rbx+108h]; this ; +0x2fd, 0x18009a6fd call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x304, 0x18009a704 mov rcx, rbx; this ; +0x309, 0x18009a709 call ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x30c, 0x18009a70c mov edx, 148h ; +0x311, 0x18009a711 mov rcx, rbx; Block ; +0x316, 0x18009a716 call j_j_free_0 ; +0x319, 0x18009a719 mov rbx, [rsp+38h+arg_0] ; +0x31e, 0x18009a71e mov al, 1 ; +0x323, 0x18009a723 mov rsi, [rsp+38h+arg_8] ; +0x325, 0x18009a725 add rsp, 30h ; +0x32a, 0x18009a72a pop rdi ; +0x32e, 0x18009a72e retn ; +0x32f, 0x18009a72f mov rbx, [rsp+38h+arg_0] ; +0x330, 0x18009a730 mov rsi, [rsp+38h+arg_8] ; +0x335, 0x18009a735 add rsp, 30h ; +0x33a, 0x18009a73a pop rdi ; +0x33e, 0x18009a73e retn ; +0x33f, 0x18009a73f add rsp, 30h ; +0x340, 0x18009a740 pop rdi ; +0x344, 0x18009a744 retn ; +0x345, 0x18009a745