; ; cocos2d::CCParticleSystem::createWithTotalParticles from 0x180065ab0 to 0x180065b2a (122 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b3bac ; ; 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, 0x180065ab0 push rdi ; +0x5, 0x180065ab5 sub rsp, 20h ; +0x6, 0x180065ab6 mov edi, ecx ; +0xa, 0x180065aba mov ecx, 318h; Size ; +0xc, 0x180065abc call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x11, 0x180065ac1 mov [rsp+28h+arg_8], rax ; +0x16, 0x180065ac6 test rax, rax ; +0x1b, 0x180065acb jz short loc_180065ADD ; +0x1e, 0x180065ace mov rcx, rax; this ; +0x20, 0x180065ad0 call ??0CCParticleSystem@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystem::CCParticleSystem(void) ; +0x23, 0x180065ad3 mov rbx, rax ; +0x28, 0x180065ad8 jmp short loc_180065ADF ; +0x2b, 0x180065adb xor ebx, ebx ; +0x2d, 0x180065add test rbx, rbx ; +0x2f, 0x180065adf jz short loc_180065B1C ; +0x32, 0x180065ae2 mov rax, [rbx] ; +0x34, 0x180065ae4 xor r8d, r8d ; +0x37, 0x180065ae7 mov edx, edi ; +0x3a, 0x180065aea mov rcx, rbx ; +0x3c, 0x180065aec call qword ptr [rax+610h] ; +0x3f, 0x180065aef mov rcx, rbx; this ; +0x45, 0x180065af5 test al, al ; +0x48, 0x180065af8 jz short loc_180065B0F ; +0x4a, 0x180065afa call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x4c, 0x180065afc mov rax, rbx ; +0x51, 0x180065b01 mov rbx, [rsp+28h+arg_0] ; +0x54, 0x180065b04 add rsp, 20h ; +0x59, 0x180065b09 pop rdi ; +0x5d, 0x180065b0d retn ; +0x5e, 0x180065b0e mov rax, [rbx] ; +0x5f, 0x180065b0f mov edx, 1 ; +0x62, 0x180065b12 call qword ptr [rax+8] ; +0x67, 0x180065b17 xor ebx, ebx ; +0x6a, 0x180065b1a mov rax, rbx ; +0x6c, 0x180065b1c mov rbx, [rsp+28h+arg_0] ; +0x6f, 0x180065b1f add rsp, 20h ; +0x74, 0x180065b24 pop rdi ; +0x78, 0x180065b28 retn ; +0x79, 0x180065b29