{"type": "func", "start": 6442647696, "end": 6442647776, "name": "cocos2d::CCToggleVisibility::create", "pseudocode": "// \n// cocos2d::CCToggleVisibility::create from 0x180030090 to 0x1800300e0 (80 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b00e4\n// > <???> @ 0x1801b00f0\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\nstruct cocos2d::CCToggleVisibility *__fastcall cocos2d::CCToggleVisibility::create()\n{\n  cocos2d::CCAction *v0; // rax\n  cocos2d::CCObject *v1; // rbx\n\n  v0 = (cocos2d::CCAction *)operator new(0x58u);\n  v1 = v0;\n  if ( v0 )\n  {\n    cocos2d::CCAction::CCAction(v0);\n    v1[1].m_uAutoReleaseCount = 0;\n    v1->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCToggleVisibility::`vftable';\n  }\n  else\n  {\n    v1 = nullptr;\n  }\n  if ( v1 )\n    cocos2d::CCObject::autorelease(v1);\n  return (struct cocos2d::CCToggleVisibility *)v1;\n}", "assembly": "; \n; cocos2d::CCToggleVisibility::create from 0x180030090 to 0x1800300e0 (80 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b00e4\n; > <???> @ 0x1801b00f0\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\npush    rbx                                                            ; +0x0, 0x180030090\nsub     rsp, 20h                                                       ; +0x2, 0x180030092\nmov     ecx, 58h ; 'X'; Size                                           ; +0x6, 0x180030096\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x18003009b\nmov     rbx, rax                                                       ; +0x10, 0x1800300a0\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x1800300a3\ntest    rax, rax                                                       ; +0x18, 0x1800300a8\njz      short loc_1800300C8                                            ; +0x1b, 0x1800300ab\nmov     rcx, rax; this                                                 ; +0x1d, 0x1800300ad\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x20, 0x1800300b0\nmov     dword ptr [rbx+50h], 0                                         ; +0x25, 0x1800300b5\nlea     rax, ??_7CCToggleVisibility@cocos2d@@6B@; const cocos2d::CCToggleVisibility::`vftable' ; +0x2c, 0x1800300bc\nmov     [rbx], rax                                                     ; +0x33, 0x1800300c3\njmp     short loc_1800300CA                                            ; +0x36, 0x1800300c6\nxor     ebx, ebx                                                       ; +0x38, 0x1800300c8\ntest    rbx, rbx                                                       ; +0x3a, 0x1800300ca\njz      short loc_1800300D7                                            ; +0x3d, 0x1800300cd\nmov     rcx, rbx; this                                                 ; +0x3f, 0x1800300cf\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x42, 0x1800300d2\nmov     rax, rbx                                                       ; +0x47, 0x1800300d7\nadd     rsp, 20h                                                       ; +0x4a, 0x1800300da\npop     rbx                                                            ; +0x4e, 0x1800300de\nretn                                                                   ; +0x4f, 0x1800300df", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b00e4", "<???> @ 0x1801b00f0"], "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"}