; ; CreateParticlePopup::onClose from 0x1405caa90 to 0x1405cabc7 (311 bytes) ; ; 5 xrefs: ; > CreateParticlePopup::keyBackClicked @ 0x1405cabd9 ; > CreateParticlePopup::init @ 0x1405c1e54 ; > @ 0x1408e0abc ; > @ 0x1408e0af4 ; > @ 0x14092e454 ; ; 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:34:52 +0000 ; push rbx ; +0x0, 0x1405caa90 sub rsp, 40h ; +0x2, 0x1405caa92 mov rbx, rcx ; +0x6, 0x1405caa96 call CreateParticlePopup__willClose ; +0x9, 0x1405caa99 cmp qword ptr [rbx+2A8h], 0 ; +0xe, 0x1405caa9e jz short loc_1405CAB07 ; +0x16, 0x1405caaa6 mov rdx, [rbx+2C8h] ; +0x18, 0x1405caaa8 lea rcx, [rsp+48h+var_28] ; +0x1f, 0x1405caaaf call GameToolbox__saveParticleToString ; +0x24, 0x1405caab4 mov rcx, [rbx+2A8h] ; +0x29, 0x1405caab9 mov rdx, rax ; +0x30, 0x1405caac0 call ParticleGameObject__setParticleString ; +0x33, 0x1405caac3 mov rcx, [rbx+2A8h] ; +0x38, 0x1405caac8 mov eax, [rbx+3E4h] ; +0x3f, 0x1405caacf mov [rcx+70Ch], eax ; +0x45, 0x1405caad5 mov rax, [rbx+2C8h] ; +0x4b, 0x1405caadb mov rcx, [rbx+2A8h] ; +0x52, 0x1405caae2 movzx eax, byte ptr [rax+2ECh] ; +0x59, 0x1405caae9 mov [rcx+708h], al ; +0x60, 0x1405caaf0 mov rcx, [rbx+2A8h] ; +0x66, 0x1405caaf6 call ParticleGameObject__updateParticle ; +0x6d, 0x1405caafd jmp loc_1405CABB3 ; +0x72, 0x1405cab02 mov rcx, [rbx+2B0h] ; +0x77, 0x1405cab07 test rcx, rcx ; +0x7e, 0x1405cab0e jz loc_1405CABB3 ; +0x81, 0x1405cab11 mov [rsp+48h+arg_8], rbp ; +0x87, 0x1405cab17 xor ebp, ebp ; +0x8c, 0x1405cab1c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x8e, 0x1405cab1e test eax, eax ; +0x94, 0x1405cab24 jz loc_1405CABAE ; +0x96, 0x1405cab26 mov [rsp+48h+arg_10], rsi ; +0x9c, 0x1405cab2c mov [rsp+48h+arg_18], rdi ; +0xa1, 0x1405cab31 nop word ptr [rax+rax+00000000h] ; +0xa6, 0x1405cab36 mov rcx, [rbx+2B0h] ; +0xb0, 0x1405cab40 mov edx, ebp ; +0xb7, 0x1405cab47 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xb9, 0x1405cab49 mov rcx, [rbx+2B8h] ; +0xbf, 0x1405cab4f mov edx, ebp ; +0xc6, 0x1405cab56 mov rsi, rax ; +0xc8, 0x1405cab58 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xcb, 0x1405cab5b mov rdx, rax ; +0xd1, 0x1405cab61 lea rcx, [rsp+48h+var_28] ; +0xd4, 0x1405cab64 mov rdi, rax ; +0xd9, 0x1405cab69 call GameToolbox__saveParticleToString ; +0xdc, 0x1405cab6c mov rdx, rax ; +0xe1, 0x1405cab71 mov rcx, rsi ; +0xe4, 0x1405cab74 call ParticleGameObject__setParticleString ; +0xe7, 0x1405cab77 movzx eax, byte ptr [rdi+2ECh] ; +0xec, 0x1405cab7c mov rcx, rsi ; +0xf3, 0x1405cab83 mov [rsi+708h], al ; +0xf6, 0x1405cab86 call ParticleGameObject__updateParticle ; +0xfc, 0x1405cab8c mov rcx, [rbx+2B0h] ; +0x101, 0x1405cab91 inc ebp ; +0x108, 0x1405cab98 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x10a, 0x1405cab9a cmp ebp, eax ; +0x110, 0x1405caba0 jb short loc_1405CAB40 ; +0x112, 0x1405caba2 mov rdi, [rsp+48h+arg_18] ; +0x114, 0x1405caba4 mov rsi, [rsp+48h+arg_10] ; +0x119, 0x1405caba9 mov rbp, [rsp+48h+arg_8] ; +0x11e, 0x1405cabae mov rax, [rbx] ; +0x123, 0x1405cabb3 mov dl, 1 ; +0x126, 0x1405cabb6 mov rcx, rbx ; +0x128, 0x1405cabb8 add rsp, 40h ; +0x12b, 0x1405cabbb pop rbx ; +0x12f, 0x1405cabbf jmp qword ptr [rax+208h] ; +0x130, 0x1405cabc0