; ; EmotePickerPopup::refreshEnabled from 0x140124640 to 0x14012477e (318 bytes) ; ; 6 xrefs: ; > EmotePickerPopup::init @ 0x140123c11 ; > EmotePickerPopup::textChanged @ 0x140123c67 ; > EmotePickerPopup::onPickEmote @ 0x1401249a3 ; > @ 0x1408980b8 ; > @ 0x140898114 ; > @ 0x1409168c8 ; ; 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:57 +0000 ; push rdi ; +0x0, 0x140124640 sub rsp, 20h ; +0x2, 0x140124642 cmp qword ptr [rcx+408h], 0 ; +0x6, 0x140124646 mov rdi, rcx ; +0xe, 0x14012464e jz loc_140124778 ; +0x11, 0x140124651 mov [rsp+28h+arg_8], rbp ; +0x17, 0x140124657 call EmotePickerPopup__canAddEmote ; +0x1c, 0x14012465c movzx ebp, al ; +0x21, 0x140124661 cmp ebp, [rdi+4A8h] ; +0x24, 0x140124664 jz loc_140124773 ; +0x2a, 0x14012466a mov rcx, [rdi+408h] ; +0x30, 0x140124670 mov [rdi+4A8h], ebp ; +0x37, 0x140124677 mov rdx, [rcx] ; +0x3d, 0x14012467d call qword ptr [rdx+1E0h] ; +0x40, 0x140124680 test rax, rax ; +0x46, 0x140124686 jz loc_140124773 ; +0x49, 0x140124689 mov rcx, [rdi+408h] ; +0x4f, 0x14012468f mov rax, [rcx] ; +0x56, 0x140124696 call qword ptr [rax+1E0h] ; +0x59, 0x140124699 mov rcx, [rax+38h] ; +0x5f, 0x14012469f cmp dword ptr [rcx], 0 ; +0x63, 0x1401246a3 jbe loc_140124773 ; +0x66, 0x1401246a6 mov rcx, [rdi+408h] ; +0x6c, 0x1401246ac mov [rsp+28h+arg_0], rbx ; +0x73, 0x1401246b3 mov [rsp+28h+arg_10], rsi ; +0x78, 0x1401246b8 mov rax, [rcx] ; +0x7d, 0x1401246bd call qword ptr [rax+1E0h] ; +0x80, 0x1401246c0 mov rcx, [rax+38h] ; +0x86, 0x1401246c6 mov rsi, [rcx+10h] ; +0x8a, 0x1401246ca mov rcx, [rdi+408h] ; +0x8e, 0x1401246ce mov rax, [rcx] ; +0x95, 0x1401246d5 call qword ptr [rax+1E0h] ; +0x98, 0x1401246d8 mov rcx, [rax+38h] ; +0x9e, 0x1401246de mov rbx, [rcx+10h] ; +0xa2, 0x1401246e2 mov rcx, [rdi+408h] ; +0xa6, 0x1401246e6 mov rax, [rcx] ; +0xad, 0x1401246ed call qword ptr [rax+1E0h] ; +0xb0, 0x1401246f0 mov rcx, [rax+38h] ; +0xb6, 0x1401246f6 mov edi, [rcx] ; +0xba, 0x1401246fa dec rdi ; +0xbc, 0x1401246fc lea rdi, [rbx+rdi*8] ; +0xbf, 0x1401246ff cmp rsi, rdi ; +0xc3, 0x140124703 ja short loc_140124769 ; +0xc6, 0x140124706 mov [rsp+28h+arg_18], r14 ; +0xc8, 0x140124708 mov r14d, 0FFh ; +0xcd, 0x14012470d mov rbx, [rsi] ; +0xd3, 0x140124713 test rbx, rbx ; +0xd6, 0x140124716 jz short loc_140124764 ; +0xd9, 0x140124719 mov rax, [rbx] ; +0xdb, 0x14012471b movzx edx, bpl ; +0xde, 0x14012471e mov rcx, rbx ; +0xe2, 0x140124722 call qword ptr [rax+3A8h] ; +0xe5, 0x140124725 mov rax, [rbx] ; +0xeb, 0x14012472b mov rcx, rbx ; +0xee, 0x14012472e call qword ptr [rax+1E0h] ; +0xf1, 0x140124731 mov rcx, rax ; +0xf7, 0x140124737 xor edx, edx ; +0xfa, 0x14012473a call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xfc, 0x14012473c mov edx, 5Ah ; 'Z' ; +0x102, 0x140124742 test bpl, bpl ; +0x107, 0x140124747 cmovnz edx, r14d ; +0x10a, 0x14012474a lea rcx, [rax+140h] ; +0x10e, 0x14012474e mov rax, [rcx] ; +0x115, 0x140124755 call qword ptr [rax+28h] ; +0x118, 0x140124758 add rsi, 8 ; +0x11b, 0x14012475b cmp rsi, rdi ; +0x11f, 0x14012475f jbe short loc_140124713 ; +0x122, 0x140124762 mov r14, [rsp+28h+arg_18] ; +0x124, 0x140124764 mov rbx, [rsp+28h+arg_0] ; +0x129, 0x140124769 mov rsi, [rsp+28h+arg_10] ; +0x12e, 0x14012476e mov rbp, [rsp+28h+arg_8] ; +0x133, 0x140124773 add rsp, 20h ; +0x138, 0x140124778 pop rdi ; +0x13c, 0x14012477c retn ; +0x13d, 0x14012477d