{"type": "func", "start": 6442750544, "end": 6442750721, "name": "cocos2d::CCLabelBMFont::create", "pseudocode": "// \n// cocos2d::CCLabelBMFont::create from 0x180049250 to 0x180049301 (177 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCLabelBMFont::create @ 0x180049187\n// > cocos2d::CCLabelBMFont::create @ 0x1800491da\n// > cocos2d::CCLabelBMFont::create @ 0x180049232\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bbb30\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:42 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall cocos2d::CCLabelBMFont::create(\n        __int64 a1,\n        __int64 a2,\n        __int64 a3,\n        __int64 a4,\n        _DWORD *a5)\n{\n  cocos2d::CCLabelBMFont *v7; // rax\n  cocos2d::CCObject *v8; // rbx\n  cocos2d::CCLabelBMFont *v10; // [rsp+30h] [rbp-28h] BYREF\n\n  v7 = (cocos2d::CCLabelBMFont *)sub_1800E4AC0(0x218u);\n  v10 = v7;\n  if ( v7 )\n    v8 = cocos2d::CCLabelBMFont::CCLabelBMFont(v7);\n  else\n    v8 = nullptr;\n  if ( v8 )\n  {\n    cocos2d::cc_timeval::operator=(&v10, a5);\n    if ( (unsigned __int8)cocos2d::CCLabelBMFont::initWithString(v8, a1, a2) )\n    {\n      cocos2d::CCObject::autorelease(v8);\n      return v8;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v8 + 8LL))(v8, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCLabelBMFont::create from 0x180049250 to 0x180049301 (177 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCLabelBMFont::create @ 0x180049187\n; > cocos2d::CCLabelBMFont::create @ 0x1800491da\n; > cocos2d::CCLabelBMFont::create @ 0x180049232\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bbb30\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:42 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180049250\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180049255\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18004925a\npush    rdi                                                            ; +0xf, 0x18004925f\nsub     rsp, 50h                                                       ; +0x10, 0x180049260\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x14, 0x180049264\nmov     edi, r9d                                                       ; +0x19, 0x180049269\nmovaps  xmm6, xmm2                                                     ; +0x1c, 0x18004926c\nmov     rsi, rdx                                                       ; +0x1f, 0x18004926f\nmov     rbp, rcx                                                       ; +0x22, 0x180049272\nmov     ecx, 218h; Size                                                ; +0x25, 0x180049275\ncall    sub_1800E4AC0                                                  ; +0x2a, 0x18004927a\nmov     [rsp+58h+var_28], rax                                          ; +0x2f, 0x18004927f\ntest    rax, rax                                                       ; +0x34, 0x180049284\njz      short loc_180049296                                            ; +0x37, 0x180049287\nmov     rcx, rax; this                                                 ; +0x39, 0x180049289\ncall    ??0CCLabelBMFont@cocos2d@@QEAA@XZ; cocos2d::CCLabelBMFont::CCLabelBMFont(void) ; +0x3c, 0x18004928c\nmov     rbx, rax                                                       ; +0x41, 0x180049291\njmp     short loc_180049298                                            ; +0x44, 0x180049294\nxor     ebx, ebx                                                       ; +0x46, 0x180049296\ntest    rbx, rbx                                                       ; +0x48, 0x180049298\njz      short loc_1800492E5                                            ; +0x4b, 0x18004929b\nmov     rdx, [rsp+58h+arg_20]                                          ; +0x4d, 0x18004929d\nlea     rcx, [rsp+58h+var_28]                                          ; +0x55, 0x1800492a5\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x5a, 0x1800492aa\nmov     [rsp+58h+var_30], rax                                          ; +0x5f, 0x1800492af\nmov     [rsp+58h+var_38], edi                                          ; +0x64, 0x1800492b4\nmovaps  xmm3, xmm6                                                     ; +0x68, 0x1800492b8\nmov     r8, rsi                                                        ; +0x6b, 0x1800492bb\nmov     rdx, rbp                                                       ; +0x6e, 0x1800492be\nmov     rcx, rbx                                                       ; +0x71, 0x1800492c1\ncall    ?initWithString@CCLabelBMFont@cocos2d@@QEAA_NPEBD0MW4CCTextAlignment@2@VCCPoint@2@@Z; cocos2d::CCLabelBMFont::initWithString(char const *,char const *,float,cocos2d::CCTextAlignment,cocos2d::CCPoint) ; +0x74, 0x1800492c4\nmov     rcx, rbx; this                                                 ; +0x79, 0x1800492c9\ntest    al, al                                                         ; +0x7c, 0x1800492cc\njz      short loc_1800492DA                                            ; +0x7e, 0x1800492ce\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x80, 0x1800492d0\nmov     rax, rbx                                                       ; +0x85, 0x1800492d5\njmp     short loc_1800492E7                                            ; +0x88, 0x1800492d8\nmov     rax, [rbx]                                                     ; +0x8a, 0x1800492da\nmov     edx, 1                                                         ; +0x8d, 0x1800492dd\ncall    qword ptr [rax+8]                                              ; +0x92, 0x1800492e2\nxor     eax, eax                                                       ; +0x95, 0x1800492e5\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x97, 0x1800492e7\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x9c, 0x1800492ec\nmov     rsi, [rsp+58h+arg_10]                                          ; +0xa1, 0x1800492f1\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xa6, 0x1800492f6\nadd     rsp, 50h                                                       ; +0xab, 0x1800492fb\npop     rdi                                                            ; +0xaf, 0x1800492ff\nretn                                                                   ; +0xb0, 0x180049300", "xrefs": ["cocos2d::CCLabelBMFont::create @ 0x180049187", "cocos2d::CCLabelBMFont::create @ 0x1800491da", "cocos2d::CCLabelBMFont::create @ 0x180049232", "<???> @ 0x18014cf68", "<???> @ 0x1801bbb30"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}