; ; cocos2d::CCParticleSmoke::create from 0x1800652f0 to 0x1800653a6 (182 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bdc30 ; ; 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 ; push rbx ; +0x0, 0x1800652f0 sub rsp, 20h ; +0x2, 0x1800652f2 mov ecx, 348h; Size ; +0x6, 0x1800652f6 call sub_1800E4AC0 ; +0xb, 0x1800652fb mov rbx, rax ; +0x10, 0x180065300 mov [rsp+28h+arg_0], rax ; +0x13, 0x180065303 test rax, rax ; +0x18, 0x180065308 jz short loc_18006532F ; +0x1b, 0x18006530b mov rcx, rax; this ; +0x1d, 0x18006530d call ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x20, 0x180065310 lea rax, ??_7CCParticleSmoke@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleSmoke::`vftable'{for `cocos2d::CCNode'} ; +0x25, 0x180065315 mov [rbx], rax ; +0x2c, 0x18006531c lea rax, ??_7CCParticleSmoke@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleSmoke::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x2f, 0x18006531f mov [rbx+140h], rax ; +0x36, 0x180065326 jmp short loc_180065331 ; +0x3d, 0x18006532d xor ebx, ebx ; +0x3f, 0x18006532f test rbx, rbx ; +0x41, 0x180065331 jz short loc_18006539D ; +0x44, 0x180065334 mov r8, [rbx] ; +0x46, 0x180065336 mov rax, [r8+48h] ; +0x49, 0x180065339 lea rcx, ?init@CCParticleSmoke@cocos2d@@UEAA_NXZ; cocos2d::CCParticleSmoke::init(void) ; +0x4d, 0x18006533d cmp rax, rcx ; +0x54, 0x180065344 mov rcx, rbx ; +0x57, 0x180065347 jnz short loc_18006535A ; +0x5a, 0x18006534a mov edx, 0C8h ; +0x5c, 0x18006534c call qword ptr [r8+648h] ; +0x61, 0x180065351 jmp short loc_18006535C ; +0x68, 0x180065358 call rax ; +0x6a, 0x18006535a mov rcx, rbx; Block ; +0x6c, 0x18006535c test al, al ; +0x6f, 0x18006535f jz short loc_180065371 ; +0x71, 0x180065361 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x73, 0x180065363 mov rax, rbx ; +0x78, 0x180065368 add rsp, 20h ; +0x7b, 0x18006536b pop rbx ; +0x7f, 0x18006536f retn ; +0x80, 0x180065370 mov rax, [rbx] ; +0x81, 0x180065371 mov r8, [rax+8] ; +0x84, 0x180065374 lea rax, sub_180064B30 ; +0x88, 0x180065378 mov edx, 1 ; +0x8f, 0x18006537f cmp r8, rax ; +0x94, 0x180065384 jnz short loc_180065398 ; +0x97, 0x180065387 call sub_180064B30 ; +0x99, 0x180065389 xor ebx, ebx ; +0x9e, 0x18006538e mov eax, ebx ; +0xa0, 0x180065390 add rsp, 20h ; +0xa2, 0x180065392 pop rbx ; +0xa6, 0x180065396 retn ; +0xa7, 0x180065397 call r8 ; +0xa8, 0x180065398 xor ebx, ebx ; +0xab, 0x18006539b mov rax, rbx ; +0xad, 0x18006539d add rsp, 20h ; +0xb0, 0x1800653a0 pop rbx ; +0xb4, 0x1800653a4 retn ; +0xb5, 0x1800653a5