{"type": "func", "start": 6442820512, "end": 6442820682, "name": "cocos2d::CCMenuItemAtlasFont::create", "pseudocode": "// \n// cocos2d::CCMenuItemAtlasFont::create from 0x18005a3a0 to 0x18005a44a (170 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCMenuItemAtlasFont::create @ 0x18005a389\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2c88\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::CCMenuItemAtlasFont *__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::CCMenuItemAtlasFont *v12; // rbx\n  cocos2d::CCMenuItemAtlasFont *v14; // [rsp+40h] [rbp-18h]\n\n  v11 = (cocos2d::CCMenuItemAtlasFont *)operator new(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 0x18005a3a0 to 0x18005a44a (170 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCMenuItemAtlasFont::create @ 0x18005a389\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2c88\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, 0x18005a3a0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18005a3a5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18005a3aa\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x18005a3af\npush    r14                                                            ; +0x14, 0x18005a3b4\nsub     rsp, 50h                                                       ; +0x16, 0x18005a3b6\nmov     edi, r9d                                                       ; +0x1a, 0x18005a3ba\nmov     esi, r8d                                                       ; +0x1d, 0x18005a3bd\nmov     rbp, rdx                                                       ; +0x20, 0x18005a3c0\nmov     r14, rcx                                                       ; +0x23, 0x18005a3c3\nmov     ecx, 190h; Size                                                ; +0x26, 0x18005a3c6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x18005a3cb\nmov     [rsp+58h+var_18], rax                                          ; +0x30, 0x18005a3d0\ntest    rax, rax                                                       ; +0x35, 0x18005a3d5\njz      short loc_18005A3E7                                            ; +0x38, 0x18005a3d8\nmov     rcx, rax; this                                                 ; +0x3a, 0x18005a3da\ncall    ??0CCMenuItemAtlasFont@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemAtlasFont::CCMenuItemAtlasFont(void) ; +0x3d, 0x18005a3dd\nmov     rbx, rax                                                       ; +0x42, 0x18005a3e2\njmp     short loc_18005A3E9                                            ; +0x45, 0x18005a3e5\nxor     ebx, ebx                                                       ; +0x47, 0x18005a3e7\nmov     rax, [rsp+58h+arg_30]                                          ; +0x49, 0x18005a3e9\nmov     [rsp+58h+var_20], rax                                          ; +0x51, 0x18005a3f1\nmov     rax, [rsp+58h+arg_28]                                          ; +0x56, 0x18005a3f6\nmov     [rsp+58h+var_28], rax                                          ; +0x5e, 0x18005a3fe\nmovzx   eax, [rsp+58h+arg_20]                                          ; +0x63, 0x18005a403\nmov     [rsp+58h+var_30], al                                           ; +0x6b, 0x18005a40b\nmov     [rsp+58h+var_38], edi                                          ; +0x6f, 0x18005a40f\nmov     r9d, esi                                                       ; +0x73, 0x18005a413\nmov     r8, rbp                                                        ; +0x76, 0x18005a416\nmov     rdx, r14                                                       ; +0x79, 0x18005a419\nmov     rcx, rbx                                                       ; +0x7c, 0x18005a41c\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, 0x18005a41f\nmov     rcx, rbx; this                                                 ; +0x84, 0x18005a424\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x87, 0x18005a427\nmov     rax, rbx                                                       ; +0x8c, 0x18005a42c\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x8f, 0x18005a42f\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x94, 0x18005a434\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x99, 0x18005a439\nmov     rdi, [rsp+58h+arg_18]                                          ; +0x9e, 0x18005a43e\nadd     rsp, 50h                                                       ; +0xa3, 0x18005a443\npop     r14                                                            ; +0xa7, 0x18005a447\nretn                                                                   ; +0xa9, 0x18005a449", "xrefs": ["cocos2d::CCMenuItemAtlasFont::create @ 0x18005a389", "<???> @ 0x1801438a8", "<???> @ 0x1801b2c88"], "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"}