; ; cocos2d::CCLabelTTF::setFontName from 0x18004e6b0 to 0x18004e791 (225 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b1cd4 ; ; 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, 0x18004e6b0 mov [rsp+arg_10], rbp ; +0x5, 0x18004e6b5 mov [rsp+arg_18], rsi ; +0xa, 0x18004e6ba push rdi ; +0xf, 0x18004e6bf sub rsp, 20h ; +0x10, 0x18004e6c0 mov rbp, rdx ; +0x14, 0x18004e6c4 mov rdi, rcx ; +0x17, 0x18004e6c7 mov rbx, [rcx+270h] ; +0x1a, 0x18004e6ca mov rcx, rbx; Buf1 ; +0x21, 0x18004e6d1 call sub_18004DCF0 ; +0x24, 0x18004e6d4 test eax, eax ; +0x29, 0x18004e6d9 jz loc_18004E775 ; +0x2b, 0x18004e6db xor esi, esi ; +0x31, 0x18004e6e1 test rbx, rbx ; +0x33, 0x18004e6e3 jz short loc_18004E73A ; +0x36, 0x18004e6e6 mov rdx, [rbx+18h] ; +0x38, 0x18004e6e8 cmp rdx, 0Fh ; +0x3c, 0x18004e6ec jbe short loc_18004E71E ; +0x40, 0x18004e6f0 mov rcx, [rbx] ; +0x42, 0x18004e6f2 inc rdx ; +0x45, 0x18004e6f5 cmp rdx, 1000h ; +0x48, 0x18004e6f8 jb short loc_18004E719 ; +0x4f, 0x18004e6ff add rdx, 27h ; ''' ; +0x51, 0x18004e701 mov r8, [rcx-8] ; +0x55, 0x18004e705 sub rcx, r8 ; +0x59, 0x18004e709 lea rax, [rcx-8] ; +0x5c, 0x18004e70c cmp rax, 1Fh ; +0x60, 0x18004e710 ja short loc_18004E78A ; +0x64, 0x18004e714 mov rcx, r8; Block ; +0x66, 0x18004e716 call j_j_free_0 ; +0x69, 0x18004e719 mov [rbx+10h], rsi ; +0x6e, 0x18004e71e mov qword ptr [rbx+18h], 0Fh ; +0x72, 0x18004e722 mov [rbx], sil ; +0x7a, 0x18004e72a mov edx, 20h ; ' ' ; +0x7d, 0x18004e72d mov rcx, rbx; Block ; +0x82, 0x18004e732 call j_j_free_0 ; +0x85, 0x18004e735 mov ecx, 20h ; ' '; Size ; +0x8a, 0x18004e73a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x8f, 0x18004e73f mov [rsp+28h+arg_0], rax ; +0x94, 0x18004e744 test rax, rax ; +0x99, 0x18004e749 jz short loc_18004E75C ; +0x9c, 0x18004e74c mov rdx, rbp ; +0x9e, 0x18004e74e mov rcx, rax ; +0xa1, 0x18004e751 call sub_180005910 ; +0xa4, 0x18004e754 mov rsi, rax ; +0xa9, 0x18004e759 mov [rdi+270h], rsi ; +0xac, 0x18004e75c cmp qword ptr [rdi+290h], 0 ; +0xb3, 0x18004e763 jbe short loc_18004E775 ; +0xbb, 0x18004e76b mov rcx, rdi; this ; +0xbd, 0x18004e76d call ?updateTexture@CCLabelTTF@cocos2d@@AEAA_NXZ; cocos2d::CCLabelTTF::updateTexture(void) ; +0xc0, 0x18004e770 mov rbx, [rsp+28h+arg_8] ; +0xc5, 0x18004e775 mov rbp, [rsp+28h+arg_10] ; +0xca, 0x18004e77a mov rsi, [rsp+28h+arg_18] ; +0xcf, 0x18004e77f add rsp, 20h ; +0xd4, 0x18004e784 pop rdi ; +0xd8, 0x18004e788 retn ; +0xd9, 0x18004e789 call cs:_invalid_parameter_noinfo_noreturn ; +0xda, 0x18004e78a db 0CCh ; +0xe0, 0x18004e790