; ; EditorUI::getSpriteButton from 0x1400e2900 to 0x1400e2a3f (319 bytes) ; ; 9 xrefs: ; > EditorUI::init @ 0x1400dff20 ; > EditorUI::getSpriteButton_1 @ 0x1400e28d7 ; > EditorUI::setupDeleteMenu @ 0x1400e50a0 ; > EditorUI::setupDeleteMenu @ 0x1400e550e ; > EditorUI::setupDeleteMenu @ 0x1400e55b7 ; > EditorUI::setupDeleteMenu @ 0x1400e5641 ; > EditorUI::setupDeleteMenu @ 0x1400e5b99 ; > EditorUI::setupDeleteMenu @ 0x1400e5c3b ; > @ 0x1406c8bd4 ; ; 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, 0x1400e2900 mov [rsp+arg_8], rbp ; +0x5, 0x1400e2905 mov [rsp+arg_10], rsi ; +0xa, 0x1400e290a push rdi ; +0xf, 0x1400e290f sub rsp, 50h ; +0x10, 0x1400e2910 mov r10d, [rsp+58h+arg_28] ; +0x14, 0x1400e2914 mov rdi, r8 ; +0x1c, 0x1400e291c movaps [rsp+58h+var_18], xmm6 ; +0x1f, 0x1400e291f mov rbx, r9 ; +0x24, 0x1400e2924 mov r8, rdx ; +0x27, 0x1400e2927 mov rbp, rcx ; +0x2a, 0x1400e292a sub r10d, 2 ; +0x2d, 0x1400e292d jz short loc_1400E2978 ; +0x31, 0x1400e2931 sub r10d, 1 ; +0x33, 0x1400e2933 jz short loc_1400E296F ; +0x37, 0x1400e2937 sub r10d, 1 ; +0x39, 0x1400e2939 jz short loc_1400E2966 ; +0x3d, 0x1400e293d sub r10d, 1 ; +0x3f, 0x1400e293f jz short loc_1400E295D ; +0x43, 0x1400e2943 cmp r10d, 1 ; +0x45, 0x1400e2945 jz short loc_1400E2954 ; +0x49, 0x1400e2949 lea rax, aGjButton01Png; "GJ_button_01.png" ; +0x4b, 0x1400e294b jmp short loc_1400E297F ; +0x52, 0x1400e2952 lea rax, aGjButton06Png; "GJ_button_06.png" ; +0x54, 0x1400e2954 jmp short loc_1400E297F ; +0x5b, 0x1400e295b lea rax, aGjButton05Png; "GJ_button_05.png" ; +0x5d, 0x1400e295d jmp short loc_1400E297F ; +0x64, 0x1400e2964 lea rax, aGjButton04Png; "GJ_button_04.png" ; +0x66, 0x1400e2966 jmp short loc_1400E297F ; +0x6d, 0x1400e296d lea rax, aGjButton03Png; "GJ_button_03.png" ; +0x6f, 0x1400e296f jmp short loc_1400E297F ; +0x76, 0x1400e2976 lea rax, aGjButton02Png; "GJ_button_02.png" ; +0x78, 0x1400e2978 movss xmm0, cs:flt_140622C24 ; +0x7f, 0x1400e297f mov edx, 20h ; ' ' ; +0x87, 0x1400e2987 movss xmm3, cs:dword_140623180 ; +0x8c, 0x1400e298c mov rcx, r8 ; +0x94, 0x1400e2994 mov [rsp+58h+var_20], 1 ; +0x97, 0x1400e2997 mov [rsp+58h+var_28], rax ; +0x9c, 0x1400e299c movss [rsp+58h+var_38], xmm0 ; +0xa1, 0x1400e29a1 call ButtonSprite__create ; +0xa7, 0x1400e29a7 mov r9, rdi ; +0xac, 0x1400e29ac mov r8, rbp ; +0xaf, 0x1400e29af xor edx, edx ; +0xb2, 0x1400e29b2 mov rcx, rax ; +0xb4, 0x1400e29b4 mov rsi, rax ; +0xb7, 0x1400e29b7 call CCMenuItemSpriteExtra__create ; +0xba, 0x1400e29ba movss xmm6, [rsp+58h+arg_20] ; +0xbf, 0x1400e29bf mov rcx, rax ; +0xc8, 0x1400e29c8 movaps xmm1, xmm6 ; +0xcb, 0x1400e29cb mov rdi, rax ; +0xce, 0x1400e29ce mov rdx, [rax] ; +0xd1, 0x1400e29d1 call qword ptr [rdx+0A0h] ; +0xd4, 0x1400e29d4 movss dword ptr [rdi+194h], xmm6 ; +0xda, 0x1400e29da test rbx, rbx ; +0xe2, 0x1400e29e2 jz short loc_1400E29F7 ; +0xe5, 0x1400e29e5 mov r8, [rbx] ; +0xe7, 0x1400e29e7 mov rdx, rdi ; +0xea, 0x1400e29ea mov rcx, rbx ; +0xed, 0x1400e29ed call qword ptr [r8+1C0h] ; +0xf0, 0x1400e29f0 mov rdx, [rsp+58h+arg_30] ; +0xf7, 0x1400e29f7 lea rcx, [rsp+58h+arg_18] ; +0xff, 0x1400e29ff call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x104, 0x1400e2a04 mov rdx, rax ; +0x10a, 0x1400e2a0a lea rcx, [rsi+298h] ; +0x10d, 0x1400e2a0d call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x114, 0x1400e2a14 mov rcx, rsi ; +0x11a, 0x1400e2a1a call ButtonSprite__updateSpriteBGSize ; +0x11d, 0x1400e2a1d mov rbx, [rsp+58h+arg_0] ; +0x122, 0x1400e2a22 mov rax, rdi ; +0x127, 0x1400e2a27 mov rbp, [rsp+58h+arg_8] ; +0x12a, 0x1400e2a2a mov rsi, [rsp+58h+arg_10] ; +0x12f, 0x1400e2a2f movaps xmm6, [rsp+58h+var_18] ; +0x134, 0x1400e2a34 add rsp, 50h ; +0x139, 0x1400e2a39 pop rdi ; +0x13d, 0x1400e2a3d retn ; +0x13e, 0x1400e2a3e