{"type": "func", "start": 6442822016, "end": 6442822129, "name": "cocos2d::CCMenuItemLabel::create", "pseudocode": "// \n// cocos2d::CCMenuItemLabel::create from 0x18005a980 to 0x18005a9f1 (113 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2cf4\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::CCMenuItemLabel *__fastcall cocos2d::CCMenuItemLabel::create(__int64 a1, __int64 a2, __int64 a3)\n{\n  cocos2d::CCMenuItemLabel *v6; // rax\n  cocos2d::CCMenuItemLabel *v7; // rbx\n\n  v6 = (cocos2d::CCMenuItemLabel *)operator new(0x190u);\n  if ( v6 )\n    v7 = cocos2d::CCMenuItemLabel::CCMenuItemLabel(v6);\n  else\n    v7 = nullptr;\n  cocos2d::CCMenuItemLabel::initWithLabel(v7, a1, a2, a3);\n  cocos2d::CCObject::autorelease(v7);\n  return v7;\n}", "assembly": "; \n; cocos2d::CCMenuItemLabel::create from 0x18005a980 to 0x18005a9f1 (113 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2cf4\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, 0x18005a980\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18005a985\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18005a98a\npush    rdi                                                            ; +0xf, 0x18005a98f\nsub     rsp, 20h                                                       ; +0x10, 0x18005a990\nmov     rdi, r8                                                        ; +0x14, 0x18005a994\nmov     rsi, rdx                                                       ; +0x17, 0x18005a997\nmov     rbp, rcx                                                       ; +0x1a, 0x18005a99a\nmov     ecx, 190h; Size                                                ; +0x1d, 0x18005a99d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x18005a9a2\nmov     [rsp+28h+arg_18], rax                                          ; +0x27, 0x18005a9a7\ntest    rax, rax                                                       ; +0x2c, 0x18005a9ac\njz      short loc_18005A9BE                                            ; +0x2f, 0x18005a9af\nmov     rcx, rax; this                                                 ; +0x31, 0x18005a9b1\ncall    ??0CCMenuItemLabel@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemLabel::CCMenuItemLabel(void) ; +0x34, 0x18005a9b4\nmov     rbx, rax                                                       ; +0x39, 0x18005a9b9\njmp     short loc_18005A9C0                                            ; +0x3c, 0x18005a9bc\nxor     ebx, ebx                                                       ; +0x3e, 0x18005a9be\nmov     r9, rdi                                                        ; +0x40, 0x18005a9c0\nmov     r8, rsi                                                        ; +0x43, 0x18005a9c3\nmov     rdx, rbp                                                       ; +0x46, 0x18005a9c6\nmov     rcx, rbx                                                       ; +0x49, 0x18005a9c9\ncall    ?initWithLabel@CCMenuItemLabel@cocos2d@@QEAA_NPEAVCCNode@2@PEAVCCObject@2@P842@EAAX1@Z@Z; cocos2d::CCMenuItemLabel::initWithLabel(cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x4c, 0x18005a9cc\nmov     rcx, rbx; this                                                 ; +0x51, 0x18005a9d1\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x54, 0x18005a9d4\nmov     rax, rbx                                                       ; +0x59, 0x18005a9d9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5c, 0x18005a9dc\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x61, 0x18005a9e1\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x66, 0x18005a9e6\nadd     rsp, 20h                                                       ; +0x6b, 0x18005a9eb\npop     rdi                                                            ; +0x6f, 0x18005a9ef\nretn                                                                   ; +0x70, 0x18005a9f0", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b2cf4"], "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"}