; ; EditorUI::updateButtons from 0x1400e1dd0 to 0x1400e26d2 (2306 bytes) ; ; 24 xrefs: ; > EditorPauseLayer::onSelectAll @ 0x1400dce5a ; > EditorUI::init @ 0x1400e1660 ; > EditorUI::clickOnPosition @ 0x1400e274c ; > EditorUI::clickOnPosition @ 0x1400e27bf ; > EditorUI::clickOnPosition @ 0x1400e285c ; > EditorUI::onDeleteSelected @ 0x1400e6866 ; > EditorUI::onDeleteSelectedType @ 0x1400e6a05 ; > EditorUI::deselectAll @ 0x140111541 ; > EditorUI::selectAllWithDirection @ 0x1401116f7 ; > EditorUI::undoLastAction @ 0x140111841 ; > EditorUI::redoLastAction @ 0x1401118b1 ; > EditorUI::onGroupSticky @ 0x140112915 ; > EditorUI::onUngroupSticky @ 0x140112955 ; > EditorUI::onStickyToggle @ 0x1401129fd ; > EditorUI::onDuplicate @ 0x140112dc6 ; > EditorUI::doCopyObjects @ 0x1401132f4 ; > EditorUI::doPasteObjects @ 0x14011357b ; > EditorUI::onCopyState @ 0x1401143c9 ; > EditorUI::createSmartObjectsFromTemplate @ 0x140117921 ; > EditorUI::createSmartObjectsFromType @ 0x1401183ea ; > EditorUI::moveObjectCall_1 @ 0x14011fc8b ; > EditorUI::ccTouchEnded @ 0x140125294 ; > EditorUI::keyDown @ 0x140126312 ; > @ 0x1406c8b80 ; ; 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_8], rbx ; +0x0, 0x1400e1dd0 mov [rsp+arg_10], rbp ; +0x5, 0x1400e1dd5 mov [rsp+arg_18], rsi ; +0xa, 0x1400e1dda push rdi ; +0xf, 0x1400e1ddf push r12 ; +0x10, 0x1400e1de0 push r13 ; +0x12, 0x1400e1de2 push r14 ; +0x14, 0x1400e1de4 push r15 ; +0x16, 0x1400e1de6 sub rsp, 20h ; +0x18, 0x1400e1de8 mov rbx, rcx ; +0x1c, 0x1400e1dec call EditorUI__toggleEditObjectButton ; +0x1f, 0x1400e1def cmp qword ptr [rbx+538h], 0 ; +0x24, 0x1400e1df4 jnz short loc_1400E1E14 ; +0x2c, 0x1400e1dfc mov rcx, [rbx+340h] ; +0x2e, 0x1400e1dfe call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x35, 0x1400e1e05 test eax, eax ; +0x3b, 0x1400e1e0b jnz short loc_1400E1E14 ; +0x3d, 0x1400e1e0d xor bpl, bpl ; +0x3f, 0x1400e1e0f jmp short loc_1400E1E17 ; +0x42, 0x1400e1e12 mov bpl, 1 ; +0x44, 0x1400e1e14 mov rax, [rbx+408h] ; +0x47, 0x1400e1e17 mov [rax+198h], bpl ; +0x4e, 0x1400e1e1e lea r15, word_140529A48 ; +0x55, 0x1400e1e25 lea r13, word_140529A40 ; +0x5c, 0x1400e1e2c mov rsi, r13 ; +0x63, 0x1400e1e33 test bpl, bpl ; +0x66, 0x1400e1e36 cmovnz rsi, r15 ; +0x69, 0x1400e1e39 mov rcx, [rbx+408h] ; +0x6d, 0x1400e1e3d add rcx, 140h ; +0x74, 0x1400e1e44 mov rax, [rcx] ; +0x7b, 0x1400e1e4b mov rdx, rsi ; +0x7e, 0x1400e1e4e call qword ptr [rax] ; +0x81, 0x1400e1e51 mov rcx, [rbx+408h] ; +0x83, 0x1400e1e53 add rcx, 140h ; +0x8a, 0x1400e1e5a mov edi, 0AFh ; +0x91, 0x1400e1e61 mov r12d, 0FFh ; +0x96, 0x1400e1e66 test bpl, bpl ; +0x9c, 0x1400e1e6c cmovnz edi, r12d ; +0x9f, 0x1400e1e6f mov rax, [rcx] ; +0xa3, 0x1400e1e73 movzx edx, dil ; +0xa6, 0x1400e1e76 call qword ptr [rax+28h] ; +0xaa, 0x1400e1e7a mov rax, [rbx+410h] ; +0xad, 0x1400e1e7d mov [rax+198h], bpl ; +0xb4, 0x1400e1e84 mov rcx, [rbx+410h] ; +0xbb, 0x1400e1e8b add rcx, 140h ; +0xc2, 0x1400e1e92 mov rax, [rcx] ; +0xc9, 0x1400e1e99 mov rdx, rsi ; +0xcc, 0x1400e1e9c call qword ptr [rax] ; +0xcf, 0x1400e1e9f mov rcx, [rbx+410h] ; +0xd1, 0x1400e1ea1 add rcx, 140h ; +0xd8, 0x1400e1ea8 mov rax, [rcx] ; +0xdf, 0x1400e1eaf movzx edx, dil ; +0xe2, 0x1400e1eb2 call qword ptr [rax+28h] ; +0xe6, 0x1400e1eb6 mov rdi, cs:qword_1406C2ED8 ; +0xe9, 0x1400e1eb9 test rdi, rdi ; +0xf0, 0x1400e1ec0 jnz short loc_1400E1EF4 ; +0xf3, 0x1400e1ec3 mov ecx, 668h; Size ; +0xf5, 0x1400e1ec5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xfa, 0x1400e1eca mov [rsp+48h+arg_0], rax ; +0xff, 0x1400e1ecf mov rcx, rax ; +0x104, 0x1400e1ed4 call sub_14017AB00 ; +0x107, 0x1400e1ed7 nop ; +0x10c, 0x1400e1edc mov cs:qword_1406C2ED8, rax ; +0x10d, 0x1400e1edd mov rdx, [rax] ; +0x114, 0x1400e1ee4 mov rcx, rax ; +0x117, 0x1400e1ee7 call qword ptr [rdx+48h] ; +0x11a, 0x1400e1eea mov rdi, cs:qword_1406C2ED8 ; +0x11d, 0x1400e1eed mov rdi, [rdi+1F0h] ; +0x124, 0x1400e1ef4 test rdi, rdi ; +0x12b, 0x1400e1efb setnz cl ; +0x12e, 0x1400e1efe mov rax, [rbx+418h] ; +0x131, 0x1400e1f01 mov [rax+198h], cl ; +0x138, 0x1400e1f08 mov rdx, r13 ; +0x13e, 0x1400e1f0e test rdi, rdi ; +0x141, 0x1400e1f11 cmovnz rdx, r15 ; +0x144, 0x1400e1f14 mov rcx, [rbx+418h] ; +0x148, 0x1400e1f18 add rcx, 140h ; +0x14f, 0x1400e1f1f mov rax, [rcx] ; +0x156, 0x1400e1f26 call qword ptr [rax] ; +0x159, 0x1400e1f29 mov rcx, [rbx+418h] ; +0x15b, 0x1400e1f2b add rcx, 140h ; +0x162, 0x1400e1f32 mov rax, [rcx] ; +0x169, 0x1400e1f39 mov edx, 0AFh ; +0x16c, 0x1400e1f3c test rdi, rdi ; +0x171, 0x1400e1f41 cmovnz edx, r12d ; +0x174, 0x1400e1f44 call qword ptr [rax+28h] ; +0x178, 0x1400e1f48 mov rcx, [rbx+348h] ; +0x17b, 0x1400e1f4b mov rax, [rcx] ; +0x182, 0x1400e1f52 cmp dword ptr [rbx+4F8h], 1 ; +0x185, 0x1400e1f55 setz dl ; +0x18c, 0x1400e1f5c call qword ptr [rax+140h] ; +0x18f, 0x1400e1f5f mov rcx, rbx ; +0x195, 0x1400e1f65 call EditorUI__updateDeleteButtons ; +0x198, 0x1400e1f68 mov rcx, rbx ; +0x19d, 0x1400e1f6d call EditorUI__toggleSpecialEditButtons ; +0x1a0, 0x1400e1f70 cmp qword ptr [rbx+538h], 0 ; +0x1a5, 0x1400e1f75 jnz short loc_1400E1F95 ; +0x1ad, 0x1400e1f7d mov rcx, [rbx+340h] ; +0x1af, 0x1400e1f7f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1b6, 0x1400e1f86 test eax, eax ; +0x1bc, 0x1400e1f8c jnz short loc_1400E1F95 ; +0x1be, 0x1400e1f8e xor bpl, bpl ; +0x1c0, 0x1400e1f90 jmp short loc_1400E1F98 ; +0x1c3, 0x1400e1f93 mov bpl, 1 ; +0x1c5, 0x1400e1f95 mov rax, [rbx+380h] ; +0x1c8, 0x1400e1f98 mov [rax+198h], bpl ; +0x1cf, 0x1400e1f9f mov rdx, r13 ; +0x1d6, 0x1400e1fa6 test bpl, bpl ; +0x1d9, 0x1400e1fa9 cmovnz rdx, r15 ; +0x1dc, 0x1400e1fac mov rcx, [rbx+380h] ; +0x1e0, 0x1400e1fb0 add rcx, 140h ; +0x1e7, 0x1400e1fb7 mov rax, [rcx] ; +0x1ee, 0x1400e1fbe call qword ptr [rax] ; +0x1f1, 0x1400e1fc1 mov rcx, [rbx+380h] ; +0x1f3, 0x1400e1fc3 add rcx, 140h ; +0x1fa, 0x1400e1fca mov rax, [rcx] ; +0x201, 0x1400e1fd1 mov edx, 0AFh ; +0x204, 0x1400e1fd4 test bpl, bpl ; +0x209, 0x1400e1fd9 cmovnz edx, r12d ; +0x20c, 0x1400e1fdc call qword ptr [rax+28h] ; +0x210, 0x1400e1fe0 lea rsi, [rbx+500h] ; +0x213, 0x1400e1fe3 mov rcx, [rsi] ; +0x21a, 0x1400e1fea mov rcx, [rcx+38A8h] ; +0x21d, 0x1400e1fed call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x224, 0x1400e1ff4 mov edi, eax ; +0x22a, 0x1400e1ffa test eax, eax ; +0x22c, 0x1400e1ffc setnz dl ; +0x22e, 0x1400e1ffe mov rcx, [rbx+3D0h] ; +0x231, 0x1400e2001 mov [rcx+198h], dl ; +0x238, 0x1400e2008 mov rdx, r13 ; +0x23e, 0x1400e200e test eax, eax ; +0x241, 0x1400e2011 cmovnz rdx, r15 ; +0x243, 0x1400e2013 mov rcx, [rbx+3D0h] ; +0x247, 0x1400e2017 add rcx, 140h ; +0x24e, 0x1400e201e mov rax, [rcx] ; +0x255, 0x1400e2025 call qword ptr [rax] ; +0x258, 0x1400e2028 mov rcx, [rbx+3D0h] ; +0x25a, 0x1400e202a add rcx, 140h ; +0x261, 0x1400e2031 mov rax, [rcx] ; +0x268, 0x1400e2038 mov edx, 0AFh ; +0x26b, 0x1400e203b test edi, edi ; +0x270, 0x1400e2040 cmovnz edx, r12d ; +0x272, 0x1400e2042 call qword ptr [rax+28h] ; +0x276, 0x1400e2046 mov rcx, [rbx+468h] ; +0x279, 0x1400e2049 mov rax, [rcx] ; +0x280, 0x1400e2050 movzx edx, bpl ; +0x283, 0x1400e2053 call qword ptr [rax+398h] ; +0x287, 0x1400e2057 mov rcx, [rbx+468h] ; +0x28d, 0x1400e205d mov rax, [rcx] ; +0x294, 0x1400e2064 call qword ptr [rax+3A8h] ; +0x297, 0x1400e2067 mov rdi, rax ; +0x29d, 0x1400e206d mov rdx, r15 ; +0x2a0, 0x1400e2070 test bpl, bpl ; +0x2a3, 0x1400e2073 cmovz rdx, r13 ; +0x2a6, 0x1400e2076 movzx ecx, word ptr [rdx] ; +0x2aa, 0x1400e207a mov word ptr [rsp+48h+arg_0], cx ; +0x2ad, 0x1400e207d movzx ecx, byte ptr [rdx+2] ; +0x2b2, 0x1400e2082 mov byte ptr [rsp+48h+arg_0+2], cl ; +0x2b6, 0x1400e2086 mov rcx, [rax+270h] ; +0x2ba, 0x1400e208a test rcx, rcx ; +0x2c1, 0x1400e2091 jz short loc_1400E20AE ; +0x2c4, 0x1400e2094 add rcx, 170h ; +0x2c6, 0x1400e2096 mov rax, [rcx] ; +0x2cd, 0x1400e209d lea rdx, [rsp+48h+arg_0] ; +0x2d0, 0x1400e20a0 call qword ptr [rax] ; +0x2d5, 0x1400e20a5 lea rsi, [rbx+500h] ; +0x2d7, 0x1400e20a7 mov rcx, [rdi+278h] ; +0x2de, 0x1400e20ae test rcx, rcx ; +0x2e5, 0x1400e20b5 jz short loc_1400E20CB ; +0x2e8, 0x1400e20b8 add rcx, 140h ; +0x2ea, 0x1400e20ba mov rax, [rcx] ; +0x2f1, 0x1400e20c1 lea rdx, [rsp+48h+arg_0] ; +0x2f4, 0x1400e20c4 call qword ptr [rax] ; +0x2f9, 0x1400e20c9 mov rcx, [rdi+288h] ; +0x2fb, 0x1400e20cb test rcx, rcx ; +0x302, 0x1400e20d2 jz short loc_1400E20EA ; +0x305, 0x1400e20d5 add rcx, 140h ; +0x307, 0x1400e20d7 mov rax, [rcx] ; +0x30e, 0x1400e20de lea rdx, [rsp+48h+arg_0] ; +0x311, 0x1400e20e1 call qword ptr [rax] ; +0x316, 0x1400e20e6 jmp short loc_1400E210E ; +0x318, 0x1400e20e8 mov rcx, [rdi+280h] ; +0x31a, 0x1400e20ea test rcx, rcx ; +0x321, 0x1400e20f1 jz short loc_1400E210E ; +0x324, 0x1400e20f4 add rcx, 140h ; +0x326, 0x1400e20f6 mov rax, [rcx] ; +0x32d, 0x1400e20fd lea rdx, [rsp+48h+arg_0] ; +0x330, 0x1400e2100 call qword ptr [rax] ; +0x335, 0x1400e2105 lea rsi, [rbx+500h] ; +0x337, 0x1400e2107 mov rax, [rbx+3B0h] ; +0x33e, 0x1400e210e mov [rax+198h], bpl ; +0x345, 0x1400e2115 mov rdx, r13 ; +0x34c, 0x1400e211c test bpl, bpl ; +0x34f, 0x1400e211f cmovnz rdx, r15 ; +0x352, 0x1400e2122 mov rcx, [rbx+3B0h] ; +0x356, 0x1400e2126 add rcx, 140h ; +0x35d, 0x1400e212d mov rax, [rcx] ; +0x364, 0x1400e2134 call qword ptr [rax] ; +0x367, 0x1400e2137 mov rcx, [rbx+3B0h] ; +0x369, 0x1400e2139 add rcx, 140h ; +0x370, 0x1400e2140 mov rax, [rcx] ; +0x377, 0x1400e2147 mov edx, 0AFh ; +0x37a, 0x1400e214a test bpl, bpl ; +0x37f, 0x1400e214f cmovnz edx, r12d ; +0x382, 0x1400e2152 call qword ptr [rax+28h] ; +0x386, 0x1400e2156 mov rcx, [rsi] ; +0x389, 0x1400e2159 mov rcx, [rcx+38B0h] ; +0x38c, 0x1400e215c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x393, 0x1400e2163 mov edi, eax ; +0x399, 0x1400e2169 test eax, eax ; +0x39b, 0x1400e216b setnz dl ; +0x39d, 0x1400e216d mov rcx, [rbx+3D8h] ; +0x3a0, 0x1400e2170 mov [rcx+198h], dl ; +0x3a7, 0x1400e2177 mov rdx, r13 ; +0x3ad, 0x1400e217d test eax, eax ; +0x3b0, 0x1400e2180 cmovnz rdx, r15 ; +0x3b2, 0x1400e2182 mov rcx, [rbx+3D8h] ; +0x3b6, 0x1400e2186 add rcx, 140h ; +0x3bd, 0x1400e218d mov rax, [rcx] ; +0x3c4, 0x1400e2194 call qword ptr [rax] ; +0x3c7, 0x1400e2197 mov rcx, [rbx+3D8h] ; +0x3c9, 0x1400e2199 add rcx, 140h ; +0x3d0, 0x1400e21a0 mov rax, [rcx] ; +0x3d7, 0x1400e21a7 mov edx, 0AFh ; +0x3da, 0x1400e21aa test edi, edi ; +0x3df, 0x1400e21af cmovnz edx, r12d ; +0x3e1, 0x1400e21b1 call qword ptr [rax+28h] ; +0x3e5, 0x1400e21b5 mov rax, [rbx+3E8h] ; +0x3e8, 0x1400e21b8 mov [rax+198h], bpl ; +0x3ef, 0x1400e21bf mov rdx, r13 ; +0x3f6, 0x1400e21c6 test bpl, bpl ; +0x3f9, 0x1400e21c9 cmovnz rdx, r15 ; +0x3fc, 0x1400e21cc mov rcx, [rbx+3E8h] ; +0x400, 0x1400e21d0 add rcx, 140h ; +0x407, 0x1400e21d7 mov rax, [rcx] ; +0x40e, 0x1400e21de call qword ptr [rax] ; +0x411, 0x1400e21e1 mov rcx, [rbx+3E8h] ; +0x413, 0x1400e21e3 add rcx, 140h ; +0x41a, 0x1400e21ea mov rax, [rcx] ; +0x421, 0x1400e21f1 mov edx, 0AFh ; +0x424, 0x1400e21f4 test bpl, bpl ; +0x429, 0x1400e21f9 cmovnz edx, r12d ; +0x42c, 0x1400e21fc call qword ptr [rax+28h] ; +0x430, 0x1400e2200 mov rdi, [rbx+538h] ; +0x433, 0x1400e2203 test rdi, rdi ; +0x43a, 0x1400e220a setnz cl ; +0x43d, 0x1400e220d mov rax, [rbx+420h] ; +0x440, 0x1400e2210 mov [rax+198h], cl ; +0x447, 0x1400e2217 mov rdx, r13 ; +0x44d, 0x1400e221d test rdi, rdi ; +0x450, 0x1400e2220 cmovnz rdx, r15 ; +0x453, 0x1400e2223 mov rcx, [rbx+420h] ; +0x457, 0x1400e2227 add rcx, 140h ; +0x45e, 0x1400e222e mov rax, [rcx] ; +0x465, 0x1400e2235 call qword ptr [rax] ; +0x468, 0x1400e2238 mov rcx, [rbx+420h] ; +0x46a, 0x1400e223a add rcx, 140h ; +0x471, 0x1400e2241 mov rax, [rcx] ; +0x478, 0x1400e2248 mov edx, 0AFh ; +0x47b, 0x1400e224b test rdi, rdi ; +0x480, 0x1400e2250 cmovnz edx, r12d ; +0x483, 0x1400e2253 call qword ptr [rax+28h] ; +0x487, 0x1400e2257 mov rax, [rbx+538h] ; +0x48a, 0x1400e225a test rax, rax ; +0x491, 0x1400e2261 setnz dil ; +0x494, 0x1400e2264 test rax, rax ; +0x498, 0x1400e2268 jnz loc_1400E2342 ; +0x49b, 0x1400e226b mov rcx, [rbx+340h] ; +0x4a1, 0x1400e2271 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4a8, 0x1400e2278 test eax, eax ; +0x4ae, 0x1400e227e jz loc_1400E2342 ; +0x4b0, 0x1400e2280 mov r15, [rbx+340h] ; +0x4b6, 0x1400e2286 mov ebp, 0FFFFFFFFh ; +0x4bd, 0x1400e228d xor edi, edi ; +0x4c2, 0x1400e2292 test r15, r15 ; +0x4c4, 0x1400e2294 jz short loc_1400E22E5 ; +0x4c7, 0x1400e2297 mov r14d, ebp ; +0x4c9, 0x1400e2299 mov esi, edi ; +0x4cc, 0x1400e229c mov rcx, r15 ; +0x4ce, 0x1400e229e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4d1, 0x1400e22a1 test eax, eax ; +0x4d7, 0x1400e22a7 jz short loc_1400E22E5 ; +0x4d9, 0x1400e22a9 nop dword ptr [rax+rax+00h] ; +0x4db, 0x1400e22ab mov edx, esi ; +0x4e0, 0x1400e22b0 mov rcx, r15 ; +0x4e2, 0x1400e22b2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4e5, 0x1400e22b5 movsx ecx, word ptr [rax+4BAh] ; +0x4eb, 0x1400e22bb cmp r14d, ebp ; +0x4f2, 0x1400e22c2 jnz short loc_1400E22CC ; +0x4f5, 0x1400e22c5 mov r14d, ecx ; +0x4f7, 0x1400e22c7 jmp short loc_1400E22D1 ; +0x4fa, 0x1400e22ca cmp r14d, ecx ; +0x4fc, 0x1400e22cc jnz short loc_1400E22E5 ; +0x4ff, 0x1400e22cf inc esi ; +0x501, 0x1400e22d1 mov rcx, r15 ; +0x503, 0x1400e22d3 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x506, 0x1400e22d6 cmp esi, eax ; +0x50c, 0x1400e22dc jb short loc_1400E22B0 ; +0x50e, 0x1400e22de test r14d, r14d ; +0x510, 0x1400e22e0 jg short loc_1400E2333 ; +0x513, 0x1400e22e3 mov rsi, [rbx+340h] ; +0x515, 0x1400e22e5 test rsi, rsi ; +0x51c, 0x1400e22ec jz short loc_1400E2338 ; +0x51f, 0x1400e22ef mov rcx, rsi ; +0x521, 0x1400e22f1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x524, 0x1400e22f4 test eax, eax ; +0x52a, 0x1400e22fa jz short loc_1400E2338 ; +0x52c, 0x1400e22fc xchg ax, ax ; +0x52e, 0x1400e22fe mov edx, edi ; +0x530, 0x1400e2300 mov rcx, rsi ; +0x532, 0x1400e2302 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x535, 0x1400e2305 movsx ecx, word ptr [rax+4BCh] ; +0x53b, 0x1400e230b cmp ebp, 0FFFFFFFFh ; +0x542, 0x1400e2312 jnz short loc_1400E231B ; +0x545, 0x1400e2315 mov ebp, ecx ; +0x547, 0x1400e2317 jmp short loc_1400E231F ; +0x549, 0x1400e2319 cmp ebp, ecx ; +0x54b, 0x1400e231b jnz short loc_1400E2338 ; +0x54d, 0x1400e231d inc edi ; +0x54f, 0x1400e231f mov rcx, rsi ; +0x551, 0x1400e2321 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x554, 0x1400e2324 cmp edi, eax ; +0x55a, 0x1400e232a jb short loc_1400E2300 ; +0x55c, 0x1400e232c cmp ebp, 1 ; +0x55e, 0x1400e232e jl short loc_1400E2338 ; +0x561, 0x1400e2331 mov dil, 1 ; +0x563, 0x1400e2333 jmp short loc_1400E233B ; +0x566, 0x1400e2336 xor dil, dil ; +0x568, 0x1400e2338 lea r15, word_140529A48 ; +0x56b, 0x1400e233b mov rax, [rbx+438h] ; +0x572, 0x1400e2342 mov [rax+198h], dil ; +0x579, 0x1400e2349 mov rdx, r13 ; +0x580, 0x1400e2350 test dil, dil ; +0x583, 0x1400e2353 cmovnz rdx, r15 ; +0x586, 0x1400e2356 mov rcx, [rbx+438h] ; +0x58a, 0x1400e235a add rcx, 140h ; +0x591, 0x1400e2361 mov rax, [rcx] ; +0x598, 0x1400e2368 call qword ptr [rax] ; +0x59b, 0x1400e236b mov rcx, [rbx+438h] ; +0x59d, 0x1400e236d add rcx, 140h ; +0x5a4, 0x1400e2374 mov rax, [rcx] ; +0x5ab, 0x1400e237b mov edx, 0AFh ; +0x5ae, 0x1400e237e test dil, dil ; +0x5b3, 0x1400e2383 cmovnz edx, r12d ; +0x5b6, 0x1400e2386 call qword ptr [rax+28h] ; +0x5ba, 0x1400e238a mov rdi, [rbx+538h] ; +0x5bd, 0x1400e238d test rdi, rdi ; +0x5c4, 0x1400e2394 setnz cl ; +0x5c7, 0x1400e2397 mov rax, [rbx+420h] ; +0x5ca, 0x1400e239a mov [rax+198h], cl ; +0x5d1, 0x1400e23a1 mov rdx, r13 ; +0x5d7, 0x1400e23a7 test rdi, rdi ; +0x5da, 0x1400e23aa cmovnz rdx, r15 ; +0x5dd, 0x1400e23ad mov rcx, [rbx+420h] ; +0x5e1, 0x1400e23b1 add rcx, 140h ; +0x5e8, 0x1400e23b8 mov rax, [rcx] ; +0x5ef, 0x1400e23bf call qword ptr [rax] ; +0x5f2, 0x1400e23c2 mov rcx, [rbx+420h] ; +0x5f4, 0x1400e23c4 add rcx, 140h ; +0x5fb, 0x1400e23cb mov rax, [rcx] ; +0x602, 0x1400e23d2 mov edx, 0AFh ; +0x605, 0x1400e23d5 test rdi, rdi ; +0x60a, 0x1400e23da cmovnz edx, r12d ; +0x60d, 0x1400e23dd call qword ptr [rax+28h] ; +0x611, 0x1400e23e1 mov rax, cs:qword_1406C2ED8 ; +0x614, 0x1400e23e4 test rax, rax ; +0x61b, 0x1400e23eb jnz short loc_1400E241F ; +0x61e, 0x1400e23ee mov ecx, 668h; Size ; +0x620, 0x1400e23f0 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x625, 0x1400e23f5 mov [rsp+48h+arg_0], rax ; +0x62a, 0x1400e23fa mov rcx, rax ; +0x62f, 0x1400e23ff call sub_14017AB00 ; +0x632, 0x1400e2402 nop ; +0x637, 0x1400e2407 mov cs:qword_1406C2ED8, rax ; +0x638, 0x1400e2408 mov rdx, [rax] ; +0x63f, 0x1400e240f mov rcx, rax ; +0x642, 0x1400e2412 call qword ptr [rdx+48h] ; +0x645, 0x1400e2415 mov rax, cs:qword_1406C2ED8 ; +0x648, 0x1400e2418 mov rax, [rax+210h] ; +0x64f, 0x1400e241f lea r14, [rbx+340h] ; +0x656, 0x1400e2426 cmp qword ptr [rax+3820h], 0 ; +0x65d, 0x1400e242d jz short loc_1400E2453 ; +0x665, 0x1400e2435 cmp qword ptr [rbx+538h], 0 ; +0x667, 0x1400e2437 jnz short loc_1400E244E ; +0x66f, 0x1400e243f mov rcx, [r14] ; +0x671, 0x1400e2441 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x674, 0x1400e2444 test eax, eax ; +0x67a, 0x1400e244a jz short loc_1400E2453 ; +0x67c, 0x1400e244c mov bpl, 1 ; +0x67e, 0x1400e244e jmp short loc_1400E2456 ; +0x681, 0x1400e2451 xor bpl, bpl ; +0x683, 0x1400e2453 mov rax, [rbx+428h] ; +0x686, 0x1400e2456 mov [rax+198h], bpl ; +0x68d, 0x1400e245d mov rcx, [rbx+428h] ; +0x694, 0x1400e2464 add rcx, 140h ; +0x69b, 0x1400e246b mov rsi, r13 ; +0x6a2, 0x1400e2472 test bpl, bpl ; +0x6a5, 0x1400e2475 cmovnz rsi, r15 ; +0x6a8, 0x1400e2478 mov rax, [rcx] ; +0x6ac, 0x1400e247c mov rdx, rsi ; +0x6af, 0x1400e247f call qword ptr [rax] ; +0x6b2, 0x1400e2482 mov rcx, [rbx+428h] ; +0x6b4, 0x1400e2484 add rcx, 140h ; +0x6bb, 0x1400e248b mov edi, 0AFh ; +0x6c2, 0x1400e2492 test bpl, bpl ; +0x6c7, 0x1400e2497 cmovnz edi, r12d ; +0x6ca, 0x1400e249a mov rax, [rcx] ; +0x6ce, 0x1400e249e movzx edx, dil ; +0x6d1, 0x1400e24a1 call qword ptr [rax+28h] ; +0x6d5, 0x1400e24a5 mov rax, [rbx+430h] ; +0x6d8, 0x1400e24a8 mov [rax+198h], bpl ; +0x6df, 0x1400e24af mov rcx, [rbx+430h] ; +0x6e6, 0x1400e24b6 add rcx, 140h ; +0x6ed, 0x1400e24bd mov rax, [rcx] ; +0x6f4, 0x1400e24c4 mov rdx, rsi ; +0x6f7, 0x1400e24c7 call qword ptr [rax] ; +0x6fa, 0x1400e24ca mov rcx, [rbx+430h] ; +0x6fc, 0x1400e24cc add rcx, 140h ; +0x703, 0x1400e24d3 mov rax, [rcx] ; +0x70a, 0x1400e24da movzx edx, dil ; +0x70d, 0x1400e24dd call qword ptr [rax+28h] ; +0x711, 0x1400e24e1 cmp byte ptr [rbx+323h], 0 ; +0x714, 0x1400e24e4 jz loc_1400E26B5 ; +0x71b, 0x1400e24eb mov rcx, [rbx+3C8h] ; +0x721, 0x1400e24f1 mov rax, [rcx] ; +0x728, 0x1400e24f8 call qword ptr [rax+3A8h] ; +0x72b, 0x1400e24fb mov rsi, rax ; +0x731, 0x1400e2501 mov rbp, [rax] ; +0x734, 0x1400e2504 lea rax, aGjLinkdisableb; "gj_linkDisableBtn_001.png" ; +0x737, 0x1400e2507 lea rdi, aGjLinkenablebt; "gj_linkEnableBtn_001.png" ; +0x73e, 0x1400e250e cmp byte ptr [rbx+324h], 0 ; +0x745, 0x1400e2515 cmovnz rdi, rax ; +0x74c, 0x1400e251c call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x750, 0x1400e2520 mov rcx, rax ; +0x756, 0x1400e2526 mov rdx, rdi ; +0x759, 0x1400e2529 call cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x75c, 0x1400e252c mov rdx, rax ; +0x762, 0x1400e2532 mov rcx, rsi ; +0x765, 0x1400e2535 call qword ptr [rbp+3E0h] ; +0x768, 0x1400e2538 mov rcx, [rbx+3C8h] ; +0x76e, 0x1400e253e add rcx, 140h ; +0x775, 0x1400e2545 mov rax, [rcx] ; +0x77c, 0x1400e254c mov edx, r12d ; +0x77f, 0x1400e254f mov r8d, 0C8h ; +0x782, 0x1400e2552 cmp byte ptr [rbx+324h], 0 ; +0x788, 0x1400e2558 cmovnz edx, r8d ; +0x78f, 0x1400e255f call qword ptr [rax+28h] ; +0x793, 0x1400e2563 movzx esi, byte ptr [rbx+324h] ; +0x796, 0x1400e2566 mov rcx, [r14] ; +0x79d, 0x1400e256d call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7a0, 0x1400e2570 test eax, eax ; +0x7a6, 0x1400e2576 jz short loc_1400E2588 ; +0x7a8, 0x1400e2578 cmp byte ptr [rbx+324h], 0 ; +0x7aa, 0x1400e257a jnz short loc_1400E2588 ; +0x7b1, 0x1400e2581 mov dil, 1 ; +0x7b3, 0x1400e2583 jmp short loc_1400E258B ; +0x7b6, 0x1400e2586 xor dil, dil ; +0x7b8, 0x1400e2588 mov rax, [rbx+3B8h] ; +0x7bb, 0x1400e258b mov [rax+198h], dil ; +0x7c2, 0x1400e2592 mov rcx, [rbx+3B8h] ; +0x7c9, 0x1400e2599 add rcx, 140h ; +0x7d0, 0x1400e25a0 mov rax, [rcx] ; +0x7d7, 0x1400e25a7 mov rdx, r13 ; +0x7da, 0x1400e25aa test dil, dil ; +0x7dd, 0x1400e25ad cmovnz rdx, r15 ; +0x7e0, 0x1400e25b0 call qword ptr [rax] ; +0x7e4, 0x1400e25b4 mov ebp, 4Bh ; 'K' ; +0x7e6, 0x1400e25b6 test dil, dil ; +0x7eb, 0x1400e25bb jz short loc_1400E25C5 ; +0x7ee, 0x1400e25be mov edx, r12d ; +0x7f0, 0x1400e25c0 jmp short loc_1400E25D0 ; +0x7f3, 0x1400e25c3 mov edx, 0AFh ; +0x7f5, 0x1400e25c5 test sil, sil ; +0x7fa, 0x1400e25ca cmovnz edx, ebp ; +0x7fd, 0x1400e25cd mov rcx, [rbx+3B8h] ; +0x800, 0x1400e25d0 add rcx, 140h ; +0x807, 0x1400e25d7 mov rax, [rcx] ; +0x80e, 0x1400e25de call qword ptr [rax+28h] ; +0x811, 0x1400e25e1 xor dil, dil ; +0x814, 0x1400e25e4 cmp [rbx+324h], dil ; +0x817, 0x1400e25e7 jnz short loc_1400E2660 ; +0x81e, 0x1400e25ee mov rax, [rbx+538h] ; +0x820, 0x1400e25f0 test rax, rax ; +0x827, 0x1400e25f7 jz short loc_1400E2609 ; +0x82a, 0x1400e25fa cmp dword ptr [rax+370h], 0 ; +0x82c, 0x1400e25fc setnle dil ; +0x833, 0x1400e2603 jmp short loc_1400E2660 ; +0x837, 0x1400e2607 mov rcx, [rbx+340h] ; +0x839, 0x1400e2609 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x840, 0x1400e2610 test eax, eax ; +0x846, 0x1400e2616 jz short loc_1400E2660 ; +0x848, 0x1400e2618 mov rax, [rbx+340h] ; +0x84a, 0x1400e261a test rax, rax ; +0x851, 0x1400e2621 jz short loc_1400E2660 ; +0x854, 0x1400e2624 mov rcx, [rax+38h] ; +0x856, 0x1400e2626 mov eax, [rcx] ; +0x85a, 0x1400e262a test eax, eax ; +0x85c, 0x1400e262c jz short loc_1400E2660 ; +0x85e, 0x1400e262e mov rcx, [rcx+10h] ; +0x860, 0x1400e2630 lea rdx, [rax-1] ; +0x864, 0x1400e2634 lea rdx, [rcx+rdx*8] ; +0x868, 0x1400e2638 cmp rcx, rdx ; +0x86c, 0x1400e263c ja short loc_1400E2660 ; +0x86f, 0x1400e263f mov rax, [rcx] ; +0x871, 0x1400e2641 test rax, rax ; +0x874, 0x1400e2644 jz short loc_1400E2660 ; +0x877, 0x1400e2647 cmp dword ptr [rax+370h], 0 ; +0x879, 0x1400e2649 jg short loc_1400E265D ; +0x880, 0x1400e2650 add rcx, 8 ; +0x882, 0x1400e2652 cmp rcx, rdx ; +0x886, 0x1400e2656 jbe short loc_1400E2641 ; +0x889, 0x1400e2659 jmp short loc_1400E2660 ; +0x88b, 0x1400e265b mov dil, 1 ; +0x88d, 0x1400e265d mov rax, [rbx+3C0h] ; +0x890, 0x1400e2660 mov [rax+198h], dil ; +0x897, 0x1400e2667 mov rcx, [rbx+3C0h] ; +0x89e, 0x1400e266e add rcx, 140h ; +0x8a5, 0x1400e2675 mov rax, [rcx] ; +0x8ac, 0x1400e267c test dil, dil ; +0x8af, 0x1400e267f cmovnz r13, r15 ; +0x8b2, 0x1400e2682 mov rdx, r13 ; +0x8b6, 0x1400e2686 call qword ptr [rax] ; +0x8b9, 0x1400e2689 test dil, dil ; +0x8bb, 0x1400e268b jnz short loc_1400E269D ; +0x8be, 0x1400e268e mov r12d, 0AFh ; +0x8c0, 0x1400e2690 test sil, sil ; +0x8c6, 0x1400e2696 cmovnz r12d, ebp ; +0x8c9, 0x1400e2699 mov rcx, [rbx+3C0h] ; +0x8cd, 0x1400e269d add rcx, 140h ; +0x8d4, 0x1400e26a4 mov rax, [rcx] ; +0x8db, 0x1400e26ab movzx edx, r12b ; +0x8de, 0x1400e26ae call qword ptr [rax+28h] ; +0x8e2, 0x1400e26b2 mov rbx, [rsp+48h+arg_8] ; +0x8e5, 0x1400e26b5 mov rbp, [rsp+48h+arg_10] ; +0x8ea, 0x1400e26ba mov rsi, [rsp+48h+arg_18] ; +0x8ef, 0x1400e26bf add rsp, 20h ; +0x8f4, 0x1400e26c4 pop r15 ; +0x8f8, 0x1400e26c8 pop r14 ; +0x8fa, 0x1400e26ca pop r13 ; +0x8fc, 0x1400e26cc pop r12 ; +0x8fe, 0x1400e26ce pop rdi ; +0x900, 0x1400e26d0 retn ; +0x901, 0x1400e26d1