{"type": "func", "start": 4295689376, "end": 4295689572, "name": "GJSearchObject::create_2", "pseudocode": "// \n// GJSearchObject::create_2 from 0x1000b04a0 to 0x1000b0564 (196 bytes)\n// \n// 22 xrefs:\n// > LevelInfoLayer::onAddToList @ 0x100029210\n// > SetupSmartBlockLayer::onSelectTemplate @ 0x10006fee8\n// > SetupSmartTemplateLayer::onBack @ 0x100070df0\n// > CreatorLayer::onSavedLevels @ 0x1000b5c98\n// > CreatorLayer::onFeaturedLevels @ 0x1000b6218\n// > CreatorLayer::onTopLists @ 0x1000b627c\n// > CreatorLayer::onMapPacks @ 0x1000b62e0\n// > CreatorLayer::onMyLevels @ 0x1000b6370\n// > EditLevelLayer::onBack @ 0x1000eb4dc\n// > ProfilePage::onMyLevels @ 0x10019b268\n// > ProfilePage::onMyLists @ 0x10019b3a0\n// > DailyLevelPage::onTheSafe @ 0x1001b9b2c\n// > LevelListLayer::init @ 0x100243260\n// > LevelListLayer::onRefreshLevelList @ 0x100244b68\n// > LevelListLayer::onBack @ 0x1002468c0\n// > UploadListPopup::onBack @ 0x100249860\n// > UploadPopup::onBack @ 0x1002769f0\n// > GameManager::returnToLastScene @ 0x10031d694\n// > LevelBrowserLayer::onLocalMode @ 0x1004163e4\n// > LevelBrowserLayer::onSavedMode @ 0x10041666c\n// > LevelBrowserLayer::onSaved @ 0x1004166f0\n// > LevelBrowserLayer::onFavorites @ 0x1004167d8\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\n// local variable allocation has failed, the output may be wrong!\nGJSearchObject *__fastcall GJSearchObject::create_2(SearchType a1)\n{\n  __int64 v1; // x19\n  char *v2; // x19\n  void *__p[2]; // [xsp+28h] [xbp-58h] BYREF\n  char v5; // [xsp+3Fh] [xbp-41h]\n  void *v6[2]; // [xsp+40h] [xbp-40h] BYREF\n  char v7; // [xsp+57h] [xbp-29h]\n  void *v8[2]; // [xsp+58h] [xbp-28h] BYREF\n  char v9; // [xsp+6Fh] [xbp-11h]\n\n  v1 = *(_QWORD *)&a1;\n  sub_100009900(v8, \"\");\n  sub_100009900(v6, \"-\");\n  sub_100009900(__p, \"-\");\n  v2 = GJSearchObject::create(v1, (__int64)v8, (__int64)v6, (__int64)__p, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  if ( v7 < 0 )\n    operator delete(v6[0]);\n  if ( v9 < 0 )\n    operator delete(v8[0]);\n  return (GJSearchObject *)v2;\n}", "assembly": "; \n; GJSearchObject::create_2 from 0x1000b04a0 to 0x1000b0564 (196 bytes)\n; \n; 22 xrefs:\n; > LevelInfoLayer::onAddToList @ 0x100029210\n; > SetupSmartBlockLayer::onSelectTemplate @ 0x10006fee8\n; > SetupSmartTemplateLayer::onBack @ 0x100070df0\n; > CreatorLayer::onSavedLevels @ 0x1000b5c98\n; > CreatorLayer::onFeaturedLevels @ 0x1000b6218\n; > CreatorLayer::onTopLists @ 0x1000b627c\n; > CreatorLayer::onMapPacks @ 0x1000b62e0\n; > CreatorLayer::onMyLevels @ 0x1000b6370\n; > EditLevelLayer::onBack @ 0x1000eb4dc\n; > ProfilePage::onMyLevels @ 0x10019b268\n; > ProfilePage::onMyLists @ 0x10019b3a0\n; > DailyLevelPage::onTheSafe @ 0x1001b9b2c\n; > LevelListLayer::init @ 0x100243260\n; > LevelListLayer::onRefreshLevelList @ 0x100244b68\n; > LevelListLayer::onBack @ 0x1002468c0\n; > UploadListPopup::onBack @ 0x100249860\n; > UploadPopup::onBack @ 0x1002769f0\n; > GameManager::returnToLastScene @ 0x10031d694\n; > LevelBrowserLayer::onLocalMode @ 0x1004163e4\n; > LevelBrowserLayer::onSavedMode @ 0x10041666c\n; > LevelBrowserLayer::onSaved @ 0x1004166f0\n; > LevelBrowserLayer::onFavorites @ 0x1004167d8\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, #0x90                                          ; +0x0, 0x1000b04a0\nSTP             X20, X19, [SP,#0x80+var_10]                            ; +0x4, 0x1000b04a4\nSTP             X29, X30, [SP,#0x80+var_s0]                            ; +0x8, 0x1000b04a8\nADD             X29, SP, #0x80                                         ; +0xc, 0x1000b04ac\nMOV             X19, X0                                                ; +0x10, 0x1000b04b0\nADRL            X1, asc_100746688; \"\"                                  ; +0x14, 0x1000b04b4\nSUB             X0, X29, #-var_28; int                                 ; +0x1c, 0x1000b04bc\nBL              sub_100009900                                          ; +0x20, 0x1000b04c0\nADRL            X1, asc_1006B3A59; \"-\"                                 ; +0x24, 0x1000b04c4\nADD             X0, SP, #0x80+var_40; int                              ; +0x2c, 0x1000b04cc\nBL              sub_100009900                                          ; +0x30, 0x1000b04d0\nADRL            X1, asc_1006B3A59; \"-\"                                 ; +0x34, 0x1000b04d4\nADD             X0, SP, #0x80+__p; int                                 ; +0x3c, 0x1000b04dc\nBL              sub_100009900                                          ; +0x40, 0x1000b04e0\nSTR             WZR, [SP,#0x80+var_68]                                 ; +0x44, 0x1000b04e4\nSTR             XZR, [SP,#0x80+var_70]                                 ; +0x48, 0x1000b04e8\nSUB             X1, X29, #-var_28                                      ; +0x4c, 0x1000b04ec\nADD             X2, SP, #0x80+var_40                                   ; +0x50, 0x1000b04f0\nADD             X3, SP, #0x80+__p                                      ; +0x54, 0x1000b04f4\nSTRH            WZR, [SP,#0x80+var_74]                                 ; +0x58, 0x1000b04f8\nSTUR            XZR, [SP,#0x80+var_7C]                                 ; +0x5c, 0x1000b04fc\nSTR             WZR, [SP,#0x80+var_80]                                 ; +0x60, 0x1000b0500\nMOV             X0, X19                                                ; +0x64, 0x1000b0504\nMOV             W4, #0                                                 ; +0x68, 0x1000b0508\nMOV             W5, #0                                                 ; +0x6c, 0x1000b050c\nMOV             W6, #0                                                 ; +0x70, 0x1000b0510\nMOV             W7, #0                                                 ; +0x74, 0x1000b0514\nBL              GJSearchObject__create                                 ; +0x78, 0x1000b0518\nMOV             X19, X0                                                ; +0x7c, 0x1000b051c\nLDRSB           W8, [SP,#0x80+var_41]                                  ; +0x80, 0x1000b0520\nTBZ             W8, #0x1F, loc_1000B0530                               ; +0x84, 0x1000b0524\nLDR             X0, [SP,#0x80+__p]; __p                                ; +0x88, 0x1000b0528\nBL              __ZdlPv; operator delete(void *)                       ; +0x8c, 0x1000b052c\nLDRSB           W8, [SP,#0x80+var_29]                                  ; +0x90, 0x1000b0530\nTBZ             W8, #0x1F, loc_1000B0540                               ; +0x94, 0x1000b0534\nLDR             X0, [SP,#0x80+var_40]; __p                             ; +0x98, 0x1000b0538\nBL              __ZdlPv; operator delete(void *)                       ; +0x9c, 0x1000b053c\nLDURSB          W8, [X29,#var_11]                                      ; +0xa0, 0x1000b0540\nTBZ             W8, #0x1F, loc_1000B0550                               ; +0xa4, 0x1000b0544\nLDUR            X0, [X29,#var_28]; __p                                 ; +0xa8, 0x1000b0548\nBL              __ZdlPv; operator delete(void *)                       ; +0xac, 0x1000b054c\nMOV             X0, X19                                                ; +0xb0, 0x1000b0550\nLDP             X29, X30, [SP,#0x80+var_s0]                            ; +0xb4, 0x1000b0554\nLDP             X20, X19, [SP,#0x80+var_10]                            ; +0xb8, 0x1000b0558\nADD             SP, SP, #0x90                                          ; +0xbc, 0x1000b055c\nRET                                                                    ; +0xc0, 0x1000b0560", "xrefs": ["LevelInfoLayer::onAddToList @ 0x100029210", "SetupSmartBlockLayer::onSelectTemplate @ 0x10006fee8", "SetupSmartTemplateLayer::onBack @ 0x100070df0", "CreatorLayer::onSavedLevels @ 0x1000b5c98", "CreatorLayer::onFeaturedLevels @ 0x1000b6218", "CreatorLayer::onTopLists @ 0x1000b627c", "CreatorLayer::onMapPacks @ 0x1000b62e0", "CreatorLayer::onMyLevels @ 0x1000b6370", "EditLevelLayer::onBack @ 0x1000eb4dc", "ProfilePage::onMyLevels @ 0x10019b268", "ProfilePage::onMyLists @ 0x10019b3a0", "DailyLevelPage::onTheSafe @ 0x1001b9b2c", "LevelListLayer::init @ 0x100243260", "LevelListLayer::onRefreshLevelList @ 0x100244b68", "LevelListLayer::onBack @ 0x1002468c0", "UploadListPopup::onBack @ 0x100249860", "UploadPopup::onBack @ 0x1002769f0", "GameManager::returnToLastScene @ 0x10031d694", "LevelBrowserLayer::onLocalMode @ 0x1004163e4", "LevelBrowserLayer::onSavedMode @ 0x10041666c", "LevelBrowserLayer::onSaved @ 0x1004166f0", "LevelBrowserLayer::onFavorites @ 0x1004167d8"], "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"}