; ; BitmapFontCache::fontWithConfigFile from 0x14003de90 to 0x14003e126 (662 bytes) ; ; 3 xrefs: ; > sub_140053E20 @ 0x140053fba ; > MultilineBitmapFont::initWithFont @ 0x140078f7a ; > @ 0x14090f17c ; ; 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:25:28 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x14003de90 push rbp ; +0x5, 0x14003de95 push rsi ; +0x6, 0x14003de96 push rdi ; +0x7, 0x14003de97 push r14 ; +0x8, 0x14003de98 push r15 ; +0xa, 0x14003de9a sub rsp, 60h ; +0xc, 0x14003de9c mov rax, cs:__security_cookie ; +0x10, 0x14003dea0 xor rax, rsp ; +0x17, 0x14003dea7 mov [rsp+88h+var_30], rax ; +0x1a, 0x14003deaa mov r14, rdx ; +0x1f, 0x14003deaf mov rbp, rcx ; +0x22, 0x14003deb2 cvtss2sd xmm2, xmm2 ; +0x25, 0x14003deb5 movq r8, xmm2 ; +0x29, 0x14003deb9 lea rcx, aSF; "%s%f" ; +0x2e, 0x14003debe call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x35, 0x14003dec5 mov rcx, rax ; +0x3b, 0x14003decb call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x3e, 0x14003dece mov rdi, rax ; +0x44, 0x14003ded4 xorps xmm0, xmm0 ; +0x47, 0x14003ded7 movups xmmword ptr [rsp+88h+Block], xmm0 ; +0x4a, 0x14003deda xor r15d, r15d ; +0x4f, 0x14003dedf mov [rsp+88h+var_40], r15 ; +0x52, 0x14003dee2 mov [rsp+88h+var_38], r15 ; +0x57, 0x14003dee7 mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x5c, 0x14003deec mov r8, rbx ; +0x63, 0x14003def3 inc r8 ; +0x66, 0x14003def6 cmp [rax+r8], r15b ; +0x69, 0x14003def9 jnz short loc_14003DEF6 ; +0x6d, 0x14003defd mov rdx, rdi ; +0x6f, 0x14003deff lea rcx, [rsp+88h+Block] ; +0x72, 0x14003df02 call sub_14003D230 ; +0x77, 0x14003df07 nop ; +0x7c, 0x14003df0c lea rdx, [rsp+88h+Block] ; +0x7d, 0x14003df0d mov rcx, [rbp+38h] ; +0x82, 0x14003df12 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x86, 0x14003df16 mov rsi, rax ; +0x8c, 0x14003df1c mov rdx, [rsp+88h+var_38] ; +0x8f, 0x14003df1f cmp rdx, 0Fh ; +0x94, 0x14003df24 jbe short loc_14003DF71 ; +0x98, 0x14003df28 inc rdx ; +0x9a, 0x14003df2a mov r8, [rsp+88h+Block] ; +0x9d, 0x14003df2d mov rcx, r8 ; +0xa2, 0x14003df32 cmp rdx, 1000h ; +0xa5, 0x14003df35 jb short loc_14003DF69 ; +0xac, 0x14003df3c add rdx, 27h ; ''' ; +0xae, 0x14003df3e mov r8, [r8-8] ; +0xb2, 0x14003df42 sub rcx, r8 ; +0xb6, 0x14003df46 sub rcx, 8 ; +0xb9, 0x14003df49 cmp rcx, 1Fh ; +0xbd, 0x14003df4d jbe short loc_14003DF69 ; +0xc1, 0x14003df51 mov [rsp+88h+Reserved], r15; Reserved ; +0xc3, 0x14003df53 xor r9d, r9d; LineNo ; +0xc8, 0x14003df58 xor r8d, r8d; FileName ; +0xcb, 0x14003df5b xor edx, edx; FunctionName ; +0xce, 0x14003df5e xor ecx, ecx; Expression ; +0xd0, 0x14003df60 call cs:_invoke_watson ; +0xd2, 0x14003df62 db 0CCh ; +0xd8, 0x14003df68 mov rcx, r8; Block ; +0xd9, 0x14003df69 call j_j_free ; +0xdc, 0x14003df6c test rsi, rsi ; +0xe1, 0x14003df71 jz loc_14003E016 ; +0xe4, 0x14003df74 xorps xmm0, xmm0 ; +0xea, 0x14003df7a movups xmmword ptr [rsp+88h+Block], xmm0 ; +0xed, 0x14003df7d mov [rsp+88h+var_40], r15 ; +0xf2, 0x14003df82 mov [rsp+88h+var_38], r15 ; +0xf7, 0x14003df87 nop dword ptr [rax+00h] ; +0xfc, 0x14003df8c inc rbx ; +0x100, 0x14003df90 cmp byte ptr [rdi+rbx], 0 ; +0x103, 0x14003df93 jnz short loc_14003DF90 ; +0x107, 0x14003df97 mov r8, rbx ; +0x109, 0x14003df99 mov rdx, rdi ; +0x10c, 0x14003df9c lea rcx, [rsp+88h+Block] ; +0x10f, 0x14003df9f call sub_14003D230 ; +0x114, 0x14003dfa4 nop ; +0x119, 0x14003dfa9 lea rdx, [rsp+88h+Block] ; +0x11a, 0x14003dfaa mov rcx, [rbp+38h] ; +0x11f, 0x14003dfaf call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x123, 0x14003dfb3 mov rbx, rax ; +0x129, 0x14003dfb9 mov rdx, [rsp+88h+var_38] ; +0x12c, 0x14003dfbc cmp rdx, 0Fh ; +0x131, 0x14003dfc1 jbe short loc_14003E00E ; +0x135, 0x14003dfc5 inc rdx ; +0x137, 0x14003dfc7 mov r8, [rsp+88h+Block] ; +0x13a, 0x14003dfca mov rcx, r8 ; +0x13f, 0x14003dfcf cmp rdx, 1000h ; +0x142, 0x14003dfd2 jb short loc_14003E006 ; +0x149, 0x14003dfd9 add rdx, 27h ; ''' ; +0x14b, 0x14003dfdb mov r8, [r8-8] ; +0x14f, 0x14003dfdf sub rcx, r8 ; +0x153, 0x14003dfe3 sub rcx, 8 ; +0x156, 0x14003dfe6 cmp rcx, 1Fh ; +0x15a, 0x14003dfea jbe short loc_14003E006 ; +0x15e, 0x14003dfee mov [rsp+88h+Reserved], r15; Reserved ; +0x160, 0x14003dff0 xor r9d, r9d; LineNo ; +0x165, 0x14003dff5 xor r8d, r8d; FileName ; +0x168, 0x14003dff8 xor edx, edx; FunctionName ; +0x16b, 0x14003dffb xor ecx, ecx; Expression ; +0x16d, 0x14003dffd call cs:_invoke_watson ; +0x16f, 0x14003dfff align 2 ; +0x175, 0x14003e005 mov rcx, r8; Block ; +0x176, 0x14003e006 call j_j_free ; +0x179, 0x14003e009 mov rax, rbx ; +0x17e, 0x14003e00e jmp loc_14003E105 ; +0x181, 0x14003e011 mov ecx, 0B8h; Size ; +0x186, 0x14003e016 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x18b, 0x14003e01b mov rsi, rax ; +0x190, 0x14003e020 mov [rsp+88h+var_58], rax ; +0x193, 0x14003e023 xor edx, edx; Val ; +0x198, 0x14003e028 mov r8d, 0B8h; Size ; +0x19a, 0x14003e02a mov rcx, rax; void * ; +0x1a0, 0x14003e030 call memset ; +0x1a3, 0x14003e033 mov rcx, rsi ; +0x1a8, 0x14003e038 call cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x1ab, 0x14003e03b nop ; +0x1b1, 0x14003e041 lea rax, ??_7FontObject@@6B@; const FontObject::`vftable' ; +0x1b2, 0x14003e042 mov [rsi], rax ; +0x1b9, 0x14003e049 lea rcx, [rsi+38h] ; +0x1bc, 0x14003e04c call sub_14003EC10 ; +0x1c0, 0x14003e050 nop ; +0x1c5, 0x14003e055 lea rcx, [rsi+78h] ; +0x1c6, 0x14003e056 call sub_14003EC10 ; +0x1ca, 0x14003e05a nop ; +0x1cf, 0x14003e05f mov rdx, r14 ; +0x1d0, 0x14003e060 mov rcx, rsi ; +0x1d3, 0x14003e063 call FontObject__parseConfigFile ; +0x1d6, 0x14003e066 mov rcx, rsi ; +0x1db, 0x14003e06b call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1de, 0x14003e06e xorps xmm0, xmm0 ; +0x1e4, 0x14003e074 movups xmmword ptr [rsp+88h+Block], xmm0 ; +0x1e7, 0x14003e077 mov [rsp+88h+var_40], r15 ; +0x1ec, 0x14003e07c mov [rsp+88h+var_38], r15 ; +0x1f1, 0x14003e081 inc rbx ; +0x1f6, 0x14003e086 cmp byte ptr [rdi+rbx], 0 ; +0x1f9, 0x14003e089 jnz short loc_14003E086 ; +0x1fd, 0x14003e08d mov r8, rbx ; +0x1ff, 0x14003e08f mov rdx, rdi ; +0x202, 0x14003e092 lea rcx, [rsp+88h+Block] ; +0x205, 0x14003e095 call sub_14003D230 ; +0x20a, 0x14003e09a nop ; +0x20f, 0x14003e09f lea r8, [rsp+88h+Block] ; +0x210, 0x14003e0a0 mov rdx, rsi ; +0x215, 0x14003e0a5 mov rcx, [rbp+38h] ; +0x218, 0x14003e0a8 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x21c, 0x14003e0ac nop ; +0x222, 0x14003e0b2 mov rdx, [rsp+88h+var_38] ; +0x223, 0x14003e0b3 cmp rdx, 0Fh ; +0x228, 0x14003e0b8 jbe short loc_14003E102 ; +0x22c, 0x14003e0bc inc rdx ; +0x22e, 0x14003e0be mov rcx, [rsp+88h+Block]; Block ; +0x231, 0x14003e0c1 mov rax, rcx ; +0x236, 0x14003e0c6 cmp rdx, 1000h ; +0x239, 0x14003e0c9 jb short loc_14003E0FD ; +0x240, 0x14003e0d0 add rdx, 27h ; ''' ; +0x242, 0x14003e0d2 mov rcx, [rcx-8] ; +0x246, 0x14003e0d6 sub rax, rcx ; +0x24a, 0x14003e0da sub rax, 8 ; +0x24d, 0x14003e0dd cmp rax, 1Fh ; +0x251, 0x14003e0e1 jbe short loc_14003E0FD ; +0x255, 0x14003e0e5 mov [rsp+88h+Reserved], r15; Reserved ; +0x257, 0x14003e0e7 xor r9d, r9d; LineNo ; +0x25c, 0x14003e0ec xor r8d, r8d; FileName ; +0x25f, 0x14003e0ef xor edx, edx; FunctionName ; +0x262, 0x14003e0f2 xor ecx, ecx; Expression ; +0x264, 0x14003e0f4 call cs:_invoke_watson ; +0x266, 0x14003e0f6 db 0CCh ; +0x26c, 0x14003e0fc call j_j_free ; +0x26d, 0x14003e0fd mov rax, rsi ; +0x272, 0x14003e102 mov rcx, [rsp+88h+var_30] ; +0x275, 0x14003e105 xor rcx, rsp; StackCookie ; +0x27a, 0x14003e10a call __security_check_cookie ; +0x27d, 0x14003e10d mov rbx, [rsp+88h+arg_18] ; +0x282, 0x14003e112 add rsp, 60h ; +0x28a, 0x14003e11a pop r15 ; +0x28e, 0x14003e11e pop r14 ; +0x290, 0x14003e120 pop rdi ; +0x292, 0x14003e122 pop rsi ; +0x293, 0x14003e123 pop rbp ; +0x294, 0x14003e124 retn ; +0x295, 0x14003e125