; ; cocos2d::CCMenu::createWithItems from 0x18005b340 to 0x18005b39a (90 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bcd78 ; ; 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, 0x18005b340 push rdi ; +0x5, 0x18005b345 sub rsp, 20h ; +0x6, 0x18005b346 xor edi, edi ; +0xa, 0x18005b34a mov rbx, rdx ; +0xc, 0x18005b34c test rcx, rcx ; +0xf, 0x18005b34f jz short loc_18005B388 ; +0x12, 0x18005b352 xor edx, edx ; +0x14, 0x18005b354 call ?create@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@ZZ; cocos2d::CCArray::create(cocos2d::CCObject *,...) ; +0x16, 0x18005b356 mov rcx, [rbx] ; +0x1b, 0x18005b35b mov rdi, rax ; +0x1e, 0x18005b35e test rcx, rcx ; +0x21, 0x18005b361 jz short loc_18005B388 ; +0x24, 0x18005b364 nop word ptr [rax+rax+00000000h] ; +0x26, 0x18005b366 mov rdx, rcx; struct cocos2d::CCObject * ; +0x30, 0x18005b370 mov rcx, rdi; this ; +0x33, 0x18005b373 call ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x36, 0x18005b376 mov rcx, [rbx+8] ; +0x3b, 0x18005b37b lea rbx, [rbx+8] ; +0x3f, 0x18005b37f test rcx, rcx ; +0x43, 0x18005b383 jnz short loc_18005B370 ; +0x46, 0x18005b386 mov rcx, rdi; struct cocos2d::CCArray * ; +0x48, 0x18005b388 mov rbx, [rsp+28h+arg_0] ; +0x4b, 0x18005b38b add rsp, 20h ; +0x50, 0x18005b390 pop rdi ; +0x54, 0x18005b394 jmp ?createWithArray@CCMenu@cocos2d@@SAPEAV12@PEAVCCArray@2@@Z; cocos2d::CCMenu::createWithArray(cocos2d::CCArray *) ; +0x55, 0x18005b395