; ; CreateMenuItem::create from 0x14019f300 to 0x14019f3db (219 bytes) ; ; 7 xrefs: ; > EditorUI::menuItemFromObjectString @ 0x1401f1311 ; > EditorUI::getCreateBtn @ 0x1401f17d9 ; > EditorUI::createCustomItems @ 0x1401f6486 ; > EditorUI::createCustomItems @ 0x1401f6542 ; > EditorUI::createCustomItems @ 0x1401f65fd ; > EditorUI::createCustomItems @ 0x1401f66b9 ; > @ 0x14091988c ; ; 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:48 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x14019f300 mov [rsp+arg_10], rsi ; +0x5, 0x14019f305 mov [rsp+arg_18], rdi ; +0xa, 0x14019f30a mov [rsp+arg_8], rdx ; +0xf, 0x14019f30f push r14 ; +0x14, 0x14019f314 sub rsp, 30h ; +0x16, 0x14019f316 mov rbx, r9 ; +0x1a, 0x14019f31a mov rdi, r8 ; +0x1d, 0x14019f31d mov rsi, rcx ; +0x20, 0x14019f320 mov ecx, 238h; Size ; +0x23, 0x14019f323 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x28, 0x14019f328 mov r14, rax ; +0x2d, 0x14019f32d mov [rsp+38h+arg_8], rax ; +0x30, 0x14019f330 mov rcx, rax ; +0x35, 0x14019f335 call CCMenuItemSpriteExtra__CCMenuItemSpriteExtra ; +0x38, 0x14019f338 lea rax, ??_7CreateMenuItem@@6B@; const CreateMenuItem::`vftable' ; +0x3d, 0x14019f33d mov [r14], rax ; +0x44, 0x14019f344 lea rax, ??_7CreateMenuItem@@6B@_0; const CreateMenuItem::`vftable' ; +0x47, 0x14019f347 mov [r14+140h], rax ; +0x4e, 0x14019f34e xorps xmm0, xmm0 ; +0x55, 0x14019f355 movups xmmword ptr [r14+208h], xmm0 ; +0x58, 0x14019f358 mov qword ptr [r14+218h], 0 ; +0x60, 0x14019f360 mov qword ptr [r14+220h], 0Fh ; +0x6b, 0x14019f36b mov byte ptr [r14+208h], 0 ; +0x76, 0x14019f376 mov qword ptr [r14+22Ch], 0 ; +0x7e, 0x14019f37e mov [rsp+38h+var_18], rbx ; +0x89, 0x14019f389 mov r9, rdi ; +0x8e, 0x14019f38e xor r8d, r8d ; +0x91, 0x14019f391 mov rdx, rsi ; +0x94, 0x14019f394 mov rcx, r14 ; +0x97, 0x14019f397 call CCMenuItemSpriteExtra__init ; +0x9a, 0x14019f39a test al, al ; +0x9f, 0x14019f39f jz short loc_14019F3B1 ; +0xa1, 0x14019f3a1 mov rcx, r14 ; +0xa3, 0x14019f3a3 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xa6, 0x14019f3a6 mov rax, r14 ; +0xac, 0x14019f3ac jmp short loc_14019F3C5 ; +0xaf, 0x14019f3af mov rcx, [r14] ; +0xb1, 0x14019f3b1 mov r8, [rcx+8] ; +0xb4, 0x14019f3b4 mov edx, 1 ; +0xb8, 0x14019f3b8 mov rcx, r14 ; +0xbd, 0x14019f3bd call r8 ; +0xc0, 0x14019f3c0 xor eax, eax ; +0xc3, 0x14019f3c3 mov rbx, [rsp+38h+arg_0] ; +0xc5, 0x14019f3c5 mov rsi, [rsp+38h+arg_10] ; +0xca, 0x14019f3ca mov rdi, [rsp+38h+arg_18] ; +0xcf, 0x14019f3cf add rsp, 30h ; +0xd4, 0x14019f3d4 pop r14 ; +0xd8, 0x14019f3d8 retn ; +0xda, 0x14019f3da