{"type": "func", "start": 6442834128, "end": 6442834219, "name": "cocos2d::CCMenuItemFont::setFontName", "pseudocode": "// \n// cocos2d::CCMenuItemFont::setFontName from 0x18005d8d0 to 0x18005d92b (91 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd18c\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::setFontName(char *Src)\n{\n  void **v2; // rax\n  size_t v3; // rax\n\n  if ( byte_1801B2420 )\n  {\n    v2 = &qword_1801B2400;\n    Size = 0;\n    if ( *(&Size + 1) > 0xF )\n      v2 = (void **)qword_1801B2400;\n    *(_BYTE *)v2 = 0;\n  }\n  v3 = strlen(Src);\n  sub_1800101E0(&qword_1801B2400, Src, v3);\n  byte_1801B2420 = 1;\n}", "assembly": "; \n; cocos2d::CCMenuItemFont::setFontName from 0x18005d8d0 to 0x18005d92b (91 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd18c\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; \npush    rbx                                                            ; +0x0, 0x18005d8d0\nsub     rsp, 20h                                                       ; +0x2, 0x18005d8d2\ncmp     cs:byte_1801B2420, 0                                           ; +0x6, 0x18005d8d6\nmov     rbx, rcx                                                       ; +0xd, 0x18005d8dd\njz      short loc_18005D907                                            ; +0x10, 0x18005d8e0\ncmp     qword ptr cs:Size+8, 0Fh                                       ; +0x12, 0x18005d8e2\nlea     rax, qword_1801B2400                                           ; +0x1a, 0x18005d8ea\nmov     qword ptr cs:Size, 0                                           ; +0x21, 0x18005d8f1\ncmova   rax, cs:qword_1801B2400                                        ; +0x2c, 0x18005d8fc\nmov     byte ptr [rax], 0                                              ; +0x34, 0x18005d904\ncall    strlen                                                         ; +0x37, 0x18005d907\nmov     r8, rax; Size                                                  ; +0x3c, 0x18005d90c\nlea     rcx, qword_1801B2400; void *                                   ; +0x3f, 0x18005d90f\nmov     rdx, rbx; Src                                                  ; +0x46, 0x18005d916\ncall    sub_1800101E0                                                  ; +0x49, 0x18005d919\nmov     cs:byte_1801B2420, 1                                           ; +0x4e, 0x18005d91e\nadd     rsp, 20h                                                       ; +0x55, 0x18005d925\npop     rbx                                                            ; +0x59, 0x18005d929\nretn                                                                   ; +0x5a, 0x18005d92a", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bd18c"], "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"}