{"type": "func", "start": 6443222352, "end": 6443222441, "name": "cocos2d::CCBool::create", "pseudocode": "// \n// cocos2d::CCBool::create from 0x1800bc550 to 0x1800bc5a9 (89 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bcdff\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bceed\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bcfdb\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b9078\n// > <???> @ 0x1801b9084\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\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 *)operator new(0x40u);\n  v3 = v2;\n  if ( v2 )\n  {\n    cocos2d::CCObject::CCObject(v2);\n    v3->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCBool::`vftable';\n    LOBYTE(v3[1].__vftable) = a1;\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( v3 )\n    cocos2d::CCObject::autorelease(v3);\n  return (struct cocos2d::CCBool *)v3;\n}", "assembly": "; \n; cocos2d::CCBool::create from 0x1800bc550 to 0x1800bc5a9 (89 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bcdff\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bceed\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bcfdb\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b9078\n; > <???> @ 0x1801b9084\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, 0x1800bc550\npush    rdi                                                            ; +0x5, 0x1800bc555\nsub     rsp, 20h                                                       ; +0x6, 0x1800bc556\nmovzx   edi, cl                                                        ; +0xa, 0x1800bc55a\nmov     ecx, 40h ; '@'; Size                                           ; +0xd, 0x1800bc55d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x1800bc562\nmov     rbx, rax                                                       ; +0x17, 0x1800bc567\nmov     [rsp+28h+arg_8], rax                                           ; +0x1a, 0x1800bc56a\ntest    rax, rax                                                       ; +0x1f, 0x1800bc56f\njz      short loc_1800BC58C                                            ; +0x22, 0x1800bc572\nmov     rcx, rax; this                                                 ; +0x24, 0x1800bc574\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x1800bc577\nlea     rax, ??_7CCBool@cocos2d@@6B@; const cocos2d::CCBool::`vftable' ; +0x2c, 0x1800bc57c\nmov     [rbx], rax                                                     ; +0x33, 0x1800bc583\nmov     [rbx+38h], dil                                                 ; +0x36, 0x1800bc586\njmp     short loc_1800BC58E                                            ; +0x3a, 0x1800bc58a\nxor     ebx, ebx                                                       ; +0x3c, 0x1800bc58c\ntest    rbx, rbx                                                       ; +0x3e, 0x1800bc58e\njz      short loc_1800BC59B                                            ; +0x41, 0x1800bc591\nmov     rcx, rbx; this                                                 ; +0x43, 0x1800bc593\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x46, 0x1800bc596\nmov     rax, rbx                                                       ; +0x4b, 0x1800bc59b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x1800bc59e\nadd     rsp, 20h                                                       ; +0x53, 0x1800bc5a3\npop     rdi                                                            ; +0x57, 0x1800bc5a7\nretn                                                                   ; +0x58, 0x1800bc5a8", "xrefs": ["cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bcdff", "cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bceed", "cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bcfdb", "<???> @ 0x1801438a8", "<???> @ 0x1801b9078", "<???> @ 0x1801b9084"], "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"}