; ; cocos2d::CCMenuItemAtlasFont::initWithString from 0x18005b0c0 to 0x18005b16b (171 bytes) ; ; 3 xrefs: ; > cocos2d::CCMenuItemAtlasFont::create @ 0x18005a41f ; > @ 0x1801438a8 ; > @ 0x1801b2d90 ; ; 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_0], rbx ; +0x0, 0x18005b0c0 mov [rsp+arg_8], rbp ; +0x5, 0x18005b0c5 mov [rsp+arg_10], rsi ; +0xa, 0x18005b0ca mov [rsp+arg_18], rdi ; +0xf, 0x18005b0cf push r14 ; +0x14, 0x18005b0d4 sub rsp, 40h ; +0x16, 0x18005b0d6 mov edi, r9d ; +0x1a, 0x18005b0da mov rsi, r8 ; +0x1d, 0x18005b0dd mov rbp, rdx ; +0x20, 0x18005b0e0 mov r14, rcx ; +0x23, 0x18005b0e3 mov ecx, 1C8h; Size ; +0x26, 0x18005b0e6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2b, 0x18005b0eb mov [rsp+48h+var_18], rax ; +0x30, 0x18005b0f0 test rax, rax ; +0x35, 0x18005b0f5 jz short loc_18005B107 ; +0x38, 0x18005b0f8 mov rcx, rax; this ; +0x3a, 0x18005b0fa call ??0CCLabelAtlas@cocos2d@@QEAA@XZ; cocos2d::CCLabelAtlas::CCLabelAtlas(void) ; +0x3d, 0x18005b0fd mov rbx, rax ; +0x42, 0x18005b102 jmp short loc_18005B109 ; +0x45, 0x18005b105 xor ebx, ebx ; +0x47, 0x18005b107 movsx eax, [rsp+48h+arg_28] ; +0x49, 0x18005b109 mov [rsp+48h+var_20], eax; unsigned int ; +0x4e, 0x18005b10e mov eax, [rsp+48h+arg_20] ; +0x52, 0x18005b112 mov [rsp+48h+var_28], eax; unsigned int ; +0x56, 0x18005b116 mov r9d, edi; unsigned int ; +0x5a, 0x18005b11a mov r8, rsi; char * ; +0x5d, 0x18005b11d mov rdx, rbp; char * ; +0x60, 0x18005b120 mov rcx, rbx; this ; +0x63, 0x18005b123 call ?initWithString@CCLabelAtlas@cocos2d@@QEAA_NPEBD0III@Z; cocos2d::CCLabelAtlas::initWithString(char const *,char const *,uint,uint,uint) ; +0x66, 0x18005b126 mov rcx, rbx; this ; +0x6b, 0x18005b12b call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6e, 0x18005b12e mov r9, [rsp+48h+arg_38] ; +0x73, 0x18005b133 mov r8, [rsp+48h+arg_30] ; +0x7b, 0x18005b13b mov rdx, rbx ; +0x83, 0x18005b143 mov rcx, r14 ; +0x86, 0x18005b146 call ?initWithLabel@CCMenuItemLabel@cocos2d@@QEAA_NPEAVCCNode@2@PEAVCCObject@2@P842@EAAX1@Z@Z; cocos2d::CCMenuItemLabel::initWithLabel(cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x89, 0x18005b149 mov al, 1 ; +0x8e, 0x18005b14e mov rbx, [rsp+48h+arg_0] ; +0x90, 0x18005b150 mov rbp, [rsp+48h+arg_8] ; +0x95, 0x18005b155 mov rsi, [rsp+48h+arg_10] ; +0x9a, 0x18005b15a mov rdi, [rsp+48h+arg_18] ; +0x9f, 0x18005b15f add rsp, 40h ; +0xa4, 0x18005b164 pop r14 ; +0xa8, 0x18005b168 retn ; +0xaa, 0x18005b16a