// // CCURLObject::create from 0x100311b9c to 0x100311ca8 (268 bytes) // // 23 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 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // char *__fastcall CCURLObject::create(__int64 a1, __int64 a2) { char *v4; // x19 std::string __p; // [xsp+0h] [xbp-60h] BYREF std::string __str; // [xsp+20h] [xbp-40h] BYREF v4 = (char *)operator new(0x68u); *(_OWORD *)v4 = 0u; *((_OWORD *)v4 + 1) = 0u; *((_OWORD *)v4 + 2) = 0u; *((_OWORD *)v4 + 3) = 0u; *((_OWORD *)v4 + 4) = 0u; *((_OWORD *)v4 + 5) = 0u; *((_QWORD *)v4 + 12) = 0; cocos2d::CCObject::CCObject((__int64)v4); *(_QWORD *)v4 = off_1007EEFD8; *(_OWORD *)(v4 + 56) = 0u; *(_OWORD *)(v4 + 72) = 0u; *(_OWORD *)(v4 + 88) = 0u; if ( *(char *)(a1 + 23) < 0 ) sub_1000097D0(&__str, *(void **)a1, *(_QWORD *)(a1 + 8)); else __str = *(std::string *)a1; if ( *(char *)(a2 + 23) < 0 ) sub_1000097D0(&__p, *(void **)a2, *(_QWORD *)(a2 + 8)); else __p = *(std::string *)a2; std::string::operator=((std::string *)(v4 + 56), &__str); std::string::operator=((std::string *)(v4 + 80), &__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); return v4; }