{"type": "func", "start": 6443236528, "end": 6443236617, "name": "cocos2d::CCBool::create", "pseudocode": "// \n// cocos2d::CCBool::create from 0x1800bfcb0 to 0x1800bfd09 (89 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c063c\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c06fb\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c0776\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3330\n// > <???> @ 0x1801c333c\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:22:25 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCBool *__fastcall cocos2d::CCBool::create(char a1)\n{\n  cocos2d::CCObject *v2; // rax\n  cocos2d::CCObject *v3; // rbx\n\n  v2 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u);\n  v3 = v2;\n  if ( v2 )\n  {\n    cocos2d::CCObject::CCObject(v2);\n    *(_QWORD *)v3 = &cocos2d::CCBool::`vftable';\n    *((_BYTE *)v3 + 56) = a1;\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( v3 )\n    cocos2d::CCObject::autorelease(v3);\n  return v3;\n}", "assembly": "; \n; cocos2d::CCBool::create from 0x1800bfcb0 to 0x1800bfd09 (89 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c063c\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c06fb\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c0776\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3330\n; > <???> @ 0x1801c333c\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:22:25 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800bfcb0\npush    rdi                                                            ; +0x5, 0x1800bfcb5\nsub     rsp, 20h                                                       ; +0x6, 0x1800bfcb6\nmovzx   edi, cl                                                        ; +0xa, 0x1800bfcba\nmov     ecx, 40h ; '@'; Size                                           ; +0xd, 0x1800bfcbd\ncall    sub_1800E4AC0                                                  ; +0x12, 0x1800bfcc2\nmov     rbx, rax                                                       ; +0x17, 0x1800bfcc7\nmov     [rsp+28h+arg_8], rax                                           ; +0x1a, 0x1800bfcca\ntest    rax, rax                                                       ; +0x1f, 0x1800bfccf\njz      short loc_1800BFCEC                                            ; +0x22, 0x1800bfcd2\nmov     rcx, rax; this                                                 ; +0x24, 0x1800bfcd4\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x1800bfcd7\nlea     rax, ??_7CCBool@cocos2d@@6B@; const cocos2d::CCBool::`vftable' ; +0x2c, 0x1800bfcdc\nmov     [rbx], rax                                                     ; +0x33, 0x1800bfce3\nmov     [rbx+38h], dil                                                 ; +0x36, 0x1800bfce6\njmp     short loc_1800BFCEE                                            ; +0x3a, 0x1800bfcea\nxor     ebx, ebx                                                       ; +0x3c, 0x1800bfcec\ntest    rbx, rbx                                                       ; +0x3e, 0x1800bfcee\njz      short loc_1800BFCFB                                            ; +0x41, 0x1800bfcf1\nmov     rcx, rbx; this                                                 ; +0x43, 0x1800bfcf3\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x46, 0x1800bfcf6\nmov     rax, rbx                                                       ; +0x4b, 0x1800bfcfb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x1800bfcfe\nadd     rsp, 20h                                                       ; +0x53, 0x1800bfd03\npop     rdi                                                            ; +0x57, 0x1800bfd07\nretn                                                                   ; +0x58, 0x1800bfd08", "xrefs": ["cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c063c", "cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c06fb", "cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c0776", "<???> @ 0x18014cf68", "<???> @ 0x1801c3330", "<???> @ 0x1801c333c"], "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"}