; ; cocos2d::CCActionManager::removeAllActionsFromTarget from 0x180038f60 to 0x1800390e1 (385 bytes) ; ; 8 xrefs: ; > cocos2d::CCNode::cleanup @ 0x180002e03 ; > cocos2d::CCNode::setActionManager @ 0x180004b0f ; > cocos2d::CCNode::stopAllActions @ 0x1800053ca ; > @ 0x18013f2e0 ; > @ 0x18013f2f4 ; > @ 0x18013f304 ; > @ 0x18014cf68 ; > @ 0x1801bad20 ; ; 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:21:36 +0000 ; test rdx, rdx ; +0x0, 0x180038f60 jz locret_1800390E0 ; +0x3, 0x180038f63 mov [rsp+arg_8], rdx ; +0x9, 0x180038f69 push rdi ; +0xe, 0x180038f6e sub rsp, 20h ; +0xf, 0x180038f6f mov r11, [rcx+38h] ; +0x13, 0x180038f73 mov r10, rdx ; +0x17, 0x180038f77 mov rdi, rcx ; +0x1a, 0x180038f7a test r11, r11 ; +0x1d, 0x180038f7d jz loc_1800390DB ; +0x20, 0x180038f80 movzx eax, byte ptr [rsp+28h+arg_8+2] ; +0x26, 0x180038f86 mov edx, 9F49BAC6h ; +0x2b, 0x180038f8b movzx r8d, byte ptr [rsp+28h+arg_8+3] ; +0x30, 0x180038f90 mov ecx, 0FEEDBEF3h ; +0x36, 0x180038f96 shl r8d, 8 ; +0x3b, 0x180038f9b add r8d, eax ; +0x3f, 0x180038f9f movzx r9d, r10b ; +0x42, 0x180038fa2 movzx eax, byte ptr [rsp+28h+arg_8+1] ; +0x46, 0x180038fa6 add r9d, 112410Dh ; +0x4b, 0x180038fab shl r8d, 8 ; +0x52, 0x180038fb2 add r8d, eax ; +0x56, 0x180038fb6 mov [rsp+28h+arg_0], rbx ; +0x59, 0x180038fb9 shl r8d, 8 ; +0x5e, 0x180038fbe add r9d, r8d ; +0x62, 0x180038fc2 mov r8, [r11+28h] ; +0x65, 0x180038fc5 xor r9d, 7F76Dh ; +0x69, 0x180038fc9 sub edx, r9d ; +0x70, 0x180038fd0 mov eax, r9d ; +0x73, 0x180038fd3 shl eax, 8 ; +0x76, 0x180038fd6 mov rbx, [r8] ; +0x79, 0x180038fd9 xor edx, eax ; +0x7c, 0x180038fdc sub ecx, edx ; +0x7e, 0x180038fde mov eax, edx ; +0x80, 0x180038fe0 sub ecx, r9d ; +0x82, 0x180038fe2 shr eax, 0Dh ; +0x85, 0x180038fe5 xor ecx, eax ; +0x88, 0x180038fe8 sub r9d, ecx ; +0x8a, 0x180038fea mov eax, ecx ; +0x8d, 0x180038fed sub r9d, edx ; +0x8f, 0x180038fef shr eax, 0Ch ; +0x92, 0x180038ff2 sub edx, ecx ; +0x95, 0x180038ff5 xor r9d, eax ; +0x97, 0x180038ff7 sub edx, r9d ; +0x9a, 0x180038ffa mov eax, r9d ; +0x9d, 0x180038ffd shl eax, 10h ; +0xa0, 0x180039000 xor edx, eax ; +0xa3, 0x180039003 sub ecx, edx ; +0xa5, 0x180039005 mov eax, edx ; +0xa7, 0x180039007 sub ecx, r9d ; +0xa9, 0x180039009 shr eax, 5 ; +0xac, 0x18003900c xor ecx, eax ; +0xaf, 0x18003900f sub r9d, ecx ; +0xb1, 0x180039011 mov eax, ecx ; +0xb4, 0x180039014 sub r9d, edx ; +0xb6, 0x180039016 shr eax, 3 ; +0xb9, 0x180039019 xor r9d, eax ; +0xbc, 0x18003901c sub edx, r9d ; +0xbf, 0x18003901f mov eax, r9d ; +0xc2, 0x180039022 sub edx, ecx ; +0xc5, 0x180039025 shl eax, 0Ah ; +0xc7, 0x180039027 xor edx, eax ; +0xca, 0x18003902a sub ecx, edx ; +0xcc, 0x18003902c mov eax, edx ; +0xce, 0x18003902e sub ecx, r9d ; +0xd0, 0x180039030 shr rax, 0Fh ; +0xd3, 0x180039033 mov edx, ecx ; +0xd7, 0x180039037 mov ecx, [r8+8] ; +0xd9, 0x180039039 xor rdx, rax ; +0xdd, 0x18003903d dec ecx ; +0xe0, 0x180039040 and rdx, rcx ; +0xe2, 0x180039042 add rdx, rdx ; +0xe5, 0x180039045 mov rbx, [rbx+rdx*8] ; +0xe8, 0x180039048 test rbx, rbx ; +0xec, 0x18003904c jz loc_1800390D6 ; +0xef, 0x18003904f mov rcx, [r8+20h] ; +0xf5, 0x180039055 sub rbx, rcx ; +0xf9, 0x180039059 jz short loc_1800390D6 ; +0xfc, 0x18003905c xchg ax, ax ; +0xfe, 0x18003905e cmp dword ptr [rbx+58h], 4 ; +0x100, 0x180039060 jnz short loc_18003906F ; +0x104, 0x180039064 mov rax, [rbx+50h] ; +0x106, 0x180039066 cmp [rax], r10d ; +0x10a, 0x18003906a jz short loc_18003908B ; +0x10d, 0x18003906d mov rax, [rbx+48h] ; +0x10f, 0x18003906f mov rbx, rax ; +0x113, 0x180039073 test rax, rax ; +0x116, 0x180039076 jz short loc_1800390D6 ; +0x119, 0x180039079 sub rbx, rcx ; +0x11b, 0x18003907b jnz short loc_180039060 ; +0x11e, 0x18003907e mov rbx, [rsp+28h+arg_0] ; +0x120, 0x180039080 add rsp, 20h ; +0x125, 0x180039085 pop rdi ; +0x129, 0x180039089 retn ; +0x12a, 0x18003908a mov rdx, [rbx+18h] ; +0x12b, 0x18003908b mov rcx, [rbx] ; +0x12f, 0x18003908f call sub_1800A1470 ; +0x132, 0x180039092 test al, al ; +0x137, 0x180039097 jz short loc_1800390AE ; +0x139, 0x180039099 cmp byte ptr [rbx+20h], 0 ; +0x13b, 0x18003909b jnz short loc_1800390AE ; +0x13f, 0x18003909f mov rcx, [rbx+18h]; this ; +0x141, 0x1800390a1 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x145, 0x1800390a5 mov byte ptr [rbx+20h], 1 ; +0x14a, 0x1800390aa mov rcx, [rbx] ; +0x14e, 0x1800390ae call sub_1800A19E0 ; +0x151, 0x1800390b1 cmp [rdi+40h], rbx ; +0x156, 0x1800390b6 jnz short loc_1800390CB ; +0x15a, 0x1800390ba mov rbx, [rsp+28h+arg_0] ; +0x15c, 0x1800390bc mov byte ptr [rdi+48h], 1 ; +0x161, 0x1800390c1 add rsp, 20h ; +0x165, 0x1800390c5 pop rdi ; +0x169, 0x1800390c9 retn ; +0x16a, 0x1800390ca mov rdx, rbx; struct cocos2d::_hashElement * ; +0x16b, 0x1800390cb mov rcx, rdi; this ; +0x16e, 0x1800390ce call ?deleteHashElement@CCActionManager@cocos2d@@IEAAXPEAU_hashElement@2@@Z; cocos2d::CCActionManager::deleteHashElement(cocos2d::_hashElement *) ; +0x171, 0x1800390d1 mov rbx, [rsp+28h+arg_0] ; +0x176, 0x1800390d6 add rsp, 20h ; +0x17b, 0x1800390db pop rdi ; +0x17f, 0x1800390df retn ; +0x180, 0x1800390e0