; ; CustomizeObjectLayer::colorSetupClosed from 0x1400a83a0 to 0x1400a8480 (224 bytes) ; ; 2 xrefs: ; > @ 0x1405453f0 ; > @ 0x1406c77a0 ; ; 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, 0x1400a83a0 mov [rsp+arg_8], rbp ; +0x5, 0x1400a83a5 mov [rsp+arg_10], rsi ; +0xa, 0x1400a83aa push rdi ; +0xf, 0x1400a83af sub rsp, 20h ; +0x10, 0x1400a83b0 mov rdi, rcx ; +0x14, 0x1400a83b4 mov ebx, edx ; +0x17, 0x1400a83b7 add rcx, 0FFFFFFFFFFFFFD70h ; +0x19, 0x1400a83b9 call CustomizeObjectLayer__updateSelected ; +0x20, 0x1400a83c0 lea eax, [rbx-0Ah] ; +0x25, 0x1400a83c5 mov ebp, ebx ; +0x28, 0x1400a83c8 cmp eax, 3DDh ; +0x2a, 0x1400a83ca ja short loc_1400A83F3 ; +0x2f, 0x1400a83cf lea rcx, [rdi-290h] ; +0x31, 0x1400a83d1 mov [rdi+44h], ebx ; +0x38, 0x1400a83d8 mov ebp, 3F0h ; +0x3b, 0x1400a83db mov byte ptr [rdi+0F2h], 1 ; +0x40, 0x1400a83e0 call CustomizeObjectLayer__updateCustomColorLabels ; +0x47, 0x1400a83e7 mov byte ptr [rdi+0F2h], 0 ; +0x4c, 0x1400a83ec mov edx, ebp ; +0x53, 0x1400a83f3 lea rcx, [rdi-290h] ; +0x55, 0x1400a83f5 call CustomizeObjectLayer__getButtonByTag ; +0x5c, 0x1400a83fc mov rdx, rax ; +0x61, 0x1400a8401 lea rcx, [rdi-290h] ; +0x64, 0x1400a8404 call CustomizeObjectLayer__highlightSelected ; +0x6b, 0x1400a840b lea rcx, [rdi-290h] ; +0x70, 0x1400a8410 call CustomizeObjectLayer__updateColorSprite ; +0x77, 0x1400a8417 cmp ebx, 3E8h ; +0x7c, 0x1400a841c jl short loc_1400A8430 ; +0x82, 0x1400a8422 mov ecx, ebx ; +0x84, 0x1400a8424 call GJSpecialColorSelect__textForColorIdx ; +0x86, 0x1400a8426 mov rdx, rax ; +0x8b, 0x1400a842b jmp short loc_1400A8458 ; +0x8e, 0x1400a842e test ebx, ebx ; +0x90, 0x1400a8430 jle short loc_1400A8451 ; +0x92, 0x1400a8432 mov edx, ebx ; +0x94, 0x1400a8434 lea rcx, aI_11; "%i" ; +0x96, 0x1400a8436 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x9d, 0x1400a843d mov rcx, rax ; +0xa3, 0x1400a8443 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xa6, 0x1400a8446 mov rdx, rax ; +0xac, 0x1400a844c jmp short loc_1400A8458 ; +0xaf, 0x1400a844f lea rdx, asc_140518984; " " ; +0xb1, 0x1400a8451 mov rcx, [rdi+80h] ; +0xb8, 0x1400a8458 add rcx, 168h ; +0xbf, 0x1400a845f mov rax, [rcx] ; +0xc6, 0x1400a8466 mov rbx, [rsp+28h+arg_0] ; +0xc9, 0x1400a8469 mov rbp, [rsp+28h+arg_8] ; +0xce, 0x1400a846e mov rsi, [rsp+28h+arg_10] ; +0xd3, 0x1400a8473 add rsp, 20h ; +0xd8, 0x1400a8478 pop rdi ; +0xdc, 0x1400a847c jmp qword ptr [rax] ; +0xdd, 0x1400a847d