{"type": "func", "start": 6442525632, "end": 6442525722, "name": "cocos2d::extension::CCScrollView::create", "pseudocode": "// \n// cocos2d::extension::CCScrollView::create from 0x1800123c0 to 0x18001241a (90 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a32c\n// > <???> @ 0x18004a338\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::extension::CCScrollView *__fastcall cocos2d::extension::CCScrollView::create()\n{\n  cocos2d::extension::CCScrollView *v0; // rax\n  cocos2d::CCObject *v1; // rbx\n  cocos2d::extension::CCScrollView *v3; // [rsp+30h] [rbp+8h]\n\n  v3 = (cocos2d::extension::CCScrollView *)operator new(0x238u);\n  v0 = cocos2d::extension::CCScrollView::CCScrollView(v3);\n  v1 = v0;\n  if ( v0 )\n  {\n    if ( (*(unsigned __int8 (__fastcall **)(cocos2d::extension::CCScrollView *))(*(_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    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::create from 0x1800123c0 to 0x18001241a (90 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a32c\n; > <???> @ 0x18004a338\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, 0x1800123c0\nsub     rsp, 20h                                                       ; +0x2, 0x1800123c2\nmov     ecx, 238h; Size                                                ; +0x6, 0x1800123c6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x1800123cb\nmov     [rsp+28h+arg_0], rax                                           ; +0x10, 0x1800123d0\nmov     rcx, rax; this                                                 ; +0x15, 0x1800123d5\ncall    ??0CCScrollView@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScrollView::CCScrollView(void) ; +0x18, 0x1800123d8\nmov     rbx, rax                                                       ; +0x1d, 0x1800123dd\ntest    rax, rax                                                       ; +0x20, 0x1800123e0\njz      short loc_180012411                                            ; +0x23, 0x1800123e3\nmov     rdx, [rax]                                                     ; +0x25, 0x1800123e5\nmov     rcx, rax                                                       ; +0x28, 0x1800123e8\ncall    qword ptr [rdx+48h]                                            ; +0x2b, 0x1800123eb\nmov     rcx, rbx                                                       ; +0x2e, 0x1800123ee\ntest    al, al                                                         ; +0x31, 0x1800123f1\njz      short loc_180012404                                            ; +0x33, 0x1800123f3\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x35, 0x1800123f5\nmov     rax, rbx                                                       ; +0x3b, 0x1800123fb\nadd     rsp, 20h                                                       ; +0x3e, 0x1800123fe\npop     rbx                                                            ; +0x42, 0x180012402\nretn                                                                   ; +0x43, 0x180012403\nmov     rax, [rbx]                                                     ; +0x44, 0x180012404\nmov     edx, 1                                                         ; +0x47, 0x180012407\ncall    qword ptr [rax+8]                                              ; +0x4c, 0x18001240c\nxor     ebx, ebx                                                       ; +0x4f, 0x18001240f\nmov     rax, rbx                                                       ; +0x51, 0x180012411\nadd     rsp, 20h                                                       ; +0x54, 0x180012414\npop     rbx                                                            ; +0x58, 0x180012418\nretn                                                                   ; +0x59, 0x180012419", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004a32c", "<???> @ 0x18004a338"], "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"}