{"type": "func", "start": 6442828880, "end": 6442828967, "name": "cocos2d::CCMenuItemFont::create", "pseudocode": "// \n// cocos2d::CCMenuItemFont::create from 0x18005c450 to 0x18005c4a7 (87 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcf4c\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\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCMenuItemFont *__fastcall cocos2d::CCMenuItemFont::create(const char *a1)\n{\n  cocos2d::CCMenuItemFont *v2; // rax\n  cocos2d::CCObject *v3; // rbx\n\n  v2 = (cocos2d::CCMenuItemFont *)sub_1800E4AC0(0x1B8u);\n  if ( v2 )\n    v3 = cocos2d::CCMenuItemFont::CCMenuItemFont(v2);\n  else\n    v3 = nullptr;\n  cocos2d::CCMenuItemFont::initWithString(v3, a1, 0, 0);\n  cocos2d::CCObject::autorelease(v3);\n  return v3;\n}", "assembly": "; \n; cocos2d::CCMenuItemFont::create from 0x18005c450 to 0x18005c4a7 (87 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcf4c\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, 0x18005c450\npush    rdi                                                            ; +0x5, 0x18005c455\nsub     rsp, 20h                                                       ; +0x6, 0x18005c456\nmov     rdi, rcx                                                       ; +0xa, 0x18005c45a\nmov     ecx, 1B8h; Size                                                ; +0xd, 0x18005c45d\ncall    sub_1800E4AC0                                                  ; +0x12, 0x18005c462\nmov     [rsp+28h+arg_8], rax                                           ; +0x17, 0x18005c467\ntest    rax, rax                                                       ; +0x1c, 0x18005c46c\njz      short loc_18005C47E                                            ; +0x1f, 0x18005c46f\nmov     rcx, rax; this                                                 ; +0x21, 0x18005c471\ncall    ??0CCMenuItemFont@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemFont::CCMenuItemFont(void) ; +0x24, 0x18005c474\nmov     rbx, rax                                                       ; +0x29, 0x18005c479\njmp     short loc_18005C480                                            ; +0x2c, 0x18005c47c\nxor     ebx, ebx                                                       ; +0x2e, 0x18005c47e\nxor     r9d, r9d                                                       ; +0x30, 0x18005c480\nxor     r8d, r8d                                                       ; +0x33, 0x18005c483\nmov     rdx, rdi                                                       ; +0x36, 0x18005c486\nmov     rcx, rbx                                                       ; +0x39, 0x18005c489\ncall    ?initWithString@CCMenuItemFont@cocos2d@@QEAA_NPEBDPEAVCCObject@2@P832@EAAX1@Z@Z; cocos2d::CCMenuItemFont::initWithString(char const *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x3c, 0x18005c48c\nmov     rcx, rbx; this                                                 ; +0x41, 0x18005c491\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x44, 0x18005c494\nmov     rax, rbx                                                       ; +0x49, 0x18005c499\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x18005c49c\nadd     rsp, 20h                                                       ; +0x51, 0x18005c4a1\npop     rdi                                                            ; +0x55, 0x18005c4a5\nretn                                                                   ; +0x56, 0x18005c4a6", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bcf4c"], "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"}