; ; cocos2d::CCMenuItemLabel::initWithLabel from 0x18005aec0 to 0x18005af62 (162 bytes) ; ; 6 xrefs: ; > cocos2d::CCMenuItemLabel::create @ 0x18005a95c ; > cocos2d::CCMenuItemLabel::create @ 0x18005a9cc ; > cocos2d::CCMenuItemAtlasFont::initWithString @ 0x18005b149 ; > cocos2d::CCMenuItemFont::initWithString @ 0x18005b1fd ; > @ 0x1801438a8 ; > @ 0x1801b2d6c ; ; 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, 0x18005aec0 push rdi ; +0x5, 0x18005aec5 sub rsp, 20h ; +0x6, 0x18005aec6 mov rax, r8 ; +0xa, 0x18005aeca mov rbx, rdx ; +0xd, 0x18005aecd mov rdx, rax ; +0x10, 0x18005aed0 mov r8, r9 ; +0x13, 0x18005aed3 mov rdi, rcx ; +0x16, 0x18005aed6 call ?initWithTarget@CCMenuItem@cocos2d@@QEAA_NPEAVCCObject@2@P832@EAAX0@Z@Z; cocos2d::CCMenuItem::initWithTarget(cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x19, 0x18005aed9 movzx eax, cs:word_1800F7240 ; +0x1e, 0x18005aede lea rdx, [rsp+28h+arg_0] ; +0x25, 0x18005aee5 mov [rdi+188h], ax ; +0x2a, 0x18005aeea mov rcx, rdi ; +0x31, 0x18005aef1 movzx eax, cs:byte_1800F7242 ; +0x34, 0x18005aef4 mov [rdi+18Ah], al ; +0x3b, 0x18005aefb mov rax, [rdi] ; +0x41, 0x18005af01 mov dword ptr [rdi+18Ch], 3F800000h ; +0x44, 0x18005af04 mov [rsp+28h+arg_0], 7E7Eh ; +0x4e, 0x18005af0e mov [rsp+28h+arg_2], 7Eh ; '~' ; +0x55, 0x18005af15 call qword ptr [rax+3B0h] ; +0x5a, 0x18005af1a mov rax, [rdi] ; +0x60, 0x18005af20 mov rdx, rbx ; +0x63, 0x18005af23 mov rcx, rdi ; +0x66, 0x18005af26 call qword ptr [rax+3C0h] ; +0x69, 0x18005af29 mov rax, [rdi+140h] ; +0x6f, 0x18005af2f lea rcx, [rdi+140h] ; +0x76, 0x18005af36 mov dl, 1 ; +0x7d, 0x18005af3d call qword ptr [rax+48h] ; +0x7f, 0x18005af3f mov rax, [rdi+140h] ; +0x82, 0x18005af42 lea rcx, [rdi+140h] ; +0x89, 0x18005af49 mov dl, 1 ; +0x90, 0x18005af50 call qword ptr [rax+60h] ; +0x92, 0x18005af52 mov rbx, [rsp+28h+arg_8] ; +0x95, 0x18005af55 mov al, 1 ; +0x9a, 0x18005af5a add rsp, 20h ; +0x9c, 0x18005af5c pop rdi ; +0xa0, 0x18005af60 retn ; +0xa1, 0x18005af61