; ; cocos2d::CCMenuItemSprite::initWithNormalSprite from 0x18005d000 to 0x18005d0bf (191 bytes) ; ; 8 xrefs: ; > cocos2d::CCMenuItemImage::create @ 0x18005c5ea ; > cocos2d::CCMenuItemImage::create @ 0x18005c703 ; > cocos2d::CCMenuItemImage::create @ 0x18005c7fb ; > cocos2d::CCMenuItemSprite::create @ 0x18005ca84 ; > cocos2d::CCMenuItemImage::init @ 0x18005cdd8 ; > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x18005cfec ; > @ 0x18014cf68 ; > @ 0x1801bd03c ; ; 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_0], rbx ; +0x0, 0x18005d000 mov [rsp+arg_8], rsi ; +0x5, 0x18005d005 mov [rsp+arg_10], rdi ; +0xa, 0x18005d00a push r14 ; +0xf, 0x18005d00f sub rsp, 20h ; +0x11, 0x18005d011 mov rdi, r8 ; +0x15, 0x18005d015 mov rbx, rdx ; +0x18, 0x18005d018 mov r8, [rsp+28h+arg_28] ; +0x1b, 0x18005d01b mov rsi, r9 ; +0x20, 0x18005d020 mov rdx, [rsp+28h+arg_20] ; +0x23, 0x18005d023 mov r14, rcx ; +0x28, 0x18005d028 call ?initWithTarget@CCMenuItem@cocos2d@@QEAA_NPEAVCCObject@2@P832@EAAX0@Z@Z; cocos2d::CCMenuItem::initWithTarget(cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x2b, 0x18005d02b mov rax, [r14] ; +0x30, 0x18005d030 mov rdx, rbx ; +0x33, 0x18005d033 mov rcx, r14 ; +0x36, 0x18005d036 call qword ptr [rax+3C0h] ; +0x39, 0x18005d039 mov rax, [r14] ; +0x3f, 0x18005d03f mov rdx, rdi ; +0x42, 0x18005d042 mov rcx, r14 ; +0x45, 0x18005d045 call qword ptr [rax+3D0h] ; +0x48, 0x18005d048 mov rax, [r14] ; +0x4e, 0x18005d04e mov rdx, rsi ; +0x51, 0x18005d051 mov rcx, r14 ; +0x54, 0x18005d054 call qword ptr [rax+3E0h] ; +0x57, 0x18005d057 mov rcx, [r14+178h] ; +0x5d, 0x18005d05d test rcx, rcx ; +0x64, 0x18005d064 jz short loc_18005D081 ; +0x67, 0x18005d067 mov rax, [rcx] ; +0x69, 0x18005d069 mov rbx, [r14] ; +0x6c, 0x18005d06c call qword ptr [rax+140h] ; +0x6f, 0x18005d06f mov rdx, rax ; +0x75, 0x18005d075 mov rcx, r14 ; +0x78, 0x18005d078 call qword ptr [rbx+138h] ; +0x7b, 0x18005d07b mov rax, [r14+140h] ; +0x81, 0x18005d081 lea rcx, [r14+140h] ; +0x88, 0x18005d088 mov dl, 1 ; +0x8f, 0x18005d08f call qword ptr [rax+48h] ; +0x91, 0x18005d091 mov rax, [r14+140h] ; +0x94, 0x18005d094 lea rcx, [r14+140h] ; +0x9b, 0x18005d09b mov dl, 1 ; +0xa2, 0x18005d0a2 call qword ptr [rax+60h] ; +0xa4, 0x18005d0a4 mov rbx, [rsp+28h+arg_0] ; +0xa7, 0x18005d0a7 mov al, 1 ; +0xac, 0x18005d0ac mov rsi, [rsp+28h+arg_8] ; +0xae, 0x18005d0ae mov rdi, [rsp+28h+arg_10] ; +0xb3, 0x18005d0b3 add rsp, 20h ; +0xb8, 0x18005d0b8 pop r14 ; +0xbc, 0x18005d0bc retn ; +0xbe, 0x18005d0be