{"type": "func", "start": 6442524032, "end": 6442524176, "name": "cocos2d::extension::CCScrollView::create", "pseudocode": "// \n// cocos2d::extension::CCScrollView::create from 0x180011d80 to 0x180011e10 (144 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c20c\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:40 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::extension::CCScrollView *__fastcall cocos2d::extension::CCScrollView::create(\n        const struct cocos2d::CCSize *a1,\n        __int64 a2)\n{\n  cocos2d::extension::CCScrollView *v4; // rbx\n  __int64 v5; // rax\n  cocos2d::extension::CCScrollView *v7; // [rsp+40h] [rbp+18h] BYREF\n\n  v7 = (cocos2d::extension::CCScrollView *)sub_18001F040(0x238u);\n  v4 = cocos2d::extension::CCScrollView::CCScrollView(v7);\n  if ( v4 )\n  {\n    v5 = cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v7, a1);\n    if ( (unsigned __int8)cocos2d::extension::CCScrollView::initWithViewSize(v4, v5, a2) )\n    {\n      cocos2d::CCObject::autorelease(v4);\n      return v4;\n    }\n    (*(void (__fastcall **)(cocos2d::extension::CCScrollView *, __int64))(*(_QWORD *)v4 + 8LL))(v4, 1);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::create from 0x180011d80 to 0x180011e10 (144 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c20c\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:40 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180011d80\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180011d85\npush    rdi                                                            ; +0xa, 0x180011d8a\nsub     rsp, 20h                                                       ; +0xb, 0x180011d8b\nmov     rdi, rdx                                                       ; +0xf, 0x180011d8f\nmov     rsi, rcx                                                       ; +0x12, 0x180011d92\nmov     ecx, 238h; Size                                                ; +0x15, 0x180011d95\ncall    sub_18001F040                                                  ; +0x1a, 0x180011d9a\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x180011d9f\nmov     rcx, rax; this                                                 ; +0x24, 0x180011da4\ncall    ??0CCScrollView@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScrollView::CCScrollView(void) ; +0x27, 0x180011da7\nmov     rbx, rax                                                       ; +0x2c, 0x180011dac\ntest    rax, rax                                                       ; +0x2f, 0x180011daf\njz      short loc_180011DFD                                            ; +0x32, 0x180011db2\nmov     rdx, rsi                                                       ; +0x34, 0x180011db4\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x37, 0x180011db7\ncall    cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0x3c, 0x180011dbc\nmov     rdx, rax                                                       ; +0x42, 0x180011dc2\nmov     r8, rdi                                                        ; +0x45, 0x180011dc5\nmov     rcx, rbx                                                       ; +0x48, 0x180011dc8\ncall    ?initWithViewSize@CCScrollView@extension@cocos2d@@QEAA_NVCCSize@3@PEAVCCNode@3@@Z; cocos2d::extension::CCScrollView::initWithViewSize(cocos2d::CCSize,cocos2d::CCNode *) ; +0x4b, 0x180011dcb\nmov     rcx, rbx                                                       ; +0x50, 0x180011dd0\ntest    al, al                                                         ; +0x53, 0x180011dd3\njz      short loc_180011DF0                                            ; +0x55, 0x180011dd5\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x57, 0x180011dd7\nmov     rax, rbx                                                       ; +0x5d, 0x180011ddd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x60, 0x180011de0\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x65, 0x180011de5\nadd     rsp, 20h                                                       ; +0x6a, 0x180011dea\npop     rdi                                                            ; +0x6e, 0x180011dee\nretn                                                                   ; +0x6f, 0x180011def\nmov     rax, [rbx]                                                     ; +0x70, 0x180011df0\nmov     edx, 1                                                         ; +0x73, 0x180011df3\ncall    qword ptr [rax+8]                                              ; +0x78, 0x180011df8\nxor     ebx, ebx                                                       ; +0x7b, 0x180011dfb\nmov     rax, rbx                                                       ; +0x7d, 0x180011dfd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x80, 0x180011e00\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x85, 0x180011e05\nadd     rsp, 20h                                                       ; +0x8a, 0x180011e0a\npop     rdi                                                            ; +0x8e, 0x180011e0e\nretn                                                                   ; +0x8f, 0x180011e0f", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004c20c"], "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"}