{"type": "func", "start": 5371289824, "end": 5371290211, "name": "CCURLObject::create", "pseudocode": "// \n// CCURLObject::create from 0x1402760e0 to 0x140276263 (387 bytes)\n// \n// 27 xrefs:\n// > LevelAreaInnerLayer::onInfo @ 0x1403e1023\n// > LevelAreaInnerLayer::onInfo @ 0x1403e10d5\n// > LevelAreaInnerLayer::onInfo @ 0x1403e11a5\n// > LevelAreaInnerLayer::onInfo @ 0x1403e125a\n// > LevelAreaInnerLayer::onInfo @ 0x1403e130c\n// > LevelAreaInnerLayer::onInfo @ 0x1403e13b4\n// > MusicDownloadManager::parseSFXLibrary @ 0x140490420\n// > MusicDownloadManager::parseSFXLibrary @ 0x140490889\n// > SupportLayer::onSFX @ 0x14066abcb\n// > SupportLayer::onSFX @ 0x14066ac98\n// > SupportLayer::onSFX @ 0x14066ad32\n// > SupportLayer::onSFX @ 0x14066add9\n// > SupportLayer::onSFX @ 0x14066ae96\n// > SupportLayer::onSFX @ 0x14066af2e\n// > SupportLayer::onLinks @ 0x14066b8ca\n// > SupportLayer::onLinks @ 0x14066b95d\n// > SupportLayer::onLinks @ 0x14066ba00\n// > SupportLayer::onLinks @ 0x14066baaa\n// > SupportLayer::onLinks @ 0x14066bb4f\n// > SupportLayer::onLinks @ 0x14066bc1b\n// > SupportLayer::onLinks @ 0x14066bcf1\n// > SupportLayer::onLinks @ 0x14066bdcc\n// > SupportLayer::onLinks @ 0x14066be95\n// > SupportLayer::onLinks @ 0x14066bf68\n// > SupportLayer::onLinks @ 0x14066c044\n// > <???> @ 0x14091cd24\n// > <???> @ 0x14091cd30\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:28:56 +0000\n// \n\n// Hidden C++ exception states: #wind=6\nchar *__fastcall CCURLObject::create(__int64 a1, __int64 a2)\n{\n  char *v4; // rsi\n  void **v5; // rbx\n  __int64 v6; // rax\n  __int64 v7; // rdi\n  void *v8; // rdx\n  void *v9; // rdx\n  _BYTE v11[32]; // [rsp+30h] [rbp-88h] BYREF\n  _BYTE v12[32]; // [rsp+50h] [rbp-68h] BYREF\n  __int64 v13; // [rsp+70h] [rbp-48h]\n  __int64 v14; // [rsp+78h] [rbp-40h]\n\n  v13 = a1;\n  v14 = a2;\n  v4 = (char *)operator new(0x78u);\n  *(_OWORD *)v4 = 0;\n  *((_OWORD *)v4 + 1) = 0;\n  *((_OWORD *)v4 + 2) = 0;\n  *((_OWORD *)v4 + 3) = 0;\n  *((_OWORD *)v4 + 4) = 0;\n  *((_OWORD *)v4 + 5) = 0;\n  *((_OWORD *)v4 + 6) = 0;\n  *((_QWORD *)v4 + 14) = 0;\n  cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4);\n  *(_QWORD *)v4 = &CCURLObject::`vftable';\n  *(_OWORD *)(v4 + 56) = 0;\n  *((_QWORD *)v4 + 9) = 0;\n  *((_QWORD *)v4 + 10) = 15;\n  v4[56] = 0;\n  *(_OWORD *)(v4 + 88) = 0;\n  *((_QWORD *)v4 + 13) = 0;\n  *((_QWORD *)v4 + 14) = 15;\n  v4[88] = 0;\n  v5 = (void **)sub_14003F4F0((__int64)v11, a2);\n  v6 = sub_14003F4F0((__int64)v12, a1);\n  v7 = v6;\n  if ( v4 + 56 != (char *)v6 )\n  {\n    v8 = (void *)v6;\n    if ( *(_QWORD *)(v6 + 24) > 0xFu )\n      v8 = *(void **)v6;\n    sub_1400405A0((void **)v4 + 7, v8, *(_QWORD *)(v6 + 16));\n  }\n  if ( v4 + 88 != (char *)v5 )\n  {\n    v9 = v5;\n    if ( (unsigned __int64)v5[3] > 0xF )\n      v9 = *v5;\n    sub_1400405A0((void **)v4 + 11, v9, (size_t)v5[2]);\n  }\n  sub_14003D310(v7);\n  sub_14003D310((__int64)v5);\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n  sub_14003D310(a1);\n  sub_14003D310(a2);\n  return v4;\n}", "assembly": "; \n; CCURLObject::create from 0x1402760e0 to 0x140276263 (387 bytes)\n; \n; 27 xrefs:\n; > LevelAreaInnerLayer::onInfo @ 0x1403e1023\n; > LevelAreaInnerLayer::onInfo @ 0x1403e10d5\n; > LevelAreaInnerLayer::onInfo @ 0x1403e11a5\n; > LevelAreaInnerLayer::onInfo @ 0x1403e125a\n; > LevelAreaInnerLayer::onInfo @ 0x1403e130c\n; > LevelAreaInnerLayer::onInfo @ 0x1403e13b4\n; > MusicDownloadManager::parseSFXLibrary @ 0x140490420\n; > MusicDownloadManager::parseSFXLibrary @ 0x140490889\n; > SupportLayer::onSFX @ 0x14066abcb\n; > SupportLayer::onSFX @ 0x14066ac98\n; > SupportLayer::onSFX @ 0x14066ad32\n; > SupportLayer::onSFX @ 0x14066add9\n; > SupportLayer::onSFX @ 0x14066ae96\n; > SupportLayer::onSFX @ 0x14066af2e\n; > SupportLayer::onLinks @ 0x14066b8ca\n; > SupportLayer::onLinks @ 0x14066b95d\n; > SupportLayer::onLinks @ 0x14066ba00\n; > SupportLayer::onLinks @ 0x14066baaa\n; > SupportLayer::onLinks @ 0x14066bb4f\n; > SupportLayer::onLinks @ 0x14066bc1b\n; > SupportLayer::onLinks @ 0x14066bcf1\n; > SupportLayer::onLinks @ 0x14066bdcc\n; > SupportLayer::onLinks @ 0x14066be95\n; > SupportLayer::onLinks @ 0x14066bf68\n; > SupportLayer::onLinks @ 0x14066c044\n; > <???> @ 0x14091cd24\n; > <???> @ 0x14091cd30\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:28:56 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1402760e0\nmov     [rsp+arg_18], rbp                                              ; +0x5, 0x1402760e5\npush    rsi                                                            ; +0xa, 0x1402760ea\npush    rdi                                                            ; +0xb, 0x1402760eb\npush    r12                                                            ; +0xc, 0x1402760ec\npush    r14                                                            ; +0xe, 0x1402760ee\npush    r15                                                            ; +0x10, 0x1402760f0\nsub     rsp, 90h                                                       ; +0x12, 0x1402760f2\nmov     rax, cs:__security_cookie                                      ; +0x19, 0x1402760f9\nxor     rax, rsp                                                       ; +0x20, 0x140276100\nmov     [rsp+0B8h+var_38], rax                                         ; +0x23, 0x140276103\nmov     r12, rdx                                                       ; +0x2b, 0x14027610b\nmov     rbp, rcx                                                       ; +0x2e, 0x14027610e\nmov     [rsp+0B8h+var_48], rcx                                         ; +0x31, 0x140276111\nmov     [rsp+0B8h+var_40], rdx                                         ; +0x36, 0x140276116\nmov     ecx, 78h ; 'x'; Size                                           ; +0x3b, 0x14027611b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x40, 0x140276120\nmov     rsi, rax                                                       ; +0x45, 0x140276125\nmov     [rsp+0B8h+var_98], rax                                         ; +0x48, 0x140276128\nxorps   xmm0, xmm0                                                     ; +0x4d, 0x14027612d\nxor     eax, eax                                                       ; +0x50, 0x140276130\nmovups  xmmword ptr [rsi], xmm0                                        ; +0x52, 0x140276132\nmovups  xmmword ptr [rsi+10h], xmm0                                    ; +0x55, 0x140276135\nmovups  xmmword ptr [rsi+20h], xmm0                                    ; +0x59, 0x140276139\nmovups  xmmword ptr [rsi+30h], xmm0                                    ; +0x5d, 0x14027613d\nmovups  xmmword ptr [rsi+40h], xmm0                                    ; +0x61, 0x140276141\nmovups  xmmword ptr [rsi+50h], xmm0                                    ; +0x65, 0x140276145\nmovups  xmmword ptr [rsi+60h], xmm0                                    ; +0x69, 0x140276149\nmov     [rsi+70h], rax                                                 ; +0x6d, 0x14027614d\nmov     rcx, rsi                                                       ; +0x71, 0x140276151\ncall    cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x74, 0x140276154\nlea     rax, ??_7CCURLObject@@6B@; const CCURLObject::`vftable'        ; +0x7a, 0x14027615a\nmov     [rsi], rax                                                     ; +0x81, 0x140276161\nlea     r15, [rsi+38h]                                                 ; +0x84, 0x140276164\nxorps   xmm0, xmm0                                                     ; +0x88, 0x140276168\nmovups  xmmword ptr [r15], xmm0                                        ; +0x8b, 0x14027616b\nxor     eax, eax                                                       ; +0x8f, 0x14027616f\nmov     [r15+10h], rax                                                 ; +0x91, 0x140276171\nmov     qword ptr [r15+18h], 0Fh                                       ; +0x95, 0x140276175\nmov     [r15], al                                                      ; +0x9d, 0x14027617d\nlea     r14, [rsi+58h]                                                 ; +0xa0, 0x140276180\nmovups  xmmword ptr [r14], xmm0                                        ; +0xa4, 0x140276184\nmov     [r14+10h], rax                                                 ; +0xa8, 0x140276188\nmov     qword ptr [r14+18h], 0Fh                                       ; +0xac, 0x14027618c\nmov     [r14], al                                                      ; +0xb4, 0x140276194\nlea     rax, [rsp+0B8h+var_88]                                         ; +0xb7, 0x140276197\nmov     [rsp+0B8h+var_98], rax                                         ; +0xbc, 0x14027619c\nmov     rdx, r12                                                       ; +0xc1, 0x1402761a1\nlea     rcx, [rsp+0B8h+var_88]                                         ; +0xc4, 0x1402761a4\ncall    sub_14003F4F0                                                  ; +0xc9, 0x1402761a9\nmov     rbx, rax                                                       ; +0xce, 0x1402761ae\nmov     [rsp+0B8h+var_90], rax                                         ; +0xd1, 0x1402761b1\nmov     rdx, rbp                                                       ; +0xd6, 0x1402761b6\nlea     rcx, [rsp+0B8h+var_68]                                         ; +0xd9, 0x1402761b9\ncall    sub_14003F4F0                                                  ; +0xde, 0x1402761be\nmov     rdi, rax                                                       ; +0xe3, 0x1402761c3\nmov     [rsp+0B8h+var_98], rax                                         ; +0xe6, 0x1402761c6\ncmp     r15, rax                                                       ; +0xeb, 0x1402761cb\njz      short loc_1402761E9                                            ; +0xee, 0x1402761ce\nmov     rdx, rax                                                       ; +0xf0, 0x1402761d0\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0xf3, 0x1402761d3\njbe     short loc_1402761DD                                            ; +0xf8, 0x1402761d8\nmov     rdx, [rax]; Src                                                ; +0xfa, 0x1402761da\nmov     r8, [rax+10h]; Size                                            ; +0xfd, 0x1402761dd\nmov     rcx, r15; void *                                               ; +0x101, 0x1402761e1\ncall    sub_1400405A0                                                  ; +0x104, 0x1402761e4\ncmp     r14, rbx                                                       ; +0x109, 0x1402761e9\njz      short loc_140276208                                            ; +0x10c, 0x1402761ec\nmov     rdx, rbx                                                       ; +0x10e, 0x1402761ee\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x111, 0x1402761f1\njbe     short loc_1402761FB                                            ; +0x116, 0x1402761f6\nmov     rdx, [rbx]; Src                                                ; +0x118, 0x1402761f8\nmov     r8, [rbx+10h]; Size                                            ; +0x11b, 0x1402761fb\nmov     rcx, r14; void *                                               ; +0x11f, 0x1402761ff\ncall    sub_1400405A0                                                  ; +0x122, 0x140276202\nnop                                                                    ; +0x127, 0x140276207\nmov     rcx, rdi                                                       ; +0x128, 0x140276208\ncall    sub_14003D310                                                  ; +0x12b, 0x14027620b\nnop                                                                    ; +0x130, 0x140276210\nmov     rcx, rbx                                                       ; +0x131, 0x140276211\ncall    sub_14003D310                                                  ; +0x134, 0x140276214\nmov     rcx, rsi                                                       ; +0x139, 0x140276219\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x13c, 0x14027621c\nnop                                                                    ; +0x142, 0x140276222\nmov     rcx, rbp                                                       ; +0x143, 0x140276223\ncall    sub_14003D310                                                  ; +0x146, 0x140276226\nnop                                                                    ; +0x14b, 0x14027622b\nmov     rcx, r12                                                       ; +0x14c, 0x14027622c\ncall    sub_14003D310                                                  ; +0x14f, 0x14027622f\nmov     rax, rsi                                                       ; +0x154, 0x140276234\nmov     rcx, [rsp+0B8h+var_38]                                         ; +0x157, 0x140276237\nxor     rcx, rsp; StackCookie                                          ; +0x15f, 0x14027623f\ncall    __security_check_cookie                                        ; +0x162, 0x140276242\nlea     r11, [rsp+0B8h+var_28]                                         ; +0x167, 0x140276247\nmov     rbx, [r11+40h]                                                 ; +0x16f, 0x14027624f\nmov     rbp, [r11+48h]                                                 ; +0x173, 0x140276253\nmov     rsp, r11                                                       ; +0x177, 0x140276257\npop     r15                                                            ; +0x17a, 0x14027625a\npop     r14                                                            ; +0x17c, 0x14027625c\npop     r12                                                            ; +0x17e, 0x14027625e\npop     rdi                                                            ; +0x180, 0x140276260\npop     rsi                                                            ; +0x181, 0x140276261\nretn                                                                   ; +0x182, 0x140276262", "xrefs": ["LevelAreaInnerLayer::onInfo @ 0x1403e1023", "LevelAreaInnerLayer::onInfo @ 0x1403e10d5", "LevelAreaInnerLayer::onInfo @ 0x1403e11a5", "LevelAreaInnerLayer::onInfo @ 0x1403e125a", "LevelAreaInnerLayer::onInfo @ 0x1403e130c", "LevelAreaInnerLayer::onInfo @ 0x1403e13b4", "MusicDownloadManager::parseSFXLibrary @ 0x140490420", "MusicDownloadManager::parseSFXLibrary @ 0x140490889", "SupportLayer::onSFX @ 0x14066abcb", "SupportLayer::onSFX @ 0x14066ac98", "SupportLayer::onSFX @ 0x14066ad32", "SupportLayer::onSFX @ 0x14066add9", "SupportLayer::onSFX @ 0x14066ae96", "SupportLayer::onSFX @ 0x14066af2e", "SupportLayer::onLinks @ 0x14066b8ca", "SupportLayer::onLinks @ 0x14066b95d", "SupportLayer::onLinks @ 0x14066ba00", "SupportLayer::onLinks @ 0x14066baaa", "SupportLayer::onLinks @ 0x14066bb4f", "SupportLayer::onLinks @ 0x14066bc1b", "SupportLayer::onLinks @ 0x14066bcf1", "SupportLayer::onLinks @ 0x14066bdcc", "SupportLayer::onLinks @ 0x14066be95", "SupportLayer::onLinks @ 0x14066bf68", "SupportLayer::onLinks @ 0x14066c044", "<???> @ 0x14091cd24", "<???> @ 0x14091cd30"], "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"}