; ; cocos2d::CCMenuItemLabel::initWithLabel from 0x18005cec0 to 0x18005cf62 (162 bytes) ; ; 6 xrefs: ; > cocos2d::CCMenuItemLabel::create @ 0x18005c95c ; > cocos2d::CCMenuItemLabel::create @ 0x18005c9cc ; > cocos2d::CCMenuItemAtlasFont::initWithString @ 0x18005d149 ; > cocos2d::CCMenuItemFont::initWithString @ 0x18005d1fd ; > @ 0x18014cf68 ; > @ 0x1801bd024 ; ; 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, 0x18005cec0 push rdi ; +0x5, 0x18005cec5 sub rsp, 20h ; +0x6, 0x18005cec6 mov rax, r8 ; +0xa, 0x18005ceca mov rbx, rdx ; +0xd, 0x18005cecd mov rdx, rax ; +0x10, 0x18005ced0 mov r8, r9 ; +0x13, 0x18005ced3 mov rdi, rcx ; +0x16, 0x18005ced6 call ?initWithTarget@CCMenuItem@cocos2d@@QEAA_NPEAVCCObject@2@P832@EAAX0@Z@Z; cocos2d::CCMenuItem::initWithTarget(cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x19, 0x18005ced9 movzx eax, cs:word_1800FD6BC ; +0x1e, 0x18005cede lea rdx, [rsp+28h+arg_0] ; +0x25, 0x18005cee5 mov [rdi+188h], ax ; +0x2a, 0x18005ceea mov rcx, rdi ; +0x31, 0x18005cef1 movzx eax, cs:byte_1800FD6BE ; +0x34, 0x18005cef4 mov [rdi+18Ah], al ; +0x3b, 0x18005cefb mov rax, [rdi] ; +0x41, 0x18005cf01 mov dword ptr [rdi+18Ch], 3F800000h ; +0x44, 0x18005cf04 mov [rsp+28h+arg_0], 7E7Eh ; +0x4e, 0x18005cf0e mov [rsp+28h+arg_2], 7Eh ; '~' ; +0x55, 0x18005cf15 call qword ptr [rax+3C0h] ; +0x5a, 0x18005cf1a mov rax, [rdi] ; +0x60, 0x18005cf20 mov rdx, rbx ; +0x63, 0x18005cf23 mov rcx, rdi ; +0x66, 0x18005cf26 call qword ptr [rax+3D0h] ; +0x69, 0x18005cf29 mov rax, [rdi+140h] ; +0x6f, 0x18005cf2f lea rcx, [rdi+140h] ; +0x76, 0x18005cf36 mov dl, 1 ; +0x7d, 0x18005cf3d call qword ptr [rax+48h] ; +0x7f, 0x18005cf3f mov rax, [rdi+140h] ; +0x82, 0x18005cf42 lea rcx, [rdi+140h] ; +0x89, 0x18005cf49 mov dl, 1 ; +0x90, 0x18005cf50 call qword ptr [rax+60h] ; +0x92, 0x18005cf52 mov rbx, [rsp+28h+arg_8] ; +0x95, 0x18005cf55 mov al, 1 ; +0x9a, 0x18005cf5a add rsp, 20h ; +0x9c, 0x18005cf5c pop rdi ; +0xa0, 0x18005cf60 retn ; +0xa1, 0x18005cf61