; ; cocos2d::CCParticleSmoke::createWithTotalParticles from 0x180063780 to 0x18006384a (202 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b3960 ; ; 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, 0x180063780 push rdi ; +0x5, 0x180063785 sub rsp, 20h ; +0x6, 0x180063786 mov edi, ecx ; +0xa, 0x18006378a mov ecx, 348h; Size ; +0xc, 0x18006378c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x11, 0x180063791 mov rbx, rax ; +0x16, 0x180063796 mov [rsp+28h+arg_8], rax ; +0x19, 0x180063799 test rax, rax ; +0x1e, 0x18006379e jz short loc_1800637C5 ; +0x21, 0x1800637a1 mov rcx, rax; this ; +0x23, 0x1800637a3 call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x26, 0x1800637a6 lea rax, ??_7CCParticleSmoke@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleSmoke::`vftable'{for `cocos2d::CCNode'} ; +0x2b, 0x1800637ab mov [rbx], rax ; +0x32, 0x1800637b2 lea rax, ??_7CCParticleSmoke@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleSmoke::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x35, 0x1800637b5 mov [rbx+140h], rax ; +0x3c, 0x1800637bc jmp short loc_1800637C7 ; +0x43, 0x1800637c3 xor ebx, ebx ; +0x45, 0x1800637c5 test rbx, rbx ; +0x47, 0x1800637c7 jz short loc_18006383C ; +0x4a, 0x1800637ca mov rax, [rbx] ; +0x4c, 0x1800637cc mov r8, [rax+638h] ; +0x4f, 0x1800637cf lea rax, ?initWithTotalParticles@CCParticleSmoke@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleSmoke::initWithTotalParticles(uint) ; +0x56, 0x1800637d6 mov edx, edi; unsigned int ; +0x5d, 0x1800637dd mov rcx, rbx; this ; +0x5f, 0x1800637df cmp r8, rax ; +0x62, 0x1800637e2 jnz short loc_1800637EE ; +0x65, 0x1800637e5 call ?initWithTotalParticles@CCParticleSmoke@cocos2d@@UEAA_NI@Z; cocos2d::CCParticleSmoke::initWithTotalParticles(uint) ; +0x67, 0x1800637e7 jmp short loc_1800637F1 ; +0x6c, 0x1800637ec call r8 ; +0x6e, 0x1800637ee mov rcx, rbx; Block ; +0x71, 0x1800637f1 test al, al ; +0x74, 0x1800637f4 jz short loc_18006380B ; +0x76, 0x1800637f6 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x78, 0x1800637f8 mov rax, rbx ; +0x7d, 0x1800637fd mov rbx, [rsp+28h+arg_0] ; +0x80, 0x180063800 add rsp, 20h ; +0x85, 0x180063805 pop rdi ; +0x89, 0x180063809 retn ; +0x8a, 0x18006380a mov rax, [rbx] ; +0x8b, 0x18006380b mov r8, [rax+8] ; +0x8e, 0x18006380e lea rax, sub_180062710 ; +0x92, 0x180063812 mov edx, 1 ; +0x99, 0x180063819 cmp r8, rax ; +0x9e, 0x18006381e jnz short loc_180063837 ; +0xa1, 0x180063821 call sub_180062710 ; +0xa3, 0x180063823 xor ebx, ebx ; +0xa8, 0x180063828 mov eax, ebx ; +0xaa, 0x18006382a mov rbx, [rsp+28h+arg_0] ; +0xac, 0x18006382c add rsp, 20h ; +0xb1, 0x180063831 pop rdi ; +0xb5, 0x180063835 retn ; +0xb6, 0x180063836 call r8 ; +0xb7, 0x180063837 xor ebx, ebx ; +0xba, 0x18006383a mov rax, rbx ; +0xbc, 0x18006383c mov rbx, [rsp+28h+arg_0] ; +0xbf, 0x18006383f add rsp, 20h ; +0xc4, 0x180063844 pop rdi ; +0xc8, 0x180063848 retn ; +0xc9, 0x180063849