; ; cocos2d::CCParticleSnow::createWithTotalParticles from 0x180063850 to 0x18006391a (202 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b396c ; ; 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_0], rbx ; +0x0, 0x180063850 push rdi ; +0x5, 0x180063855 sub rsp, 20h ; +0x6, 0x180063856 mov edi, ecx ; +0xa, 0x18006385a mov ecx, 348h; Size ; +0xc, 0x18006385c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x11, 0x180063861 mov rbx, rax ; +0x16, 0x180063866 mov [rsp+28h+arg_8], rax ; +0x19, 0x180063869 test rax, rax ; +0x1e, 0x18006386e jz short loc_180063895 ; +0x21, 0x180063871 mov rcx, rax; this ; +0x23, 0x180063873 call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x26, 0x180063876 lea rax, ??_7CCParticleSnow@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleSnow::`vftable'{for `cocos2d::CCNode'} ; +0x2b, 0x18006387b mov [rbx], rax ; +0x32, 0x180063882 lea rax, ??_7CCParticleSnow@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleSnow::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x35, 0x180063885 mov [rbx+140h], rax ; +0x3c, 0x18006388c jmp short loc_180063897 ; +0x43, 0x180063893 xor ebx, ebx ; +0x45, 0x180063895 test rbx, rbx ; +0x47, 0x180063897 jz short loc_18006390C ; +0x4a, 0x18006389a mov rax, [rbx] ; +0x4c, 0x18006389c mov r8, [rax+638h] ; +0x4f, 0x18006389f lea rax, ?initWithTotalParticles@CCParticleSnow@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleSnow::initWithTotalParticles(uint) ; +0x56, 0x1800638a6 mov edx, edi; unsigned int ; +0x5d, 0x1800638ad mov rcx, rbx; this ; +0x5f, 0x1800638af cmp r8, rax ; +0x62, 0x1800638b2 jnz short loc_1800638BE ; +0x65, 0x1800638b5 call ?initWithTotalParticles@CCParticleSnow@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleSnow::initWithTotalParticles(uint) ; +0x67, 0x1800638b7 jmp short loc_1800638C1 ; +0x6c, 0x1800638bc call r8 ; +0x6e, 0x1800638be mov rcx, rbx; Block ; +0x71, 0x1800638c1 test al, al ; +0x74, 0x1800638c4 jz short loc_1800638DB ; +0x76, 0x1800638c6 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x78, 0x1800638c8 mov rax, rbx ; +0x7d, 0x1800638cd mov rbx, [rsp+28h+arg_0] ; +0x80, 0x1800638d0 add rsp, 20h ; +0x85, 0x1800638d5 pop rdi ; +0x89, 0x1800638d9 retn ; +0x8a, 0x1800638da mov rax, [rbx] ; +0x8b, 0x1800638db mov r8, [rax+8] ; +0x8e, 0x1800638de lea rax, sub_1800627B0 ; +0x92, 0x1800638e2 mov edx, 1 ; +0x99, 0x1800638e9 cmp r8, rax ; +0x9e, 0x1800638ee jnz short loc_180063907 ; +0xa1, 0x1800638f1 call sub_1800627B0 ; +0xa3, 0x1800638f3 xor ebx, ebx ; +0xa8, 0x1800638f8 mov eax, ebx ; +0xaa, 0x1800638fa mov rbx, [rsp+28h+arg_0] ; +0xac, 0x1800638fc add rsp, 20h ; +0xb1, 0x180063901 pop rdi ; +0xb5, 0x180063905 retn ; +0xb6, 0x180063906 call r8 ; +0xb7, 0x180063907 xor ebx, ebx ; +0xba, 0x18006390a mov rax, rbx ; +0xbc, 0x18006390c mov rbx, [rsp+28h+arg_0] ; +0xbf, 0x18006390f add rsp, 20h ; +0xc4, 0x180063914 pop rdi ; +0xc8, 0x180063918 retn ; +0xc9, 0x180063919