; ; cocos2d::CCBMFontConfiguration::create from 0x180047a40 to 0x180047b14 (212 bytes) ; ; 3 xrefs: ; > cocos2d::FNTConfigLoadFile @ 0x180047878 ; > @ 0x1801438a8 ; > @ 0x1801b18c0 ; ; 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, 0x180047a40 push rdi ; +0x5, 0x180047a45 sub rsp, 20h ; +0x6, 0x180047a46 mov rdi, rcx ; +0xa, 0x180047a4a mov ecx, 88h; Size ; +0xd, 0x180047a4d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x12, 0x180047a52 mov rbx, rax ; +0x17, 0x180047a57 mov [rsp+28h+arg_8], rax ; +0x1a, 0x180047a5a test rax, rax ; +0x1f, 0x180047a5f jz short loc_180047AA2 ; +0x22, 0x180047a62 mov rcx, rax; this ; +0x24, 0x180047a64 call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x180047a67 lea rax, ??_7CCBMFontConfiguration@cocos2d@@6B@; const cocos2d::CCBMFontConfiguration::`vftable' ; +0x2c, 0x180047a6c mov [rbx], rax ; +0x33, 0x180047a73 xor eax, eax ; +0x36, 0x180047a76 mov [rbx+38h], rax ; +0x38, 0x180047a78 mov [rbx+40h], eax ; +0x3c, 0x180047a7c xorps xmm0, xmm0 ; +0x3f, 0x180047a7f movups xmmword ptr [rbx+58h], xmm0 ; +0x42, 0x180047a82 mov [rbx+68h], rax ; +0x46, 0x180047a86 mov qword ptr [rbx+70h], 0Fh ; +0x4a, 0x180047a8a mov [rbx+58h], al ; +0x52, 0x180047a92 mov [rbx+78h], rax ; +0x55, 0x180047a95 mov [rbx+80h], rax ; +0x59, 0x180047a99 jmp short loc_180047AA5 ; +0x60, 0x180047aa0 mov rbx, rax ; +0x62, 0x180047aa2 mov [rbx+78h], rax ; +0x65, 0x180047aa5 mov [rbx+38h], rax ; +0x69, 0x180047aa9 mov rdx, rdi ; +0x6d, 0x180047aad mov rcx, rbx ; +0x70, 0x180047ab0 call ?parseConfigFile@CCBMFontConfiguration@cocos2d@@AEAAPEAV?$set@IU?$less@I@std@@V?$allocator@I@2@@std@@PEBD@Z; cocos2d::CCBMFontConfiguration::parseConfigFile(char const *) ; +0x73, 0x180047ab3 mov [rbx+80h], rax ; +0x78, 0x180047ab8 mov rcx, rbx; Block ; +0x7f, 0x180047abf test rax, rax ; +0x82, 0x180047ac2 jz short loc_180047ADA ; +0x85, 0x180047ac5 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x87, 0x180047ac7 mov rax, rbx ; +0x8c, 0x180047acc mov rbx, [rsp+28h+arg_0] ; +0x8f, 0x180047acf add rsp, 20h ; +0x94, 0x180047ad4 pop rdi ; +0x98, 0x180047ad8 retn ; +0x99, 0x180047ad9 mov rax, [rbx] ; +0x9a, 0x180047ada mov r8, [rax+8] ; +0x9d, 0x180047add lea rax, sub_180047550 ; +0xa1, 0x180047ae1 mov edx, 1 ; +0xa8, 0x180047ae8 cmp r8, rax ; +0xad, 0x180047aed jnz short loc_180047B04 ; +0xb0, 0x180047af0 call sub_180047550 ; +0xb2, 0x180047af2 xor eax, eax ; +0xb7, 0x180047af7 mov rbx, [rsp+28h+arg_0] ; +0xb9, 0x180047af9 add rsp, 20h ; +0xbe, 0x180047afe pop rdi ; +0xc2, 0x180047b02 retn ; +0xc3, 0x180047b03 call r8 ; +0xc4, 0x180047b04 xor eax, eax ; +0xc7, 0x180047b07 mov rbx, [rsp+28h+arg_0] ; +0xc9, 0x180047b09 add rsp, 20h ; +0xce, 0x180047b0e pop rdi ; +0xd2, 0x180047b12 retn ; +0xd3, 0x180047b13