; ; cocos2d::CCParticleBatchNode::getCurrentIndex from 0x1800615b0 to 0x180061677 (199 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b363c ; ; 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 [rsp+arg_8], rbx ; +0x0, 0x1800615b0 mov [rsp+arg_18], r9 ; +0x5, 0x1800615b5 mov [rsp+arg_0], rcx ; +0xa, 0x1800615ba push rbp ; +0xf, 0x1800615bf push rsi ; +0x10, 0x1800615c0 push rdi ; +0x11, 0x1800615c1 push r12 ; +0x12, 0x1800615c2 push r13 ; +0x14, 0x1800615c4 push r14 ; +0x16, 0x1800615c6 push r15 ; +0x18, 0x1800615c8 sub rsp, 20h ; +0x1a, 0x1800615ca mov r14, rcx ; +0x1e, 0x1800615ce mov rdi, r8 ; +0x21, 0x1800615d1 mov rcx, [rcx+0D0h]; this ; +0x24, 0x1800615d4 mov r13, rdx ; +0x2b, 0x1800615db xor r15b, r15b ; +0x2e, 0x1800615de xor sil, sil ; +0x31, 0x1800615e1 xor ebp, ebp ; +0x34, 0x1800615e4 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x36, 0x1800615e6 mov r12d, eax ; +0x3b, 0x1800615eb mov ebx, ebp ; +0x3e, 0x1800615ee test eax, eax ; +0x40, 0x1800615f0 jz short loc_18006165D ; +0x42, 0x1800615f2 nop dword ptr [rax+00h] ; +0x44, 0x1800615f4 nop dword ptr [rax+rax+00000000h] ; +0x48, 0x1800615f8 mov rcx, [r14+0D0h]; this ; +0x50, 0x180061600 mov edx, ebx; unsigned int ; +0x57, 0x180061607 call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x59, 0x180061609 mov rcx, rax ; +0x5e, 0x18006160e mov r14, rax ; +0x61, 0x180061611 mov rdx, [rax] ; +0x64, 0x180061614 call qword ptr [rdx+60h] ; +0x67, 0x180061617 cmp eax, [rsp+58h+arg_20] ; +0x6a, 0x18006161a jle short loc_180061632 ; +0x71, 0x180061621 test sil, sil ; +0x73, 0x180061623 jnz short loc_180061632 ; +0x76, 0x180061626 mov [rdi], ebx ; +0x78, 0x180061628 mov sil, 1 ; +0x7a, 0x18006162a test r15b, r15b ; +0x7d, 0x18006162d jnz short loc_180061660 ; +0x80, 0x180061630 cmp [rsp+58h+arg_18], r14 ; +0x82, 0x180061632 jnz short loc_18006164A ; +0x87, 0x180061637 mov [r13+0], ebx ; +0x89, 0x180061639 mov r15b, 1 ; +0x8d, 0x18006163d test sil, sil ; +0x90, 0x180061640 jnz short loc_180061660 ; +0x93, 0x180061643 mov ebp, 0FFFFFFFFh ; +0x95, 0x180061645 inc ebx ; +0x9a, 0x18006164a cmp ebx, r12d ; +0x9c, 0x18006164c jnb short loc_180061658 ; +0x9f, 0x18006164f mov r14, [rsp+58h+arg_0] ; +0xa1, 0x180061651 jmp short loc_180061600 ; +0xa6, 0x180061656 test sil, sil ; +0xa8, 0x180061658 jnz short loc_180061660 ; +0xab, 0x18006165b mov [rdi], r12d ; +0xad, 0x18006165d add [rdi], ebp ; +0xb0, 0x180061660 mov rbx, [rsp+58h+arg_8] ; +0xb2, 0x180061662 add rsp, 20h ; +0xb7, 0x180061667 pop r15 ; +0xbb, 0x18006166b pop r14 ; +0xbd, 0x18006166d pop r13 ; +0xbf, 0x18006166f pop r12 ; +0xc1, 0x180061671 pop rdi ; +0xc3, 0x180061673 pop rsi ; +0xc4, 0x180061674 pop rbp ; +0xc5, 0x180061675 retn ; +0xc6, 0x180061676