; ; GameManager::isColorUnlocked from 0x14017c8e0 to 0x14017c99b (187 bytes) ; ; 6 xrefs: ; > CharacterColorPage::updateColorMode @ 0x140089a13 ; > CharacterColorPage::onPlayerColor @ 0x140089e1d ; > GameManager::checkUsedIcons @ 0x140184237 ; > GameManager::checkUsedIcons @ 0x1401842cf ; > GameManager::checkUsedIcons @ 0x14018435a ; > @ 0x1406cb3ac ; ; 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 ; push rbx ; +0x0, 0x14017c8e0 push rsi ; +0x2, 0x14017c8e2 push rdi ; +0x3, 0x14017c8e3 sub rsp, 50h ; +0x4, 0x14017c8e4 mov rax, cs:__security_cookie ; +0x8, 0x14017c8e8 xor rax, rsp ; +0xf, 0x14017c8ef mov [rsp+68h+var_20], rax ; +0x12, 0x14017c8f2 mov esi, r8d ; +0x17, 0x14017c8f7 mov edi, edx ; +0x1a, 0x14017c8fa mov rbx, rcx ; +0x1c, 0x14017c8fc cmp edx, 4 ; +0x1f, 0x14017c8ff jge short loc_14017C908 ; +0x22, 0x14017c902 mov al, 1 ; +0x24, 0x14017c904 jmp short loc_14017C986 ; +0x26, 0x14017c906 mov r9d, esi ; +0x28, 0x14017c908 mov r8d, edi ; +0x2b, 0x14017c90b lea rdx, [rsp+68h+var_40] ; +0x2e, 0x14017c90e call GameManager__colorKey ; +0x33, 0x14017c913 nop ; +0x38, 0x14017c918 mov rdx, rax ; +0x39, 0x14017c919 mov rcx, [rbx+198h] ; +0x3c, 0x14017c91c call cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0x43, 0x14017c923 mov rcx, rax ; +0x49, 0x14017c929 call cs:?boolValue@CCString@cocos2d@@QEBA_NXZ; cocos2d::CCString::boolValue(void) ; +0x4c, 0x14017c92c movzx ebx, al ; +0x52, 0x14017c932 lea rcx, [rsp+68h+var_40] ; +0x55, 0x14017c935 call sub_14003A830 ; +0x5a, 0x14017c93a test bl, bl ; +0x5f, 0x14017c93f jnz short loc_14017C983 ; +0x61, 0x14017c941 cmp cs:qword_1406C2EE8, 0 ; +0x63, 0x14017c943 jnz short loc_14017C976 ; +0x6b, 0x14017c94b mov ecx, 3E0h; Size ; +0x6d, 0x14017c94d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x72, 0x14017c952 mov [rsp+68h+var_48], rax ; +0x77, 0x14017c957 mov rcx, rax ; +0x7c, 0x14017c95c call sub_1401D0AE0 ; +0x7f, 0x14017c95f nop ; +0x84, 0x14017c964 mov cs:qword_1406C2EE8, rax ; +0x85, 0x14017c965 mov r9, [rax] ; +0x8c, 0x14017c96c mov rcx, rax ; +0x8f, 0x14017c96f call qword ptr [r9+48h] ; +0x92, 0x14017c972 mov r8d, edi ; +0x96, 0x14017c976 mov edx, esi ; +0x99, 0x14017c979 call GameStatsManager__isItemUnlocked ; +0x9b, 0x14017c97b movzx ebx, al ; +0xa0, 0x14017c980 movzx eax, bl ; +0xa3, 0x14017c983 mov rcx, [rsp+68h+var_20] ; +0xa6, 0x14017c986 xor rcx, rsp; StackCookie ; +0xab, 0x14017c98b call __security_check_cookie ; +0xae, 0x14017c98e add rsp, 50h ; +0xb3, 0x14017c993 pop rdi ; +0xb7, 0x14017c997 pop rsi ; +0xb8, 0x14017c998 pop rbx ; +0xb9, 0x14017c999 retn ; +0xba, 0x14017c99a