; ; cocos2d::CCComponentContainer::remove from 0x18009a1f0 to 0x18009a3fd (525 bytes) ; ; 3 xrefs: ; > @ 0x18010ac28 ; > @ 0x18014cf68 ; > @ 0x1801c0bac ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x18009a1f0 mov [rsp+arg_8], rsi ; +0x5, 0x18009a1f5 push rdi ; +0xa, 0x18009a1fa sub rsp, 20h ; +0xb, 0x18009a1fb mov rbx, [rcx+8] ; +0xf, 0x18009a1ff mov rsi, rdx ; +0x13, 0x18009a203 mov rdi, rcx ; +0x16, 0x18009a206 test rbx, rbx ; +0x19, 0x18009a209 jz loc_18009A3EB ; +0x1c, 0x18009a20c mov rbx, [rbx+38h] ; +0x22, 0x18009a212 test rbx, rbx ; +0x26, 0x18009a216 jz loc_18009A3D9 ; +0x29, 0x18009a219 mov rax, [rbx+120h] ; +0x2f, 0x18009a21f cmp [rbx+108h], rsi ; +0x36, 0x18009a226 jz short loc_18009A244 ; +0x3d, 0x18009a22d mov rbx, rax ; +0x3f, 0x18009a22f test rax, rax ; +0x42, 0x18009a232 jz loc_18009A3D9 ; +0x45, 0x18009a235 mov rax, [rax+120h] ; +0x4b, 0x18009a23b jmp short loc_18009A226 ; +0x52, 0x18009a242 mov rax, [rdx] ; +0x54, 0x18009a244 mov rcx, rsi ; +0x57, 0x18009a247 call qword ptr [rax+58h] ; +0x5a, 0x18009a24a xor edx, edx; struct cocos2d::CCNode * ; +0x5d, 0x18009a24d mov rcx, rsi; this ; +0x5f, 0x18009a24f call ?setOwner@CCComponent@cocos2d@@QEAAXPEAVCCNode@2@@Z; cocos2d::CCComponent::setOwner(cocos2d::CCNode *) ; +0x62, 0x18009a252 mov r10, [rbx+118h] ; +0x67, 0x18009a257 test r10, r10 ; +0x6e, 0x18009a25e jnz short loc_18009A2AA ; +0x71, 0x18009a261 cmp [rbx+120h], r10 ; +0x73, 0x18009a263 jnz short loc_18009A2AA ; +0x7a, 0x18009a26a mov rax, [rdi+8] ; +0x7c, 0x18009a26c mov rcx, [rax+38h] ; +0x80, 0x18009a270 mov rcx, [rcx+110h] ; +0x84, 0x18009a274 mov rcx, [rcx]; Block ; +0x8b, 0x18009a27b call cs:__imp_free ; +0x8e, 0x18009a27e mov rax, [rdi+8] ; +0x94, 0x18009a284 mov rcx, [rax+38h] ; +0x98, 0x18009a288 mov rcx, [rcx+110h]; Block ; +0x9c, 0x18009a28c call cs:__imp_free ; +0xa3, 0x18009a293 mov rax, [rdi+8] ; +0xa9, 0x18009a299 mov qword ptr [rax+38h], 0 ; +0xad, 0x18009a29d jmp loc_18009A3B8 ; +0xb5, 0x18009a2a5 mov rax, [rdi+8] ; +0xba, 0x18009a2aa lea r9, [rbx+110h] ; +0xbe, 0x18009a2ae mov rcx, [rax+38h] ; +0xc5, 0x18009a2b5 mov rdx, [rcx+110h] ; +0xc9, 0x18009a2b9 mov rcx, [rdx+20h] ; +0xd0, 0x18009a2c0 mov rax, [rdx+18h] ; +0xd4, 0x18009a2c4 sub rax, rcx ; +0xd8, 0x18009a2c8 cmp rbx, rax ; +0xdb, 0x18009a2cb jnz short loc_18009A2D8 ; +0xde, 0x18009a2ce lea rax, [r10+rcx] ; +0xe0, 0x18009a2d0 mov [rdx+18h], rax ; +0xe4, 0x18009a2d4 mov r10, [rbx+118h] ; +0xe8, 0x18009a2d8 mov rcx, [rdi+8] ; +0xef, 0x18009a2df test r10, r10 ; +0xf3, 0x18009a2e3 jz short loc_18009A305 ; +0xf6, 0x18009a2e6 mov rax, [rcx+38h] ; +0xf8, 0x18009a2e8 mov rcx, [rax+110h] ; +0xfc, 0x18009a2ec mov rax, [rbx+120h] ; +0x103, 0x18009a2f3 mov rdx, [rcx+20h] ; +0x10a, 0x18009a2fa mov [rdx+r10+10h], rax ; +0x10e, 0x18009a2fe jmp short loc_18009A310 ; +0x113, 0x18009a303 mov rax, [rbx+120h] ; +0x115, 0x18009a305 mov [rcx+38h], rax ; +0x11c, 0x18009a30c mov rdx, [r9+10h] ; +0x120, 0x18009a310 test rdx, rdx ; +0x124, 0x18009a314 jz short loc_18009A335 ; +0x127, 0x18009a317 mov rax, [rdi+8] ; +0x129, 0x18009a319 mov rcx, [rax+38h] ; +0x12d, 0x18009a31d mov rax, [rcx+110h] ; +0x131, 0x18009a321 mov rcx, [rax+20h] ; +0x138, 0x18009a328 mov rax, [r9+8] ; +0x13c, 0x18009a32c mov [rcx+rdx+8], rax ; +0x140, 0x18009a330 mov rax, [rdi+8] ; +0x145, 0x18009a335 mov rcx, [rax+38h] ; +0x149, 0x18009a339 mov eax, [r9+34h] ; +0x14d, 0x18009a33d mov rdx, [rcx+110h] ; +0x151, 0x18009a341 mov r10d, [rdx+8] ; +0x158, 0x18009a348 dec r10d ; +0x15c, 0x18009a34c and r10, rax ; +0x15f, 0x18009a34f mov rax, [rdx] ; +0x162, 0x18009a352 mov r8, r10 ; +0x165, 0x18009a355 shl r8, 4 ; +0x168, 0x18009a358 dec dword ptr [r8+rax+8] ; +0x16c, 0x18009a35c mov rax, [rdi+8] ; +0x171, 0x18009a361 mov rcx, [rax+38h] ; +0x175, 0x18009a365 mov rax, [rcx+110h] ; +0x179, 0x18009a369 mov rcx, [rax] ; +0x180, 0x18009a370 cmp [r8+rcx], r9 ; +0x183, 0x18009a373 jnz short loc_18009A384 ; +0x187, 0x18009a377 mov rax, [r9+20h] ; +0x189, 0x18009a379 add r10, r10 ; +0x18d, 0x18009a37d mov [rcx+r10*8], rax ; +0x190, 0x18009a380 mov rcx, [r9+18h] ; +0x194, 0x18009a384 test rcx, rcx ; +0x198, 0x18009a388 jz short loc_18009A395 ; +0x19b, 0x18009a38b mov rax, [r9+20h] ; +0x19d, 0x18009a38d mov [rcx+20h], rax ; +0x1a1, 0x18009a391 mov rcx, [r9+20h] ; +0x1a5, 0x18009a395 test rcx, rcx ; +0x1a9, 0x18009a399 jz short loc_18009A3A6 ; +0x1ac, 0x18009a39c mov rax, [r9+18h] ; +0x1ae, 0x18009a39e mov [rcx+18h], rax ; +0x1b2, 0x18009a3a2 mov rax, [rdi+8] ; +0x1b6, 0x18009a3a6 mov rdx, [rax+38h] ; +0x1ba, 0x18009a3aa mov rax, [rdx+110h] ; +0x1be, 0x18009a3ae dec dword ptr [rax+10h] ; +0x1c5, 0x18009a3b5 mov rcx, [rbx+108h]; this ; +0x1c8, 0x18009a3b8 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1cf, 0x18009a3bf mov rcx, rbx; this ; +0x1d4, 0x18009a3c4 call ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x1d7, 0x18009a3c7 mov edx, 148h ; +0x1dc, 0x18009a3cc mov rcx, rbx; Block ; +0x1e1, 0x18009a3d1 call j_j_free_0 ; +0x1e4, 0x18009a3d4 mov al, 1 ; +0x1e9, 0x18009a3d9 mov rbx, [rsp+28h+arg_0] ; +0x1eb, 0x18009a3db mov rsi, [rsp+28h+arg_8] ; +0x1f0, 0x18009a3e0 add rsp, 20h ; +0x1f5, 0x18009a3e5 pop rdi ; +0x1f9, 0x18009a3e9 retn ; +0x1fa, 0x18009a3ea mov rbx, [rsp+28h+arg_0] ; +0x1fb, 0x18009a3eb xor al, al ; +0x200, 0x18009a3f0 mov rsi, [rsp+28h+arg_8] ; +0x202, 0x18009a3f2 add rsp, 20h ; +0x207, 0x18009a3f7 pop rdi ; +0x20b, 0x18009a3fb retn ; +0x20c, 0x18009a3fc