; ; cocos2d::CCParticleBatchNode::addChild from 0x1800610c0 to 0x18006120a (330 bytes) ; ; 5 xrefs: ; > @ 0x1800fa240 ; > @ 0x1801398f0 ; > @ 0x180139924 ; > @ 0x1801438a8 ; > @ 0x1801b35c4 ; ; 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 ; push rbx ; +0x0, 0x1800610c0 push rbp ; +0x2, 0x1800610c2 push rsi ; +0x3, 0x1800610c3 push r15 ; +0x4, 0x1800610c4 sub rsp, 48h ; +0x6, 0x1800610c6 mov [rsp+68h+var_28], r12 ; +0xa, 0x1800610ca mov r15, rdx ; +0xf, 0x1800610cf mov [rsp+68h+var_30], r13 ; +0x12, 0x1800610d2 mov r12d, r9d ; +0x17, 0x1800610d7 mov r13d, r8d ; +0x1a, 0x1800610da mov [rsp+68h+var_38], r14 ; +0x1d, 0x1800610dd mov rsi, rcx ; +0x22, 0x1800610e2 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x25, 0x1800610e5 xor ebp, ebp ; +0x2c, 0x1800610ec lea r9, ??_R0?AVCCParticleSystem@cocos2d@@@8; cocos2d::CCParticleSystem `RTTI Type Descriptor' ; +0x2e, 0x1800610ee xor edx, edx ; +0x35, 0x1800610f5 mov [rsp+68h+var_48], ebp ; +0x37, 0x1800610f7 mov rcx, r15 ; +0x3b, 0x1800610fb call __RTDynamicCast ; +0x3e, 0x1800610fe lea r14, [r15+140h] ; +0x43, 0x180061103 mov rax, [r14] ; +0x4a, 0x18006110a mov rcx, r14 ; +0x4d, 0x18006110d call qword ptr [rax+10h] ; +0x50, 0x180061110 mov rcx, rax ; +0x53, 0x180061113 mov rdx, [rax] ; +0x56, 0x180061116 call qword ptr [rdx+60h] ; +0x59, 0x180061119 mov rcx, [rsi+148h] ; +0x5c, 0x18006111c mov rax, [rcx] ; +0x63, 0x180061123 call qword ptr [rax+58h] ; +0x66, 0x180061126 mov rcx, rax ; +0x69, 0x180061129 mov rdx, [rax] ; +0x6c, 0x18006112c call qword ptr [rdx+60h] ; +0x6f, 0x18006112f mov rcx, [rsi+0D0h]; this ; +0x72, 0x180061132 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x79, 0x180061139 test eax, eax ; +0x7e, 0x18006113e jnz short loc_180061173 ; +0x80, 0x180061140 mov rax, [r14] ; +0x82, 0x180061142 lea rdx, [rsp+68h+arg_0] ; +0x85, 0x180061145 mov [rsp+68h+arg_10], rdi ; +0x8a, 0x18006114a mov rcx, r14 ; +0x92, 0x180061152 mov rdi, [rsi+140h] ; +0x95, 0x180061155 call qword ptr [rax+8] ; +0x9c, 0x18006115c lea rcx, [rsi+140h] ; +0x9f, 0x18006115f mov rdx, [rax] ; +0xa6, 0x180061166 call qword ptr [rdi] ; +0xa9, 0x180061169 mov rdi, [rsp+68h+arg_10] ; +0xab, 0x18006116b mov rax, [r14] ; +0xb3, 0x180061173 lea rdx, [rsp+68h+arg_0] ; +0xb6, 0x180061176 mov rcx, r14 ; +0xbb, 0x18006117b call qword ptr [rax+8] ; +0xbe, 0x18006117e mov edx, [rax] ; +0xc1, 0x180061181 cmp [rsi+150h], edx ; +0xc3, 0x180061183 jnz short loc_180061199 ; +0xc9, 0x180061189 mov rax, [r14] ; +0xcb, 0x18006118b lea rdx, [rsp+68h+arg_8] ; +0xce, 0x18006118e mov rcx, r14 ; +0xd3, 0x180061193 call qword ptr [rax+8] ; +0xd6, 0x180061196 mov r9d, r12d; int ; +0xd9, 0x180061199 mov r8d, r13d; int ; +0xdc, 0x18006119c mov rdx, r15; struct cocos2d::CCParticleSystem * ; +0xdf, 0x18006119f mov rcx, rsi; this ; +0xe2, 0x1800611a2 call ?addChildHelper@CCParticleBatchNode@cocos2d@@AEAAIPEAVCCParticleSystem@2@HH@Z; cocos2d::CCParticleBatchNode::addChildHelper(cocos2d::CCParticleSystem *,int,int) ; +0xe5, 0x1800611a5 mov r14, [rsp+68h+var_38] ; +0xea, 0x1800611aa mov r13, [rsp+68h+var_30] ; +0xef, 0x1800611af mov r12, [rsp+68h+var_28] ; +0xf4, 0x1800611b4 test eax, eax ; +0xf9, 0x1800611b9 jz short loc_1800611E3 ; +0xfb, 0x1800611bb mov rcx, [rsi+0D0h]; this ; +0xfd, 0x1800611bd lea edx, [rax-1]; unsigned int ; +0x104, 0x1800611c4 call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x107, 0x1800611c7 mov rcx, rax ; +0x10c, 0x1800611cc mov rbx, rax ; +0x10f, 0x1800611cf mov rdx, [rax] ; +0x112, 0x1800611d2 call qword ptr [rdx+5C0h] ; +0x115, 0x1800611d5 mov ebp, eax ; +0x11b, 0x1800611db add ebp, [rbx+1C0h] ; +0x11d, 0x1800611dd mov r8d, ebp; unsigned int ; +0x123, 0x1800611e3 mov rdx, r15; struct cocos2d::CCParticleSystem * ; +0x126, 0x1800611e6 mov rcx, rsi; this ; +0x129, 0x1800611e9 call ?insertChild@CCParticleBatchNode@cocos2d@@QEAAXPEAVCCParticleSystem@2@I@Z; cocos2d::CCParticleBatchNode::insertChild(cocos2d::CCParticleSystem *,uint) ; +0x12c, 0x1800611ec mov rax, [r15] ; +0x131, 0x1800611f1 mov rdx, rsi ; +0x134, 0x1800611f4 mov rcx, r15 ; +0x137, 0x1800611f7 add rsp, 48h ; +0x13a, 0x1800611fa pop r15 ; +0x13e, 0x1800611fe pop rsi ; +0x140, 0x180061200 pop rbp ; +0x141, 0x180061201 pop rbx ; +0x142, 0x180061202 jmp qword ptr [rax+370h] ; +0x143, 0x180061203