; ; cocos2d::CCParticleFlower::createWithTotalParticles from 0x180063440 to 0x18006350a (202 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b3930 ; ; 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, 0x180063440 push rdi ; +0x5, 0x180063445 sub rsp, 20h ; +0x6, 0x180063446 mov edi, ecx ; +0xa, 0x18006344a mov ecx, 348h; Size ; +0xc, 0x18006344c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x11, 0x180063451 mov rbx, rax ; +0x16, 0x180063456 mov [rsp+28h+arg_8], rax ; +0x19, 0x180063459 test rax, rax ; +0x1e, 0x18006345e jz short loc_180063485 ; +0x21, 0x180063461 mov rcx, rax; this ; +0x23, 0x180063463 call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x26, 0x180063466 lea rax, ??_7CCParticleFlower@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleFlower::`vftable'{for `cocos2d::CCNode'} ; +0x2b, 0x18006346b mov [rbx], rax ; +0x32, 0x180063472 lea rax, ??_7CCParticleFlower@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleFlower::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x35, 0x180063475 mov [rbx+140h], rax ; +0x3c, 0x18006347c jmp short loc_180063487 ; +0x43, 0x180063483 xor ebx, ebx ; +0x45, 0x180063485 test rbx, rbx ; +0x47, 0x180063487 jz short loc_1800634FC ; +0x4a, 0x18006348a mov rax, [rbx] ; +0x4c, 0x18006348c mov r8, [rax+638h] ; +0x4f, 0x18006348f lea rax, ?initWithTotalParticles@CCParticleFlower@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleFlower::initWithTotalParticles(uint) ; +0x56, 0x180063496 mov edx, edi; unsigned int ; +0x5d, 0x18006349d mov rcx, rbx; this ; +0x5f, 0x18006349f cmp r8, rax ; +0x62, 0x1800634a2 jnz short loc_1800634AE ; +0x65, 0x1800634a5 call ?initWithTotalParticles@CCParticleFlower@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleFlower::initWithTotalParticles(uint) ; +0x67, 0x1800634a7 jmp short loc_1800634B1 ; +0x6c, 0x1800634ac call r8 ; +0x6e, 0x1800634ae mov rcx, rbx; Block ; +0x71, 0x1800634b1 test al, al ; +0x74, 0x1800634b4 jz short loc_1800634CB ; +0x76, 0x1800634b6 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x78, 0x1800634b8 mov rax, rbx ; +0x7d, 0x1800634bd mov rbx, [rsp+28h+arg_0] ; +0x80, 0x1800634c0 add rsp, 20h ; +0x85, 0x1800634c5 pop rdi ; +0x89, 0x1800634c9 retn ; +0x8a, 0x1800634ca mov rax, [rbx] ; +0x8b, 0x1800634cb mov r8, [rax+8] ; +0x8e, 0x1800634ce lea rax, sub_180062490 ; +0x92, 0x1800634d2 mov edx, 1 ; +0x99, 0x1800634d9 cmp r8, rax ; +0x9e, 0x1800634de jnz short loc_1800634F7 ; +0xa1, 0x1800634e1 call sub_180062490 ; +0xa3, 0x1800634e3 xor ebx, ebx ; +0xa8, 0x1800634e8 mov eax, ebx ; +0xaa, 0x1800634ea mov rbx, [rsp+28h+arg_0] ; +0xac, 0x1800634ec add rsp, 20h ; +0xb1, 0x1800634f1 pop rdi ; +0xb5, 0x1800634f5 retn ; +0xb6, 0x1800634f6 call r8 ; +0xb7, 0x1800634f7 xor ebx, ebx ; +0xba, 0x1800634fa mov rax, rbx ; +0xbc, 0x1800634fc mov rbx, [rsp+28h+arg_0] ; +0xbf, 0x1800634ff add rsp, 20h ; +0xc4, 0x180063504 pop rdi ; +0xc8, 0x180063508 retn ; +0xc9, 0x180063509