{"type": "func", "start": 6442828976, "end": 6442829089, "name": "cocos2d::CCMenuItemFont::create", "pseudocode": "// \n// cocos2d::CCMenuItemFont::create from 0x18005c4b0 to 0x18005c521 (113 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcf58\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\ncocos2d::CCObject *__fastcall cocos2d::CCMenuItemFont::create(__int64 a1, __int64 a2, __int64 a3)\n{\n  cocos2d::CCMenuItemFont *v6; // rax\n  cocos2d::CCObject *v7; // rbx\n\n  v6 = (cocos2d::CCMenuItemFont *)sub_1800E4AC0(0x1B8u);\n  if ( v6 )\n    v7 = cocos2d::CCMenuItemFont::CCMenuItemFont(v6);\n  else\n    v7 = nullptr;\n  cocos2d::CCMenuItemFont::initWithString(v7, a1, a2, a3);\n  cocos2d::CCObject::autorelease(v7);\n  return v7;\n}", "assembly": "; \n; cocos2d::CCMenuItemFont::create from 0x18005c4b0 to 0x18005c521 (113 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcf58\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, 0x18005c4b0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18005c4b5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18005c4ba\npush    rdi                                                            ; +0xf, 0x18005c4bf\nsub     rsp, 20h                                                       ; +0x10, 0x18005c4c0\nmov     rdi, r8                                                        ; +0x14, 0x18005c4c4\nmov     rsi, rdx                                                       ; +0x17, 0x18005c4c7\nmov     rbp, rcx                                                       ; +0x1a, 0x18005c4ca\nmov     ecx, 1B8h; Size                                                ; +0x1d, 0x18005c4cd\ncall    sub_1800E4AC0                                                  ; +0x22, 0x18005c4d2\nmov     [rsp+28h+arg_18], rax                                          ; +0x27, 0x18005c4d7\ntest    rax, rax                                                       ; +0x2c, 0x18005c4dc\njz      short loc_18005C4EE                                            ; +0x2f, 0x18005c4df\nmov     rcx, rax; this                                                 ; +0x31, 0x18005c4e1\ncall    ??0CCMenuItemFont@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemFont::CCMenuItemFont(void) ; +0x34, 0x18005c4e4\nmov     rbx, rax                                                       ; +0x39, 0x18005c4e9\njmp     short loc_18005C4F0                                            ; +0x3c, 0x18005c4ec\nxor     ebx, ebx                                                       ; +0x3e, 0x18005c4ee\nmov     r9, rdi                                                        ; +0x40, 0x18005c4f0\nmov     r8, rsi                                                        ; +0x43, 0x18005c4f3\nmov     rdx, rbp                                                       ; +0x46, 0x18005c4f6\nmov     rcx, rbx                                                       ; +0x49, 0x18005c4f9\ncall    ?initWithString@CCMenuItemFont@cocos2d@@QEAA_NPEBDPEAVCCObject@2@P832@EAAX1@Z@Z; cocos2d::CCMenuItemFont::initWithString(char const *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x4c, 0x18005c4fc\nmov     rcx, rbx; this                                                 ; +0x51, 0x18005c501\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x54, 0x18005c504\nmov     rax, rbx                                                       ; +0x59, 0x18005c509\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5c, 0x18005c50c\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x61, 0x18005c511\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x66, 0x18005c516\nadd     rsp, 20h                                                       ; +0x6b, 0x18005c51b\npop     rdi                                                            ; +0x6f, 0x18005c51f\nretn                                                                   ; +0x70, 0x18005c520", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bcf58"], "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"}