; ; cocos2d::CCParticleMeteor::createWithTotalParticles from 0x1800635e0 to 0x1800636aa (202 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b3948 ; ; 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, 0x1800635e0 push rdi ; +0x5, 0x1800635e5 sub rsp, 20h ; +0x6, 0x1800635e6 mov edi, ecx ; +0xa, 0x1800635ea mov ecx, 348h; Size ; +0xc, 0x1800635ec call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x11, 0x1800635f1 mov rbx, rax ; +0x16, 0x1800635f6 mov [rsp+28h+arg_8], rax ; +0x19, 0x1800635f9 test rax, rax ; +0x1e, 0x1800635fe jz short loc_180063625 ; +0x21, 0x180063601 mov rcx, rax; this ; +0x23, 0x180063603 call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x26, 0x180063606 lea rax, ??_7CCParticleMeteor@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleMeteor::`vftable'{for `cocos2d::CCNode'} ; +0x2b, 0x18006360b mov [rbx], rax ; +0x32, 0x180063612 lea rax, ??_7CCParticleMeteor@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleMeteor::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x35, 0x180063615 mov [rbx+140h], rax ; +0x3c, 0x18006361c jmp short loc_180063627 ; +0x43, 0x180063623 xor ebx, ebx ; +0x45, 0x180063625 test rbx, rbx ; +0x47, 0x180063627 jz short loc_18006369C ; +0x4a, 0x18006362a mov rax, [rbx] ; +0x4c, 0x18006362c mov r8, [rax+638h] ; +0x4f, 0x18006362f lea rax, ?initWithTotalParticles@CCParticleMeteor@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleMeteor::initWithTotalParticles(uint) ; +0x56, 0x180063636 mov edx, edi; unsigned int ; +0x5d, 0x18006363d mov rcx, rbx; this ; +0x5f, 0x18006363f cmp r8, rax ; +0x62, 0x180063642 jnz short loc_18006364E ; +0x65, 0x180063645 call ?initWithTotalParticles@CCParticleMeteor@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleMeteor::initWithTotalParticles(uint) ; +0x67, 0x180063647 jmp short loc_180063651 ; +0x6c, 0x18006364c call r8 ; +0x6e, 0x18006364e mov rcx, rbx; Block ; +0x71, 0x180063651 test al, al ; +0x74, 0x180063654 jz short loc_18006366B ; +0x76, 0x180063656 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x78, 0x180063658 mov rax, rbx ; +0x7d, 0x18006365d mov rbx, [rsp+28h+arg_0] ; +0x80, 0x180063660 add rsp, 20h ; +0x85, 0x180063665 pop rdi ; +0x89, 0x180063669 retn ; +0x8a, 0x18006366a mov rax, [rbx] ; +0x8b, 0x18006366b mov r8, [rax+8] ; +0x8e, 0x18006366e lea rax, sub_1800625D0 ; +0x92, 0x180063672 mov edx, 1 ; +0x99, 0x180063679 cmp r8, rax ; +0x9e, 0x18006367e jnz short loc_180063697 ; +0xa1, 0x180063681 call sub_1800625D0 ; +0xa3, 0x180063683 xor ebx, ebx ; +0xa8, 0x180063688 mov eax, ebx ; +0xaa, 0x18006368a mov rbx, [rsp+28h+arg_0] ; +0xac, 0x18006368c add rsp, 20h ; +0xb1, 0x180063691 pop rdi ; +0xb5, 0x180063695 retn ; +0xb6, 0x180063696 call r8 ; +0xb7, 0x180063697 xor ebx, ebx ; +0xba, 0x18006369a mov rax, rbx ; +0xbc, 0x18006369c mov rbx, [rsp+28h+arg_0] ; +0xbf, 0x18006369f add rsp, 20h ; +0xc4, 0x1800636a4 pop rdi ; +0xc8, 0x1800636a8 retn ; +0xc9, 0x1800636a9