; ; cocos2d::CCParticleSystem::resetSystem from 0x18006b010 to 0x18006b11a (266 bytes) ; ; 5 xrefs: ; > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x18006d093 ; > @ 0x1801432f8 ; > @ 0x180143308 ; > @ 0x18014cf68 ; > @ 0x1801bdf54 ; ; 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:54 +0000 ; push rbx ; +0x0, 0x18006b010 sub rsp, 20h ; +0x2, 0x18006b012 mov eax, [rcx+1D0h] ; +0x6, 0x18006b016 xor edx, edx ; +0xc, 0x18006b01c mov byte ptr [rcx+1CCh], 1 ; +0xe, 0x18006b01e mov rbx, rcx ; +0x15, 0x18006b025 mov byte ptr [rcx+234h], 0 ; +0x18, 0x18006b028 mov [rcx+168h], edx ; +0x1f, 0x18006b02f mov [rcx+230h], edx ; +0x25, 0x18006b035 mov [rcx+1B4h], edx ; +0x2b, 0x18006b03b test eax, eax ; +0x31, 0x18006b041 jz loc_18006B0F3 ; +0x33, 0x18006b043 mov ecx, edx ; +0x39, 0x18006b049 nop dword ptr [rax+rax+00h] ; +0x3b, 0x18006b04b mov eax, ecx ; +0x40, 0x18006b050 imul rcx, rax, 94h ; +0x42, 0x18006b052 mov rax, [rbx+1A8h] ; +0x49, 0x18006b059 mov [rcx+rax+40h], edx ; +0x50, 0x18006b060 inc dword ptr [rbx+1B4h] ; +0x54, 0x18006b064 mov ecx, [rbx+1B4h] ; +0x5a, 0x18006b06a mov eax, [rbx+1D0h] ; +0x60, 0x18006b070 cmp ecx, eax ; +0x66, 0x18006b076 jb short loc_18006B050 ; +0x68, 0x18006b078 test eax, eax ; +0x6a, 0x18006b07a jz short loc_18006B0F3 ; +0x6c, 0x18006b07c mov [rsp+28h+arg_0], rdi ; +0x6e, 0x18006b07e nop dword ptr [rax+00h] ; +0x73, 0x18006b083 nop word ptr [rax+rax+00000000h] ; +0x77, 0x18006b087 dec eax ; +0x80, 0x18006b090 imul rcx, rax, 94h ; +0x82, 0x18006b092 mov [rbx+1B4h], eax ; +0x89, 0x18006b099 mov rax, [rbx+1A8h] ; +0x8f, 0x18006b09f mov edi, [rcx+rax+48h] ; +0x96, 0x18006b0a6 mov rcx, [rbx+1B8h]; this ; +0x9a, 0x18006b0aa test rcx, rcx ; +0xa1, 0x18006b0b1 jz short loc_18006B0DD ; +0xa4, 0x18006b0b4 mov edx, [rbx+1C0h] ; +0xa6, 0x18006b0b6 add edx, edi; unsigned int ; +0xac, 0x18006b0bc call ?disableParticle@CCParticleBatchNode@cocos2d@@QEAAXI@Z; cocos2d::CCParticleBatchNode::disableParticle(uint) ; +0xae, 0x18006b0be mov eax, [rbx+1D0h] ; +0xb3, 0x18006b0c3 dec eax ; +0xb9, 0x18006b0c9 imul rcx, rax, 94h ; +0xbb, 0x18006b0cb mov rax, [rbx+1A8h] ; +0xc2, 0x18006b0d2 mov [rcx+rax+48h], edi ; +0xc9, 0x18006b0d9 mov eax, [rbx+1D0h] ; +0xcd, 0x18006b0dd sub eax, 1 ; +0xd3, 0x18006b0e3 mov [rbx+1D0h], eax ; +0xd6, 0x18006b0e6 jnz short loc_18006B090 ; +0xdc, 0x18006b0ec mov rdi, [rsp+28h+arg_0] ; +0xde, 0x18006b0ee cmp byte ptr [rbx+236h], 0 ; +0xe3, 0x18006b0f3 jz short loc_18006B10D ; +0xea, 0x18006b0fa test eax, eax ; +0xec, 0x18006b0fc jz short loc_18006B10D ; +0xee, 0x18006b0fe mov byte ptr [rbx+11Eh], 1 ; +0xf0, 0x18006b100 add rsp, 20h ; +0xf7, 0x18006b107 pop rbx ; +0xfb, 0x18006b10b retn ; +0xfc, 0x18006b10c mov byte ptr [rbx+11Eh], 0 ; +0xfd, 0x18006b10d add rsp, 20h ; +0x104, 0x18006b114 pop rbx ; +0x108, 0x18006b118 retn ; +0x109, 0x18006b119