; ; ColorSelectPopup::create from 0x140126950 to 0x140126b38 (488 bytes) ; ; 6 xrefs: ; > CustomizeObjectLayer::onEditColor @ 0x1401425a7 ; > EditorUI::editObject @ 0x1401bce93 ; > GJColorSetupLayer::onColor @ 0x14035f74b ; > LevelSettingsLayer::onShowPicker @ 0x14045abe5 ; > CreateParticlePopup::onSelectColor @ 0x1405c6f52 ; > @ 0x140916a00 ; ; 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:26:58 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140126950 mov [rsp+arg_8], rbp ; +0x5, 0x140126955 push rsi ; +0xa, 0x14012695a push rdi ; +0xb, 0x14012695b push r14 ; +0xc, 0x14012695c sub rsp, 20h ; +0xe, 0x14012695e mov rdi, r8 ; +0x12, 0x140126962 mov rsi, rdx ; +0x15, 0x140126965 mov rbp, rcx ; +0x18, 0x140126968 mov ecx, 500h; Size ; +0x1b, 0x14012696b call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x20, 0x140126970 mov r14, rax ; +0x25, 0x140126975 mov [rsp+38h+arg_18], rax ; +0x28, 0x140126978 mov rcx, rax ; +0x2d, 0x14012697d call SetupTriggerPopup__SetupTriggerPopup ; +0x30, 0x140126980 lea rcx, [r14+3E8h] ; +0x35, 0x140126985 call cs:??0ColorPickerDelegate@extension@cocos2d@@QEAA@XZ; cocos2d::extension::ColorPickerDelegate::ColorPickerDelegate(void) ; +0x3c, 0x14012698c lea rax, ??_7ColorSelectPopup@@6B@; const ColorSelectPopup::`vftable' ; +0x42, 0x140126992 mov [r14], rax ; +0x49, 0x140126999 lea rax, ??_7ColorSelectPopup@@6B@_0; const ColorSelectPopup::`vftable' ; +0x4c, 0x14012699c mov [r14+140h], rax ; +0x53, 0x1401269a3 lea rax, ??_7ColorSelectPopup@@6B@_1; const ColorSelectPopup::`vftable' ; +0x5a, 0x1401269aa mov [r14+148h], rax ; +0x61, 0x1401269b1 lea rax, ??_7ColorSelectPopup@@6B@_2; const ColorSelectPopup::`vftable' ; +0x68, 0x1401269b8 mov [r14+150h], rax ; +0x6f, 0x1401269bf lea rax, ??_7ColorSelectPopup@@6B@_3; const ColorSelectPopup::`vftable' ; +0x76, 0x1401269c6 mov [r14+158h], rax ; +0x7d, 0x1401269cd lea rax, ??_7ColorSelectPopup@@6B@_4; const ColorSelectPopup::`vftable' ; +0x84, 0x1401269d4 mov [r14+160h], rax ; +0x8b, 0x1401269db lea rax, ??_7ColorSelectPopup@@6B@_5; const ColorSelectPopup::`vftable' ; +0x92, 0x1401269e2 mov [r14+198h], rax ; +0x99, 0x1401269e9 lea rax, ??_7ColorSelectPopup@@6B@_6; const ColorSelectPopup::`vftable' ; +0xa0, 0x1401269f0 mov [r14+1B0h], rax ; +0xa7, 0x1401269f7 lea rax, ??_7ColorSelectPopup@@6B@_7; const ColorSelectPopup::`vftable' ; +0xae, 0x1401269fe mov [r14+220h], rax ; +0xb5, 0x140126a05 lea rax, ??_7ColorSelectPopup@@6B@_8; const ColorSelectPopup::`vftable' ; +0xbc, 0x140126a0c mov [r14+298h], rax ; +0xc3, 0x140126a13 lea rax, ??_7ColorSelectPopup@@6B@_9; const ColorSelectPopup::`vftable' ; +0xca, 0x140126a1a mov [r14+2A0h], rax ; +0xd1, 0x140126a21 lea rax, ??_7ColorSelectPopup@@6B@_10; const ColorSelectPopup::`vftable' ; +0xd8, 0x140126a28 mov [r14+3E8h], rax ; +0xdf, 0x140126a2f lea rax, ??_7ColorSelectPopup@@6B@_11; const ColorSelectPopup::`vftable' ; +0xe6, 0x140126a36 mov [r14+3F0h], rax ; +0xed, 0x140126a3d xor ebx, ebx ; +0xf4, 0x140126a44 mov [r14+3F8h], rbx ; +0xf6, 0x140126a46 mov [r14+400h], bl ; +0xfd, 0x140126a4d mov [r14+408h], rbx ; +0x104, 0x140126a54 mov [r14+410h], rbx ; +0x10b, 0x140126a5b mov [r14+418h], rbx ; +0x112, 0x140126a62 mov [r14+438h], rbx ; +0x119, 0x140126a69 mov [r14+440h], rbx ; +0x120, 0x140126a70 mov [r14+450h], rbx ; +0x127, 0x140126a77 mov [r14+458h], rbx ; +0x12e, 0x140126a7e mov [r14+460h], ebx ; +0x135, 0x140126a85 mov dword ptr [r14+464h], 3F800000h ; +0x13c, 0x140126a8c mov [r14+468h], rbx ; +0x147, 0x140126a97 mov [r14+470h], rbx ; +0x14e, 0x140126a9e mov [r14+478h], ebx ; +0x155, 0x140126aa5 mov [r14+47Ch], bx ; +0x15c, 0x140126aac mov [r14+480h], ebx ; +0x164, 0x140126ab4 mov [r14+484h], bl ; +0x16b, 0x140126abb mov [r14+488h], ebx ; +0x172, 0x140126ac2 mov [r14+48Ch], bl ; +0x179, 0x140126ac9 movups xmm0, xmmword ptr cs:unk_1408FE3F0 ; +0x180, 0x140126ad0 movups xmmword ptr [r14+498h], xmm0 ; +0x187, 0x140126ad7 mov [r14+4C0h], rbx ; +0x18f, 0x140126adf mov [r14+4D8h], bl ; +0x196, 0x140126ae6 mov r9, rdi ; +0x19d, 0x140126aed mov r8, rsi ; +0x1a0, 0x140126af0 mov rdx, rbp ; +0x1a3, 0x140126af3 mov rcx, r14 ; +0x1a6, 0x140126af6 call ColorSelectPopup__init ; +0x1a9, 0x140126af9 test al, al ; +0x1ae, 0x140126afe jz short loc_140126B10 ; +0x1b0, 0x140126b00 mov rcx, r14 ; +0x1b2, 0x140126b02 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1b5, 0x140126b05 mov rax, r14 ; +0x1bb, 0x140126b0b jmp short loc_140126B25 ; +0x1be, 0x140126b0e mov rcx, [r14] ; +0x1c0, 0x140126b10 mov r8, [rcx+8] ; +0x1c3, 0x140126b13 mov edx, 1 ; +0x1c7, 0x140126b17 mov rcx, r14 ; +0x1cc, 0x140126b1c call r8 ; +0x1cf, 0x140126b1f mov rax, rbx ; +0x1d2, 0x140126b22 mov rbx, [rsp+38h+arg_0] ; +0x1d5, 0x140126b25 mov rbp, [rsp+38h+arg_8] ; +0x1da, 0x140126b2a add rsp, 20h ; +0x1df, 0x140126b2f pop r14 ; +0x1e3, 0x140126b33 pop rdi ; +0x1e5, 0x140126b35 pop rsi ; +0x1e6, 0x140126b36 retn ; +0x1e7, 0x140126b37