; ; cocos2d::CCMenuItem::create from 0x18005c2c0 to 0x18005c35a (154 bytes) ; ; 3 xrefs: ; > cocos2d::CCMenuItem::create @ 0x18005c364 ; > @ 0x18014cf68 ; > @ 0x1801bcf28 ; ; 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, 0x18005c2c0 mov [rsp+arg_8], rsi ; +0x5, 0x18005c2c5 push rdi ; +0xa, 0x18005c2ca sub rsp, 20h ; +0xb, 0x18005c2cb mov rdi, rdx ; +0xf, 0x18005c2cf mov rsi, rcx ; +0x12, 0x18005c2d2 mov ecx, 178h; Size ; +0x15, 0x18005c2d5 call sub_1800E4AC0 ; +0x1a, 0x18005c2da mov rbx, rax ; +0x1f, 0x18005c2df mov [rsp+28h+arg_10], rax ; +0x22, 0x18005c2e2 test rax, rax ; +0x27, 0x18005c2e7 jz short loc_18005C32E ; +0x2a, 0x18005c2ea mov rcx, rax; this ; +0x2c, 0x18005c2ec call ??0CCNodeRGBA@cocos2d@@QEAA@XZ; cocos2d::CCNodeRGBA::CCNodeRGBA(void) ; +0x2f, 0x18005c2ef lea rax, ??_7CCMenuItem@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'} ; +0x34, 0x18005c2f4 mov [rbx], rax ; +0x3b, 0x18005c2fb lea rax, ??_7CCMenuItem@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x3e, 0x18005c2fe mov [rbx+140h], rax ; +0x45, 0x18005c305 mov word ptr [rbx+158h], 0 ; +0x4c, 0x18005c30c xor eax, eax ; +0x55, 0x18005c315 mov [rbx+160h], rax ; +0x57, 0x18005c317 mov [rbx+168h], rax ; +0x5e, 0x18005c31e mov [rbx+170h], rax ; +0x65, 0x18005c325 jmp short loc_18005C331 ; +0x6c, 0x18005c32c mov rbx, rax ; +0x6e, 0x18005c32e mov r8, rdi ; +0x71, 0x18005c331 mov rdx, rsi ; +0x74, 0x18005c334 mov rcx, rbx ; +0x77, 0x18005c337 call ?initWithTarget@CCMenuItem@cocos2d@@QEAA_NPEAVCCObject@2@P832@EAAX0@Z@Z; cocos2d::CCMenuItem::initWithTarget(cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x7a, 0x18005c33a mov rcx, rbx; this ; +0x7f, 0x18005c33f call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x82, 0x18005c342 mov rax, rbx ; +0x87, 0x18005c347 mov rbx, [rsp+28h+arg_0] ; +0x8a, 0x18005c34a mov rsi, [rsp+28h+arg_8] ; +0x8f, 0x18005c34f add rsp, 20h ; +0x94, 0x18005c354 pop rdi ; +0x98, 0x18005c358 retn ; +0x99, 0x18005c359