{"type": "func", "start": 4298185628, "end": 4298185896, "name": "CCURLObject::create", "pseudocode": "// \n// CCURLObject::create from 0x100311b9c to 0x100311ca8 (268 bytes)\n// \n// 23 xrefs:\n// > MusicDownloadManager::parseSFXLibrary @ 0x10015a7e4\n// > SupportLayer::onLinks @ 0x100191ea4\n// > SupportLayer::onLinks @ 0x100191efc\n// > SupportLayer::onLinks @ 0x100191f54\n// > SupportLayer::onLinks @ 0x100191fac\n// > SupportLayer::onLinks @ 0x100192004\n// > SupportLayer::onLinks @ 0x10019205c\n// > SupportLayer::onLinks @ 0x1001920b4\n// > SupportLayer::onLinks @ 0x10019210c\n// > SupportLayer::onLinks @ 0x100192164\n// > SupportLayer::onLinks @ 0x1001921bc\n// > SupportLayer::onSFX @ 0x10019256c\n// > SupportLayer::onSFX @ 0x1001925c4\n// > SupportLayer::onSFX @ 0x10019261c\n// > SupportLayer::onSFX @ 0x100192674\n// > SupportLayer::onSFX @ 0x1001926cc\n// > SupportLayer::onSFX @ 0x100192724\n// > LevelAreaInnerLayer::onInfo @ 0x100346540\n// > LevelAreaInnerLayer::onInfo @ 0x100346598\n// > LevelAreaInnerLayer::onInfo @ 0x1003465f0\n// > LevelAreaInnerLayer::onInfo @ 0x100346648\n// > LevelAreaInnerLayer::onInfo @ 0x1003466a0\n// > LevelAreaInnerLayer::onInfo @ 0x1003466f8\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\nchar *__fastcall CCURLObject::create(__int64 a1, __int64 a2)\n{\n  char *v4; // x19\n  std::string __p; // [xsp+0h] [xbp-60h] BYREF\n  std::string __str; // [xsp+20h] [xbp-40h] BYREF\n\n  v4 = (char *)operator new(0x68u);\n  *(_OWORD *)v4 = 0u;\n  *((_OWORD *)v4 + 1) = 0u;\n  *((_OWORD *)v4 + 2) = 0u;\n  *((_OWORD *)v4 + 3) = 0u;\n  *((_OWORD *)v4 + 4) = 0u;\n  *((_OWORD *)v4 + 5) = 0u;\n  *((_QWORD *)v4 + 12) = 0;\n  cocos2d::CCObject::CCObject((__int64)v4);\n  *(_QWORD *)v4 = off_1007EEFD8;\n  *(_OWORD *)(v4 + 56) = 0u;\n  *(_OWORD *)(v4 + 72) = 0u;\n  *(_OWORD *)(v4 + 88) = 0u;\n  if ( *(char *)(a1 + 23) < 0 )\n    sub_1000097D0(&__str, *(void **)a1, *(_QWORD *)(a1 + 8));\n  else\n    __str = *(std::string *)a1;\n  if ( *(char *)(a2 + 23) < 0 )\n    sub_1000097D0(&__p, *(void **)a2, *(_QWORD *)(a2 + 8));\n  else\n    __p = *(std::string *)a2;\n  std::string::operator=((std::string *)(v4 + 56), &__str);\n  std::string::operator=((std::string *)(v4 + 80), &__p);\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n  if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__str.__r_.__value_.__l.__data_);\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n  return v4;\n}", "assembly": "; \n; CCURLObject::create from 0x100311b9c to 0x100311ca8 (268 bytes)\n; \n; 23 xrefs:\n; > MusicDownloadManager::parseSFXLibrary @ 0x10015a7e4\n; > SupportLayer::onLinks @ 0x100191ea4\n; > SupportLayer::onLinks @ 0x100191efc\n; > SupportLayer::onLinks @ 0x100191f54\n; > SupportLayer::onLinks @ 0x100191fac\n; > SupportLayer::onLinks @ 0x100192004\n; > SupportLayer::onLinks @ 0x10019205c\n; > SupportLayer::onLinks @ 0x1001920b4\n; > SupportLayer::onLinks @ 0x10019210c\n; > SupportLayer::onLinks @ 0x100192164\n; > SupportLayer::onLinks @ 0x1001921bc\n; > SupportLayer::onSFX @ 0x10019256c\n; > SupportLayer::onSFX @ 0x1001925c4\n; > SupportLayer::onSFX @ 0x10019261c\n; > SupportLayer::onSFX @ 0x100192674\n; > SupportLayer::onSFX @ 0x1001926cc\n; > SupportLayer::onSFX @ 0x100192724\n; > LevelAreaInnerLayer::onInfo @ 0x100346540\n; > LevelAreaInnerLayer::onInfo @ 0x100346598\n; > LevelAreaInnerLayer::onInfo @ 0x1003465f0\n; > LevelAreaInnerLayer::onInfo @ 0x100346648\n; > LevelAreaInnerLayer::onInfo @ 0x1003466a0\n; > LevelAreaInnerLayer::onInfo @ 0x1003466f8\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\nSUB             SP, SP, #0x70                                          ; +0x0, 0x100311b9c\nSTP             X22, X21, [SP,#0x60+var_20]                            ; +0x4, 0x100311ba0\nSTP             X20, X19, [SP,#0x60+var_10]                            ; +0x8, 0x100311ba4\nSTP             X29, X30, [SP,#0x60+var_s0]                            ; +0xc, 0x100311ba8\nADD             X29, SP, #0x60                                         ; +0x10, 0x100311bac\nMOV             X20, X1                                                ; +0x14, 0x100311bb0\nMOV             X22, X0                                                ; +0x18, 0x100311bb4\nMOV             W0, #0x68 ; 'h'; __sz                                  ; +0x1c, 0x100311bb8\nBL              __Znwm; operator new(ulong)                            ; +0x20, 0x100311bbc\nMOV             X19, X0                                                ; +0x24, 0x100311bc0\nMOVI            V0.16B, #0                                             ; +0x28, 0x100311bc4\nSTP             Q0, Q0, [X0]                                           ; +0x2c, 0x100311bc8\nSTP             Q0, Q0, [X0,#0x20]                                     ; +0x30, 0x100311bcc\nSTP             Q0, Q0, [X0,#0x40]                                     ; +0x34, 0x100311bd0\nSTR             XZR, [X0,#0x60]                                        ; +0x38, 0x100311bd4\nBL              cocos2d__CCObject__CCObject                            ; +0x3c, 0x100311bd8\nADRL            X8, unk_1007EEFC8                                      ; +0x40, 0x100311bdc\nADD             X8, X8, #(off_1007EEFD8 - 0x1007EEFC8)                 ; +0x48, 0x100311be4\nSTR             X8, [X19]                                              ; +0x4c, 0x100311be8\nMOV             X21, X19                                               ; +0x50, 0x100311bec\nMOVI            V0.16B, #0                                             ; +0x54, 0x100311bf0\nSTR             Q0, [X21,#0x38]!                                       ; +0x58, 0x100311bf4\nSTUR            Q0, [X19,#0x48]                                        ; +0x5c, 0x100311bf8\nSTUR            Q0, [X19,#0x58]                                        ; +0x60, 0x100311bfc\nLDRSB           W8, [X22,#0x17]                                        ; +0x64, 0x100311c00\nTBNZ            W8, #0x1F, loc_100311C1C                               ; +0x68, 0x100311c04\nLDR             Q0, [X22]                                              ; +0x6c, 0x100311c08\nSTR             Q0, [SP,#0x60+__str]                                   ; +0x70, 0x100311c0c\nLDR             X8, [X22,#0x10]                                        ; +0x74, 0x100311c10\nSTR             X8, [SP,#0x60+__str.__r_.__value_+0x10]                ; +0x78, 0x100311c14\nB               loc_100311C28                                          ; +0x7c, 0x100311c18\nLDP             X1, X2, [X22]; __src                                   ; +0x80, 0x100311c1c\nADD             X0, SP, #0x60+__str; __dst                             ; +0x84, 0x100311c20\nBL              sub_1000097D0                                          ; +0x88, 0x100311c24\nLDRSB           W8, [X20,#0x17]                                        ; +0x8c, 0x100311c28\nTBNZ            W8, #0x1F, loc_100311C44                               ; +0x90, 0x100311c2c\nLDR             Q0, [X20]                                              ; +0x94, 0x100311c30\nSTR             Q0, [SP,#0x60+__p]                                     ; +0x98, 0x100311c34\nLDR             X8, [X20,#0x10]                                        ; +0x9c, 0x100311c38\nSTR             X8, [SP,#0x60+var_50]                                  ; +0xa0, 0x100311c3c\nB               loc_100311C50                                          ; +0xa4, 0x100311c40\nLDP             X1, X2, [X20]; __src                                   ; +0xa8, 0x100311c44\nMOV             X0, SP; __dst                                          ; +0xac, 0x100311c48\nBL              sub_1000097D0                                          ; +0xb0, 0x100311c4c\nADD             X1, SP, #0x60+__str; __str                             ; +0xb4, 0x100311c50\nMOV             X0, X21; this                                          ; +0xb8, 0x100311c54\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0xbc, 0x100311c58\nADD             X0, X19, #0x50 ; 'P'; this                             ; +0xc0, 0x100311c5c\nMOV             X1, SP; __str                                          ; +0xc4, 0x100311c60\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0xc8, 0x100311c64\nLDRSB           W8, [SP,#0x60+var_50+7]                                ; +0xcc, 0x100311c68\nTBZ             W8, #0x1F, loc_100311C78                               ; +0xd0, 0x100311c6c\nLDR             X0, [SP,#0x60+__p]; __p                                ; +0xd4, 0x100311c70\nBL              __ZdlPv; operator delete(void *)                       ; +0xd8, 0x100311c74\nLDRSB           W8, [SP,#0x60+__str.__r_.__value_+0x17]                ; +0xdc, 0x100311c78\nTBZ             W8, #0x1F, loc_100311C88                               ; +0xe0, 0x100311c7c\nLDR             X0, [SP,#0x60+__str]; __p                              ; +0xe4, 0x100311c80\nBL              __ZdlPv; operator delete(void *)                       ; +0xe8, 0x100311c84\nMOV             X0, X19                                                ; +0xec, 0x100311c88\nBL              cocos2d__CCObject__autorelease                         ; +0xf0, 0x100311c8c\nMOV             X0, X19                                                ; +0xf4, 0x100311c90\nLDP             X29, X30, [SP,#0x60+var_s0]                            ; +0xf8, 0x100311c94\nLDP             X20, X19, [SP,#0x60+var_10]                            ; +0xfc, 0x100311c98\nLDP             X22, X21, [SP,#0x60+var_20]                            ; +0x100, 0x100311c9c\nADD             SP, SP, #0x70 ; 'p'                                    ; +0x104, 0x100311ca0\nRET                                                                    ; +0x108, 0x100311ca4", "xrefs": ["MusicDownloadManager::parseSFXLibrary @ 0x10015a7e4", "SupportLayer::onLinks @ 0x100191ea4", "SupportLayer::onLinks @ 0x100191efc", "SupportLayer::onLinks @ 0x100191f54", "SupportLayer::onLinks @ 0x100191fac", "SupportLayer::onLinks @ 0x100192004", "SupportLayer::onLinks @ 0x10019205c", "SupportLayer::onLinks @ 0x1001920b4", "SupportLayer::onLinks @ 0x10019210c", "SupportLayer::onLinks @ 0x100192164", "SupportLayer::onLinks @ 0x1001921bc", "SupportLayer::onSFX @ 0x10019256c", "SupportLayer::onSFX @ 0x1001925c4", "SupportLayer::onSFX @ 0x10019261c", "SupportLayer::onSFX @ 0x100192674", "SupportLayer::onSFX @ 0x1001926cc", "SupportLayer::onSFX @ 0x100192724", "LevelAreaInnerLayer::onInfo @ 0x100346540", "LevelAreaInnerLayer::onInfo @ 0x100346598", "LevelAreaInnerLayer::onInfo @ 0x1003465f0", "LevelAreaInnerLayer::onInfo @ 0x100346648", "LevelAreaInnerLayer::onInfo @ 0x1003466a0", "LevelAreaInnerLayer::onInfo @ 0x1003466f8"], "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"}