; ; CustomizeObjectLayer::onPaste from 0x1001da780 to 0x1001da81b (155 bytes) ; ; 1 xrefs: ; > CustomizeObjectLayer::init @ 0x1001d93f6 ; ; 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 12:26:25 +0000 ; push rbp ; +0x0, 0x1001da780 mov rbp, rsp ; +0x1, 0x1001da781 push rbx ; +0x4, 0x1001da784 push rax; char ; +0x5, 0x1001da785 mov rbx, rdi ; +0x6, 0x1001da786 call GameManager__sharedState ; +0x9, 0x1001da789 mov rdi, [rax+228h] ; +0xe, 0x1001da78e mov rsi, [rbx+2B0h] ; +0x15, 0x1001da795 mov rdx, [rbx+2B8h] ; +0x1c, 0x1001da79c call LevelEditorLayer__pasteColorState ; +0x23, 0x1001da7a3 mov rdi, rbx ; +0x28, 0x1001da7a8 call CustomizeObjectLayer__updateCurrentSelection ; +0x2b, 0x1001da7ab mov rdi, rbx ; +0x30, 0x1001da7b0 call CustomizeObjectLayer__updateColorSprite ; +0x33, 0x1001da7b3 mov rdi, rbx ; +0x38, 0x1001da7b8 mov esi, 1 ; +0x3b, 0x1001da7bb call CustomizeObjectLayer__getActiveMode ; +0x40, 0x1001da7c0 cmp eax, 3E8h ; +0x45, 0x1001da7c5 jl short loc_1001DA7D5 ; +0x4a, 0x1001da7ca mov edi, eax ; +0x4c, 0x1001da7cc call GJSpecialColorSelect__textForColorIdx ; +0x4e, 0x1001da7ce jmp short loc_1001DA7F1 ; +0x53, 0x1001da7d3 test eax, eax ; +0x55, 0x1001da7d5 jle short loc_1001DA812 ; +0x57, 0x1001da7d7 lea rdi, aI_14; "%i" ; +0x59, 0x1001da7d9 mov esi, eax ; +0x60, 0x1001da7e0 xor eax, eax ; +0x62, 0x1001da7e2 call sub_10088E820 ; +0x64, 0x1001da7e4 mov rdi, rax ; +0x69, 0x1001da7e9 call cocos2d__CCString__getCString ; +0x6c, 0x1001da7ec mov rsi, rax ; +0x71, 0x1001da7f1 mov rdi, [rbx+328h] ; +0x74, 0x1001da7f4 mov rax, [rdi] ; +0x7b, 0x1001da7fb call qword ptr [rax+3A0h] ; +0x7e, 0x1001da7fe mov rdi, rbx ; +0x84, 0x1001da804 add rsp, 8 ; +0x87, 0x1001da807 pop rbx ; +0x8b, 0x1001da80b pop rbp ; +0x8c, 0x1001da80c jmp CustomizeObjectLayer__updateHSVButtons ; +0x8d, 0x1001da80d lea rsi, asc_100A41844; " " ; +0x92, 0x1001da812 jmp short loc_1001DA7F4 ; +0x99, 0x1001da819