; ; EditorCommandsPopup::addCommandButton from 0x14017d7a0 to 0x14017d8aa (266 bytes) ; ; 20 xrefs: ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d606 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d61b ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d630 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d645 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d65a ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d66f ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d684 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d699 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d6ae ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d6c3 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d6d8 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d6ed ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d702 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d717 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d72c ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d741 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d756 ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d76b ; > EditorCommandsPopup::onBuildWindowContent @ 0x14017d780 ; > @ 0x140918854 ; ; 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:27:35 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14017d7a0 mov [rsp+arg_10], rbp ; +0x5, 0x14017d7a5 mov [rsp+arg_18], rsi ; +0xa, 0x14017d7aa push rdi ; +0xf, 0x14017d7af sub rsp, 50h ; +0x10, 0x14017d7b0 mov ebp, r8d ; +0x14, 0x14017d7b4 mov rdi, rdx ; +0x17, 0x14017d7b7 mov rsi, rcx ; +0x1a, 0x14017d7ba mov ecx, 2C8h; Size ; +0x1d, 0x14017d7bd call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x22, 0x14017d7c2 mov [rsp+58h+arg_0], rax ; +0x27, 0x14017d7c7 mov rcx, rax ; +0x2c, 0x14017d7cc call ButtonSprite__ButtonSprite ; +0x2f, 0x14017d7cf mov rbx, rax ; +0x34, 0x14017d7d4 test rax, rax ; +0x37, 0x14017d7d7 jz short loc_14017D845 ; +0x3a, 0x14017d7da movss xmm0, cs:dword_140835640 ; +0x3c, 0x14017d7dc movss [rsp+58h+var_18], xmm0 ; +0x44, 0x14017d7e4 lea rax, aGjButton04Png; "GJ_button_04.png" ; +0x4a, 0x14017d7ea mov [rsp+58h+var_20], rax ; +0x51, 0x14017d7f1 lea rax, qword_140704F78 ; +0x56, 0x14017d7f6 mov [rsp+58h+var_28], rax ; +0x5d, 0x14017d7fd mov [rsp+58h+var_30], 1 ; +0x62, 0x14017d802 movss xmm0, cs:dword_140834FE8 ; +0x67, 0x14017d807 movss [rsp+58h+var_38], xmm0 ; +0x6f, 0x14017d80f xor r9d, r9d ; +0x75, 0x14017d815 mov r8d, 104h ; +0x78, 0x14017d818 mov rdx, rdi ; +0x7e, 0x14017d81e mov rcx, rbx ; +0x81, 0x14017d821 call ButtonSprite__init_1 ; +0x84, 0x14017d824 mov rcx, rbx ; +0x89, 0x14017d829 test al, al ; +0x8c, 0x14017d82c jz short loc_14017D838 ; +0x8e, 0x14017d82e call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x90, 0x14017d830 jmp short loc_14017D845 ; +0x96, 0x14017d836 mov rax, [rbx] ; +0x98, 0x14017d838 mov edx, 1 ; +0x9b, 0x14017d83b call qword ptr [rax+8] ; +0xa0, 0x14017d840 xor ebx, ebx ; +0xa3, 0x14017d843 mov rax, [rbx] ; +0xa5, 0x14017d845 movss xmm1, cs:dword_140834F20 ; +0xa8, 0x14017d848 mov rcx, rbx ; +0xb0, 0x14017d850 call qword ptr [rax+0A0h] ; +0xb3, 0x14017d853 lea r9, EditorCommandsPopup__onCommand ; +0xb9, 0x14017d859 mov r8, rsi ; +0xc0, 0x14017d860 xor edx, edx ; +0xc3, 0x14017d863 mov rcx, rbx ; +0xc5, 0x14017d865 call CCMenuItemSpriteExtra__create ; +0xc8, 0x14017d868 mov rbx, rax ; +0xcd, 0x14017d86d mov rcx, [rax] ; +0xd0, 0x14017d870 mov r8, [rcx+40h] ; +0xd3, 0x14017d873 mov edx, ebp ; +0xd7, 0x14017d877 mov rcx, rax ; +0xd9, 0x14017d879 call r8 ; +0xdc, 0x14017d87c mov rcx, [rsi+408h] ; +0xdf, 0x14017d87f mov rdx, [rcx] ; +0xe6, 0x14017d886 mov r8, [rdx+1D0h] ; +0xe9, 0x14017d889 mov rdx, rbx ; +0xf0, 0x14017d890 mov rbx, [rsp+58h+arg_8] ; +0xf3, 0x14017d893 mov rbp, [rsp+58h+arg_10] ; +0xf8, 0x14017d898 mov rsi, [rsp+58h+arg_18] ; +0xfd, 0x14017d89d add rsp, 50h ; +0x102, 0x14017d8a2 pop rdi ; +0x106, 0x14017d8a6 jmp r8 ; +0x107, 0x14017d8a7