{"type": "func", "start": 6442820784, "end": 6442820897, "name": "cocos2d::CCMenuItemFont::create", "pseudocode": "// \n// cocos2d::CCMenuItemFont::create from 0x18005a4b0 to 0x18005a521 (113 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2ca0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCMenuItemFont *__fastcall cocos2d::CCMenuItemFont::create(__int64 a1, __int64 a2, __int64 a3)\n{\n  cocos2d::CCMenuItemFont *v6; // rax\n  cocos2d::CCMenuItemFont *v7; // rbx\n\n  v6 = (cocos2d::CCMenuItemFont *)operator new(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 0x18005a4b0 to 0x18005a521 (113 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2ca0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005a4b0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18005a4b5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18005a4ba\npush    rdi                                                            ; +0xf, 0x18005a4bf\nsub     rsp, 20h                                                       ; +0x10, 0x18005a4c0\nmov     rdi, r8                                                        ; +0x14, 0x18005a4c4\nmov     rsi, rdx                                                       ; +0x17, 0x18005a4c7\nmov     rbp, rcx                                                       ; +0x1a, 0x18005a4ca\nmov     ecx, 1B8h; Size                                                ; +0x1d, 0x18005a4cd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x18005a4d2\nmov     [rsp+28h+arg_18], rax                                          ; +0x27, 0x18005a4d7\ntest    rax, rax                                                       ; +0x2c, 0x18005a4dc\njz      short loc_18005A4EE                                            ; +0x2f, 0x18005a4df\nmov     rcx, rax; this                                                 ; +0x31, 0x18005a4e1\ncall    ??0CCMenuItemFont@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemFont::CCMenuItemFont(void) ; +0x34, 0x18005a4e4\nmov     rbx, rax                                                       ; +0x39, 0x18005a4e9\njmp     short loc_18005A4F0                                            ; +0x3c, 0x18005a4ec\nxor     ebx, ebx                                                       ; +0x3e, 0x18005a4ee\nmov     r9, rdi                                                        ; +0x40, 0x18005a4f0\nmov     r8, rsi                                                        ; +0x43, 0x18005a4f3\nmov     rdx, rbp                                                       ; +0x46, 0x18005a4f6\nmov     rcx, rbx                                                       ; +0x49, 0x18005a4f9\ncall    ?initWithString@CCMenuItemFont@cocos2d@@QEAA_NPEBDPEAVCCObject@2@P832@EAAX1@Z@Z; cocos2d::CCMenuItemFont::initWithString(char const *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x4c, 0x18005a4fc\nmov     rcx, rbx; this                                                 ; +0x51, 0x18005a501\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x54, 0x18005a504\nmov     rax, rbx                                                       ; +0x59, 0x18005a509\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5c, 0x18005a50c\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x61, 0x18005a511\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x66, 0x18005a516\nadd     rsp, 20h                                                       ; +0x6b, 0x18005a51b\npop     rdi                                                            ; +0x6f, 0x18005a51f\nretn                                                                   ; +0x70, 0x18005a520", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b2ca0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}