; ; cocos2d::CCParticleFlower::createWithTotalParticles from 0x180065860 to 0x18006592a (202 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bdc84 ; ; 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, 0x180065860 push rdi ; +0x5, 0x180065865 sub rsp, 20h ; +0x6, 0x180065866 mov edi, ecx ; +0xa, 0x18006586a mov ecx, 348h; Size ; +0xc, 0x18006586c call sub_1800E4AC0 ; +0x11, 0x180065871 mov rbx, rax ; +0x16, 0x180065876 mov [rsp+28h+arg_8], rax ; +0x19, 0x180065879 test rax, rax ; +0x1e, 0x18006587e jz short loc_1800658A5 ; +0x21, 0x180065881 mov rcx, rax; this ; +0x23, 0x180065883 call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x26, 0x180065886 lea rax, ??_7CCParticleFlower@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleFlower::`vftable'{for `cocos2d::CCNode'} ; +0x2b, 0x18006588b mov [rbx], rax ; +0x32, 0x180065892 lea rax, ??_7CCParticleFlower@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleFlower::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x35, 0x180065895 mov [rbx+140h], rax ; +0x3c, 0x18006589c jmp short loc_1800658A7 ; +0x43, 0x1800658a3 xor ebx, ebx ; +0x45, 0x1800658a5 test rbx, rbx ; +0x47, 0x1800658a7 jz short loc_18006591C ; +0x4a, 0x1800658aa mov rax, [rbx] ; +0x4c, 0x1800658ac mov r8, [rax+648h] ; +0x4f, 0x1800658af lea rax, ?initWithTotalParticles@CCParticleFlower@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleFlower::initWithTotalParticles(uint) ; +0x56, 0x1800658b6 mov edx, edi; unsigned int ; +0x5d, 0x1800658bd mov rcx, rbx; this ; +0x5f, 0x1800658bf cmp r8, rax ; +0x62, 0x1800658c2 jnz short loc_1800658CE ; +0x65, 0x1800658c5 call ?initWithTotalParticles@CCParticleFlower@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleFlower::initWithTotalParticles(uint) ; +0x67, 0x1800658c7 jmp short loc_1800658D1 ; +0x6c, 0x1800658cc call r8 ; +0x6e, 0x1800658ce mov rcx, rbx; Block ; +0x71, 0x1800658d1 test al, al ; +0x74, 0x1800658d4 jz short loc_1800658EB ; +0x76, 0x1800658d6 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x78, 0x1800658d8 mov rax, rbx ; +0x7d, 0x1800658dd mov rbx, [rsp+28h+arg_0] ; +0x80, 0x1800658e0 add rsp, 20h ; +0x85, 0x1800658e5 pop rdi ; +0x89, 0x1800658e9 retn ; +0x8a, 0x1800658ea mov rax, [rbx] ; +0x8b, 0x1800658eb mov r8, [rax+8] ; +0x8e, 0x1800658ee lea rax, sub_1800648B0 ; +0x92, 0x1800658f2 mov edx, 1 ; +0x99, 0x1800658f9 cmp r8, rax ; +0x9e, 0x1800658fe jnz short loc_180065917 ; +0xa1, 0x180065901 call sub_1800648B0 ; +0xa3, 0x180065903 xor ebx, ebx ; +0xa8, 0x180065908 mov eax, ebx ; +0xaa, 0x18006590a mov rbx, [rsp+28h+arg_0] ; +0xac, 0x18006590c add rsp, 20h ; +0xb1, 0x180065911 pop rdi ; +0xb5, 0x180065915 retn ; +0xb6, 0x180065916 call r8 ; +0xb7, 0x180065917 xor ebx, ebx ; +0xba, 0x18006591a mov rax, rbx ; +0xbc, 0x18006591c mov rbx, [rsp+28h+arg_0] ; +0xbf, 0x18006591f add rsp, 20h ; +0xc4, 0x180065924 pop rdi ; +0xc8, 0x180065928 retn ; +0xc9, 0x180065929