; ; cocos2d::CCMenuItem::initWithTarget from 0x18005d220 to 0x18005d292 (114 bytes) ; ; 8 xrefs: ; > cocos2d::CCMenuItem::create @ 0x18005c33a ; > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005cbca ; > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005cca0 ; > cocos2d::CCMenuItemLabel::initWithLabel @ 0x18005ced9 ; > cocos2d::CCMenuItemSprite::initWithNormalSprite @ 0x18005d02b ; > cocos2d::CCMenuItemToggle::initWithTarget @ 0x18005d2b0 ; > @ 0x18014cf68 ; > @ 0x1801bd060 ; ; 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:21:49 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x18005d220 mov [rsp+arg_10], rsi ; +0x5, 0x18005d225 mov [rsp+arg_18], rdi ; +0xa, 0x18005d22a push r14 ; +0xf, 0x18005d22f sub rsp, 20h ; +0x11, 0x18005d231 movss xmm1, cs:dword_1800EC358 ; +0x15, 0x18005d235 mov r14, rcx ; +0x1d, 0x18005d23d mov rbx, [rcx] ; +0x20, 0x18005d240 movaps xmm2, xmm1 ; +0x23, 0x18005d243 lea rcx, [rsp+28h+arg_0] ; +0x26, 0x18005d246 mov rsi, r8 ; +0x2b, 0x18005d24b mov rdi, rdx ; +0x2e, 0x18005d24e call kmVec2Fill ; +0x31, 0x18005d251 mov rdx, rax ; +0x36, 0x18005d256 mov rcx, r14 ; +0x39, 0x18005d259 call qword ptr [rbx+120h] ; +0x3c, 0x18005d25c mov rbx, [rsp+28h+arg_8] ; +0x42, 0x18005d262 mov al, 1 ; +0x47, 0x18005d267 mov [r14+160h], rdi ; +0x49, 0x18005d269 mov rdi, [rsp+28h+arg_18] ; +0x50, 0x18005d270 mov [r14+168h], rsi ; +0x55, 0x18005d275 mov rsi, [rsp+28h+arg_10] ; +0x5c, 0x18005d27c mov word ptr [r14+158h], 100h ; +0x61, 0x18005d281 add rsp, 20h ; +0x6b, 0x18005d28b pop r14 ; +0x6f, 0x18005d28f retn ; +0x71, 0x18005d291