; ; cocos2d::CCMenuItemFont::create from 0x18005c450 to 0x18005c4a7 (87 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bcf4c ; ; 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, 0x18005c450 push rdi ; +0x5, 0x18005c455 sub rsp, 20h ; +0x6, 0x18005c456 mov rdi, rcx ; +0xa, 0x18005c45a mov ecx, 1B8h; Size ; +0xd, 0x18005c45d call sub_1800E4AC0 ; +0x12, 0x18005c462 mov [rsp+28h+arg_8], rax ; +0x17, 0x18005c467 test rax, rax ; +0x1c, 0x18005c46c jz short loc_18005C47E ; +0x1f, 0x18005c46f mov rcx, rax; this ; +0x21, 0x18005c471 call ??0CCMenuItemFont@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemFont::CCMenuItemFont(void) ; +0x24, 0x18005c474 mov rbx, rax ; +0x29, 0x18005c479 jmp short loc_18005C480 ; +0x2c, 0x18005c47c xor ebx, ebx ; +0x2e, 0x18005c47e xor r9d, r9d ; +0x30, 0x18005c480 xor r8d, r8d ; +0x33, 0x18005c483 mov rdx, rdi ; +0x36, 0x18005c486 mov rcx, rbx ; +0x39, 0x18005c489 call ?initWithString@CCMenuItemFont@cocos2d@@QEAA_NPEBDPEAVCCObject@2@P832@EAAX1@Z@Z; cocos2d::CCMenuItemFont::initWithString(char const *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x3c, 0x18005c48c mov rcx, rbx; this ; +0x41, 0x18005c491 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x44, 0x18005c494 mov rax, rbx ; +0x49, 0x18005c499 mov rbx, [rsp+28h+arg_0] ; +0x4c, 0x18005c49c add rsp, 20h ; +0x51, 0x18005c4a1 pop rdi ; +0x55, 0x18005c4a5 retn ; +0x56, 0x18005c4a6