{"type": "func", "start": 6442828704, "end": 6442828874, "name": "cocos2d::CCMenuItemAtlasFont::create", "pseudocode": "// \n// cocos2d::CCMenuItemAtlasFont::create from 0x18005c3a0 to 0x18005c44a (170 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCMenuItemAtlasFont::create @ 0x18005c389\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcf40\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::CCMenuItemAtlasFont::create(\n        __int64 a1,\n        __int64 a2,\n        unsigned int a3,\n        int a4,\n        char a5,\n        __int64 a6,\n        __int64 a7)\n{\n  cocos2d::CCMenuItemAtlasFont *v11; // rax\n  cocos2d::CCObject *v12; // rbx\n  cocos2d::CCMenuItemAtlasFont *v14; // [rsp+40h] [rbp-18h]\n\n  v11 = (cocos2d::CCMenuItemAtlasFont *)sub_1800E4AC0(0x190u);\n  v14 = v11;\n  if ( v11 )\n    v12 = cocos2d::CCMenuItemAtlasFont::CCMenuItemAtlasFont(v11);\n  else\n    v12 = nullptr;\n  cocos2d::CCMenuItemAtlasFont::initWithString(v12, a1, a2, a3, a4, a5, a6, a7, v14);\n  cocos2d::CCObject::autorelease(v12);\n  return v12;\n}", "assembly": "; \n; cocos2d::CCMenuItemAtlasFont::create from 0x18005c3a0 to 0x18005c44a (170 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCMenuItemAtlasFont::create @ 0x18005c389\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcf40\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, 0x18005c3a0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18005c3a5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18005c3aa\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x18005c3af\npush    r14                                                            ; +0x14, 0x18005c3b4\nsub     rsp, 50h                                                       ; +0x16, 0x18005c3b6\nmov     edi, r9d                                                       ; +0x1a, 0x18005c3ba\nmov     esi, r8d                                                       ; +0x1d, 0x18005c3bd\nmov     rbp, rdx                                                       ; +0x20, 0x18005c3c0\nmov     r14, rcx                                                       ; +0x23, 0x18005c3c3\nmov     ecx, 190h; Size                                                ; +0x26, 0x18005c3c6\ncall    sub_1800E4AC0                                                  ; +0x2b, 0x18005c3cb\nmov     [rsp+58h+var_18], rax                                          ; +0x30, 0x18005c3d0\ntest    rax, rax                                                       ; +0x35, 0x18005c3d5\njz      short loc_18005C3E7                                            ; +0x38, 0x18005c3d8\nmov     rcx, rax; this                                                 ; +0x3a, 0x18005c3da\ncall    ??0CCMenuItemAtlasFont@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemAtlasFont::CCMenuItemAtlasFont(void) ; +0x3d, 0x18005c3dd\nmov     rbx, rax                                                       ; +0x42, 0x18005c3e2\njmp     short loc_18005C3E9                                            ; +0x45, 0x18005c3e5\nxor     ebx, ebx                                                       ; +0x47, 0x18005c3e7\nmov     rax, [rsp+58h+arg_30]                                          ; +0x49, 0x18005c3e9\nmov     [rsp+58h+var_20], rax                                          ; +0x51, 0x18005c3f1\nmov     rax, [rsp+58h+arg_28]                                          ; +0x56, 0x18005c3f6\nmov     [rsp+58h+var_28], rax                                          ; +0x5e, 0x18005c3fe\nmovzx   eax, [rsp+58h+arg_20]                                          ; +0x63, 0x18005c403\nmov     [rsp+58h+var_30], al                                           ; +0x6b, 0x18005c40b\nmov     [rsp+58h+var_38], edi                                          ; +0x6f, 0x18005c40f\nmov     r9d, esi                                                       ; +0x73, 0x18005c413\nmov     r8, rbp                                                        ; +0x76, 0x18005c416\nmov     rdx, r14                                                       ; +0x79, 0x18005c419\nmov     rcx, rbx                                                       ; +0x7c, 0x18005c41c\ncall    ?initWithString@CCMenuItemAtlasFont@cocos2d@@QEAA_NPEBD0HHDPEAVCCObject@2@P832@EAAX1@Z@Z; cocos2d::CCMenuItemAtlasFont::initWithString(char const *,char const *,int,int,char,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x7f, 0x18005c41f\nmov     rcx, rbx; this                                                 ; +0x84, 0x18005c424\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x87, 0x18005c427\nmov     rax, rbx                                                       ; +0x8c, 0x18005c42c\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x8f, 0x18005c42f\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x94, 0x18005c434\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x99, 0x18005c439\nmov     rdi, [rsp+58h+arg_18]                                          ; +0x9e, 0x18005c43e\nadd     rsp, 50h                                                       ; +0xa3, 0x18005c443\npop     r14                                                            ; +0xa7, 0x18005c447\nretn                                                                   ; +0xa9, 0x18005c449", "xrefs": ["cocos2d::CCMenuItemAtlasFont::create @ 0x18005c389", "<???> @ 0x18014cf68", "<???> @ 0x1801bcf40"], "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"}