{"type": "func", "start": 6442466112, "end": 6442466202, "name": "cocos2d::extension::CCControl::create", "pseudocode": "// \n// cocos2d::extension::CCControl::create from 0x180003b40 to 0x180003b9a (90 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b2f4\n// > <???> @ 0x18004b300\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 12:15:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::extension::CCControl *__fastcall cocos2d::extension::CCControl::create()\n{\n  cocos2d::extension::CCControl *v0; // rax\n  cocos2d::CCObject *v1; // rbx\n  cocos2d::extension::CCControl *v3; // [rsp+30h] [rbp+8h]\n\n  v3 = (cocos2d::extension::CCControl *)sub_18001F040(0x1D8u);\n  v0 = cocos2d::extension::CCControl::CCControl(v3);\n  v1 = v0;\n  if ( v0 )\n  {\n    if ( (*(unsigned __int8 (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)v0 + 72LL))(v0) )\n    {\n      cocos2d::CCObject::autorelease(v1);\n      return v1;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v1 + 8LL))(v1, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::extension::CCControl::create from 0x180003b40 to 0x180003b9a (90 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b2f4\n; > <???> @ 0x18004b300\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 12:15:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x180003b40\nsub     rsp, 20h                                                       ; +0x2, 0x180003b42\nmov     ecx, 1D8h; Size                                                ; +0x6, 0x180003b46\ncall    sub_18001F040                                                  ; +0xb, 0x180003b4b\nmov     [rsp+28h+arg_0], rax                                           ; +0x10, 0x180003b50\nmov     rcx, rax; this                                                 ; +0x15, 0x180003b55\ncall    ??0CCControl@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControl::CCControl(void) ; +0x18, 0x180003b58\nmov     rbx, rax                                                       ; +0x1d, 0x180003b5d\ntest    rax, rax                                                       ; +0x20, 0x180003b60\njz      short loc_180003B92                                            ; +0x23, 0x180003b63\nmov     rcx, [rax]                                                     ; +0x25, 0x180003b65\nmov     rdx, [rcx+48h]                                                 ; +0x28, 0x180003b68\nmov     rcx, rax                                                       ; +0x2c, 0x180003b6c\ncall    rdx                                                            ; +0x2f, 0x180003b6f\nmov     rcx, rbx                                                       ; +0x31, 0x180003b71\ntest    al, al                                                         ; +0x34, 0x180003b74\njz      short loc_180003B87                                            ; +0x36, 0x180003b76\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x38, 0x180003b78\nmov     rax, rbx                                                       ; +0x3e, 0x180003b7e\nadd     rsp, 20h                                                       ; +0x41, 0x180003b81\npop     rbx                                                            ; +0x45, 0x180003b85\nretn                                                                   ; +0x46, 0x180003b86\nmov     rax, [rbx]                                                     ; +0x47, 0x180003b87\nmov     edx, 1                                                         ; +0x4a, 0x180003b8a\ncall    qword ptr [rax+8]                                              ; +0x4f, 0x180003b8f\nxor     eax, eax                                                       ; +0x52, 0x180003b92\nadd     rsp, 20h                                                       ; +0x54, 0x180003b94\npop     rbx                                                            ; +0x58, 0x180003b98\nretn                                                                   ; +0x59, 0x180003b99", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004b2f4", "<???> @ 0x18004b300"], "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"}