; ; cocos2d::CCBMFontConfiguration::create from 0x180049070 to 0x180049144 (212 bytes) ; ; 3 xrefs: ; > cocos2d::FNTConfigLoadFile @ 0x180048d8a ; > @ 0x18014cf68 ; > @ 0x1801bbb00 ; ; 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:41 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180049070 push rdi ; +0x5, 0x180049075 sub rsp, 20h ; +0x6, 0x180049076 mov rdi, rcx ; +0xa, 0x18004907a mov ecx, 88h; Size ; +0xd, 0x18004907d call sub_1800E4AC0 ; +0x12, 0x180049082 mov rbx, rax ; +0x17, 0x180049087 mov [rsp+28h+arg_8], rax ; +0x1a, 0x18004908a test rax, rax ; +0x1f, 0x18004908f jz short loc_1800490D2 ; +0x22, 0x180049092 mov rcx, rax; this ; +0x24, 0x180049094 call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x180049097 lea rax, ??_7CCBMFontConfiguration@cocos2d@@6B@; const cocos2d::CCBMFontConfiguration::`vftable' ; +0x2c, 0x18004909c mov [rbx], rax ; +0x33, 0x1800490a3 xor eax, eax ; +0x36, 0x1800490a6 mov [rbx+38h], rax ; +0x38, 0x1800490a8 mov [rbx+40h], eax ; +0x3c, 0x1800490ac xorps xmm0, xmm0 ; +0x3f, 0x1800490af movups xmmword ptr [rbx+58h], xmm0 ; +0x42, 0x1800490b2 mov [rbx+68h], rax ; +0x46, 0x1800490b6 mov qword ptr [rbx+70h], 0Fh ; +0x4a, 0x1800490ba mov [rbx+58h], al ; +0x52, 0x1800490c2 mov [rbx+78h], rax ; +0x55, 0x1800490c5 mov [rbx+80h], rax ; +0x59, 0x1800490c9 jmp short loc_1800490D5 ; +0x60, 0x1800490d0 mov rbx, rax ; +0x62, 0x1800490d2 mov [rbx+78h], rax ; +0x65, 0x1800490d5 mov [rbx+38h], rax ; +0x69, 0x1800490d9 mov rdx, rdi ; +0x6d, 0x1800490dd mov rcx, rbx ; +0x70, 0x1800490e0 call ?parseConfigFile@CCBMFontConfiguration@cocos2d@@AEAAPEAV?$set@IU?$less@I@std@@V?$allocator@I@2@@std@@PEBD@Z; cocos2d::CCBMFontConfiguration::parseConfigFile(char const *) ; +0x73, 0x1800490e3 mov [rbx+80h], rax ; +0x78, 0x1800490e8 mov rcx, rbx; Block ; +0x7f, 0x1800490ef test rax, rax ; +0x82, 0x1800490f2 jz short loc_18004910A ; +0x85, 0x1800490f5 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x87, 0x1800490f7 mov rax, rbx ; +0x8c, 0x1800490fc mov rbx, [rsp+28h+arg_0] ; +0x8f, 0x1800490ff add rsp, 20h ; +0x94, 0x180049104 pop rdi ; +0x98, 0x180049108 retn ; +0x99, 0x180049109 mov rax, [rbx] ; +0x9a, 0x18004910a mov r8, [rax+8] ; +0x9d, 0x18004910d lea rax, sub_180048A60 ; +0xa1, 0x180049111 mov edx, 1 ; +0xa8, 0x180049118 cmp r8, rax ; +0xad, 0x18004911d jnz short loc_180049134 ; +0xb0, 0x180049120 call sub_180048A60 ; +0xb2, 0x180049122 xor eax, eax ; +0xb7, 0x180049127 mov rbx, [rsp+28h+arg_0] ; +0xb9, 0x180049129 add rsp, 20h ; +0xbe, 0x18004912e pop rdi ; +0xc2, 0x180049132 retn ; +0xc3, 0x180049133 call r8 ; +0xc4, 0x180049134 xor eax, eax ; +0xc7, 0x180049137 mov rbx, [rsp+28h+arg_0] ; +0xc9, 0x180049139 add rsp, 20h ; +0xce, 0x18004913e pop rdi ; +0xd2, 0x180049142 retn ; +0xd3, 0x180049143