//
// GJSearchObject::create_2 from 0x1000d5574 to 0x1000d5638 (196 bytes)
//
// 25 xrefs:
// > sub_10002C724 @ 0x10002c738
// > SetupSmartBlockLayer::onSelectTemplate @ 0x100078664
// > sub_100079570 @ 0x100079580
// > CreatorLayer::onSavedLevels @ 0x1000db708
// > CreatorLayer::onFeaturedLevels @ 0x1000dbd44
// > CreatorLayer::onTopLists @ 0x1000dbda8
// > CreatorLayer::onMapPacks @ 0x1000dbe0c
// > CreatorLayer::onMyLevels @ 0x1000dbea8
// > CreatorLayer::onMyLevels @ 0x1000dbf18
// > sub_1001115F0 @ 0x1001116bc
// > sub_10022EFE8 @ 0x10022f018
// > sub_10022F12C @ 0x10022f150
// > LevelListLayer::init @ 0x1002e0318
// > sub_1002E1BC4 @ 0x1002e1c24
// > LevelListLayer::onBack @ 0x1002e3a08
// > sub_1002E6A38 @ 0x1002e6a60
// > sub_100314974 @ 0x10031499c
// > GameManager::returnToLastScene @ 0x1003bb330
// > LevelBrowserLayer::init @ 0x1004950c8
// > LevelBrowserLayer::onLocalMode @ 0x100497690
// > LevelBrowserLayer::onSavedMode @ 0x100497918
// > LevelBrowserLayer::onSaved @ 0x10049799c
// > LevelBrowserLayer::onFavorites @ 0x100497a84
// > LevelBrowserLayer::onSafeMode @ 0x100498020
// > LevelBrowserLayer::safeSearchObject @ 0x10049b818
//
// 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 10:58:56 +0000
//
char *__fastcall GJSearchObject::create_2(__int64 a1)
{
char *v2; // x19
void *__p[2]; // [xsp+28h] [xbp-58h] BYREF
char v5; // [xsp+3Fh] [xbp-41h]
void *v6[2]; // [xsp+40h] [xbp-40h] BYREF
char v7; // [xsp+57h] [xbp-29h]
void *v8[2]; // [xsp+58h] [xbp-28h] BYREF
char v9; // [xsp+6Fh] [xbp-11h]
sub_100009900(v8, "");
sub_100009900(v6, "-");
sub_100009900(__p, "-");
v2 = GJSearchObject::create(a1, (__int64)v8, (__int64)v6, (__int64)__p, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
if ( v5 < 0 )
operator delete(__p[0]);
if ( v7 < 0 )
operator delete(v6[0]);
if ( v9 < 0 )
operator delete(v8[0]);
return v2;
}