; ; cocos2d::CCParticleFireworks::create from 0x180064f30 to 0x180064fe6 (182 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bdbf4 ; ; 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 ; push rbx ; +0x0, 0x180064f30 sub rsp, 20h ; +0x2, 0x180064f32 mov ecx, 348h; Size ; +0x6, 0x180064f36 call sub_1800E4AC0 ; +0xb, 0x180064f3b mov rbx, rax ; +0x10, 0x180064f40 mov [rsp+28h+arg_0], rax ; +0x13, 0x180064f43 test rax, rax ; +0x18, 0x180064f48 jz short loc_180064F6F ; +0x1b, 0x180064f4b mov rcx, rax; this ; +0x1d, 0x180064f4d call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x20, 0x180064f50 lea rax, ??_7CCParticleFireworks@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleFireworks::`vftable'{for `cocos2d::CCNode'} ; +0x25, 0x180064f55 mov [rbx], rax ; +0x2c, 0x180064f5c lea rax, ??_7CCParticleFireworks@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleFireworks::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x2f, 0x180064f5f mov [rbx+140h], rax ; +0x36, 0x180064f66 jmp short loc_180064F71 ; +0x3d, 0x180064f6d xor ebx, ebx ; +0x3f, 0x180064f6f test rbx, rbx ; +0x41, 0x180064f71 jz short loc_180064FDD ; +0x44, 0x180064f74 mov r8, [rbx] ; +0x46, 0x180064f76 mov rax, [r8+48h] ; +0x49, 0x180064f79 lea rcx, ?init@CCParticleFireworks@cocos2d@@UEAA_NXZ; cocos2d::CCParticleFireworks::init(void) ; +0x4d, 0x180064f7d cmp rax, rcx ; +0x54, 0x180064f84 mov rcx, rbx ; +0x57, 0x180064f87 jnz short loc_180064F9A ; +0x5a, 0x180064f8a mov edx, 5DCh ; +0x5c, 0x180064f8c call qword ptr [r8+648h] ; +0x61, 0x180064f91 jmp short loc_180064F9C ; +0x68, 0x180064f98 call rax ; +0x6a, 0x180064f9a mov rcx, rbx; Block ; +0x6c, 0x180064f9c test al, al ; +0x6f, 0x180064f9f jz short loc_180064FB1 ; +0x71, 0x180064fa1 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x73, 0x180064fa3 mov rax, rbx ; +0x78, 0x180064fa8 add rsp, 20h ; +0x7b, 0x180064fab pop rbx ; +0x7f, 0x180064faf retn ; +0x80, 0x180064fb0 mov rax, [rbx] ; +0x81, 0x180064fb1 mov r8, [rax+8] ; +0x84, 0x180064fb4 lea rax, sub_180064810 ; +0x88, 0x180064fb8 mov edx, 1 ; +0x8f, 0x180064fbf cmp r8, rax ; +0x94, 0x180064fc4 jnz short loc_180064FD8 ; +0x97, 0x180064fc7 call sub_180064810 ; +0x99, 0x180064fc9 xor ebx, ebx ; +0x9e, 0x180064fce mov eax, ebx ; +0xa0, 0x180064fd0 add rsp, 20h ; +0xa2, 0x180064fd2 pop rbx ; +0xa6, 0x180064fd6 retn ; +0xa7, 0x180064fd7 call r8 ; +0xa8, 0x180064fd8 xor ebx, ebx ; +0xab, 0x180064fdb mov rax, rbx ; +0xad, 0x180064fdd add rsp, 20h ; +0xb0, 0x180064fe0 pop rbx ; +0xb4, 0x180064fe4 retn ; +0xb5, 0x180064fe5