; ; EditorUI::resetUI from 0x1400e4d70 to 0x1400e4e8c (284 bytes) ; ; 3 xrefs: ; > EditorUI::init @ 0x1400e0917 ; > EditorUI::toggleMode @ 0x1400e4ebc ; > @ 0x1406c8ca0 ; ; 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, 0x1400e4d70 mov [rsp+arg_8], rsi ; +0x5, 0x1400e4d75 push rdi ; +0xa, 0x1400e4d7a sub rsp, 20h ; +0xb, 0x1400e4d7b mov rsi, rcx ; +0xf, 0x1400e4d7f mov rcx, [rcx+358h] ; +0x12, 0x1400e4d82 mov rax, [rcx] ; +0x19, 0x1400e4d89 call qword ptr [rax+3A8h] ; +0x1c, 0x1400e4d8c mov rbx, rax ; +0x22, 0x1400e4d92 mov rdi, [rax] ; +0x25, 0x1400e4d95 call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x28, 0x1400e4d98 mov rcx, rax ; +0x2e, 0x1400e4d9e lea rdx, aEditDeletebtn0; "edit_deleteBtn_001.png" ; +0x31, 0x1400e4da1 call cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x38, 0x1400e4da8 mov rdx, rax ; +0x3e, 0x1400e4dae mov rcx, rbx ; +0x41, 0x1400e4db1 call qword ptr [rdi+3E0h] ; +0x44, 0x1400e4db4 mov rcx, [rsi+360h] ; +0x4a, 0x1400e4dba mov rax, [rcx] ; +0x51, 0x1400e4dc1 call qword ptr [rax+3A8h] ; +0x54, 0x1400e4dc4 mov rbx, rax ; +0x5a, 0x1400e4dca mov rdi, [rax] ; +0x5d, 0x1400e4dcd call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x60, 0x1400e4dd0 mov rcx, rax ; +0x66, 0x1400e4dd6 lea rdx, aEditBuildbtn00; "edit_buildBtn_001.png" ; +0x69, 0x1400e4dd9 call cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x70, 0x1400e4de0 mov rdx, rax ; +0x76, 0x1400e4de6 mov rcx, rbx ; +0x79, 0x1400e4de9 call qword ptr [rdi+3E0h] ; +0x7c, 0x1400e4dec mov rcx, [rsi+368h] ; +0x82, 0x1400e4df2 mov rax, [rcx] ; +0x89, 0x1400e4df9 call qword ptr [rax+3A8h] ; +0x8c, 0x1400e4dfc mov rbx, rax ; +0x92, 0x1400e4e02 mov rdi, [rax] ; +0x95, 0x1400e4e05 call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x98, 0x1400e4e08 mov rcx, rax ; +0x9e, 0x1400e4e0e lea rdx, aEditEditbtn001; "edit_editBtn_001.png" ; +0xa1, 0x1400e4e11 call cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0xa8, 0x1400e4e18 mov rdx, rax ; +0xae, 0x1400e4e1e mov rcx, rbx ; +0xb1, 0x1400e4e21 call qword ptr [rdi+3E0h] ; +0xb4, 0x1400e4e24 mov rcx, [rsi+348h] ; +0xba, 0x1400e4e2a cmp dword ptr [rsi+4F8h], 1 ; +0xc1, 0x1400e4e31 setz dl ; +0xc8, 0x1400e4e38 mov rax, [rcx] ; +0xcb, 0x1400e4e3b call qword ptr [rax+140h] ; +0xce, 0x1400e4e3e mov rcx, rsi ; +0xd4, 0x1400e4e44 call EditorUI__updateDeleteButtons ; +0xd7, 0x1400e4e47 xor edx, edx ; +0xdc, 0x1400e4e4c mov rcx, rsi ; +0xde, 0x1400e4e4e call EditorUI__updateCreateMenu ; +0xe1, 0x1400e4e51 cmp dword ptr [rsi+4F8h], 3 ; +0xe6, 0x1400e4e56 mov rcx, [rsi+300h] ; +0xed, 0x1400e4e5d mov rax, [rcx] ; +0xf4, 0x1400e4e64 jz short loc_1400E4E6D ; +0xf7, 0x1400e4e67 xor edx, edx ; +0xf9, 0x1400e4e69 jmp short loc_1400E4E6F ; +0xfb, 0x1400e4e6b mov dl, 1 ; +0xfd, 0x1400e4e6d call qword ptr [rax+140h] ; +0xff, 0x1400e4e6f mov rcx, rsi ; +0x105, 0x1400e4e75 mov rbx, [rsp+28h+arg_0] ; +0x108, 0x1400e4e78 mov rsi, [rsp+28h+arg_8] ; +0x10d, 0x1400e4e7d add rsp, 20h ; +0x112, 0x1400e4e82 pop rdi ; +0x116, 0x1400e4e86 jmp EditorUI__updateGridNodeSize ; +0x117, 0x1400e4e87