; ; ColorAction::create from 0x140258ea0 to 0x140258f89 (233 bytes) ; ; 16 xrefs: ; > GJEffectManager::getColorAction @ 0x14025bc45 ; > GJEffectManager::setupFromString @ 0x140263d17 ; > GJEffectManager::loadFromState @ 0x140264537 ; > LevelEditorLayer::init @ 0x1402d2a07 ; > LevelEditorLayer::init @ 0x1402d2a90 ; > LevelEditorLayer::getNextColorChannel @ 0x1402db342 ; > LevelEditorLayer::transferDefaultColors @ 0x1402dbf0d ; > LevelEditorLayer::transferDefaultColors @ 0x1402dbf8c ; > LevelSettingsObject::init @ 0x1402eacbb ; > LevelSettingsObject::init @ 0x1402ead1a ; > LevelSettingsObject::init @ 0x1402ead79 ; > LevelSettingsObject::init @ 0x1402eadd8 ; > LevelSettingsObject::init @ 0x1402eae3b ; > LevelSettingsObject::init @ 0x1402eae9a ; > CreateParticlePopup::onSelectColor @ 0x1404318e3 ; > @ 0x1406cfbe8 ; ; 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_8], rbx ; +0x0, 0x140258ea0 mov [rsp+arg_10], rsi ; +0x5, 0x140258ea5 push rdi ; +0xa, 0x140258eaa sub rsp, 20h ; +0xb, 0x140258eab movzx esi, cs:word_140529AB0 ; +0xf, 0x140258eaf movzx ebx, cs:byte_140529AB2 ; +0x16, 0x140258eb6 mov ecx, 0A8h; Size ; +0x1d, 0x140258ebd call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x22, 0x140258ec2 mov rdi, rax ; +0x27, 0x140258ec7 mov [rsp+28h+arg_0], rax ; +0x2a, 0x140258eca mov rcx, rax ; +0x2f, 0x140258ecf call cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x32, 0x140258ed2 lea rax, ??_7ColorAction@@6B@; const ColorAction::`vftable' ; +0x38, 0x140258ed8 mov [rdi], rax ; +0x3f, 0x140258edf mov word ptr [rdi+38h], 0 ; +0x42, 0x140258ee2 mov qword ptr [rdi+40h], 3F800000h ; +0x48, 0x140258ee8 xor eax, eax ; +0x50, 0x140258ef0 mov [rdi+50h], eax ; +0x52, 0x140258ef2 mov [rdi+54h], al ; +0x55, 0x140258ef5 mov [rdi+58h], rax ; +0x58, 0x140258ef8 mov dword ptr [rdi+60h], 3F800000h ; +0x5c, 0x140258efc mov dword ptr [rdi+64h], 3F800000h ; +0x63, 0x140258f03 movups xmm0, cs:xmmword_1406BA178 ; +0x6a, 0x140258f0a movups xmmword ptr [rdi+68h], xmm0 ; +0x71, 0x140258f11 mov [rdi+78h], eax ; +0x75, 0x140258f15 mov [rdi+7Ch], ax ; +0x78, 0x140258f18 mov [rdi+7Eh], al ; +0x7c, 0x140258f1c mov [rdi+80h], rax ; +0x7f, 0x140258f1f mov [rdi+88h], al ; +0x86, 0x140258f26 mov [rdi+90h], rax ; +0x8c, 0x140258f2c mov [rdi+98h], rax ; +0x93, 0x140258f33 mov [rdi+0A0h], rax ; +0x9a, 0x140258f3a mov [rdi+48h], si ; +0xa1, 0x140258f41 mov [rdi+4Ah], bl ; +0xa5, 0x140258f45 mov [rdi+4Bh], si ; +0xa8, 0x140258f48 mov [rdi+4Dh], bl ; +0xac, 0x140258f4c mov [rdi+50h], eax ; +0xaf, 0x140258f4f mov [rdi+54h], al ; +0xb2, 0x140258f52 mov dword ptr [rdi+58h], 0FFFFFFFFh ; +0xb5, 0x140258f55 mov [rdi+5Ch], eax ; +0xbc, 0x140258f5c mov dword ptr [rdi+60h], 3F800000h ; +0xbf, 0x140258f5f mov dword ptr [rdi+64h], 3F800000h ; +0xc6, 0x140258f66 mov rcx, rdi ; +0xcd, 0x140258f6d call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xd0, 0x140258f70 mov rax, rdi ; +0xd6, 0x140258f76 mov rbx, [rsp+28h+arg_8] ; +0xd9, 0x140258f79 mov rsi, [rsp+28h+arg_10] ; +0xde, 0x140258f7e add rsp, 20h ; +0xe3, 0x140258f83 pop rdi ; +0xe7, 0x140258f87 retn ; +0xe8, 0x140258f88