; ; cocos2d::CCActionManager::numberOfRunningActionsInTarget from 0x1800380b0 to 0x1800381bb (267 bytes) ; ; 2 xrefs: ; > cocos2d::CCNode::numberOfRunningActions @ 0x18000417a ; > @ 0x1801438a8 ; ; 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 r10, [rcx+38h] ; +0x0, 0x1800380b0 mov r9, rdx ; +0x4, 0x1800380b4 mov [rsp+arg_8], rdx ; +0x7, 0x1800380b7 test r10, r10 ; +0xc, 0x1800380bc jz loc_1800381AD ; +0xf, 0x1800380bf movzx eax, byte ptr [rsp+arg_8+2] ; +0x15, 0x1800380c5 mov r8d, 9F49BAC6h ; +0x1a, 0x1800380ca movzx ecx, byte ptr [rsp+arg_8+3] ; +0x20, 0x1800380d0 mov r11, [r10+28h] ; +0x25, 0x1800380d5 shl ecx, 8 ; +0x29, 0x1800380d9 add ecx, eax ; +0x2c, 0x1800380dc movzx edx, r9b ; +0x2e, 0x1800380de movzx eax, byte ptr [rsp+arg_8+1] ; +0x32, 0x1800380e2 add edx, 112410Dh ; +0x37, 0x1800380e7 shl ecx, 8 ; +0x3d, 0x1800380ed add ecx, eax ; +0x40, 0x1800380f0 shl ecx, 8 ; +0x42, 0x1800380f2 add edx, ecx ; +0x45, 0x1800380f5 mov ecx, 0FEEDBEF3h ; +0x47, 0x1800380f7 xor edx, 7F76Dh ; +0x4c, 0x1800380fc sub r8d, edx ; +0x52, 0x180038102 mov eax, edx ; +0x55, 0x180038105 shl eax, 8 ; +0x57, 0x180038107 xor r8d, eax ; +0x5a, 0x18003810a sub ecx, r8d ; +0x5d, 0x18003810d mov eax, r8d ; +0x60, 0x180038110 sub ecx, edx ; +0x63, 0x180038113 shr eax, 0Dh ; +0x65, 0x180038115 xor ecx, eax ; +0x68, 0x180038118 sub edx, r8d ; +0x6a, 0x18003811a sub edx, ecx ; +0x6d, 0x18003811d mov eax, ecx ; +0x6f, 0x18003811f shr eax, 0Ch ; +0x71, 0x180038121 xor edx, eax ; +0x74, 0x180038124 sub r8d, edx ; +0x76, 0x180038126 mov eax, edx ; +0x79, 0x180038129 sub r8d, ecx ; +0x7b, 0x18003812b shl eax, 10h ; +0x7e, 0x18003812e xor r8d, eax ; +0x81, 0x180038131 sub ecx, r8d ; +0x84, 0x180038134 mov eax, r8d ; +0x87, 0x180038137 sub ecx, edx ; +0x8a, 0x18003813a shr eax, 5 ; +0x8c, 0x18003813c xor ecx, eax ; +0x8f, 0x18003813f sub edx, r8d ; +0x91, 0x180038141 sub edx, ecx ; +0x94, 0x180038144 mov eax, ecx ; +0x96, 0x180038146 shr eax, 3 ; +0x98, 0x180038148 xor edx, eax ; +0x9b, 0x18003814b sub r8d, edx ; +0x9d, 0x18003814d mov eax, edx ; +0xa0, 0x180038150 sub r8d, ecx ; +0xa2, 0x180038152 shl eax, 0Ah ; +0xa5, 0x180038155 xor r8d, eax ; +0xa8, 0x180038158 sub ecx, r8d ; +0xab, 0x18003815b mov eax, r8d ; +0xae, 0x18003815e sub ecx, edx ; +0xb1, 0x180038161 shr rax, 0Fh ; +0xb3, 0x180038163 mov edx, ecx ; +0xb7, 0x180038167 mov ecx, [r11+8] ; +0xb9, 0x180038169 xor rdx, rax ; +0xbd, 0x18003816d mov rax, [r11] ; +0xc0, 0x180038170 dec ecx ; +0xc3, 0x180038173 and rdx, rcx ; +0xc5, 0x180038175 add rdx, rdx ; +0xc8, 0x180038178 mov rax, [rax+rdx*8] ; +0xcb, 0x18003817b test rax, rax ; +0xcf, 0x18003817f jz short loc_1800381AD ; +0xd2, 0x180038182 mov rdx, [r11+20h] ; +0xd4, 0x180038184 sub rax, rdx ; +0xd8, 0x180038188 jz short loc_1800381AD ; +0xdb, 0x18003818b nop dword ptr [rax] ; +0xdd, 0x18003818d cmp dword ptr [rax+58h], 4 ; +0xe0, 0x180038190 jnz short loc_18003819F ; +0xe4, 0x180038194 mov rcx, [rax+50h] ; +0xe6, 0x180038196 cmp [rcx], r9d ; +0xea, 0x18003819a jz short loc_1800381B0 ; +0xed, 0x18003819d mov rax, [rax+48h] ; +0xef, 0x18003819f test rax, rax ; +0xf3, 0x1800381a3 jz short loc_1800381AD ; +0xf6, 0x1800381a6 sub rax, rdx ; +0xf8, 0x1800381a8 jnz short loc_180038190 ; +0xfb, 0x1800381ab xor eax, eax ; +0xfd, 0x1800381ad retn ; +0xff, 0x1800381af mov rax, [rax] ; +0x100, 0x1800381b0 test rax, rax ; +0x103, 0x1800381b3 jz short loc_1800381AD ; +0x106, 0x1800381b6 mov eax, [rax] ; +0x108, 0x1800381b8 retn ; +0x10a, 0x1800381ba