//
// CCURLObject::create from 0x1003ae8b4 to 0x1003ae9c0 (268 bytes)
//
// 25 xrefs:
// > sub_1001DF084 @ 0x1001df53c
// > sub_1001DF084 @ 0x1001df83c
// > sub_1002250B0 @ 0x1002250f8
// > sub_1002250B0 @ 0x100225150
// > sub_1002250B0 @ 0x1002251a8
// > sub_1002250B0 @ 0x100225200
// > sub_1002250B0 @ 0x100225258
// > sub_1002250B0 @ 0x1002252b0
// > sub_1002250B0 @ 0x100225308
// > sub_1002250B0 @ 0x100225360
// > sub_1002250B0 @ 0x1002253b8
// > sub_1002250B0 @ 0x100225410
// > sub_1002250B0 @ 0x100225468
// > sub_1002257FC @ 0x100225844
// > sub_1002257FC @ 0x10022589c
// > sub_1002257FC @ 0x1002258f4
// > sub_1002257FC @ 0x10022594c
// > sub_1002257FC @ 0x1002259a4
// > sub_1002257FC @ 0x1002259fc
// > LevelAreaInnerLayer::onInfo @ 0x1003e4cbc
// > LevelAreaInnerLayer::onInfo @ 0x1003e4d14
// > LevelAreaInnerLayer::onInfo @ 0x1003e4d6c
// > LevelAreaInnerLayer::onInfo @ 0x1003e4dc4
// > LevelAreaInnerLayer::onInfo @ 0x1003e4e1c
// > LevelAreaInnerLayer::onInfo @ 0x1003e4e74
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:03:52 +0000
//
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_100947338;
*(_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((__int64)v4);
return v4;
}