; ; cocos2d::CCParticleMeteor::createWithTotalParticles from 0x180065a00 to 0x180065aca (202 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bdc9c ; ; 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, 0x180065a00 push rdi ; +0x5, 0x180065a05 sub rsp, 20h ; +0x6, 0x180065a06 mov edi, ecx ; +0xa, 0x180065a0a mov ecx, 348h; Size ; +0xc, 0x180065a0c call sub_1800E4AC0 ; +0x11, 0x180065a11 mov rbx, rax ; +0x16, 0x180065a16 mov [rsp+28h+arg_8], rax ; +0x19, 0x180065a19 test rax, rax ; +0x1e, 0x180065a1e jz short loc_180065A45 ; +0x21, 0x180065a21 mov rcx, rax; this ; +0x23, 0x180065a23 call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x26, 0x180065a26 lea rax, ??_7CCParticleMeteor@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleMeteor::`vftable'{for `cocos2d::CCNode'} ; +0x2b, 0x180065a2b mov [rbx], rax ; +0x32, 0x180065a32 lea rax, ??_7CCParticleMeteor@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleMeteor::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x35, 0x180065a35 mov [rbx+140h], rax ; +0x3c, 0x180065a3c jmp short loc_180065A47 ; +0x43, 0x180065a43 xor ebx, ebx ; +0x45, 0x180065a45 test rbx, rbx ; +0x47, 0x180065a47 jz short loc_180065ABC ; +0x4a, 0x180065a4a mov rax, [rbx] ; +0x4c, 0x180065a4c mov r8, [rax+648h] ; +0x4f, 0x180065a4f lea rax, ?initWithTotalParticles@CCParticleMeteor@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleMeteor::initWithTotalParticles(uint) ; +0x56, 0x180065a56 mov edx, edi; unsigned int ; +0x5d, 0x180065a5d mov rcx, rbx; this ; +0x5f, 0x180065a5f cmp r8, rax ; +0x62, 0x180065a62 jnz short loc_180065A6E ; +0x65, 0x180065a65 call ?initWithTotalParticles@CCParticleMeteor@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleMeteor::initWithTotalParticles(uint) ; +0x67, 0x180065a67 jmp short loc_180065A71 ; +0x6c, 0x180065a6c call r8 ; +0x6e, 0x180065a6e mov rcx, rbx; Block ; +0x71, 0x180065a71 test al, al ; +0x74, 0x180065a74 jz short loc_180065A8B ; +0x76, 0x180065a76 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x78, 0x180065a78 mov rax, rbx ; +0x7d, 0x180065a7d mov rbx, [rsp+28h+arg_0] ; +0x80, 0x180065a80 add rsp, 20h ; +0x85, 0x180065a85 pop rdi ; +0x89, 0x180065a89 retn ; +0x8a, 0x180065a8a mov rax, [rbx] ; +0x8b, 0x180065a8b mov r8, [rax+8] ; +0x8e, 0x180065a8e lea rax, sub_1800649F0 ; +0x92, 0x180065a92 mov edx, 1 ; +0x99, 0x180065a99 cmp r8, rax ; +0x9e, 0x180065a9e jnz short loc_180065AB7 ; +0xa1, 0x180065aa1 call sub_1800649F0 ; +0xa3, 0x180065aa3 xor ebx, ebx ; +0xa8, 0x180065aa8 mov eax, ebx ; +0xaa, 0x180065aaa mov rbx, [rsp+28h+arg_0] ; +0xac, 0x180065aac add rsp, 20h ; +0xb1, 0x180065ab1 pop rdi ; +0xb5, 0x180065ab5 retn ; +0xb6, 0x180065ab6 call r8 ; +0xb7, 0x180065ab7 xor ebx, ebx ; +0xba, 0x180065aba mov rax, rbx ; +0xbc, 0x180065abc mov rbx, [rsp+28h+arg_0] ; +0xbf, 0x180065abf add rsp, 20h ; +0xc4, 0x180065ac4 pop rdi ; +0xc8, 0x180065ac8 retn ; +0xc9, 0x180065ac9