; ; cocos2d::CCMenuItem::initWithTarget from 0x18005b220 to 0x18005b292 (114 bytes) ; ; 8 xrefs: ; > cocos2d::CCMenuItem::create @ 0x18005a33a ; > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005abca ; > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005aca0 ; > cocos2d::CCMenuItemLabel::initWithLabel @ 0x18005aed9 ; > cocos2d::CCMenuItemSprite::initWithNormalSprite @ 0x18005b02b ; > cocos2d::CCMenuItemToggle::initWithTarget @ 0x18005b2b0 ; > @ 0x1801438a8 ; > @ 0x1801b2da8 ; ; 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_8], rbx ; +0x0, 0x18005b220 mov [rsp+arg_10], rsi ; +0x5, 0x18005b225 mov [rsp+arg_18], rdi ; +0xa, 0x18005b22a push r14 ; +0xf, 0x18005b22f sub rsp, 20h ; +0x11, 0x18005b231 movss xmm1, cs:dword_1800E6308 ; +0x15, 0x18005b235 mov r14, rcx ; +0x1d, 0x18005b23d mov rbx, [rcx] ; +0x20, 0x18005b240 movaps xmm2, xmm1 ; +0x23, 0x18005b243 lea rcx, [rsp+28h+arg_0] ; +0x26, 0x18005b246 mov rsi, r8 ; +0x2b, 0x18005b24b mov rdi, rdx ; +0x2e, 0x18005b24e call kmVec2Fill ; +0x31, 0x18005b251 mov rdx, rax ; +0x36, 0x18005b256 mov rcx, r14 ; +0x39, 0x18005b259 call qword ptr [rbx+110h] ; +0x3c, 0x18005b25c mov rbx, [rsp+28h+arg_8] ; +0x42, 0x18005b262 mov al, 1 ; +0x47, 0x18005b267 mov [r14+160h], rdi ; +0x49, 0x18005b269 mov rdi, [rsp+28h+arg_18] ; +0x50, 0x18005b270 mov [r14+168h], rsi ; +0x55, 0x18005b275 mov rsi, [rsp+28h+arg_10] ; +0x5c, 0x18005b27c mov word ptr [r14+158h], 100h ; +0x61, 0x18005b281 add rsp, 20h ; +0x6b, 0x18005b28b pop r14 ; +0x6f, 0x18005b28f retn ; +0x71, 0x18005b291