{"type": "func", "start": 6442832720, "end": 6442832866, "name": "cocos2d::CCMenuItemFont::recreateLabel", "pseudocode": "// \n// cocos2d::CCMenuItemFont::recreateLabel from 0x18005d350 to 0x18005d3e2 (146 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCMenuItemFont::setFontNameObj @ 0x18005d967\n// > cocos2d::CCMenuItemFont::setFontSizeObj @ 0x18005d986\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd090\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:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenuItemFont::recreateLabel(cocos2d::CCMenuItemFont *this)\n{\n  __int64 v2; // rax\n  const char *v3; // rbx\n  float v4; // xmm6_4\n  const char *v5; // rax\n  struct cocos2d::CCLabelTTF *v6; // rax\n\n  v2 = _RTDynamicCast(\n         *((_QWORD *)this + 48),\n         0,\n         &cocos2d::CCNode `RTTI Type Descriptor',\n         &cocos2d::CCLabelProtocol `RTTI Type Descriptor',\n         0);\n  v3 = (char *)this + 408;\n  if ( *((_QWORD *)this + 54) > 0xFu )\n    v3 = *(const char **)v3;\n  v4 = (float)*((int *)this + 100);\n  v5 = (const char *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 8LL))(v2);\n  v6 = cocos2d::CCLabelTTF::create(v5, v3, v4);\n  (*(void (__fastcall **)(cocos2d::CCMenuItemFont *, struct cocos2d::CCLabelTTF *))(*(_QWORD *)this + 976LL))(this, v6);\n}", "assembly": "; \n; cocos2d::CCMenuItemFont::recreateLabel from 0x18005d350 to 0x18005d3e2 (146 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCMenuItemFont::setFontNameObj @ 0x18005d967\n; > cocos2d::CCMenuItemFont::setFontSizeObj @ 0x18005d986\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd090\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:49 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005d350\npush    rdi                                                            ; +0x5, 0x18005d355\nsub     rsp, 40h                                                       ; +0x6, 0x18005d356\nmov     rdi, rcx                                                       ; +0xa, 0x18005d35a\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xd, 0x18005d35d\nmov     rcx, [rcx+180h]                                                ; +0x12, 0x18005d362\nlea     r9, ??_R0?AVCCLabelProtocol@cocos2d@@@8; cocos2d::CCLabelProtocol `RTTI Type Descriptor' ; +0x19, 0x18005d369\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x20, 0x18005d370\nmov     [rsp+48h+var_28], 0                                            ; +0x27, 0x18005d377\nxor     edx, edx                                                       ; +0x2f, 0x18005d37f\ncall    __RTDynamicCast                                                ; +0x31, 0x18005d381\nlea     rbx, [rdi+198h]                                                ; +0x36, 0x18005d386\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x3d, 0x18005d38d\njbe     short loc_18005D397                                            ; +0x42, 0x18005d392\nmov     rbx, [rbx]                                                     ; +0x44, 0x18005d394\nmov     ecx, [rdi+190h]                                                ; +0x47, 0x18005d397\nxorps   xmm6, xmm6                                                     ; +0x4d, 0x18005d39d\ncvtsi2ss xmm6, rcx                                                     ; +0x50, 0x18005d3a0\nmov     rcx, [rax]                                                     ; +0x55, 0x18005d3a5\nmov     r8, [rcx+8]                                                    ; +0x58, 0x18005d3a8\nmov     rcx, rax                                                       ; +0x5c, 0x18005d3ac\ncall    r8                                                             ; +0x5f, 0x18005d3af\nmov     rcx, rax; char *                                               ; +0x62, 0x18005d3b2\nmovaps  xmm2, xmm6; float                                              ; +0x65, 0x18005d3b5\nmov     rdx, rbx; char *                                               ; +0x68, 0x18005d3b8\ncall    ?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0x6b, 0x18005d3bb\nmov     rcx, [rdi]                                                     ; +0x70, 0x18005d3c0\nmov     rdx, rax                                                       ; +0x73, 0x18005d3c3\nmov     r8, [rcx+3D0h]                                                 ; +0x76, 0x18005d3c6\nmov     rcx, rdi                                                       ; +0x7d, 0x18005d3cd\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x80, 0x18005d3d0\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x85, 0x18005d3d5\nadd     rsp, 40h                                                       ; +0x8a, 0x18005d3da\npop     rdi                                                            ; +0x8e, 0x18005d3de\njmp     r8                                                             ; +0x8f, 0x18005d3df", "xrefs": ["cocos2d::CCMenuItemFont::setFontNameObj @ 0x18005d967", "cocos2d::CCMenuItemFont::setFontSizeObj @ 0x18005d986", "<???> @ 0x18014cf68", "<???> @ 0x1801bd090"], "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"}