; ; cocos2d::CCParticleExplosion::createWithTotalParticles from 0x1800655f0 to 0x1800656ba (202 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bdc60 ; ; 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:52 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800655f0 push rdi ; +0x5, 0x1800655f5 sub rsp, 20h ; +0x6, 0x1800655f6 mov edi, ecx ; +0xa, 0x1800655fa mov ecx, 348h; Size ; +0xc, 0x1800655fc call sub_1800E4AC0 ; +0x11, 0x180065601 mov rbx, rax ; +0x16, 0x180065606 mov [rsp+28h+arg_8], rax ; +0x19, 0x180065609 test rax, rax ; +0x1e, 0x18006560e jz short loc_180065635 ; +0x21, 0x180065611 mov rcx, rax; this ; +0x23, 0x180065613 call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x26, 0x180065616 lea rax, ??_7CCParticleExplosion@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleExplosion::`vftable'{for `cocos2d::CCNode'} ; +0x2b, 0x18006561b mov [rbx], rax ; +0x32, 0x180065622 lea rax, ??_7CCParticleExplosion@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleExplosion::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x35, 0x180065625 mov [rbx+140h], rax ; +0x3c, 0x18006562c jmp short loc_180065637 ; +0x43, 0x180065633 xor ebx, ebx ; +0x45, 0x180065635 test rbx, rbx ; +0x47, 0x180065637 jz short loc_1800656AC ; +0x4a, 0x18006563a mov rax, [rbx] ; +0x4c, 0x18006563c mov r8, [rax+648h] ; +0x4f, 0x18006563f lea rax, ?initWithTotalParticles@CCParticleExplosion@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleExplosion::initWithTotalParticles(uint) ; +0x56, 0x180065646 mov edx, edi; unsigned int ; +0x5d, 0x18006564d mov rcx, rbx; this ; +0x5f, 0x18006564f cmp r8, rax ; +0x62, 0x180065652 jnz short loc_18006565E ; +0x65, 0x180065655 call ?initWithTotalParticles@CCParticleExplosion@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleExplosion::initWithTotalParticles(uint) ; +0x67, 0x180065657 jmp short loc_180065661 ; +0x6c, 0x18006565c call r8 ; +0x6e, 0x18006565e mov rcx, rbx; Block ; +0x71, 0x180065661 test al, al ; +0x74, 0x180065664 jz short loc_18006567B ; +0x76, 0x180065666 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x78, 0x180065668 mov rax, rbx ; +0x7d, 0x18006566d mov rbx, [rsp+28h+arg_0] ; +0x80, 0x180065670 add rsp, 20h ; +0x85, 0x180065675 pop rdi ; +0x89, 0x180065679 retn ; +0x8a, 0x18006567a mov rax, [rbx] ; +0x8b, 0x18006567b mov r8, [rax+8] ; +0x8e, 0x18006567e lea rax, sub_1800646D0 ; +0x92, 0x180065682 mov edx, 1 ; +0x99, 0x180065689 cmp r8, rax ; +0x9e, 0x18006568e jnz short loc_1800656A7 ; +0xa1, 0x180065691 call sub_1800646D0 ; +0xa3, 0x180065693 xor ebx, ebx ; +0xa8, 0x180065698 mov eax, ebx ; +0xaa, 0x18006569a mov rbx, [rsp+28h+arg_0] ; +0xac, 0x18006569c add rsp, 20h ; +0xb1, 0x1800656a1 pop rdi ; +0xb5, 0x1800656a5 retn ; +0xb6, 0x1800656a6 call r8 ; +0xb7, 0x1800656a7 xor ebx, ebx ; +0xba, 0x1800656aa mov rax, rbx ; +0xbc, 0x1800656ac mov rbx, [rsp+28h+arg_0] ; +0xbf, 0x1800656af add rsp, 20h ; +0xc4, 0x1800656b4 pop rdi ; +0xc8, 0x1800656b8 retn ; +0xc9, 0x1800656b9