; ; cocos2d::CCMenuItemAtlasFont::create from 0x18005c3a0 to 0x18005c44a (170 bytes) ; ; 3 xrefs: ; > cocos2d::CCMenuItemAtlasFont::create @ 0x18005c389 ; > @ 0x18014cf68 ; > @ 0x1801bcf40 ; ; 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, 0x18005c3a0 mov [rsp+arg_8], rbp ; +0x5, 0x18005c3a5 mov [rsp+arg_10], rsi ; +0xa, 0x18005c3aa mov [rsp+arg_18], rdi ; +0xf, 0x18005c3af push r14 ; +0x14, 0x18005c3b4 sub rsp, 50h ; +0x16, 0x18005c3b6 mov edi, r9d ; +0x1a, 0x18005c3ba mov esi, r8d ; +0x1d, 0x18005c3bd mov rbp, rdx ; +0x20, 0x18005c3c0 mov r14, rcx ; +0x23, 0x18005c3c3 mov ecx, 190h; Size ; +0x26, 0x18005c3c6 call sub_1800E4AC0 ; +0x2b, 0x18005c3cb mov [rsp+58h+var_18], rax ; +0x30, 0x18005c3d0 test rax, rax ; +0x35, 0x18005c3d5 jz short loc_18005C3E7 ; +0x38, 0x18005c3d8 mov rcx, rax; this ; +0x3a, 0x18005c3da call ??0CCMenuItemAtlasFont@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemAtlasFont::CCMenuItemAtlasFont(void) ; +0x3d, 0x18005c3dd mov rbx, rax ; +0x42, 0x18005c3e2 jmp short loc_18005C3E9 ; +0x45, 0x18005c3e5 xor ebx, ebx ; +0x47, 0x18005c3e7 mov rax, [rsp+58h+arg_30] ; +0x49, 0x18005c3e9 mov [rsp+58h+var_20], rax ; +0x51, 0x18005c3f1 mov rax, [rsp+58h+arg_28] ; +0x56, 0x18005c3f6 mov [rsp+58h+var_28], rax ; +0x5e, 0x18005c3fe movzx eax, [rsp+58h+arg_20] ; +0x63, 0x18005c403 mov [rsp+58h+var_30], al ; +0x6b, 0x18005c40b mov [rsp+58h+var_38], edi ; +0x6f, 0x18005c40f mov r9d, esi ; +0x73, 0x18005c413 mov r8, rbp ; +0x76, 0x18005c416 mov rdx, r14 ; +0x79, 0x18005c419 mov rcx, rbx ; +0x7c, 0x18005c41c call ?initWithString@CCMenuItemAtlasFont@cocos2d@@QEAA_NPEBD0HHDPEAVCCObject@2@P832@EAAX1@Z@Z; cocos2d::CCMenuItemAtlasFont::initWithString(char const *,char const *,int,int,char,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x7f, 0x18005c41f mov rcx, rbx; this ; +0x84, 0x18005c424 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x87, 0x18005c427 mov rax, rbx ; +0x8c, 0x18005c42c mov rbx, [rsp+58h+arg_0] ; +0x8f, 0x18005c42f mov rbp, [rsp+58h+arg_8] ; +0x94, 0x18005c434 mov rsi, [rsp+58h+arg_10] ; +0x99, 0x18005c439 mov rdi, [rsp+58h+arg_18] ; +0x9e, 0x18005c43e add rsp, 50h ; +0xa3, 0x18005c443 pop r14 ; +0xa7, 0x18005c447 retn ; +0xa9, 0x18005c449