; ; EditorUI::selectBuildTab from 0x1401b56f0 to 0x1401b5853 (355 bytes) ; ; 8 xrefs: ; > EditorUI::updateCreateMenu @ 0x1401b23cd ; > EditorUI::onSelectBuildTab @ 0x1401b56dc ; > EditorUI::handleEditorAction @ 0x1401c44a2 ; > EditorUI::handleEditorAction @ 0x1401c44c1 ; > EditorUI::setupCreateMenu @ 0x1401f07c9 ; > @ 0x1408a1bb8 ; > @ 0x1408a1bec ; > @ 0x14091a1ec ; ; 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:57 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x1401b56f0 push rdi ; +0x5, 0x1401b56f5 sub rsp, 20h ; +0x6, 0x1401b56f6 mov eax, [rcx+648h] ; +0xa, 0x1401b56fa mov edi, edx ; +0x10, 0x1401b5700 mov rbx, rcx ; +0x12, 0x1401b5702 cmp eax, edx ; +0x15, 0x1401b5705 jz loc_1401B5848 ; +0x17, 0x1401b5707 cmp dword ptr [rcx+5E4h], 2 ; +0x1d, 0x1401b570d jz short loc_1401B571F ; +0x24, 0x1401b5714 cmp eax, 0FFFFFFFFh ; +0x26, 0x1401b5716 jnz loc_1401B5848 ; +0x29, 0x1401b5719 mov rcx, [rcx+4D8h] ; +0x2f, 0x1401b571f mov [rsp+28h+arg_0], rsi ; +0x36, 0x1401b5726 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3b, 0x1401b572b dec eax ; +0x41, 0x1401b5731 cmp eax, edi ; +0x43, 0x1401b5733 jnb short loc_1401B5744 ; +0x45, 0x1401b5735 mov rcx, [rbx+4D8h] ; +0x47, 0x1401b5737 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4e, 0x1401b573e mov rcx, [rbx+4D8h] ; +0x54, 0x1401b5744 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5b, 0x1401b574b dec eax ; +0x61, 0x1401b5751 cmp eax, edi ; +0x63, 0x1401b5753 jnb short loc_1401B5767 ; +0x65, 0x1401b5755 mov rcx, [rbx+4D8h] ; +0x67, 0x1401b5757 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6e, 0x1401b575e lea edi, [rax-1] ; +0x74, 0x1401b5764 call EditorSFXManager__sharedState ; +0x77, 0x1401b5767 mov rcx, rax ; +0x7c, 0x1401b576c mov edx, 0A4h ; +0x7f, 0x1401b576f call EditorSFXManager__playAction ; +0x84, 0x1401b5774 mov rcx, [rbx+4D8h] ; +0x89, 0x1401b5779 xor esi, esi ; +0x90, 0x1401b5780 mov [rbx+648h], edi ; +0x92, 0x1401b5782 mov edi, esi ; +0x98, 0x1401b5788 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x9a, 0x1401b578a test eax, eax ; +0xa0, 0x1401b5790 jz short loc_1401B57F2 ; +0xa2, 0x1401b5792 mov [rsp+28h+arg_8], r14 ; +0xa4, 0x1401b5794 nop dword ptr [rax+00000000h] ; +0xa9, 0x1401b5799 mov rcx, [rbx+4D8h] ; +0xb0, 0x1401b57a0 mov edx, edi ; +0xb7, 0x1401b57a7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xb9, 0x1401b57a9 cmp edi, [rbx+648h] ; +0xbf, 0x1401b57af mov r14, rax ; +0xc5, 0x1401b57b5 setz dl ; +0xc8, 0x1401b57b8 mov rcx, [rax] ; +0xcb, 0x1401b57bb mov r8, [rcx+150h] ; +0xce, 0x1401b57be mov rcx, rax ; +0xd5, 0x1401b57c5 call r8 ; +0xd8, 0x1401b57c8 cmp edi, [rbx+648h] ; +0xdb, 0x1401b57cb jnz short loc_1401B57DA ; +0xe1, 0x1401b57d1 mov [rbx+368h], r14 ; +0xe3, 0x1401b57d3 mov rcx, [rbx+4D8h] ; +0xea, 0x1401b57da inc edi ; +0xf1, 0x1401b57e1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xf3, 0x1401b57e3 cmp edi, eax ; +0xf9, 0x1401b57e9 jb short loc_1401B57A0 ; +0xfb, 0x1401b57eb mov r14, [rsp+28h+arg_8] ; +0xfd, 0x1401b57ed mov rcx, [rbx+4E8h] ; +0x102, 0x1401b57f2 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x109, 0x1401b57f9 test eax, eax ; +0x10f, 0x1401b57ff jz short loc_1401B5843 ; +0x111, 0x1401b5801 nop dword ptr [rax+00h] ; +0x113, 0x1401b5803 nop word ptr [rax+rax+00000000h] ; +0x117, 0x1401b5807 mov rcx, [rbx+4E8h] ; +0x120, 0x1401b5810 mov edx, esi ; +0x127, 0x1401b5817 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x129, 0x1401b5819 cmp esi, [rbx+648h] ; +0x12f, 0x1401b581f mov rcx, rax ; +0x135, 0x1401b5825 setz dl ; +0x138, 0x1401b5828 call CCMenuItemToggler__toggle ; +0x13b, 0x1401b582b mov rcx, [rbx+4E8h] ; +0x140, 0x1401b5830 inc esi ; +0x147, 0x1401b5837 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x149, 0x1401b5839 cmp esi, eax ; +0x14f, 0x1401b583f jb short loc_1401B5810 ; +0x151, 0x1401b5841 mov rsi, [rsp+28h+arg_0] ; +0x153, 0x1401b5843 mov rbx, [rsp+28h+arg_10] ; +0x158, 0x1401b5848 add rsp, 20h ; +0x15d, 0x1401b584d pop rdi ; +0x161, 0x1401b5851 retn ; +0x162, 0x1401b5852