; ; EditorUI::createViewButton from 0x1401f7f60 to 0x1401f80e6 (390 bytes) ; ; 23 xrefs: ; > EditorUI::setupViewMenu @ 0x1401f6fa9 ; > EditorUI::setupViewMenu @ 0x1401f7058 ; > EditorUI::setupViewMenu @ 0x1401f7112 ; > EditorUI::setupViewMenu @ 0x1401f71c9 ; > EditorUI::setupViewMenu @ 0x1401f728a ; > EditorUI::setupViewMenu @ 0x1401f7343 ; > EditorUI::setupViewMenu @ 0x1401f7406 ; > EditorUI::setupViewMenu @ 0x1401f74bc ; > EditorUI::setupViewMenu @ 0x1401f757c ; > EditorUI::setupViewMenu @ 0x1401f7627 ; > EditorUI::setupViewMenu @ 0x1401f76df ; > EditorUI::setupViewMenu @ 0x1401f7797 ; > EditorUI::setupViewMenu @ 0x1401f785b ; > EditorUI::setupViewMenu @ 0x1401f7920 ; > EditorUI::setupViewMenu @ 0x1401f79ce ; > EditorUI::setupViewMenu @ 0x1401f7a72 ; > EditorUI::setupViewMenu @ 0x1401f7b34 ; > EditorUI::setupViewMenu @ 0x1401f7bf4 ; > EditorUI::setupViewMenu @ 0x1401f7cab ; > EditorUI::setupViewMenu @ 0x1401f7d55 ; > EditorUI::setupViewMenu @ 0x1401f7e0a ; > EditorUI::setupViewMenu @ 0x1401f7eae ; > @ 0x14091aad4 ; ; 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:28:10 +0000 ; push rbx ; +0x0, 0x1401f7f60 push rbp ; +0x2, 0x1401f7f62 push rsi ; +0x3, 0x1401f7f63 push rdi ; +0x4, 0x1401f7f64 push r14 ; +0x5, 0x1401f7f65 push r15 ; +0x7, 0x1401f7f67 sub rsp, 88h ; +0x9, 0x1401f7f69 mov rax, cs:__security_cookie ; +0x10, 0x1401f7f70 xor rax, rsp ; +0x17, 0x1401f7f77 mov [rsp+0B8h+var_40], rax ; +0x1a, 0x1401f7f7a mov rsi, r9 ; +0x1f, 0x1401f7f7f mov r14, rdx ; +0x22, 0x1401f7f82 mov rbp, rcx ; +0x25, 0x1401f7f85 mov [rsp+0B8h+var_50], rdx ; +0x28, 0x1401f7f88 mov dword ptr [rsp+0B8h+var_78], r8d ; +0x2d, 0x1401f7f8d mov [rsp+0B8h+var_48], r9 ; +0x32, 0x1401f7f92 mov rdx, [rsp+0B8h+arg_20] ; +0x37, 0x1401f7f97 mov r15, [rsp+0B8h+arg_30] ; +0x3f, 0x1401f7f9f mov rdi, r14 ; +0x47, 0x1401f7fa7 cmp qword ptr [r14+18h], 0Fh ; +0x4a, 0x1401f7faa jbe short loc_1401F7FB4 ; +0x4f, 0x1401f7faf mov rdi, [r14] ; +0x51, 0x1401f7fb1 lea rcx, [rsp+0B8h+var_70] ; +0x54, 0x1401f7fb4 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x59, 0x1401f7fb9 mov rbx, rax ; +0x5f, 0x1401f7fbf mov rcx, rdi ; +0x62, 0x1401f7fc2 call cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x65, 0x1401f7fc5 mov rdi, rax ; +0x6b, 0x1401f7fcb mov rdx, rbx ; +0x6e, 0x1401f7fce lea rcx, [rsp+0B8h+var_68] ; +0x71, 0x1401f7fd1 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x76, 0x1401f7fd6 xorps xmm0, xmm0 ; +0x7c, 0x1401f7fdc movss [rsp+0B8h+var_80], xmm0 ; +0x7f, 0x1401f7fdf mov [rsp+0B8h+var_88], rax ; +0x85, 0x1401f7fe5 mov [rsp+0B8h+var_90], 4 ; +0x8a, 0x1401f7fea movss xmm0, cs:dword_14083502C ; +0x92, 0x1401f7ff2 movss [rsp+0B8h+var_98], xmm0 ; +0x9a, 0x1401f7ffa xor r9d, r9d ; +0xa0, 0x1401f8000 lea r8, EditorUI__onViewButton ; +0xa3, 0x1401f8003 mov rdx, rdi ; +0xaa, 0x1401f800a mov rcx, rbp ; +0xad, 0x1401f800d call EditorUI__getSpriteButton ; +0xb0, 0x1401f8010 mov rbx, rax ; +0xb5, 0x1401f8015 mov rcx, [rax] ; +0xb8, 0x1401f8018 mov rdx, [rcx+3B8h] ; +0xbb, 0x1401f801b mov rcx, rax ; +0xc2, 0x1401f8022 call rdx ; +0xc5, 0x1401f8025 mov r8, [rax+280h] ; +0xc7, 0x1401f8027 mov rcx, [r8] ; +0xce, 0x1401f802e mov rdx, [rcx+0A0h] ; +0xd1, 0x1401f8031 movss xmm1, [rsp+0B8h+arg_28] ; +0xd8, 0x1401f8038 mov rcx, r8 ; +0xe1, 0x1401f8041 call rdx ; +0xe4, 0x1401f8044 mov rcx, [rbx] ; +0xe6, 0x1401f8046 mov r8, [rcx+40h] ; +0xe9, 0x1401f8049 mov edx, dword ptr [rsp+0B8h+var_78] ; +0xed, 0x1401f804d mov rcx, rbx ; +0xf1, 0x1401f8051 call r8 ; +0xf4, 0x1401f8054 cmp qword ptr [rsi+10h], 0 ; +0xf7, 0x1401f8057 jz short loc_1401F8096 ; +0xfc, 0x1401f805c lea rcx, [rbp+5A0h] ; +0xfe, 0x1401f805e lea r8, [rsp+0B8h+var_78] ; +0x105, 0x1401f8065 lea rdx, [rsp+0B8h+var_60] ; +0x10a, 0x1401f806a call sub_140067D30 ; +0x10f, 0x1401f806f mov rcx, [rax] ; +0x114, 0x1401f8074 add rcx, 18h; void * ; +0x117, 0x1401f8077 cmp rcx, rsi ; +0x11b, 0x1401f807b jz short loc_1401F8096 ; +0x11e, 0x1401f807e mov rdx, rsi ; +0x120, 0x1401f8080 cmp qword ptr [rsi+18h], 0Fh ; +0x123, 0x1401f8083 jbe short loc_1401F808D ; +0x128, 0x1401f8088 mov rdx, [rsi]; Src ; +0x12a, 0x1401f808a mov r8, [rsi+10h]; Size ; +0x12d, 0x1401f808d call sub_1400405A0 ; +0x131, 0x1401f8091 movsxd r8, dword ptr [rsp+0B8h+var_78] ; +0x136, 0x1401f8096 mov rdx, rbx ; +0x13b, 0x1401f809b mov rcx, [rbp+590h] ; +0x13e, 0x1401f809e call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x145, 0x1401f80a5 mov rdx, rbx ; +0x14b, 0x1401f80ab mov rcx, r15 ; +0x14e, 0x1401f80ae call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x151, 0x1401f80b1 nop ; +0x157, 0x1401f80b7 mov rcx, r14 ; +0x158, 0x1401f80b8 call sub_14003D310 ; +0x15b, 0x1401f80bb nop ; +0x160, 0x1401f80c0 mov rcx, rsi ; +0x161, 0x1401f80c1 call sub_14003D310 ; +0x164, 0x1401f80c4 mov rcx, [rsp+0B8h+var_40] ; +0x169, 0x1401f80c9 xor rcx, rsp; StackCookie ; +0x16e, 0x1401f80ce call __security_check_cookie ; +0x171, 0x1401f80d1 add rsp, 88h ; +0x176, 0x1401f80d6 pop r15 ; +0x17d, 0x1401f80dd pop r14 ; +0x17f, 0x1401f80df pop rdi ; +0x181, 0x1401f80e1 pop rsi ; +0x182, 0x1401f80e2 pop rbp ; +0x183, 0x1401f80e3 pop rbx ; +0x184, 0x1401f80e4 retn ; +0x185, 0x1401f80e5