; ; cocos2d::CCActionManager::removeAllActions from 0x180038dc0 to 0x180038f52 (402 bytes) ; ; 6 xrefs: ; > cocos2d::CCActionManager::~CCActionManager @ 0x180037ef3 ; > sub_180037F10 @ 0x180037f7c ; > @ 0x18013f2b4 ; > @ 0x18013f2c4 ; > @ 0x18014cf68 ; > @ 0x1801bacfc ; ; 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 ; mov [rsp+arg_8], rsi ; +0x0, 0x180038dc0 push rdi ; +0x5, 0x180038dc5 sub rsp, 20h ; +0x6, 0x180038dc6 mov rsi, [rcx+38h] ; +0xa, 0x180038dca mov rdi, rcx ; +0xe, 0x180038dce test rsi, rsi ; +0x11, 0x180038dd1 jz loc_180038F47 ; +0x14, 0x180038dd4 mov [rsp+28h+arg_0], rbx ; +0x1a, 0x180038dda nop ; +0x1f, 0x180038ddf mov r9, [rsi+8] ; +0x20, 0x180038de0 mov rsi, [rsi+38h] ; +0x24, 0x180038de4 mov rdx, r9 ; +0x28, 0x180038de8 mov rax, r9 ; +0x2b, 0x180038deb shr rdx, 8 ; +0x2e, 0x180038dee mov rcx, r9 ; +0x32, 0x180038df2 shr rax, 10h ; +0x35, 0x180038df5 shr rcx, 18h ; +0x39, 0x180038df9 test r9, r9 ; +0x3d, 0x180038dfd jz loc_180038F39 ; +0x40, 0x180038e00 mov r10, [rdi+38h] ; +0x46, 0x180038e06 test r10, r10 ; +0x4a, 0x180038e0a jz loc_180038F39 ; +0x4d, 0x180038e0d mov r11, [r10+28h] ; +0x53, 0x180038e13 movzx ecx, cl ; +0x57, 0x180038e17 shl ecx, 8 ; +0x5a, 0x180038e1a movzx eax, al ; +0x5d, 0x180038e1d add ecx, eax ; +0x60, 0x180038e20 mov rbx, [r11] ; +0x62, 0x180038e22 shl ecx, 8 ; +0x65, 0x180038e25 movzx eax, dl ; +0x68, 0x180038e28 add ecx, eax ; +0x6b, 0x180038e2b movzx r8d, r9b ; +0x6d, 0x180038e2d shl ecx, 8 ; +0x71, 0x180038e31 mov eax, 9F49BAC6h ; +0x74, 0x180038e34 add ecx, 112410Dh ; +0x79, 0x180038e39 add r8d, ecx ; +0x7f, 0x180038e3f mov ecx, 0FEEDBEF3h ; +0x82, 0x180038e42 xor r8d, 7F76Dh ; +0x87, 0x180038e47 sub eax, r8d ; +0x8e, 0x180038e4e mov edx, r8d ; +0x91, 0x180038e51 shl edx, 8 ; +0x94, 0x180038e54 xor edx, eax ; +0x97, 0x180038e57 sub ecx, edx ; +0x99, 0x180038e59 mov eax, edx ; +0x9b, 0x180038e5b sub ecx, r8d ; +0x9d, 0x180038e5d shr eax, 0Dh ; +0xa0, 0x180038e60 xor ecx, eax ; +0xa3, 0x180038e63 sub r8d, ecx ; +0xa5, 0x180038e65 mov eax, ecx ; +0xa8, 0x180038e68 sub r8d, edx ; +0xaa, 0x180038e6a shr eax, 0Ch ; +0xad, 0x180038e6d sub edx, ecx ; +0xb0, 0x180038e70 xor r8d, eax ; +0xb2, 0x180038e72 sub edx, r8d ; +0xb5, 0x180038e75 mov eax, r8d ; +0xb8, 0x180038e78 shl eax, 10h ; +0xbb, 0x180038e7b xor edx, eax ; +0xbe, 0x180038e7e sub ecx, edx ; +0xc0, 0x180038e80 mov eax, edx ; +0xc2, 0x180038e82 sub ecx, r8d ; +0xc4, 0x180038e84 shr eax, 5 ; +0xc7, 0x180038e87 xor ecx, eax ; +0xca, 0x180038e8a sub r8d, ecx ; +0xcc, 0x180038e8c mov eax, ecx ; +0xcf, 0x180038e8f sub r8d, edx ; +0xd1, 0x180038e91 shr eax, 3 ; +0xd4, 0x180038e94 xor r8d, eax ; +0xd7, 0x180038e97 sub edx, r8d ; +0xda, 0x180038e9a mov eax, r8d ; +0xdd, 0x180038e9d sub edx, ecx ; +0xe0, 0x180038ea0 shl eax, 0Ah ; +0xe2, 0x180038ea2 xor edx, eax ; +0xe5, 0x180038ea5 sub ecx, edx ; +0xe7, 0x180038ea7 mov eax, edx ; +0xe9, 0x180038ea9 sub ecx, r8d ; +0xeb, 0x180038eab shr rax, 0Fh ; +0xee, 0x180038eae mov edx, ecx ; +0xf2, 0x180038eb2 mov ecx, [r11+8] ; +0xf4, 0x180038eb4 xor rdx, rax ; +0xf8, 0x180038eb8 dec ecx ; +0xfb, 0x180038ebb and rdx, rcx ; +0xfd, 0x180038ebd add rdx, rdx ; +0x100, 0x180038ec0 mov rbx, [rbx+rdx*8] ; +0x103, 0x180038ec3 test rbx, rbx ; +0x107, 0x180038ec7 jz short loc_180038F39 ; +0x10a, 0x180038eca mov rcx, [r11+20h] ; +0x10c, 0x180038ecc sub rbx, rcx ; +0x110, 0x180038ed0 jz short loc_180038F39 ; +0x113, 0x180038ed3 cmp dword ptr [rbx+58h], 4 ; +0x115, 0x180038ed5 jnz short loc_180038EE4 ; +0x119, 0x180038ed9 mov rax, [rbx+50h] ; +0x11b, 0x180038edb cmp [rax], r9d ; +0x11f, 0x180038edf jz short loc_180038EF7 ; +0x122, 0x180038ee2 mov rax, [rbx+48h] ; +0x124, 0x180038ee4 mov rbx, rax ; +0x128, 0x180038ee8 test rax, rax ; +0x12b, 0x180038eeb jz short loc_180038F39 ; +0x12e, 0x180038eee sub rbx, rcx ; +0x130, 0x180038ef0 jnz short loc_180038ED5 ; +0x133, 0x180038ef3 jmp short loc_180038F39 ; +0x135, 0x180038ef5 mov rdx, [rbx+18h] ; +0x137, 0x180038ef7 mov rcx, [rbx] ; +0x13b, 0x180038efb call sub_1800A1470 ; +0x13e, 0x180038efe test al, al ; +0x143, 0x180038f03 jz short loc_180038F1A ; +0x145, 0x180038f05 cmp byte ptr [rbx+20h], 0 ; +0x147, 0x180038f07 jnz short loc_180038F1A ; +0x14b, 0x180038f0b mov rcx, [rbx+18h]; this ; +0x14d, 0x180038f0d call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x151, 0x180038f11 mov byte ptr [rbx+20h], 1 ; +0x156, 0x180038f16 mov rcx, [rbx] ; +0x15a, 0x180038f1a call sub_1800A19E0 ; +0x15d, 0x180038f1d cmp [rdi+40h], rbx ; +0x162, 0x180038f22 jnz short loc_180038F2E ; +0x166, 0x180038f26 mov byte ptr [rdi+48h], 1 ; +0x168, 0x180038f28 jmp short loc_180038F39 ; +0x16c, 0x180038f2c mov rdx, rbx; struct cocos2d::_hashElement * ; +0x16e, 0x180038f2e mov rcx, rdi; this ; +0x171, 0x180038f31 call ?deleteHashElement@CCActionManager@cocos2d@@IEAAXPEAU_hashElement@2@@Z; cocos2d::CCActionManager::deleteHashElement(cocos2d::_hashElement *) ; +0x174, 0x180038f34 test rsi, rsi ; +0x179, 0x180038f39 jnz loc_180038DE0 ; +0x17c, 0x180038f3c mov rbx, [rsp+28h+arg_0] ; +0x182, 0x180038f42 mov rsi, [rsp+28h+arg_8] ; +0x187, 0x180038f47 add rsp, 20h ; +0x18c, 0x180038f4c pop rdi ; +0x190, 0x180038f50 retn ; +0x191, 0x180038f51